:root {
  --cream: #fdfaf3;
  --pink-wash: #fbf1f6;
  --hero-wash-top: #e9f4fa;
  --green-wash: #edf5ec;
  --sand: #f5ede0;
  --sand-hover: #efe3d0;
  --pink: #c43b7e;
  --pink-hover: #a82f6b;
  --pink-link-hover: #962a5f;
  --pill-unselected: #f3e6ed;
  --portal-underline: #f0c7dc;
  --ink: #2f2b33;
  --ink-hover: #4b454e;
  --body: #4b454e;
  --body-muted: #57505a;
  --muted: #8e868d;
  --green-caption: #6f7a6e;
  --hairline: #e7dfd2;
  --hairline-pink: #ebd9e4;
  --input-line: #d8c9d3;
  --placeholder: #b0a9ae;
  --ofsted: #3b8f5f;
  --message-bg: #fbf0dc;
  --message-text: #8a5a18;
  --max-width: 1140px;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Karla", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pink);
  text-decoration: none;
}

a:hover {
  color: var(--pink-link-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  left: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.logo-multiply {
  mix-blend-mode: multiply;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 250, 243, 0.94);
  backdrop-filter: blur(6px);
}

.site-header--portal {
  background: rgba(251, 241, 246, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: none;
  padding: 20px 32px;
}

.brand-home {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-home:hover {
  color: var(--ink);
}

.brand-home img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.15;
  gap: 6px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.brand-sub {
  font-size: 14px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--link {
  display: inline-block;
  color: var(--ofsted);
}

.eyebrow--link:hover {
  color: #2f7350;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #4b454e;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a.is-active {
  font-weight: 700;
  color: var(--pink);
  padding-bottom: 2px;
  border-bottom: 2px solid var(--portal-underline);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: none;
  background: var(--sand);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  min-height: 44px;
  padding: 14px 26px;
  transition: background-color 0.15s ease;
}

.btn--primary {
  background: var(--pink);
  color: #fff;
}

.btn--primary:hover {
  background: var(--pink-hover);
  color: #fff;
}

.btn--sand {
  background: var(--sand);
  color: var(--ink);
}

.btn--sand:hover {
  background: var(--sand-hover);
  color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--ink-hover);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--ink);
}

.btn--white:hover {
  background: var(--sand);
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.eyebrow--green {
  color: var(--ofsted);
}

.hero {
  background: linear-gradient(180deg, var(--hero-wash-top) 0%, var(--cream) 92%);
  padding: 56px 32px 72px;
}

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -1px;
  margin: 16px 0 0;
  text-wrap: pretty;
}

.hero h1 em {
  font-style: italic;
  color: var(--pink);
}

.hero-lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--body-muted);
  max-width: 27em;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-art {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  animation: lkfloat 7s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-art {
    animation: none;
  }
}

@keyframes lkfloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.trust-strip {
  padding: 0 32px;
}

.trust-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.trust-item {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body-muted);
}

.trust-item strong {
  display: block;
  color: var(--ink);
}

.section {
  padding: 82px 32px;
}

.section--green {
  background: var(--green-wash);
  padding-top: 76px;
  padding-bottom: 76px;
}

.section--schools {
  padding-top: 66px;
  padding-bottom: 66px;
}

.section--enquire {
  background: var(--pink-wash);
  padding-top: 78px;
  padding-bottom: 78px;
}

.two-col {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.two-col--enquire {
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
}

.photo-card figcaption {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin: 12px 0 0;
}

h3.subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin: 0;
}

.prose p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}

.prose-stack {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  max-width: 33em;
}

.qual-block {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  max-width: 33em;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 36px;
}

.three-col h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0;
}

.three-col p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
}

.photo-row {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.photo-row figcaption {
  color: var(--green-caption);
}

.schools-row {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.schools-copy {
  max-width: 32em;
}

.schools-copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  margin: 10px 0 0;
}

.schools-copy p {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body-muted);
}

.enquire-intro {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body-muted);
  margin: 16px 0 0;
  max-width: 24em;
}

.enquire-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  max-width: 17em;
}

