/* ---------- Fonts: Figtree (SIL OFL 1.1, self-hosted latin subset; licence in assets/fonts/Figtree-OFL.txt) ---------- */
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(../assets/fonts/Figtree-latin-var.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap;
  src: url(../assets/fonts/Figtree-Italic-latin-var.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Cognivia Tutoring – styles
   Warm, photo-led, parent-friendly. Minimal and premium, with calm
   Apple-style motion. Brand: ink navy, warm gold, paper.
   ========================================================================== */

:root {
  --ink: #1F2B3D;
  --ink-soft: #3B4658;
  --muted: #4A5568;
  --line: rgba(31, 43, 61, 0.12);
  --line-strong: rgba(31, 43, 61, 0.28);
  --line-control: rgba(31, 43, 61, 0.5);   /* outlines that identify a control (3:1 on white) */
  --gold: #D29B3C;          /* decorative only on light backgrounds */
  --gold-deep: #8A5E14;     /* gold text on light backgrounds */
  --gold-light: #F1C987;    /* gold text on navy */
  --gold-wash: rgba(210, 155, 60, 0.14);
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --tint: #F4F1EB;
  --navy-deep: #172131;
  --on-dark: #C8CDD5;

  --radius-photo: 32px;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 16px;
  --shadow-sm: 0 1px 2px rgba(31, 43, 61, 0.06);
  --shadow: 0 1px 2px rgba(31, 43, 61, 0.05), 0 24px 60px -28px rgba(31, 43, 61, 0.22);
  --shadow-lift: 0 1px 2px rgba(31, 43, 61, 0.05), 0 34px 70px -30px rgba(31, 43, 61, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
  --nav-h: 76px;
  --gap: clamp(16px, 2vw, 24px);

  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: var(--font-sans); /* display type is Figtree too; name kept so existing rules still work */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: clamp(18px, 0.25vw + 16.9px, 19px);
  font-weight: 450;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { max-width: 64ch; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
.featured :focus-visible, .cta :focus-visible, .band :focus-visible, .order :focus-visible { outline-color: var(--gold-light); }
::selection { background: rgba(210, 155, 60, 0.3); }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Icons (use with an inline <svg class="i"><use href="#i-name"/></svg> sprite) */
.i {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.i-lg { width: 44px; height: 44px; margin: 0 auto; color: var(--gold-deep); stroke-width: 1.4; }

/* ---------- Layout ---------- */
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 920px); margin-inline: auto; }
section { position: relative; }
.section { padding-block: clamp(88px, 9vw + 40px, 160px); }
.tint { background: var(--tint); }
.center { text-align: center; }
.center .lead, .center p, p.center, .cta .lead { margin-inline: auto; }
.section-head { max-width: 800px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head.center { margin-inline: auto; }
.stack { display: grid; gap: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.center .btn-row, .btn-row.center { justify-content: center; }
/* Anchor jumps and keyboard focus clear the fixed nav (and, on phones, the bottom contact bar) */
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (max-width: 719px) { html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-size: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px;
  background: var(--gold); transform: rotate(45deg);
}
.eyebrow.on-dark { color: var(--on-dark); }
.display {
  font-family: var(--font-serif); font-weight: 600; color: var(--ink);
  font-size: clamp(44px, 4.2vw + 26px, 84px); line-height: 1.03; letter-spacing: -0.024em;
  margin: 18px 0 0;
}
.title {
  font-family: var(--font-serif); font-weight: 600; color: var(--ink);
  font-size: clamp(34px, 2.6vw + 24px, 58px); line-height: 1.08; letter-spacing: -0.02em;
  margin: 16px 0 0; text-wrap: balance;
}
/* Gold accents: upright, same weight as the heading, colour only */
.display em, .title em, .cw-title em { font-style: normal; font-weight: inherit; color: var(--gold-deep); }
.lead {
  font-size: clamp(20px, 0.6vw + 17px, 23px); line-height: 1.6; font-weight: 500; color: var(--ink-soft);
  margin: 22px 0 0; max-width: 56ch;
}
.note { font-size: 18px; color: var(--ink-soft); margin: 20px 0 0; }
.note a, .text-link, .prose a, .cal-placeholder a, .hero-contact a, .pricing-call a {
  color: var(--ink); font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1.5px; text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}
.note a:hover, .text-link:hover, .prose a:hover, .hero-contact a:hover, .pricing-call a:hover { text-decoration-color: var(--gold); }
.tag { display: block; font-size: 16px; font-weight: 700; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; white-space: nowrap; text-align: center;
  transition: transform 0.5s var(--ease), background-color 0.3s, box-shadow 0.5s var(--ease), color 0.3s, opacity 0.3s;
}
.btn .i { width: 20px; height: 20px; transition: transform 0.5s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:hover .i:first-child:not(:last-child) { transform: none; }
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 60px; font-size: 18px; padding: 0 34px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 43, 61, 0.55); }
.btn-primary:hover { background: #111A28; transform: translateY(-1px); box-shadow: 0 16px 32px -14px rgba(31, 43, 61, 0.6); }
.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-control); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.4); }
.btn-outline-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, 0.06); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; cursor: not-allowed; box-shadow: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  font-size: 17px; font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1.5px; text-underline-offset: 5px;
  transition: text-decoration-color 0.3s;
}
.link-arrow:hover { text-decoration-color: var(--gold); }
.link-arrow .i { width: 20px; height: 20px; transition: transform 0.5s var(--ease); }
.link-arrow:hover .i:last-child { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(251, 250, 247, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2vw, 30px); font-size: 16.5px; font-weight: 600; color: var(--ink-soft); }
.nav-links a:not(.btn) { position: relative; transition: color 0.3s; }
.nav-links a:not(.btn):not(.nav-phone)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mobile-only, .nav-contact { display: none; }
.nav-phone { display: none; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.nav-phone .i { width: 20px; height: 20px; color: var(--gold-deep); }
.nav-links a.nav-account { gap: 8px; }
.nav-account .i { width: 20px; height: 20px; color: var(--gold-deep); }
@media (min-width: 1180px) { .nav-phone { display: inline-flex; min-height: 44px; } }
/* Desktop: comfortable 44px-tall hit areas for the text links */
@media (min-width: 1024px) {
  .nav-links a:not(.btn):not(.nav-mobile-only):not(.nav-contact):not(.nav-phone) { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-links a:not(.btn):not(.nav-phone)::after { bottom: 8px; }
}
.nav-call {
  display: none; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center;
  color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line);
}
.nav-call .i { width: 22px; height: 22px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.45s var(--ease), background-color 0.2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  :root { --nav-h: 72px; }
  .brand img { height: 42px; }
  .nav-toggle, .nav-call { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px 20px 28px; font-size: 20px; color: var(--ink);
    background: rgba(251, 250, 247, 0.98);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--line), 0 24px 40px -24px rgba(31, 43, 61, 0.25);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav-links a:not(.btn) { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a.nav-phone { display: none; }
  .nav-contact { font-weight: 700; }
  .nav-contact .i { color: var(--gold-deep); }
  .nav-links .btn { margin-top: 20px; min-height: 56px; font-size: 18px; }
  .nav-links .btn.nav-trial { display: inline-flex; margin-top: 10px; }
  /* Drop the nav's own backdrop-filter while open: it would trap the fixed menu and stop the menu's blur */
  .nav.is-open { background: var(--bg); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; transition-duration: 0.15s; }
  .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 1023px) and (max-height: 700px) {
  .nav-links a:not(.btn) { min-height: 44px; }
  .nav-links .btn { margin-top: 12px; }
  /* Short phones: the round call button in the header already covers this row, so both booking buttons fit */
  .nav-links a.nav-contact[href^="tel:"] { display: none; }
}
@media (max-width: 380px) { .brand img { height: 36px; } }
/* Short viewports (landscape phones, 200% zoom): keep fixed chrome slim */
@media (max-height: 500px) {
  :root { --nav-h: 60px; }
  .brand img { height: 36px; }
  .mobile-bar { display: none !important; }
  html { scroll-padding-bottom: 0; }
}

/* ---------- Motion primitives ---------- */
.rise {
  display: inline-block; opacity: 0; transform: translateY(0.3em); filter: blur(4px);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: calc(0.25s + var(--i, 0) * 0.08s);
}
.fade-up { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0.9s); }
@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }

[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), clip-path 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal="photo"] { transform: scale(0.96); transition-duration: 1.2s; }
.photo[data-reveal="photo"], .portrait[data-reveal="photo"] { clip-path: inset(4% round var(--radius-photo)); }
[data-reveal].is-in { opacity: 1; transform: none; }
.photo[data-reveal="photo"].is-in, .portrait[data-reveal="photo"].is-in { clip-path: inset(0 round var(--radius-photo)); }
.trust-bar li[data-reveal] { transform: translateY(16px); }
.trust-bar li[data-reveal].is-in { transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; clip-path: none; }

