@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --paper: #fbfaf5;
  --white: #ffffff;
  --ink: #0b1f3a;
  --ink-2: #263650;
  --muted: #66758a;
  --blue: #155eef;
  --blue-dark: #0b46c7;
  --sky: #dceaff;
  --sky-2: #edf4ff;
  --teal: #168a95;
  --mint: #dff3ef;
  --coral: #ff7058;
  --yellow: #ffd166;
  --line: #d8e0ea;
  --line-dark: #29405e;
  --success: #0a7b63;
  --danger: #c43d2a;
  --shadow: 0 24px 70px rgba(11, 31, 58, .12);
  --shadow-sm: 0 12px 32px rgba(11, 31, 58, .08);
  --radius: 24px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font-family: "DM Sans", sans-serif; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; opacity: .32; pointer-events: none; background-image: linear-gradient(rgba(21,94,239,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(21,94,239,.035) 1px,transparent 1px); background-size: 32px 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, 100%); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; transform: translateY(-150%); border-radius: 8px; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }

/* Header */
.site-header { position: sticky; top: 12px; z-index: 100; width: min(1220px, calc(100% - 24px)); min-height: 74px; margin: 12px auto 0; border: 1px solid rgba(11,31,58,.1); border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: 0 12px 34px rgba(11,31,58,.08); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand > img { width: 40px; height: 40px; }
.brand > span { display: grid; line-height: 1; }
.brand b { color: var(--ink); font: 800 18px Manrope, sans-serif; letter-spacing: -.03em; }
.brand small { margin-top: 5px; color: var(--muted); font: 600 8px Manrope, sans-serif; letter-spacing: .04em; }
.desktop-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.desktop-nav > a, .nav-dropdown > button { min-height: 42px; padding: 0 13px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 11px; background: transparent; color: #3b4c64; font-size: 14px; font-weight: 700; cursor: pointer; }
.desktop-nav > a:hover, .desktop-nav > a.active, .nav-dropdown > button:hover, .nav-dropdown.open > button { color: var(--blue); background: var(--sky-2); }
.nav-dropdown { position: relative; }
.nav-dropdown > button svg { width: 14px; transition: transform .2s; }
.nav-dropdown.open > button svg { transform: rotate(180deg); }
.dropdown-panel { position: absolute; top: calc(100% + 16px); left: 50%; width: 300px; padding: 10px; display: grid; visibility: hidden; opacity: 0; transform: translate(-50%, -8px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); transition: opacity .18s, transform .18s, visibility .18s; }
.dropdown-panel::before { content: ""; position: absolute; top: -17px; left: 0; right: 0; height: 18px; }
.nav-dropdown.open .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.dropdown-panel a { padding: 12px; display: grid; border-radius: 12px; }
.dropdown-panel a:hover, .dropdown-panel a.active { background: var(--sky-2); }
.dropdown-panel strong { color: var(--ink); font-size: 14px; }
.dropdown-panel span { color: var(--muted); font-size: 11px; font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font-size: 24px; cursor: pointer; }
.mobile-nav { display: none; }

/* Type and controls */
h1, h2, h3, h4 { margin-top: 0; color: var(--ink); font-family: Manrope, sans-serif; text-wrap: balance; }
h1 { margin-bottom: 24px; font-size: clamp(50px, 6.8vw, 92px); line-height: .98; letter-spacing: -.065em; }
h2 { margin-bottom: 18px; font-size: clamp(38px, 4.8vw, 62px); line-height: 1.05; letter-spacing: -.052em; }
h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
p { margin-top: 0; }
.eyebrow { margin-bottom: 18px; display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 3px; border-radius: 99px; background: var(--coral); }
.lead { max-width: 660px; margin-bottom: 30px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.btn { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 25px rgba(21,94,239,.22); }
.btn.primary:hover { background: var(--blue-dark); }
.btn.secondary { border-color: #aeb9c7; background: rgba(255,255,255,.6); color: var(--ink); }
.btn.ghost { color: var(--blue); background: var(--sky-2); }
.btn.small { min-height: 42px; padding-inline: 17px; font-size: 13px; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.text-link { color: var(--blue); font-weight: 800; }
.mt-28 { margin-top: 28px; }
.mt-36 { margin-top: 36px; }

/* Home */
.hero { position: relative; padding: 88px 0 74px; overflow: hidden; }
.hero::after { content: "NOVA"; position: absolute; right: -30px; bottom: -115px; z-index: -1; color: rgba(21,94,239,.035); font: 800 260px/1 Manrope; letter-spacing: -.08em; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-meta { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-meta div { padding: 18px 14px; display: grid; border-top: 1px solid var(--line); }
.hero-meta strong { color: var(--ink); font: 800 23px Manrope; }
.hero-meta span { color: var(--muted); font-size: 11px; }
.hero-visual { position: relative; padding: 16px; border: 1px solid rgba(11,31,58,.1); border-radius: 34px; background: var(--sky); transform: rotate(1.5deg); }
.hero-visual img { width: 100%; height: 565px; object-fit: cover; object-position: 63% center; border-radius: 23px; transform: rotate(-1.5deg); box-shadow: var(--shadow); }
.annotation { position: absolute; padding: 13px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); box-shadow: var(--shadow-sm); transform: rotate(-1.5deg); }
.annotation.one { left: -35px; bottom: 62px; }
.annotation.two { right: -22px; top: 56px; }
.annotation i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--mint); color: var(--teal); font-style: normal; font-weight: 900; }
.annotation div { display: grid; }
.annotation strong { color: var(--ink); font-size: 12px; }
.annotation small { color: var(--muted); font-size: 10px; }
.trust-bar { padding: 20px 0; border-block: 1px solid var(--line); background: var(--white); }
.trust-bar .container { display: flex; justify-content: center; align-items: center; gap: 38px; text-align: center; }
.trust-bar p { margin: 0; color: var(--ink); font-weight: 800; }
.trust-bar span { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.section { padding: 106px 0; }
.section.soft { background: rgba(237,244,255,.72); }
.section.dark { color: white; background: var(--ink); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: end; }
.section-head > p:last-child { max-width: 620px; margin-bottom: 2px; color: var(--muted); font-size: 17px; }
.dark .section-head h2, .dark h3 { color: white; }
.dark .section-head > p:last-child { color: #abb9cc; }
.programme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.programme-card { position: relative; min-height: 555px; padding: 38px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s, box-shadow .25s; }
.programme-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.programme-card::after { content: ""; position: absolute; right: -90px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: var(--sky); }
.programme-card.math::after { background: var(--mint); }
.programme-label { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.45; }
.programme-glyph { width: 72px; height: 72px; margin: 58px 0 30px; display: grid; place-items: center; border-radius: 20px; background: var(--sky); color: var(--blue); font: 800 27px Manrope; }
.math .programme-glyph { color: var(--teal); background: var(--mint); }
.programme-card h3 { margin-bottom: 15px; font-size: 34px; }
.programme-card p { max-width: 470px; color: var(--muted); }
.check-list { padding: 0; list-style: none; }
.check-list li { margin: 9px 0; color: #3c4c64; }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--teal); font-weight: 900; }
.programme-card .text-link { position: relative; z-index: 1; margin-top: auto; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-dark); }
.method-grid article { padding: 36px 28px; border-right: 1px solid var(--line-dark); }
.method-grid article:last-child { border-right: 0; }
.method-grid span { color: #79a9ff; font-size: 12px; font-weight: 900; }
.method-grid h3 { margin: 14px 0 12px; }
.method-grid p { margin: 0; color: #abb9cc; font-size: 14px; }
.result-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 20px; }
.result-card { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.result-card.big { grid-row: span 2; min-height: 450px; display: flex; flex-direction: column; justify-content: space-between; background: var(--blue); color: white; }
.result-card.big h3 { color: white; font-size: 39px; }
.result-card blockquote { margin: 0 0 25px; color: var(--ink); font: 700 22px/1.45 Manrope; }
.result-card.big blockquote { color: white; font-size: 30px; }
.result-card footer { display: grid; }
.result-card footer span { color: var(--muted); font-size: 12px; }
.result-card.big footer span { color: #d6e4ff; }
.rating { color: var(--yellow); letter-spacing: 4px; }
.cta { padding: 58px 62px; display: flex; justify-content: space-between; align-items: center; gap: 40px; border: 1px solid #b6cffb; border-radius: 28px; background: var(--sky); box-shadow: var(--shadow-sm); }
.cta h2 { margin-bottom: 10px; }
.cta p { margin-bottom: 0; color: var(--muted); }

/* Inner pages */
.page-hero { position: relative; padding: 96px 0 78px; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: 10px; z-index: -1; width: 440px; height: 440px; border: 80px solid var(--sky); border-radius: 50%; opacity: .7; }
.breadcrumbs { margin-bottom: 24px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: var(--blue); font-weight: 700; }
.page-hero h1 em { color: var(--blue); font-style: normal; }
.anchor-nav { position: sticky; top: 100px; z-index: 30; padding: 13px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.anchor-nav .container { display: flex; gap: 10px; overflow-x: auto; }
.anchor-nav a { padding: 8px 13px; white-space: nowrap; border-radius: 9px; color: var(--muted); font-size: 12px; font-weight: 800; }
.anchor-nav a:hover { color: var(--blue); background: var(--sky-2); }
.content-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.content-split h2 { font-size: clamp(36px, 4vw, 52px); }
.content-split p { color: var(--muted); }
.sticky-card { position: sticky; top: 170px; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-sm); }
.sticky-card strong { display: block; color: var(--blue); font: 800 45px Manrope; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.feature-card .icon { width: 44px; height: 44px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 12px; background: var(--sky); color: var(--blue); font-weight: 900; }
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.timeline { max-width: 880px; }
.timeline article { position: relative; padding: 0 0 42px 82px; }
.timeline article::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 1px; background: var(--line); }
.timeline article:last-child::before { display: none; }
.timeline .num { position: absolute; left: 0; top: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; color: white; background: var(--blue); font-weight: 900; }
.timeline p { color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.price-card { position: relative; padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.price-card.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.price-tag { font: 800 49px Manrope; color: var(--ink); }
.price-tag small { color: var(--muted); font: 600 13px "DM Sans"; }
.pill { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: var(--mint); color: var(--teal); font-size: 11px; font-weight: 900; }
.faq-list { max-width: 900px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; }
.faq-item button { width: 100%; padding: 20px 22px; display: flex; justify-content: space-between; gap: 20px; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 800; cursor: pointer; }
.faq-item button span:last-child { color: var(--blue); font-size: 20px; }
.faq-answer { padding: 0 22px 21px; color: var(--muted); }
.faq-answer[hidden] { display: none; }
.stories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.story-card { min-height: 310px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 21px; background: var(--white); }
.story-card.featured { grid-column: 1 / -1; min-height: 380px; background: var(--blue); color: white; }
.story-card blockquote { margin: 35px 0; color: var(--ink); font: 700 26px/1.45 Manrope; }
.story-card.featured blockquote { max-width: 900px; color: white; font-size: clamp(32px, 4vw, 50px); }
.story-card footer { margin-top: auto; display: grid; }
.story-card footer span { color: var(--muted); font-size: 12px; }
.story-card.featured footer span { color: #d6e4ff; }
.source-note { max-width: 760px; margin: 26px auto 0; color: var(--muted); text-align: center; font-size: 12px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.team-card { padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.team-avatar { width: 78px; height: 78px; margin-bottom: 34px; display: grid; place-items: center; border-radius: 23px; background: var(--sky); color: var(--blue); font: 800 22px Manrope; }
.team-avatar.math { color: var(--teal); background: var(--mint); }
.team-card p { color: var(--muted); }
.team-template-toolbar { margin-bottom: 30px; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 36px; border: 1px solid var(--line); background: var(--white); }
.team-template-toolbar > div { max-width: 710px; }
.team-template-toolbar h3 { margin-bottom: 8px; }
.team-template-toolbar p { margin-bottom: 18px; color: var(--muted); }
.team-template-toolbar .btn { flex: 0 0 auto; }
.template-requirements { display: flex; flex-wrap: wrap; gap: 8px; }
.template-requirements span { padding: 6px 9px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.profile-template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.profile-template-card { overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.profile-photo-placeholder { aspect-ratio: 4 / 3; padding: 22px; display: grid; place-content: center; gap: 5px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, var(--sky-2), var(--paper)); color: var(--ink); text-align: center; }
.math-template .profile-photo-placeholder { background: linear-gradient(135deg, var(--mint), var(--paper)); }
.lead-template .profile-photo-placeholder { background: linear-gradient(135deg, #eadfd2, var(--paper)); }
.profile-photo-placeholder span { font: 800 12px Manrope, sans-serif; letter-spacing: .14em; }
.profile-photo-placeholder small { color: var(--muted); font-size: 10px; }
.profile-template-body { padding: 26px; }
.template-flag { display: inline-block; margin-bottom: 20px; color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.profile-role { margin-bottom: 5px; color: var(--blue); font-size: 12px; font-weight: 800; }
.profile-template-card h3 { margin-bottom: 16px; font: 500 31px/1.05 Georgia, "Times New Roman", serif; }
.profile-bio { min-height: 185px; color: var(--muted); font-size: 14px; }
.profile-details { margin: 24px 0 0; }
.profile-details div { padding: 13px 0; border-top: 1px solid var(--line); }
.profile-details dt { color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.profile-details dd { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.template-disclaimer strong { color: var(--ink); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle { padding: 30px; border-top: 4px solid var(--blue); border-radius: 0 0 18px 18px; background: var(--white); box-shadow: var(--shadow-sm); }
.principle:nth-child(2) { border-color: var(--teal); }
.principle:nth-child(3) { border-color: var(--coral); }
.principle h3 { margin-bottom: 13px; }
.principle p { margin-bottom: 0; color: var(--muted); }

/* Forms and legal */
.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: start; }
.contact-section { padding-top: 40px; }
.contact-title { font-size: 38px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-aside { position: sticky; top: 130px; }
.contact-points { margin-top: 30px; display: grid; gap: 13px; }
.contact-points a, .contact-points span { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.contact-points i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--sky); color: var(--blue); font-style: normal; }
.form-panel { padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.form-panel h2 { font-size: 30px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 17px; display: grid; gap: 7px; }
.field label, fieldset legend { color: var(--ink); font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 51px; padding: 12px 14px; border: 1px solid #c9d2de; border-radius: 11px; outline: none; color: var(--ink-2); background: var(--white); }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,94,239,.1); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
fieldset { margin: 0; padding: 0; border: 0; }
.radio-row { margin: 8px 0 18px; display: flex; gap: 10px; }
.radio-row label { flex: 1; }
.radio-row input { position: absolute; width: 1px; min-height: 1px; height: 1px; opacity: 0; pointer-events: none; }
.radio-row span { min-height: 52px; padding: 8px; display: grid; place-items: center; border: 1px solid #c9d2de; border-radius: 11px; color: var(--muted); text-align: center; font-weight: 700; cursor: pointer; }
.radio-row input:checked + span { border: 2px solid var(--blue); color: var(--blue); background: var(--sky-2); }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; }
.consent input { width: 18px; min-height: 18px; margin-top: 2px; accent-color: var(--blue); }
.form-message { min-height: 25px; margin: 13px 0; font-weight: 800; }
.form-message.success { color: var(--success); }
.form-message.error { color: var(--danger); }
.legal { max-width: 850px; }
.legal h2 { margin-top: 45px; font-size: 29px; }
.legal p, .legal li { color: var(--muted); }

/* Footer */
.site-footer { padding: 70px 0 24px; color: #bac5d5; background: var(--ink); }
.site-footer .brand b { color: white; }
.site-footer .brand small { color: #93a4ba; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 46px; }
.footer-brand p { max-width: 290px; margin-top: 20px; color: #93a4ba; font-size: 14px; }
.footer-grid h3 { color: white; font-size: 12px; letter-spacing: .12em; }
.footer-grid a { margin: 9px 0; display: block; overflow-wrap: anywhere; font-size: 13px; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-dark); color: #93a4ba; font-size: 11px; }
.footer-legal { display: flex; gap: 18px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s, transform .55s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: grid; place-items: center; }
  .mobile-nav.open { position: absolute; left: 12px; right: 12px; top: 84px; padding: 14px; display: grid; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
  .mobile-nav p { margin: 10px 10px 3px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
  .mobile-nav a { padding: 11px 12px; display: grid; gap: 2px; border-radius: 9px; font-weight: 700; line-height: 1.35; }
  .mobile-nav a strong { color: var(--ink); font-size: 14px; }
  .mobile-nav a span { color: var(--muted); font-size: 11px; font-weight: 500; }
  .mobile-nav a:hover, .mobile-nav a.active { color: var(--blue); background: var(--sky-2); }
  .hero-grid, .content-split, .form-layout { grid-template-columns: 1fr; }
  .hero-visual { margin: 0 30px; }
  .section-head.split { grid-template-columns: 1fr; gap: 20px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method-grid article:nth-child(2) { border-right: 0; }
  .method-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .result-card.big { grid-column: 1 / -1; grid-row: auto; }
  .form-aside, .sticky-card { position: static; }
  .profile-template-grid { grid-template-columns: 1fr 1fr; }
  .lead-template { grid-column: 1 / -1; }
  .lead-template .profile-bio { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { top: 7px; width: calc(100% - 14px); min-height: 66px; margin-top: 7px; border-radius: 17px; }
  .nav-wrap { min-height: 64px; }
  .brand > img { width: 36px; height: 36px; }
  .brand b { font-size: 16px; }
  .brand small { display: none; }
  .nav-actions .btn { display: none; }
  .mobile-nav.open { top: 73px; }
  .hero, .page-hero { padding: 66px 0 58px; }
  .hero h1, .page-hero h1 { font-size: 49px; }
  .hero-grid { gap: 48px; }
  .hero-meta { gap: 4px; }
  .hero-meta div { padding-inline: 7px; }
  .hero-meta strong { font-size: 20px; }
  .hero-visual { margin: 0; padding: 9px; border-radius: 23px; }
  .hero-visual img { min-height: 430px; border-radius: 17px; }
  .annotation.two { display: none; }
  .annotation.one { left: 10px; bottom: 25px; }
  .trust-bar .container { gap: 0; }
  .trust-bar span { display: none; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
  .section-head.split { gap: 12px; }
  .section-head > p:last-child { font-size: 16px; }
  .programme-grid, .pricing-grid, .stories-grid, .team-grid, .principles, .feature-grid, .result-grid { grid-template-columns: 1fr; }
  .programme-card { min-height: 520px; padding: 28px; }
  .programme-label { align-items: flex-start; flex-direction: column; gap: 5px; }
  .programme-glyph { margin-top: 43px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .method-grid article:last-child { border-bottom: 0; }
  .result-card.big, .story-card.featured { grid-column: auto; }
  .cta { padding: 36px 26px; align-items: flex-start; flex-direction: column; }
  .field-grid { grid-template-columns: 1fr; }
  .radio-row { display: grid; }
  .form-panel { padding: 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { display: grid; }
  .footer-legal { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Selected direction: Coastal Classroom */
:root {
  --paper: #f5f8f7;
  --white: #fffefb;
  --ink: #264e52;
  --ink-2: #3f5f62;
  --muted: #607476;
  --blue: #527f83;
  --blue-dark: #355d61;
  --sky: #dce8e5;
  --sky-2: #ecf2f0;
  --teal: #6e9290;
  --mint: #e3ece8;
  --coral: #985c4d;
  --yellow: #c3a265;
  --line: #cedbd7;
  --line-dark: #5e7778;
  --shadow: 0 18px 50px rgba(38, 78, 82, .08);
  --shadow-sm: 0 8px 25px rgba(38, 78, 82, .05);
}
body { background: var(--paper); font-size: 17px; line-height: 1.7; }
[hidden] { display: none !important; }
body::before { opacity: .24; background-image: radial-gradient(rgba(38,78,82,.07) .55px, transparent .55px); background-size: 7px 7px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(46px, 5.3vw, 70px); line-height: 1.04; letter-spacing: -.041em; }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.09; letter-spacing: -.035em; }
h3 { font-size: 21px; }
h1 em, .hero h1 em, .page-hero h1 em { color: var(--ink); font-family: Georgia, serif; font-weight: 500; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .13em; text-underline-offset: .06em; }
.eyebrow { margin-bottom: 20px; color: var(--coral); font-size: 13px; font-weight: 750; letter-spacing: .09em; }
.eyebrow::before { background: var(--yellow); }
.lead { max-width: 700px; color: var(--muted); font-size: clamp(18px, 1.65vw, 20px); line-height: 1.65; }
.breadcrumbs { color: var(--muted); font-size: 14px; }
.brand { gap: 12px; }
.brand > img { width: 46px; height: 46px; }
.brand b { font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 700; letter-spacing: .015em; }
.brand small { margin-top: 5px; color: var(--ink); font: 800 13.5px/1.15 "DM Sans", sans-serif; letter-spacing: .018em; }
.hero-meta span, .result-card footer span, .story-card footer span { font-size: 13px; }
.programme-label { font-size: 12.5px; }
.field label, fieldset legend { font-size: 14px; }
.source-note { font-size: 13px; }
.site-header { top: 0; width: 100%; min-height: 84px; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: rgba(245,248,247,.96); box-shadow: none; }
.nav-wrap { min-height: 83px; }
.desktop-nav > a, .nav-dropdown > button { color: var(--ink-2); font-size: 14.5px; }
.dropdown-panel span { font-size: 12px; }
.desktop-nav > a:hover, .desktop-nav > a.active, .nav-dropdown > button:hover, .nav-dropdown.open > button { color: var(--ink); background: rgba(255,254,251,.74); }
.dropdown-panel { border-color: var(--line); border-radius: 4px; background: var(--white); box-shadow: 10px 12px 0 rgba(38,78,82,.06); }
.dropdown-panel a { border-radius: 2px; }
.dropdown-panel a:hover, .dropdown-panel a.active { background: var(--sky-2); }
.btn { border-radius: 7px; }
.btn.primary { background: var(--ink); box-shadow: none; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.secondary { border-color: var(--ink); border-radius: 7px; background: transparent; }
.btn.ghost { color: var(--ink); background: var(--white); }
.hero { padding-top: 62px; }
.hero::after { content: "01"; right: 4%; bottom: 0; color: rgba(152,92,77,.07); font: italic 190px/1 Georgia; }
.hero-grid { grid-template-columns: 1.08fr .92fr; gap: 0; align-items: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-grid > div:first-child { padding: 86px 64px 70px 0; border-right: 1px solid var(--line); }
.hero h1 { font-size: clamp(48px, 5.3vw, 70px); }
.hero-visual { margin: 0; padding: 60px 0 60px 68px; border: 0; border-radius: 0; background: transparent; transform: none; }
.hero-visual img { height: 520px; border: 1px solid var(--line); border-radius: 0; filter: saturate(.78) contrast(.96); transform: none; box-shadow: none; }
.annotation { display: none; }
.hero-meta div { border-color: var(--line); }
.trust-bar { border-color: var(--line); background: rgba(255,254,251,.72); }
.section.soft { border-block: 1px solid var(--line); background: rgba(255,254,251,.58); }
.section.dark { background: #264e52; }
.dark .eyebrow { color: #e0ad9f; }
.programme-card, .result-card, .feature-card, .price-card, .story-card, .team-card, .principle, .form-panel, .sticky-card, .faq-item { border-color: var(--line); border-radius: 3px; background: var(--white); box-shadow: none; }
.programme-card:hover { box-shadow: 10px 10px 0 rgba(38,78,82,.07); transform: translate(-3px,-3px); }
.programme-card::after { width: 180px; height: 180px; right: -90px; bottom: -90px; border: 1px solid var(--line); background: transparent; }
.programme-card.math::after { background: transparent; }
.programme-glyph, .feature-card .icon, .team-avatar { border-radius: 2px; background: var(--sky-2); }
.math .programme-glyph, .team-avatar.math { color: var(--teal); background: var(--mint); }
.result-card.big, .story-card.featured { background: var(--ink); }
.cta { border-color: var(--line); border-radius: 3px; background: var(--white); box-shadow: 10px 10px 0 rgba(38,78,82,.06); }
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero::after { width: 320px; height: 320px; border: 1px solid var(--line); border-radius: 0; transform: rotate(45deg); opacity: .6; }
.anchor-nav { top: 84px; border-color: var(--line); background: rgba(245,248,247,.96); }
.anchor-nav a { border-radius: 2px; }
.timeline .num { border-radius: 2px; background: var(--ink); }
.pill { border: 1px solid var(--line); border-radius: 2px; color: var(--ink); background: var(--sky-2); }
.faq-item button { font-family: Georgia, serif; font-size: 17px; font-weight: 600; }
input, select, textarea, .radio-row span { border-color: var(--line); border-radius: 3px; background: var(--white); }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(38,78,82,.09); }
.radio-row input:checked + span { border-color: var(--ink); color: var(--ink); background: var(--sky-2); }
.site-footer { color: #d9e6e2; background: #264e52; }
.site-footer .brand > img { filter: brightness(0) invert(1); opacity: .92; }
.site-footer .brand small, .footer-brand p, .footer-bottom { color: #c4d5d1; }

/* Booking flow */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.dropdown-panel.wide { width: 370px; }
.mobile-feature { margin-block: 7px; border-block: 1px solid var(--line); }
.booking-hero .narrow { max-width: 850px; }
.booking-layout { display: grid; grid-template-columns: minmax(250px,.62fr) minmax(0,1.38fr); gap: 44px; align-items: start; }
.booking-aside .sticky-card { top: 112px; padding: 32px; }
.booking-aside h2 { margin-bottom: 28px; font-size: 36px; }
.booking-progress { padding: 0; display: grid; list-style: none; }
.booking-progress li { padding: 20px 0; display: grid; grid-template-columns: 38px 1fr; gap: 13px; border-top: 1px solid var(--line); }
.booking-progress li > span { color: var(--coral); font: 700 12px/1.5 "DM Sans", sans-serif; }
.booking-progress b, .booking-progress small { display: block; }
.booking-progress b { color: var(--ink); font-size: 14px; }
.booking-progress small { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.booking-contact { margin-top: 16px; padding-top: 24px; border-top: 2px solid var(--ink); }
.booking-contact p { margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.booking-contact a { margin-top: 7px; display: block; overflow-wrap: anywhere; color: var(--ink); font-size: 12px; font-weight: 800; }
.booking-form { padding: 0; overflow: hidden; }
.booking-form > .form-message:not(:empty) { margin: 28px 32px 0; }
.form-step { padding: 34px 38px 38px; border-bottom: 1px solid var(--line); }
.form-step:last-of-type { border-bottom: 0; }
.step-label { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; color: var(--coral); }
.step-label span { min-width: 28px; font-size: 13px; font-weight: 800; letter-spacing: .07em; }
.step-label p { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.booking-form .form-step h2 { margin-bottom: 24px; font-size: 36px; }
.booking-form fieldset { padding: 0; border: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.choice-card { position: relative; cursor: pointer; }
.choice-card > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-card > span { min-height: 108px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 15px; border: 1px solid var(--line); background: var(--white); transition: border-color .18s, background .18s, transform .18s; }
.choice-card:hover > span { transform: translateY(-2px); border-color: var(--ink); }
.choice-card input:focus-visible + span { outline: 3px solid rgba(34,91,136,.25); outline-offset: 2px; }
.choice-card input:checked + span { border: 2px solid var(--ink); background: var(--sky-2); }
.choice-card b, .choice-card small { display: block; }
.choice-card b { color: var(--ink); font-size: 15px; }
.choice-card b em { float: right; color: var(--coral); font-style: normal; }
.choice-card small { color: var(--muted); font-size: 13px; line-height: 1.55; }
.booking-form .field { margin-top: 22px; }
.plan-field { margin-top: 28px; padding-top: 25px !important; border-top: 1px solid var(--line) !important; }
.plan-field legend { margin-bottom: 12px; color: var(--ink); font-size: 13px; font-weight: 800; }
.plan-options { grid-template-columns: 1fr; }
.plan-options .choice-card > span { min-height: auto; }
.form-intro { margin: -12px 0 22px; color: var(--muted); font-size: 14px; }
.date-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.date-chip { min-height: 72px; padding: 10px 5px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); background: var(--white); cursor: pointer; }
.date-chip b, .date-chip span { display: block; }
.date-chip b { margin-bottom: 4px; color: var(--coral); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.date-chip span { font-size: 13px; font-weight: 750; }
.date-chip:hover, .date-chip:focus-visible { border-color: var(--ink); }
.date-chip[aria-pressed="true"] { border: 2px solid var(--ink); color: white; background: var(--ink); }
.date-chip[aria-pressed="true"] b { color: #f0c26a; }
.date-grid.invalid { padding: 4px; outline: 2px solid var(--coral); outline-offset: 3px; }
.calendar-loading { grid-column: 1 / -1; padding: 24px; color: var(--muted); text-align: center; border: 1px dashed var(--line); }
.micro-note { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.booking-submit { padding: 28px 38px 34px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 2px solid var(--ink); background: var(--sky-2); }
.booking-submit p { max-width: 350px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.booking-submit .btn { flex: 0 0 auto; }
.pricing-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.pricing-grid-three .price-card { padding: 30px; }
.resource-principles { grid-template-columns: 1fr; }
.resource-principles .principle { padding: 25px; }
.editorial-note { padding: 38px; border: 1px solid var(--line); border-left: 5px solid var(--coral); background: var(--white); }
.editorial-note > span { color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.editorial-note h3 { margin: 20px 0 14px; color: var(--ink); font: 500 31px/1.12 Georgia,serif; }
.editorial-note p { color: var(--muted); line-height: 1.75; }

@media (max-width: 1020px) {
  .site-header { width: 100%; }
  .mobile-nav.open { top: 84px; border-radius: 3px; background: var(--white); box-shadow: 8px 8px 0 rgba(38,78,82,.08); }
  .hero-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .hero-grid > div:first-child { padding-right: 0; border-right: 0; }
  .hero-visual { padding: 10px 0 60px; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-aside .sticky-card { position: static; }
  .pricing-grid-three { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-header { top: 0; width: 100%; margin: 0; border-radius: 0; }
  .nav-wrap { min-height: 68px; }
  .brand > img { width: 40px; height: 40px; }
  .brand small { display: block; font-size: 11px; }
  .mobile-nav.open { top: 69px; left: 7px; right: 7px; max-height: calc(100dvh - 78px); overflow-y: auto; overscroll-behavior: contain; }
  .hero { padding-top: 24px; }
  .page-hero { padding: 56px 0 52px; }
  .hero-grid > div:first-child { padding: 48px 0 42px; }
  .hero h1, .page-hero h1 { font-size: clamp(43px, 13vw, 50px); line-height: 1; }
  h2, .content-split h2 { font-size: clamp(34px, 10vw, 40px); line-height: 1.06; }
  .lead { margin-bottom: 26px; font-size: 17px; line-height: 1.65; }
  .hero-visual { padding-bottom: 45px; }
  .hero-visual img { height: 410px; }
  .hero-meta { margin-top: 36px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head.split { gap: 10px; }
  .programme-card { min-height: 0; padding: 26px; }
  .programme-glyph { margin: 30px 0 24px; }
  .programme-card .text-link { margin-top: 24px; }
  .price-card, .result-card, .story-card, .team-card, .principle, .sticky-card { padding: 26px; }
  .price-card h2 { font-size: 36px; }
  .result-card.big, .story-card, .story-card.featured { min-height: 0; }
  .method-grid article { padding: 28px 22px; }
  .timeline article { padding: 0 0 34px 68px; }
  .timeline article::before { left: 21px; top: 46px; }
  .timeline .num { width: 44px; height: 44px; }
  .cta { padding: 28px 24px; gap: 28px; }
  .contact-section { padding-top: 32px; }
  .contact-title { font-size: 34px; }
  .form-panel { padding: 24px; }
  .form-panel h2 { font-size: 34px; }
  .booking-layout { gap: 24px; }
  .booking-aside .sticky-card { padding: 24px; }
  .booking-aside h2 { font-size: 32px; }
  .form-step { padding: 28px 22px 31px; }
  .booking-form .form-step h2 { font-size: 32px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card > span { min-height: auto; }
  .date-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .booking-submit { padding: 24px 22px 28px; align-items: stretch; flex-direction: column; }
  .booking-submit .btn { width: 100%; }
  .team-template-toolbar { padding: 24px; align-items: flex-start; flex-direction: column; gap: 22px; }
  .profile-template-grid { grid-template-columns: 1fr; }
  .lead-template { grid-column: auto; }
  .profile-bio { min-height: 0; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child a { overflow-wrap: normal; }
  .reveal { opacity: 1; transform: none; }
  .programme-card, .result-card, .feature-card, .price-card, .story-card, .team-card, .principle, .form-panel, .sticky-card, .faq-item { border-radius: 2px; }
  .cta { box-shadow: 6px 6px 0 rgba(38,78,82,.08); }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 24px); }
  .brand { gap: 8px; }
  .brand b { font-size: 15px; }
  .hero h1, .page-hero h1 { font-size: 42px; }
  h2, .content-split h2 { font-size: 34px; }
  .hero-meta strong { font-size: 18px; }
  .hero-meta span { font-size: 10px; line-height: 1.35; }
  .programme-card, .price-card, .result-card, .story-card, .team-card, .principle, .sticky-card, .form-panel { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div, .footer-grid > div:last-child { grid-column: auto; }
  .contact-points a { overflow-wrap: anywhere; }
  .date-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