.address-note {
  margin: 26px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.enquiry-form {
  display: grid;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.field-label input,
.field-label textarea {
  border: none;
  border-bottom: 1px solid var(--input-line);
  background: transparent;
  padding: 9px 0;
  font-size: 17px;
  font-weight: 500;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
  width: 100%;
}

.field-label input:focus,
.field-label textarea:focus {
  border-bottom-color: var(--pink);
}

.field-label textarea {
  resize: vertical;
  min-height: 6rem;
}

::placeholder {
  color: var(--placeholder);
}

.day-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.day-pill {
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: var(--pill-unselected);
  color: #4b454e;
  min-height: 44px;
}

.day-pill.is-selected {
  background: var(--pink);
  color: #fff;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 14px;
  color: var(--muted);
}

.form-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--message-text);
  background: var(--message-bg);
  padding: 12px 14px;
  border-radius: 10px;
}

.thank-you h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  margin: 0;
}

.thank-you p {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--body-muted);
  max-width: 24em;
}

.text-button {
  margin-top: 22px;
  background: none;
  border: none;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--pink);
  cursor: pointer;
  text-decoration: underline;
}

.site-footer {
  padding: 40px 32px 56px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-brand span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 15px;
  font-weight: 500;
}

.footer-links a {
  color: #4b454e;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-address {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.footer-studio {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding: 0 32px;
  display: flex;
  justify-content: center;
}

.studio-credit {
  display: inline-flex;
  text-decoration: none;
  color: var(--muted);
}

.studio-credit:hover {
  color: var(--body);
}

.studio-credit-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.studio-credit-line {
  letter-spacing: 0.02em;
}

.studio-credit-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.studio-credit-brand {
  font-weight: 700;
  font-size: 15px;
  color: #9a8f96;
}

.studio-credit:hover .studio-credit-brand {
  color: var(--ink);
}

.portal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--pink-wash);
}

.portal-main {
  flex: 1;
  padding: 64px 32px 88px;
}

.portal-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.portal-main h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin: 12px 0 0;
}

.portal-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body-muted);
  max-width: 26em;
  margin: 18px 0 0;
}

.portal-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-size: 16px;
  color: var(--body);
}

.portal-art {
  width: 100%;
  max-width: 260px;
  margin-top: 40px;
  animation: lkfloat 7s ease-in-out infinite;
}

.login-form h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin: 0;
}

.login-form {
  display: grid;
  gap: 22px;
}

.portal-sign-in-card {
  background: #fff;
  border: 1px solid var(--hairline-pink);
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 12px 40px rgba(47, 43, 51, 0.06);
  display: grid;
  gap: 16px;
}

.portal-sign-in-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin: 0;
}

.portal-sign-in-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body-muted);
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.login-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--body-muted);
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.login-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--pink);
}

.login-hint {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.portal-footer .footer-inner {
  border-top-color: var(--hairline-pink);
  max-width: 1000px;
}

.page-legal {
  padding: 64px 32px 88px;
}

.page-legal .container {
  max-width: 42rem;
}

.page-legal h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.5rem;
  margin: 0 0 1rem;
}

.page-legal h2 {
  font-family: var(--font-display);
  margin-top: 2rem;
}

.page-legal p,
.page-legal li {
  color: var(--body);
  line-height: 1.7;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .brand-home img {
    width: 72px;
    height: 72px;
  }

  .brand-name {
    font-size: 24px;
  }

  .brand-sub {
    font-size: 12px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 32px 20px;
    background: rgba(253, 250, 243, 0.98);
    border-bottom: 1px solid var(--hairline);
  }

  .site-header--portal .site-nav {
    background: rgba(251, 241, 246, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .header-inner {
    flex-wrap: wrap;
    position: relative;
  }

  .hero-grid,
  .two-col,
  .two-col--enquire,
  .portal-grid,
  .three-col,
  .photo-row,
  .trust-strip-inner,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .portal-art {
    order: 1;
  }

  .trust-strip-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .trust-strip-inner {
    grid-template-columns: 1fr;
  }
}