.swap { display: inline-block; transition: opacity 0.22s ease, transform 0.35s var(--ease); }
.swap.is-swapping { opacity: 0; transform: translateY(8px); }

/* ---------- Photos ---------- */
.photo {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-photo); background: var(--tint);
}
.photo > img, .parallax > img, .portrait img { width: 100%; height: 100%; object-fit: cover; }
.photo > img { position: absolute; inset: 0; }
.photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(210, 155, 60, 0.06), rgba(31, 43, 61, 0.10));
}
.parallax { position: absolute; inset: 0; overflow: hidden; }
.parallax > img { transform: translateY(calc((var(--p, 0.5) - 0.5) * -40px)) scale(1.1); will-change: transform; }
.parallax-sm > img { transform: translateY(calc((var(--p, 0.5) - 0.5) * -30px)) scale(1.08); }
@media (max-width: 719px) {
  .parallax > img, .parallax-sm > img { transform: translateY(calc((var(--p, 0.5) - 0.5) * -20px)) scale(1.06); }
}
@media (pointer: fine) {
  .photo img, .portrait img { transition: scale 0.8s var(--ease); }
  .photo:hover img, .where-card:hover .photo img, .portrait:hover img { scale: 1.03; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow-x: clip;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 88px); align-items: center; }
.hero .display { max-width: 11ch; }
.hero-h1 { font: inherit; letter-spacing: normal; }
.hero-h1 .display { display: block; }
.hero .lead { max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.center .hero-actions { justify-content: center; }
.hero-checks {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 18px; font-weight: 600; color: var(--ink-soft);
}
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .i { width: 20px; height: 20px; color: var(--gold-deep); stroke-width: 2.2; }
.hero-contact { margin: 22px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 18px; color: var(--ink-soft); max-width: 44ch; }
.hero-contact a { overflow-wrap: anywhere; }

.hero-visual { position: relative; }
.hero-photo {
  aspect-ratio: 1 / 1; box-shadow: 0 50px 90px -50px rgba(31, 43, 61, 0.45);
  opacity: 0; animation: photoIn 1.4s var(--ease) 0.2s forwards;
}
@keyframes photoIn {
  from { opacity: 0; clip-path: inset(6% round 40px); transform: scale(1.04); }
  to { opacity: 1; clip-path: inset(0 round 32px); transform: none; }
}
.float { position: absolute; z-index: 2; transform: translateY(calc((var(--p, 0.5) - 0.5) * -24px)); }
.float-b { transform: translateY(calc((var(--p, 0.5) - 0.5) * 16px)); }
.float-a { top: 28px; left: -32px; }
.float-b { bottom: 120px; right: -28px; max-width: 300px; }
.float-c { bottom: -28px; left: 36px; }
.float-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lift);
}
.float-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-wash); color: var(--ink); }
.float-icon .i { width: 22px; height: 22px; }
.float-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.float-text { display: grid; line-height: 1.35; }
.float-text strong { font-size: 16px; font-weight: 700; color: var(--ink); }
.float-text span { font-size: 16px; color: var(--ink-soft); }
/* Narrower desktops: the photo is smaller, so the note card sits mid-height on the right,
   well clear of the Archie card at the bottom left */
@media (min-width: 881px) and (max-width: 1279px) {
  .float-a { left: 16px; top: 16px; }
  .float-b { right: 16px; top: 36%; bottom: auto; }
  .float-c { left: 16px; bottom: 16px; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .display { max-width: 12ch; }
  .hero-photo { aspect-ratio: 4 / 3; }
  /* The trust strip right below covers the same points, so the float cards are desktop-only */
  .float { display: none; }
}
@media (max-width: 640px) {
  .hero-actions .btn { width: 100%; }
  .hero-actions { margin-top: 30px; }
}

/* ---------- Trust strip ---------- */
.trust { padding-bottom: 0; }
.trust-bar {
  list-style: none; margin: -12px 0 0; padding: clamp(20px, 2.5vw, 32px);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.trust-bar li { display: grid; align-content: start; justify-items: start; gap: 2px; padding: 8px clamp(12px, 1.4vw, 22px); line-height: 1.35; }
.trust-bar li + li { border-left: 1px solid var(--line); }
.trust-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-wash); color: var(--ink); margin-bottom: 12px; }
.trust-icon .i { width: 22px; height: 22px; }
.trust-bar strong { font-size: 18px; font-weight: 700; color: var(--ink); }
.trust-bar li > span:last-child { font-size: 18px; color: var(--ink-soft); }
@media (max-width: 1099px) {
  .trust-bar { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .trust-bar li + li { border-left: 0; }
}
@media (max-width: 639px) {
  .trust-bar { grid-template-columns: 1fr 1fr; row-gap: 18px; padding: 20px 10px; }
  .trust-bar li { padding: 6px 10px; }
  .trust-icon { margin-bottom: 8px; }
}
@media (max-width: 400px) {
  .trust-bar { grid-template-columns: 1fr; padding: 16px 12px; row-gap: 10px; }
  .trust-bar li { grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; }
  .trust-bar .trust-icon { grid-row: span 2; margin: 0; }
  .trust-bar li > strong, .trust-bar li > span:last-child { grid-column: 2; }
}

/* ---------- Cards (shared) ---------- */
.card, .stat, .panel, .feature, .step, .price-card, .coursework, .policy, .assure, .contact-card {
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.card-icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-wash); color: var(--ink);
}
.card-icon .i { width: 24px; height: 24px; }
.feature, .step { padding: clamp(28px, 3vw, 40px); }
.feature h3, .step h3 { font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; margin: 24px 0 10px; }
.feature p, .step p { margin: 0; color: var(--ink-soft); font-size: 18px; }

/* ---------- About (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 1.6vw, 20px); }
.bento-portrait { grid-column: 1 / 6; grid-row: 1 / 3; margin: 0; min-height: 520px; }
.bento-copy { grid-column: 6 / 13; grid-row: 1; padding: clamp(28px, 3vw, 44px); }
.bento .stats { grid-column: 6 / 13; grid-row: 2; }
.bento-photo { grid-column: 1 / 6; grid-row: 3; aspect-ratio: 4 / 3; }
.bento-quote { grid-column: 6 / 13; grid-row: 3; }
.portrait { position: relative; overflow: hidden; border-radius: var(--radius-photo); background: #DCDDDF; }
.portrait img { object-position: 50% 20%; }
.bento-copy p { margin: 0 0 18px; color: var(--ink-soft); }
.signoff { font-family: var(--font-serif); font-style: normal; font-weight: 500; font-size: 24px; color: var(--ink) !important; margin: 6px 0 22px !important; }
.chips { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  background: var(--tint); color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.3;
  transition: transform 0.45s var(--ease), background-color 0.3s;
}
.chip .i { width: 20px; height: 20px; color: var(--gold-deep); }
a.chip:hover { transform: translateY(-2px); background: #ECE6DB; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 20px); }
.stat { position: relative; padding: clamp(22px, 2.4vw, 32px); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.stat-num { font-family: var(--font-serif); font-weight: 600; font-size: clamp(56px, 4vw + 20px, 80px); line-height: 1; letter-spacing: -0.021em; color: var(--ink); margin: 0 0 14px; white-space: nowrap; }
.stat-num sup { font-size: max(16px, 0.36em); letter-spacing: 0; vertical-align: top; position: relative; top: 0.25em; margin-left: 3px; color: var(--gold-deep); }
.stat-text { font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.35; }
.stat-sub { color: var(--ink-soft); font-size: 18px; margin-top: 4px; line-height: 1.45; }

.bento-quote {
  margin: 0; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--tint);
}
.bento-quote blockquote {
  margin: 0; font-family: var(--font-serif); font-weight: 500; color: var(--ink);
  font-size: clamp(30px, 2.2vw + 14px, 46px); line-height: 1.18; letter-spacing: -0.017em; max-width: 18ch;
}
.bento-quote em { font-style: normal; font-weight: inherit; color: var(--gold-deep); }
.bento-quote figcaption { margin-top: 20px; font-size: 17px; font-weight: 700; color: var(--ink-soft); display: flex; align-items: center; gap: 12px; }
.bento-quote figcaption::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }

@media (max-width: 1100px) and (min-width: 881px) {
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat-num { font-size: 52px; }
}
@media (max-width: 880px) {
  .bento { grid-template-columns: 1fr; }
  .bento-portrait, .bento-copy, .bento .stats, .bento-photo, .bento-quote { grid-column: 1; grid-row: auto; }
  .bento-portrait { min-height: 0; aspect-ratio: 4 / 5; width: 100%; max-width: 480px; justify-self: center; }
  .stat-num { font-size: clamp(44px, 9vw, 64px); }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .stat { padding: 22px 20px; }
}

/* ---------- For parents ---------- */
.parents { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.parents-visual { position: relative; padding-bottom: 36px; }
.parents-photo { aspect-ratio: 4 / 5; }
.note-float { position: absolute; right: -36px; bottom: 0; width: 290px; transform: translateY(calc((var(--p, 0.5) - 0.5) * -20px)); z-index: 2; }
.note-card { padding: 20px 22px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-lift); }
.note-label { display: inline-block; font-size: 16px; font-weight: 700; color: var(--gold-deep); background: var(--gold-wash); padding: 2px 12px; border-radius: 999px; margin-bottom: 14px; }
.note-row + .note-row { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.note-head { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.note-head .i { width: 18px; height: 18px; color: var(--gold-deep); stroke-width: 2.2; }
.skel { display: block; height: 10px; border-radius: 6px; background: #E9E5DD; }
.skel + .skel { margin-top: 8px; width: 78%; }
.skel.shorter { width: 56%; }
.parents-copy .section-head { margin-bottom: 40px; }
.assurances { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.assurances li { display: flex; gap: 16px; align-items: flex-start; }
.a-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 8px 18px -10px rgba(31, 43, 61, 0.25); }
.a-icon .i { width: 22px; height: 22px; }
.assurances h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 10px 0 6px; }
.assurances p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
@media (min-width: 881px) and (max-width: 1179px) { .assurances { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 880px) {
  .parents { grid-template-columns: 1fr; }
  .parents-visual { order: 2; max-width: 560px; width: 100%; margin-inline: auto; padding-bottom: 0; }
  .note-float { position: relative; right: auto; bottom: auto; width: auto; max-width: 360px; margin: -48px 16px 0 auto; transform: none; }
}
@media (max-width: 639px) {
  .assurances { grid-template-columns: 1fr; gap: 24px; }
  .note-float { margin: 16px 0 0; max-width: none; }
  .parents .btn-row .btn { width: 100%; }
}

/* ---------- Review ---------- */
/* Follows the About section (same background), so it doesn't need its own top padding */
#reviews { padding-top: 0; }
.review-wrap { display: grid; justify-items: start; }
.review-eyebrow { margin-bottom: 22px; }
.review {
  position: relative; margin: 0; width: 100%;
  padding: clamp(36px, 5vw, 72px); border-radius: 36px;
  background: var(--tint); box-shadow: var(--shadow);
}
.review-mark { width: 64px; height: 48px; fill: var(--gold); margin-bottom: 26px; transform-origin: left bottom; }
.review blockquote { margin: 0; }
.review blockquote p {
  margin: 0; max-width: none; font-family: var(--font-serif); font-weight: 500; color: var(--ink);
  font-size: clamp(26px, 2.6vw + 14px, 40px); line-height: 1.3; letter-spacing: -0.012em; text-wrap: pretty;
}
.hl {
  color: inherit; padding: 0 0.04em;
  background: linear-gradient(transparent 62%, rgba(210, 155, 60, 0.32) 62%) no-repeat 0 0 / 100% 100%;
}
.review figcaption { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-wash); color: var(--gold-deep); box-shadow: inset 0 0 0 1px rgba(210, 155, 60, 0.3);
  font-family: var(--font-serif); font-size: 22px; font-weight: 600; letter-spacing: 0.01em;
}
.review-who { display: grid; line-height: 1.35; }
.review-who strong { font-size: 19px; font-weight: 700; color: var(--ink); }
.review-who span { font-size: 16px; color: var(--ink-soft); }
.review-next { margin: 24px 0 0; justify-self: center; text-align: center; }
.review-next .link-arrow { display: inline; }
.review-next .link-arrow .i { display: inline-block; vertical-align: -4px; margin-left: 6px; }
html:not(.no-js) .review[data-reveal] .review-mark { opacity: 0; transform: scale(0.8); transition: opacity 0.9s var(--ease) 0.2s, transform 0.9s var(--ease) 0.2s; }
html:not(.no-js) .review[data-reveal].is-in .review-mark { opacity: 1; transform: none; }
html:not(.no-js) .review[data-reveal] .hl { background-size: 0% 100%; transition: background-size 1.1s var(--ease) 0.5s; }
html:not(.no-js) .review[data-reveal].is-in .hl { background-size: 100% 100%; }
@media (max-width: 639px) {
  .review-wrap { justify-items: center; }
  .review { text-align: center; }
  .review-mark { margin-inline: auto; transform-origin: center; }
  .review figcaption { justify-content: center; text-align: left; }
}
@media (max-width: 400px) {
  /* Wider measure on the smallest phones so the review reads as sentences, not a column of words */
  .review { padding: 28px 20px; border-radius: 28px; text-align: left; }
  .review-mark { margin-inline: 0; width: 52px; height: 39px; margin-bottom: 20px; }
  .review blockquote p { font-size: 24px; }
  .review figcaption { justify-content: flex-start; margin-top: 26px; padding-top: 22px; }
}

/* ---------- Subjects ---------- */
.subjects { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 881px) { .subjects-visual { position: sticky; top: calc(var(--nav-h) + 40px); } }
.subjects-visual { position: relative; padding-bottom: 14%; margin-right: 8%; }
.subjects-photo { aspect-ratio: 4 / 5; }
.subjects-inset { position: absolute; width: 55%; right: -12%; bottom: 0; z-index: 2; transform: translateY(calc((var(--p, 0.5) - 0.5) * -36px)); }
.subjects-inset-photo { --radius-photo: 24px; aspect-ratio: 4 / 3; border: 6px solid var(--bg); box-shadow: 0 30px 60px -30px rgba(31, 43, 61, 0.45); }
.subjects-inset-photo[data-reveal="photo"] { clip-path: none; }
.subject-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.subject-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(30px, 2vw + 20px, 42px); letter-spacing: -0.012em; line-height: 1.15; color: var(--ink);
}
.subject-list .i { width: 30px; height: 30px; color: var(--gold-deep); stroke-width: 1.5; transition: transform 0.6s var(--ease); }
.subject-list li:hover .i { transform: rotate(-8deg) scale(1.08); }
.levels { margin-top: 44px; }
.levels-title { font-size: 20px; font-weight: 700; margin: 0 0 20px; }
.levels-list { margin: 0 0 18px; display: grid; gap: 22px; }
.levels-list div { display: grid; justify-items: start; align-content: start; gap: 8px; }
.levels-list dt { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--tint); font-size: 18px; font-weight: 700; color: var(--ink); }
.levels-list dd { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
@media (min-width: 1024px) { .levels-list { grid-template-columns: 1fr 1fr; gap: 26px 32px; } }
@media (max-width: 880px) {
  .subjects { grid-template-columns: 1fr; }
  .subjects-visual { max-width: 520px; width: 100%; margin: 0 auto; padding-bottom: 10%; }
  .subjects-inset { right: -4%; width: 50%; }
}
@media (max-width: 480px) { .subjects-inset { right: 0; } .subjects-visual { margin-right: 0; width: 92%; margin-left: 0; } }

/* ---------- Approach band ---------- */
.band {
  position: relative; overflow: hidden; display: flex; align-items: center;
  height: clamp(440px, 62vh, 680px); background: var(--navy-deep); color: #fff;
}
.band-media { position: absolute; inset: 0; }
.band-parallax { top: -10%; bottom: auto; height: 120%; }
.band-parallax > img {
  object-position: 60% center; filter: blur(2px);
  transform: translateY(calc((var(--p, 0.5) - 0.5) * -60px)) scale(calc(1.1 - var(--p, 0.5) * 0.1));
}
.band::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(23, 33, 49, 0.86) 0%, rgba(23, 33, 49, 0.62) 45%, rgba(23, 33, 49, 0.3) 80%);
}
.band-inner { position: relative; z-index: 2; }
.band-quote {
  margin: 22px 0 0; max-width: 16ch; font-family: var(--font-serif); font-weight: 500; color: #fff;
  font-size: clamp(34px, 3vw + 20px, 60px); line-height: 1.1; letter-spacing: -0.017em; text-wrap: balance;
}
.band-quote em { font-style: normal; font-weight: inherit; color: var(--gold-light); }
.band-by { margin: 22px 0 0; font-size: 17px; font-weight: 600; color: var(--on-dark); display: flex; align-items: center; gap: 12px; }
.band-by::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 880px) {
  .band { align-items: flex-end; padding-bottom: 48px; }
  .band::after { background: linear-gradient(0deg, rgba(23, 33, 49, 0.9) 0%, rgba(23, 33, 49, 0.6) 55%, rgba(23, 33, 49, 0.35) 100%); }
  .features { grid-template-columns: 1fr; }
}

/* ---------- How it works ---------- */
.steps-wrap { position: relative; --g: var(--gap); }
.progress-line { position: relative; height: 16px; margin-bottom: 22px; }
.progress-line::before, .progress-line i {
  content: ""; position: absolute; top: 7px; height: 2px; border-radius: 2px;
  left: 54px; width: calc((100% + var(--g)) * 0.75);
}
.progress-line::before { background: var(--line-strong); }
.progress-line i {
  display: block; background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(var(--p, 1)); transform-origin: left;
}
.progress-line b {
  position: absolute; top: 0; width: 16px; height: 16px; border-radius: 50%;
  left: calc(46px + (100% + var(--g)) * 0.75 * var(--t));
  background: var(--tint); box-shadow: inset 0 0 0 2px var(--line-strong);
}
.progress-line b::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(210, 155, 60, 0.2);
  opacity: clamp(0, (var(--p, 1) - var(--t)) * 12 + 1, 1);
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); }
.step { padding: 32px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 18px; }
.how-note {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; max-width: none;
  margin: 40px auto 32px; font-size: 18px; font-weight: 600; color: var(--ink-soft); text-align: center;
}
.how-note span { display: inline-flex; align-items: center; gap: 8px; }
.how-note .i { color: var(--gold-deep); }
@media (max-width: 1023px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .progress-line { display: none; }
}
@media (max-width: 639px) {
  .steps { grid-template-columns: 1fr; }
  .steps-wrap { padding-left: 26px; }
  .progress-line { display: block; position: absolute; left: 4px; top: 24px; bottom: 24px; width: 2px; height: auto; margin: 0; background: var(--line-strong); border-radius: 2px; }
  .progress-line::before, .progress-line b { display: none; }
  .progress-line i { top: 0; left: 0; width: 2px; height: 100%; transform: scaleY(var(--p, 1)); transform-origin: top; background: linear-gradient(180deg, var(--gold), var(--gold-light)); }
  .step { padding: 28px 24px; }
}

/* ---------- Where lessons happen ---------- */
.where { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.where-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-photo); background: var(--surface); box-shadow: var(--shadow); }
.where-photo { aspect-ratio: 3 / 2; border-radius: 0; }
.where-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(26px, 3vw, 36px); }
.where-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.where-head h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 1.4vw + 16px, 32px); line-height: 1.15; letter-spacing: -0.012em; }
.where-body p { margin: 0 0 16px; color: var(--ink-soft); }
.where-price { font-size: 19px; font-weight: 700; color: var(--ink) !important; margin-top: auto !important; padding-top: 4px; }
@media (max-width: 880px) { .where { grid-template-columns: 1fr; } }

/* ---------- Segmented control ---------- */
.segmented {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px; border-radius: 999px; background: rgba(31, 43, 61, 0.08); max-width: 100%;
}
.segmented button {
  position: relative; z-index: 1; min-height: 48px; padding: 8px 22px; border-radius: 999px;
  font-size: 16px; font-weight: 700; color: var(--ink-soft); line-height: 1.2;
  transition: color 0.4s var(--ease);
}
/* Selected option: white text on a solid navy thumb, so the choice is obvious at a glance */
.segmented button[aria-checked="true"] { color: #fff; }
.segmented-lg button { min-height: 52px; padding: 8px 30px; }
.seg-thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / var(--n, 2)); border-radius: 999px; background: var(--ink);
  box-shadow: 0 1px 2px rgba(31, 43, 61, 0.2), 0 8px 18px -8px rgba(31, 43, 61, 0.55);
  transform: translateX(calc(100% * var(--i, 0)));
  transition: transform 0.55s var(--ease);
}
.pricing-top { display: flex; justify-content: center; margin-bottom: 40px; }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.price-card h3 { font-size: clamp(22px, 0.6vw + 18px, 26px); font-weight: 700; letter-spacing: -0.01em; margin: 6px 0 0; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 6px; }
.price .amount { font-family: var(--font-serif); font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: -0.021em; color: var(--ink); }
.price .per { color: var(--ink-soft); font-size: 16px; font-weight: 600; }
.price-desc { color: var(--ink-soft); margin: 10px 0 22px; font-size: 18px; }
.pack {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  margin: 18px 0 24px; padding: 14px 18px; border-radius: 16px; background: var(--tint); font-size: 18px; color: var(--ink);
}
.save { font-size: 16px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--gold-wash); color: var(--gold-deep); white-space: nowrap; }
.ticks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; font-size: 18px; line-height: 1.5; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .i { width: 20px; height: 20px; margin-top: 2px; color: var(--gold-deep); stroke-width: 2.4; }
.price-card .actions { margin-top: auto; display: grid; gap: 10px; }

.price-card.featured { background: linear-gradient(180deg, #243350 0%, var(--navy-deep) 100%); color: #fff; box-shadow: 0 40px 70px -35px rgba(23, 33, 49, 0.6); }
.price-card.featured:hover { transform: translateY(-4px); }
.featured h3, .featured .price .amount { color: #fff; }
.featured .tag, .featured .per, .featured .price-desc { color: var(--on-dark); }
.featured .pack { background: rgba(255, 255, 255, 0.08); color: #fff; }
.featured .ticks { color: #fff; }
.featured .ticks .i { color: var(--gold-light); }
.featured .save { background: rgba(210, 155, 60, 0.22); color: var(--gold-light); }
.featured .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.featured .btn-primary:hover { background: #F4F1EB; }
.featured .btn-secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.featured .btn-secondary:hover { box-shadow: inset 0 0 0 1.5px #fff; }

.assure-row {
  list-style: none; margin: var(--gap) 0 0; padding: clamp(18px, 2vw, 26px) clamp(20px, 2.4vw, 32px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 28px;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.assure-row li { display: flex; align-items: center; gap: 14px; font-size: 18px; line-height: 1.45; color: var(--ink); font-weight: 600; }
.assure-row .trust-icon { margin: 0; }
.assure-row li > span:last-child { text-wrap: pretty; }
@media (max-width: 1100px) { .assure-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .assure-row { grid-template-columns: 1fr; } }

.coursework {
  margin-top: var(--gap); display: grid; grid-template-columns: 0.75fr 1.1fr 1.15fr; gap: clamp(24px, 3.5vw, 48px); align-items: center;
  padding: clamp(20px, 2vw, 28px);
}
.cw-photo { --radius-photo: 22px; aspect-ratio: 4 / 5; }
.cw-photo img { object-position: 30% center; }
.cw-copy { padding-block: 12px; }
.cw-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(30px, 1.6vw + 20px, 40px); line-height: 1.1; letter-spacing: -0.017em; margin: 8px 0 0; }
.tiers { display: grid; grid-template-columns: 1fr; gap: 10px; padding-right: clamp(4px, 1.5vw, 20px); }
.tier { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 22px; border-radius: 18px; background: var(--tint); transition: transform 0.5s var(--ease); }
.tier:hover { transform: translateX(3px); }
.tier .amount { font-family: var(--font-serif); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -0.021em; color: var(--ink); }
.tier .words { display: grid; justify-items: end; text-align: right; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.tier .words span { font-size: 18px; font-weight: 500; color: var(--ink-soft); }
/* Where the tier column is narrow, put the details under the price so nothing wraps awkwardly */
@media (min-width: 981px) and (max-width: 1179px), (max-width: 480px) {
  .tier { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tier .words { justify-items: start; text-align: left; }
}
.pricing-call { font-size: 18px; margin: 10px auto 0; color: var(--ink-soft); }
@media (max-width: 980px) {
  .prices { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .assure-row { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .coursework { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .cw-photo { aspect-ratio: 16 / 9; }
  .cw-copy { padding: 0 8px; }
  .tiers { padding: 0 0 8px; }
}
@media (max-width: 400px) { .price .amount { font-size: 56px; } .tier { padding: 16px 18px; } .tier .amount { font-size: 34px; } }

/* ---------- FAQ ---------- */
/* DOM order is heading, questions, contact card (so Tab order matches every layout).
   Desktop puts the heading and the card in the left column; only the card sticks, and only when it fits. */
.faq-layout {
  display: grid; grid-template-columns: 0.8fr 1.2fr; grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 6vw, 96px); row-gap: 0; align-items: start;
}
.faq-aside { grid-column: 1; grid-row: 1; }
.faq-aside .section-head { margin-bottom: 32px; }
.faq-layout > .faq { grid-column: 2; grid-row: 1 / span 2; }
.faq-layout > .contact-card { grid-column: 1; grid-row: 2; position: sticky; top: calc(var(--nav-h) + 32px); }
@media (max-height: 719px) { .faq-layout > .contact-card { position: static; } }
.contact-card { padding: clamp(20px, 2vw, 28px); }
.contact-photo { --radius-photo: 20px; aspect-ratio: 16 / 9; margin-bottom: 22px; }
.contact-card h3 { font-size: 22px; font-weight: 700; }
.contact-card p { margin: 6px 0 16px; color: var(--ink-soft); }
.contact-tel, .contact-mail { display: flex; align-items: center; gap: 12px; min-height: 48px; color: var(--ink); overflow-wrap: anywhere; }
.contact-tel { font-size: 22px; font-weight: 700; }
.contact-mail { font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.contact-tel .i, .contact-mail .i { color: var(--gold-deep); }
.contact-tel:hover, .contact-mail:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item h3 { margin: 0; font: inherit; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; text-align: left; color: var(--ink);
  font-size: clamp(19px, 0.5vw + 17px, 22px); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em;
}
.faq-q:hover .plus { background: var(--gold-wash); }
.plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(31, 43, 61, 0.07); transition: transform 0.55s var(--ease), background-color 0.3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .plus { transform: rotate(45deg); background: var(--gold-wash); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.faq-a > div { overflow: hidden; visibility: hidden; transition: visibility 0s linear 0.55s; }
.faq-a p { margin: 0; padding: 0 56px 26px 0; font-size: 18px; line-height: 1.7; color: var(--ink-soft); max-width: 62ch; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > div { visibility: visible; transition-delay: 0s; }
@media (max-width: 1023px) {
  .faq-layout { grid-template-columns: 1fr; grid-template-rows: none; row-gap: clamp(40px, 6vw, 56px); }
  .faq-aside, .faq-layout > .faq, .faq-layout > .contact-card { grid-column: auto; grid-row: auto; }
  .faq-aside .section-head { margin-bottom: -16px; }
  .faq-layout > .contact-card { position: static; max-width: 560px; }
}
@media (max-width: 639px) { .faq-a p { padding-right: 0; } }

/* ---------- CTA ---------- */
.cta-section { padding-block: clamp(88px, 9vw + 40px, 160px); }
.cta {
  position: relative; overflow: hidden; color: #fff; border-radius: 36px;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  background: radial-gradient(120% 140% at 0% 0%, #2D3E5C 0%, var(--ink) 45%, var(--navy-deep) 100%);
  box-shadow: 0 50px 90px -50px rgba(23, 33, 49, 0.6);
}
@media (min-width: 881px) { .cta-copy { grid-column: 1; grid-row: 1; } .cta-media { grid-column: 2; grid-row: 1; margin-left: -35%; } }
.cta-copy { position: relative; z-index: 2; padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 72px); }
.cta .title { color: #fff; margin-top: 0; }
.cta .title em { color: var(--gold-light); }
.cta .lead { color: var(--on-dark); font-size: 20px; margin-inline: 0; }
.cta .btn-row { margin-top: 32px; }
.cta-mail { margin: 22px 0 0; font-size: 18px; color: var(--on-dark); }
.cta-mail a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; overflow-wrap: anywhere; }
.cta-mail a:hover { text-decoration-color: var(--gold-light); }
.cta-media { position: relative; min-height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.cta-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(23, 33, 49, 0.35) 0%, rgba(23, 33, 49, 0.05) 60%);
}
@media (max-width: 880px) {
  .cta { grid-template-columns: 1fr; }
  .cta-media { order: -1; aspect-ratio: 16 / 9; min-height: 0; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 45%); mask-image: linear-gradient(0deg, transparent 0%, #000 45%); }
  .cta-media::after { background: linear-gradient(0deg, #202D42 0%, rgba(32, 45, 66, 0.2) 45%, rgba(23, 33, 49, 0) 100%); }
}
@media (max-width: 640px) { .cta .btn-row .btn { width: 100%; white-space: normal; } }
@media (max-width: 359px) {
  .cta-copy { padding-inline: 20px; }
  .cta .btn-row .btn { padding-inline: 16px; font-size: 16px; }
}

/* ---------- Footer ---------- */
.footer { padding-block: 72px 36px; border-top: 1px solid var(--line); background: var(--bg); }
main + .footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1.1fr 1fr; gap: 36px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { height: 50px; width: auto; }
.footer-blurb { color: var(--ink-soft); font-size: 18px; margin: 14px 0 0; max-width: 38ch; }
.footer h4, .footer .footer-title { font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 18px; }
.footer ul a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-weight: 600; }
.footer a { overflow-wrap: anywhere; transition: color 0.3s; }
.footer a:hover { color: var(--gold-deep); }
.footer-contact a { font-size: 18px; }
.footer .footer-title-2 { margin-top: 28px; }
.footer-contact .i { width: 20px; height: 20px; color: var(--gold-deep); }
.footer-assure { display: flex; flex-wrap: wrap; gap: 10px 28px; max-width: none; margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--ink-soft); }
.footer-assure span { display: inline-flex; align-items: center; gap: 8px; }
.footer-assure .i { width: 20px; height: 20px; color: var(--gold-deep); }
.footer-bottom { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 16px; color: var(--ink-soft); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-grid + .footer-bottom { margin-top: 44px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 760px) { .footer .footer-links { grid-template-columns: 1fr 1fr; column-gap: 18px; } .footer .footer-links a { font-size: 17px; } }

/* ---------- Mobile contact bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 719px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; gap: 10px; align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 250, 247, 0.96);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -18px rgba(31, 43, 61, 0.3);
    transform: translateY(100%); visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
  }
  .mobile-bar.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
  .mobile-bar { gap: 8px; }
  .mobile-bar .btn { flex: 1.25 1 0; min-width: 0; min-height: 52px; padding: 0 14px; font-size: 17px; }
  .mobile-bar .btn-secondary { flex: 1 1 0; }
  .mobile-bar-call {
    flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong);
  }
}
/* Very narrow phones: the nav already has a call button, so the bar keeps just the two booking buttons */
@media (max-width: 359px) { .mobile-bar-call { display: none; } }

/* ==========================================================================
   Sub-pages: book, checkout, thank-you, policies, 404
   ========================================================================== */
.page-head { padding-top: calc(var(--nav-h) + clamp(44px, 7vw, 96px)); padding-bottom: clamp(32px, 4vw, 48px); }
.page-head .display { font-size: clamp(44px, 3.6vw + 28px, 76px); margin-top: 16px; }
.page-head-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.page-head .sub-lead, .sub-lead { font-size: 18px; color: var(--ink-soft); margin: 16px 0 0; }
@media (max-width: 1023px) { .page-head-grid { grid-template-columns: 1fr; } }
.block { margin-top: 56px; }
.block:first-child, [hidden]:first-child + .block { margin-top: 0; }
.step-label {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-family: var(--font-sans); font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; text-transform: none; color: var(--ink);
}
.step-label b { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 16px; letter-spacing: 0; }
.panel { padding: clamp(28px, 3vw, 44px); }
.panel .step-label:not(:first-child) { margin-top: 32px; }
.panel-title { margin: 0 0 20px; font-size: 20px; font-weight: 700; color: var(--ink); }

.options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.option {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  min-height: 170px; padding: 24px 22px; text-align: left; color: var(--ink-soft);
  border-radius: 22px; background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1.5px var(--line-control);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease), background-color 0.3s;
}
.option:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -18px rgba(31, 43, 61, 0.3), inset 0 0 0 1.5px var(--ink); }
.option[aria-pressed="true"] { background: var(--tint); box-shadow: inset 0 0 0 2px var(--ink), 0 16px 34px -18px rgba(31, 43, 61, 0.35); }
.option[aria-pressed="true"]::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.o-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-wash); color: var(--ink); margin-bottom: 12px; }
.o-icon .i { width: 22px; height: 22px; }
.o-title { font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.3; padding-right: 28px; }
.o-meta { font-size: 18px; color: var(--ink-soft); line-height: 1.45; }
.o-price { margin-top: auto; padding-top: 14px; font-family: var(--font-serif); font-weight: 600; font-size: 32px; letter-spacing: -0.021em; line-height: 1; color: var(--ink); }
.o-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 16px; font-weight: 700; color: var(--gold-deep); }
.o-go .i { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.option:hover .o-go .i { transform: translateX(3px); }
.tier-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tier-options .option { min-height: 130px; }
@media (max-width: 940px) { .options { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .options, .tier-options { grid-template-columns: 1fr; } .option, .tier-options .option { min-height: 0; } }

.controls { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.summary {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px;
  padding: 22px 26px; border-radius: 20px; background: var(--tint); font-size: 18px; font-weight: 700; color: var(--ink);
}
.summary strong { font-family: var(--font-serif); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.021em; }
.tz-note, .cal-note { display: flex; align-items: center; gap: 8px; font-size: 18px; color: var(--ink-soft); margin: 12px 0 0; }
.tz-note .i, .cal-note .i { width: 20px; height: 20px; color: var(--gold-deep); }
.cal-shell { margin-top: 16px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); min-height: 640px; overflow: hidden; }
.cal-inline { width: 100%; min-height: 640px; }
.cal-placeholder { display: grid; place-items: center; text-align: center; min-height: 640px; padding: 40px 24px; color: var(--ink-soft); }
.cal-placeholder h3 { color: var(--ink); font-size: 22px; margin: 18px 0 8px; }
.cal-placeholder p { margin: 0 auto; }

/* Reassurance panel (book, thank-you) */
.assure { padding: 28px; }
.assure-photo { --radius-photo: 20px; aspect-ratio: 16 / 9; margin-bottom: 22px; }
.assure-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.assure-list li { display: flex; gap: 14px; align-items: flex-start; }
.assure-list .trust-icon { margin: 0; }
.assure-list strong { display: block; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.35; padding-top: 2px; }
.assure-list span:not(.trust-icon) { display: block; font-size: 18px; color: var(--ink-soft); line-height: 1.45; }
.assure-contact { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 18px; color: var(--ink-soft); }
.assure-contact a[href^="tel"] { display: inline-flex; align-items: center; min-height: 44px; font-size: 20px; font-weight: 700; color: var(--ink); }
.assure-contact a[href^="mailto"] { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 639px) { .assure-photo { display: none; } }

/* "After you book" strip */
.after-book { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: ab; }
.after-book li { counter-increment: ab; display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.after-book li::before { content: counter(ab); flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-wash); color: var(--ink); font-weight: 700; font-size: 16px; }
@media (max-width: 760px) { .after-book { grid-template-columns: 1fr; } }

/* Photo banner inside panels (checkout) */
.panel-banner { --radius-photo: 20px; aspect-ratio: 21 / 9; margin-bottom: 28px; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: var(--gap); align-items: start; margin-top: 32px; }
.order {
  position: sticky; top: calc(var(--nav-h) + 24px);
  padding: clamp(26px, 3vw, 36px); border-radius: 28px; color: #fff;
  background: linear-gradient(180deg, #243350 0%, var(--navy-deep) 100%);
  box-shadow: 0 40px 70px -35px rgba(23, 33, 49, 0.6);
}
/* Only stick the summary when the whole card fits on screen; otherwise its lower half would be unreachable */
@media (min-width: 901px) and (max-height: 1079px) { .order { position: static; } }
.order h2, .order h3 { color: #fff; }
.order-label { margin: 0; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); font-weight: 700; }
.order-title { font-family: var(--font-serif); font-weight: 600; font-size: 30px; line-height: 1.15; letter-spacing: -0.012em; margin: 10px 0 18px; }
.order-line { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 18px; }
.order-line span:first-child { color: var(--on-dark); }
.order-line span:last-child { text-align: right; font-weight: 600; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0 24px; border-top: 1px solid rgba(255, 255, 255, 0.24); font-size: 18px; font-weight: 700; }
.order-total .total { font-family: var(--font-serif); font-weight: 600; font-size: 52px; letter-spacing: -0.021em; line-height: 1; }
.order .strike { text-decoration: line-through; color: var(--on-dark); font-size: 20px; margin-right: 10px; }
.secure, .pay-methods { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 18px; color: var(--on-dark); text-align: center; }
.secure .i, .pay-methods .i { width: 18px; height: 18px; }
.order-note {
  margin: 16px 0 0; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.08);
  font-size: 18px; line-height: 1.55; color: #fff; text-align: left;
}
.order-note a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.45); text-underline-offset: 3px; overflow-wrap: break-word; }
.order-assure { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: 10px; font-size: 18px; color: var(--on-dark); line-height: 1.45; }
.order-assure li { display: flex; gap: 10px; align-items: flex-start; }
.order-assure .i { width: 20px; height: 20px; color: var(--gold-light); margin-top: 1px; }
.order-assure a { color: #fff; font-weight: 700; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; row-gap: 2px; align-items: start; counter-increment: step; }
.next-steps li > strong, .next-steps li > span { grid-column: 2; }
.next-steps li:has(> span)::before { grid-row: span 2; }
.next-steps li::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--gold-wash); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.next-steps strong { display: block; font-size: 19px; color: var(--ink); line-height: 1.35; padding-top: 4px; }
.next-steps span { display: block; color: var(--ink-soft); font-size: 18px; line-height: 1.55; }
.checkout-grid > .order { grid-column: 2; grid-row: 1 / span 2; }
.sticky-total { display: none; }
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .checkout-grid > .order { grid-column: auto; grid-row: auto; position: static; }
  .order .btn { white-space: normal; text-align: center; }
  .sticky-total {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; font-size: 17px; font-weight: 700;
  }
}

/* Thank-you */
.success-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); margin-bottom: 22px; }
.success-check svg { width: 32px; height: 32px; fill: none; stroke: var(--gold-deep); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.success-check path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) 0.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks-photo { aspect-ratio: 4 / 3; }
@media (max-width: 1023px) { .thanks-photo { display: none; } }

/* Policies */
.policy-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.policy-nav a, .policy-nav .chip { min-height: 44px; font-size: 16px; }
.policy { padding: clamp(28px, 4.5vw, 56px); margin-top: 20px; }
.prose { max-width: 760px; }
.policy.prose { max-width: none; }
.policy.prose > * { max-width: 70ch; }
.prose h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.017em; line-height: 1.1; margin: 0 0 8px; }
.prose h3 { font-size: 20px; font-weight: 700; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 18px; }
.prose p { margin: 12px 0; }
/* Long links (e.g. the email address) wrap inside their card, even at 320px */
.prose a { overflow-wrap: anywhere; word-break: break-word; }
.prose ul { padding-left: 22px; margin: 12px 0; }
.prose li { margin: 8px 0; }
.updated { font-size: 16px; color: var(--muted); margin: 0 0 18px; }
/* html scroll-padding already clears the nav; this adds room for the sticky policy chip bar */
.policy[id] { scroll-margin-top: 72px; }

/* 404 */
.nf-photo { --radius-photo: 28px; aspect-ratio: 16 / 9; max-width: 720px; margin: 0 auto 36px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  [data-reveal], .rise, .fade-up, .hero-photo { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .parallax img, .parallax > img, .hero-photo, .float, .band img, .note-float, .subjects-inset, .portrait img { transform: none !important; clip-path: none !important; }
  .review .review-mark { opacity: 1 !important; transform: none !important; }
  .review .hl { background-size: 100% 100% !important; }
  .success-check path { stroke-dashoffset: 0; }
  .photo:hover img { scale: 1 !important; }
}
