/* ==========================================================================
   TUTORLY — Tutoring centre website template
   css/style.css
   --------------------------------------------------------------------------
    1. Theme tokens  ← colours, fonts, spacing, radius
    2. Base and accessibility
    3. Layout helpers
    4. Components: buttons, eyebrow, chips, notes, icons
    5. Header, phone menu and ticker
    6. Home: hero, highlights, stats, story
    7. Programs (cards, filter)
    8. Who we help (personas)
    9. Tutors (dark band and cards)
   10. Offer banner, guarantee band
   11. Steps and session timeline
   12. Results chart
   13. Reviews
   14. FAQ
   15. Pricing: plans, comparison table, program finder
   16. Contact: form, location card
   17. Page hero, prose (legal), 404
   18. Final call to action and footer
   19. Motion
   ========================================================================== */

/* 1. THEME TOKENS ========================================================== */
:root {
  --navy: #1A2B3C;         /* headings, dark bands, buttons */
  --navy-2: #2C4A66;       /* hover for navy */
  --gold: #F1C55C;         /* highlights, gold buttons, offer band */
  --gold-2: #F9B934;       /* icons and decoration only (not for text) */
  --gold-text: #8A5F00;    /* gold-family text that passes WCAG AA */
  --cream: #FEF9E7;        /* soft bands */
  --sky: #E9F2F9;          /* cool bands */
  --bg: #FFFDF7;           /* page background */
  --white: #FFFFFF;
  --ink: #33414F;          /* body text */
  --muted: #5B6672;        /* secondary text */
  --line: #E8E0C4;         /* dividers on cream */
  --line-cool: #DCE5EE;
  --error: #B3261E;
  --success: #1E6B45;

  --font-heading: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 28px);
  --section: clamp(64px, 9vw, 100px);
  --radius-s: 14px;
  --radius-m: 22px;
  --radius-l: 30px;
  --header-h: 80px;
  --shadow: 0 18px 40px rgba(26, 43, 60, .14);
}

/* 2. BASE AND ACCESSIBILITY ================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--navy); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 800; line-height: 1.1; color: var(--navy); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--gold); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 300; padding: 10px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* 3. LAYOUT HELPERS ======================================================== */
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sec { padding-block: var(--section); }
.sec-tight { padding-block: clamp(40px, 6vw, 56px); }
.sec--cream { background: var(--cream); }
.sec--sky { background: var(--sky); }
.sec--white { background: var(--white); }
.center { text-align: center; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head > div { max-width: 40rem; }
.sec-head h2 { margin-top: 14px; }
.sec-head .lede { max-width: 30rem; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center > div { margin-inline: auto; }

/* 4. COMPONENTS ============================================================ */
.ph { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; }
.eyebrow { display: block; font-family: var(--font-mono); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #555; }
.eyebrow.on-dark { color: var(--gold); }
.lede { font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.mark { padding: 0 .12em; background: linear-gradient(transparent 58%, var(--gold) 58%, var(--gold) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--radius-s); border: 2px solid transparent; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .2s, background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-2); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold-2); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--navy); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 30px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .875rem; }
.pill { display: inline-block; padding: 7px 12px; border-radius: 8px; background: var(--cream); color: var(--navy); font-family: var(--font-mono); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sample-note { display: inline-flex; align-items: flex-start; gap: 8px; max-width: 54ch; padding: 8px 12px; border: 1.5px dashed #9AA3AD; border-radius: 12px; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.sample-note .ph { font-size: 1rem; margin-top: 1px; }
.on-dark .sample-note, .sample-note.on-dark { border-color: rgba(255, 255, 255, .45); color: #CBD5E1; }

/* 5. HEADER, PHONE MENU AND TICKER ======================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid rgba(0, 0, 0, .1); }
.header-in { position: relative; display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand b { display: block; font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.1; }
.brand small { display: block; font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #5F6770; }
.main-nav { display: flex; align-items: center; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: inline-block; padding: 10px 12px; border-radius: 10px; color: #4A5568; font-weight: 500; text-decoration: none; transition: color .2s, background-color .2s; }
.nav-list a:hover { color: var(--navy); background: var(--cream); }
.nav-list a[aria-current="page"] { color: var(--navy); background: var(--cream); font-weight: 700; }
.nav-list .nav-cta-item { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 2px solid var(--navy); border-radius: 12px; background: transparent; color: var(--navy); font-size: 1.5rem; }
.menu-btn .icon-close, .menu-open .menu-btn .icon-open { display: none; }
.menu-open .menu-btn .icon-close { display: block; }
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; order: 2; }
  .main-nav { margin-left: 0; order: 3; }
  .nav-list { display: none; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid rgba(0, 0, 0, .1); box-shadow: 0 18px 30px -18px rgba(26, 43, 60, .35); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .menu-open .nav-list { display: flex; }
  .nav-list a { display: block; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav-list a[aria-current="page"] { background: none; }
  .nav-list .nav-cta-item { display: block; margin-top: 16px; }
  .nav-list .nav-cta-item a { display: flex; border: 0; border-radius: var(--radius-s); color: #fff; justify-content: center; padding: 14px; }
}
@media (max-width: 560px) { .header-cta { display: none; } .brand small { display: none; } }

.ticker { overflow: hidden; padding: 12px 0; background: var(--navy); color: #fff; font-family: var(--font-mono); font-size: .8rem; white-space: nowrap; }
.ticker-track { display: flex; gap: 56px; width: max-content; margin: 0; padding: 0; list-style: none; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track li { display: inline-flex; align-items: center; gap: 8px; }
.ticker-track .ph { color: var(--gold); }
@keyframes tick { to { transform: translateX(-50%); } }

/* 6. HOME ================================================================== */
.hero { padding-block: clamp(48px, 7vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 64px); align-items: center; }
.collage { position: relative; height: 540px; }
.collage__card { position: absolute; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.collage__card img { width: 100%; height: 100%; object-fit: cover; }
.collage__card--a { left: 0; top: 30px; width: 56%; height: 62%; }
.collage__card--b { right: 0; top: 0; width: 42%; height: 44%; }
.collage__card--c { right: 6%; bottom: 0; width: 50%; height: 46%; }
.collage .chip { position: absolute; z-index: 2; box-shadow: 0 8px 20px rgba(26, 43, 60, .12); }
.collage .chip--1 { left: -8px; bottom: 70px; }
.collage .chip--2 { right: 0; top: 50%; }
.collage .chip--3 { left: 34%; bottom: -12px; background: #fff; }
.collage__doodle { position: absolute; top: -6px; right: 16%; width: 86px; height: auto; color: var(--gold-2); }
.highlights { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 24px; padding: 0; list-style: none; font-size: .875rem; font-weight: 500; }
.highlights li { display: inline-flex; align-items: center; gap: 6px; }
.highlights .ph { color: var(--gold-2); font-size: 1.1rem; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); }
.hero .lede { margin-top: 22px; max-width: 34rem; }
.hero .btn-row { margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .9375rem; color: var(--muted); }
.hero-note .ph { color: var(--navy); font-size: 1.2rem; }

.stats { background: var(--cream); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; text-align: center; }
.stat b { display: block; font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.1; }
.stat span { display: block; margin-top: 4px; color: var(--muted); }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 64px); align-items: center; }
.story-figure { position: relative; margin: 0; }
.story-figure img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 32px; }
.story-badge { position: absolute; left: -14px; bottom: 28px; padding: 16px 22px; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(26, 43, 60, .15); }
.story-badge b, .story-badge span { display: block; }
.story-badge span { font-size: .875rem; color: var(--muted); }
.story h2 { margin: 16px 0 20px; }
.story .lede + .lede { margin-top: 16px; }
.sig { margin-top: 28px; font-weight: 700; font-size: 1.1rem; }
.sig small { display: block; font-weight: 400; color: var(--muted); }
.story .sample-note { margin-top: 24px; }

/* 7. PROGRAMS ============================================================== */
.programs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.program-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-l); overflow: hidden; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program-card__media { position: relative; aspect-ratio: 4 / 3; }
.program-card__media img { width: 100%; height: 100%; object-fit: cover; }
.program-card__tag { position: absolute; top: 16px; left: 16px; padding: 7px 14px; border-radius: 8px; background: var(--navy); color: #fff; font-family: var(--font-mono); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.program-card__body { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: 28px; }
.program-card h3 { font-size: 1.4rem; }
.program-card p { color: var(--muted); }
.program-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 8px 0 0; list-style: none; }
.program-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; padding-top: 16px; border-top: 1px dashed #DDD; }
.price-wrap b { font-family: var(--font-heading); font-size: 1.6rem; }
.price-wrap em { margin-left: 6px; font-style: normal; font-size: .85rem; color: var(--muted); }
.program-card__foot .btn { min-height: 44px; padding: 0 18px; font-size: .875rem; }
.program-schedule { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .9375rem; color: var(--ink); }
.program-schedule li { display: flex; gap: 8px; align-items: flex-start; }
.program-schedule .ph { margin-top: 3px; color: var(--gold-text); }
.programs-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.programs-grid--wide .program-card { flex-direction: row; }
.programs-grid--wide .program-card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.filter-btn { min-height: 44px; padding: 0 18px; border: 2px solid var(--navy); border-radius: 30px; background: transparent; color: var(--navy); font-weight: 700; transition: background .2s, color .2s; }
.filter-btn:hover { background: var(--cream); }
.filter-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.filter-status { margin-bottom: 28px; color: var(--muted); font-size: .9375rem; }
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .programs-grid--wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .programs-grid { grid-template-columns: minmax(0, 1fr); }
  .programs-grid--wide .program-card { flex-direction: column; }
  .programs-grid--wide .program-card__media { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .program-card__foot { flex-wrap: wrap; }
}

/* Term dates table */
.table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius-m); border: 1px solid var(--line-cool); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .9375rem; }
.data-table caption { padding: 18px 22px 0; text-align: left; font-weight: 700; color: var(--navy); }
.data-table th, .data-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line-cool); vertical-align: top; }
.data-table thead th { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody th { font-weight: 700; color: var(--navy); }
.data-table .ph { color: var(--success); font-size: 1.2rem; }
.data-table .no { color: #9AA3AD; }

/* 8. WHO WE HELP =========================================================== */
.per-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.per { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 30px; border-radius: 26px; background: var(--cream); }
.per .ph { font-size: 34px; color: var(--gold-2); }
.per-grade { font-family: var(--font-mono); font-size: .6875rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.per h3 { font-size: 1.35rem; }
.per p { color: #555; }
.per .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 1024px) { .per-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .per-grid { grid-template-columns: 1fr; } }

/* 9. TUTORS ================================================================ */
.team { background: var(--navy); color: #fff; }
.team h2, .team h3 { color: #fff; }
.team-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.team-head h2 { margin-top: 14px; max-width: 24ch; }
.team-tile { display: flex; align-items: center; gap: 16px; padding: 20px 26px; border-radius: 22px; background: rgba(255, 255, 255, .08); }
.team-tile .ph { font-size: 36px; color: var(--gold); }
.team-tile b { display: block; font-family: var(--font-heading); font-size: 2rem; }
.team-tile span { font-size: .9375rem; opacity: .85; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.tcard__img { margin-bottom: 16px; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; }
.tcard h3 { font-size: 1.3rem; }
.tcard .role { margin: 4px 0 12px; opacity: .8; }
.tchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 30px; background: rgba(241, 197, 92, .16); color: var(--gold); font-size: .8125rem; font-weight: 700; }
.team-strip { display: flex; flex-wrap: wrap; gap: 12px; margin: 44px 0 0; padding: 0; list-style: none; }
.strip-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 30px; font-size: .9375rem; }
.strip-pill .ph { color: var(--gold); }
.team .link-arrow { color: #fff; }
.team .link-arrow:hover { border-color: #fff; }
/* light version on tutors.html */
.tutor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.tutor { display: flex; flex-direction: column; height: 100%; padding: 16px 16px 24px; border-radius: 26px; background: #fff; border: 1px solid var(--line-cool); }
.tutor .tcard__img { border-radius: 18px; }
.tutor h3 { font-size: 1.25rem; }
.tutor .role { margin: 2px 0 10px; color: var(--muted); }
.tutor p { font-size: .9375rem; color: var(--ink); }
.tutor .tchip { margin-top: auto; align-self: flex-start; background: var(--cream); color: var(--gold-text); }
.tutor .tutor-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; padding: 0; list-style: none; }
@media (max-width: 1024px) { .team-grid, .tutor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid, .tutor-grid { grid-template-columns: 1fr; } .tcard__img { aspect-ratio: 4 / 3; } }

/* Values / standards cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.info-card { height: 100%; padding: 28px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--line-cool); }
.info-card .ph { font-size: 2rem; color: var(--gold-text); }
.info-card h3 { margin-top: 14px; font-size: 1.2rem; }
.info-card p { margin-top: 8px; color: var(--muted); }
.sec--cream .info-card { border-color: var(--line); }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* 10. OFFER AND GUARANTEE ================================================== */
.offer { padding: 64px 0; background: var(--gold); }
.offer-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.offer-date { font-family: var(--font-mono); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.offer h2 { margin: 10px 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.offer p { max-width: 560px; }
.guar { background: var(--sky); }
.guar-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.guar-in > .ph { font-size: 52px; color: var(--navy); }
.guar-in > div { flex: 1; min-width: 240px; }
.guar-in h2 { margin-bottom: 6px; font-size: 1.7rem; }
.guar-in a:not(.btn) { font-weight: 700; }

/* 11. STEPS AND SESSION TIMELINE =========================================== */
.step { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 28px; align-items: center; padding: 32px 0; border-top: 1.5px solid var(--line); }
.step:last-child { border-bottom: 1.5px solid var(--line); }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.3rem; }
.step-body h3 { margin-bottom: 8px; font-size: 1.6rem; }
.step-body p { color: #555; }
.step-media { display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: 22px; background: #fff; }
.step-media .ph { font-size: 34px; color: var(--gold-2); }
.step-media p { color: var(--muted); font-size: .95rem; }
.steps-list { margin: 0; padding: 0; list-style: none; }
@media (max-width: 1024px) { .step { grid-template-columns: 60px 1fr; } .step-media { grid-column: 2; } }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 16px; } .step-media { grid-column: auto; } }

.timeline { position: relative; display: grid; gap: 14px; margin: 0; padding: 0 0 0 28px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 22px; border-radius: var(--radius-s); background: #fff; border: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg); }
.timeline b { font-family: var(--font-mono); font-size: .8125rem; color: var(--gold-text); }
.timeline h3 { font-size: 1.125rem; }
.timeline p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

.note-card { position: relative; padding: 32px; border-radius: 6px 26px 26px 26px; background: #fff; box-shadow: var(--shadow); font-size: .9875rem; transform: rotate(-1deg); }
.note-card::before { content: ""; position: absolute; top: -12px; left: 40px; width: 90px; height: 24px; background: rgba(241, 197, 92, .75); transform: rotate(-3deg); }
.note-card h3 { font-size: 1.15rem; }
.note-card dl { display: grid; gap: 10px; margin: 16px 0 0; }
.note-card dt { font-family: var(--font-mono); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.note-card dd { margin: 2px 0 0; color: var(--ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 64px); align-items: center; }
.split--top { align-items: start; }
.split h2 { margin: 14px 0 18px; }
.split .lede + .lede { margin-top: 14px; }
.check-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .ph { flex: none; margin-top: 3px; color: var(--success); font-size: 1.2rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* 12. RESULTS CHART ======================================================== */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 64px); align-items: center; }
.proof-grid h2 { margin: 14px 0 18px; }
.proof-grid .lede + .lede { margin-top: 16px; }
.chart-card { padding: 36px; border-radius: 30px; background: var(--navy); color: #fff; }
.chart-card h3 { color: #fff; font-size: 1.5rem; }
.chart-card .sub { margin: 8px 0 24px; font-size: .95rem; color: #C5D0DA; }
.chart-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chart-tabs button { min-height: 40px; padding: 0 16px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 30px; background: transparent; color: #fff; font-weight: 700; font-size: .875rem; }
.chart-tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.chart-tabs button:focus-visible { outline-color: #fff; }
.bar-row { margin-bottom: 18px; }
.bar-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: .95rem; }
.bar-track { height: 12px; border-radius: 8px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--gold); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.disclaim { margin-top: 22px; font-size: .8125rem; color: #AEBBC7; }
@media (max-width: 1024px) { .proof-grid { grid-template-columns: 1fr; } }

/* 13. REVIEWS ============================================================== */
.big-quote { display: grid; grid-template-columns: 1fr 240px; gap: 40px; align-items: center; margin: 0; padding: 44px; border-radius: 32px; background: var(--cream); }
.big-quote blockquote { margin: 0; font-family: var(--font-heading); font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; line-height: 1.25; }
.big-quote figcaption { margin-top: 20px; color: var(--muted); }
.big-quote figcaption b { display: block; color: var(--navy); }
.big-quote img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.rev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0 0; padding: 0; list-style: none; }
.rcard { display: flex; flex-direction: column; gap: 16px; height: 100%; margin: 0; padding: 28px; border-radius: 26px; border: 1.5px solid #eee; background: #fff; }
.rstars { color: var(--gold-2); font-size: 1.1rem; }
.rcard blockquote { margin: 0; }
.rwho { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.rwho b { display: block; }
.rwho span { font-size: .875rem; color: var(--muted); }
.initials { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .9375rem; }
.initials--gold { background: var(--gold); color: var(--navy); }
.initials--sky { background: var(--sky); color: var(--navy); }
.rwho .initials { color: #fff; } /* keeps initials readable inside review captions */
.rwho .initials--gold, .rwho .initials--sky { color: var(--navy); }
.reviews .sample-note { margin-top: 24px; }
@media (max-width: 1024px) { .big-quote { grid-template-columns: 1fr; } .big-quote img { max-width: 160px; } .rev-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rev-grid { grid-template-columns: 1fr; } .big-quote { padding: 28px; } }

/* 14. FAQ ================================================================== */
.faq-list { max-width: 820px; margin: 44px auto 0; }
.faq-item { border-top: 1.5px solid var(--line); }
.faq-item:last-child { border-bottom: 1.5px solid var(--line); }
.faq-item h3 { font-size: inherit; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; padding: 24px 0; border: 0; background: none; text-align: left; font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.faq-q .ph { font-size: 1.4rem; transition: transform .3s; }
.faq-q[aria-expanded="true"] .ph { transform: rotate(45deg); }
.faq-a { overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding-bottom: 24px; color: #555; }
.faq-a a { font-weight: 700; color: var(--navy); }

/* 15. PRICING ============================================================== */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.plan { position: relative; display: flex; flex-direction: column; height: 100%; padding: 34px 30px; border-radius: var(--radius-l); background: #fff; border: 1.5px solid var(--line-cool); }
.plan--featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.plan--featured h3, .plan--featured .plan__price b { color: #fff; }
.plan__badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 30px; background: var(--gold); color: var(--navy); font-family: var(--font-mono); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan .ph-plan { font-size: 2rem; color: var(--gold-text); }
.plan--featured .ph-plan { color: var(--gold); }
.plan h3 { margin-top: 14px; font-size: 1.5rem; }
.plan__desc { margin-top: 6px; color: var(--muted); }
.plan--featured .plan__desc, .plan--featured .plan__price em { color: #C5D0DA; }
.plan__price { margin: 22px 0 18px; }
.plan__price b { font-family: var(--font-heading); font-size: 2.6rem; color: var(--navy); }
.plan__price em { margin-left: 6px; font-style: normal; color: var(--muted); }
.plan ul { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ph { flex: none; margin-top: 3px; color: var(--success); }
.plan--featured li .ph { color: var(--gold); }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 24px; text-align: center; color: var(--muted); font-size: .9375rem; }
.plans-note a { color: var(--navy); font-weight: 700; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.finder { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: clamp(28px, 5vw, 48px); border-radius: var(--radius-l); background: var(--navy); color: #fff; }
.finder h2 { color: #fff; margin: 14px 0 12px; }
.finder p { color: #C5D0DA; }
.finder form { display: grid; gap: 18px; }
.finder fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.finder legend { margin-bottom: 10px; font-weight: 700; }
.option-row { display: flex; flex-wrap: wrap; gap: 8px; }
.option-row label { position: relative; }
.option-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-row span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 30px; cursor: pointer; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.option-row input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }
.option-row input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.finder-result { padding: 24px; border-radius: var(--radius-m); background: rgba(255, 255, 255, .08); }
.finder-result h3 { color: var(--gold); font-size: 1.35rem; }
.finder-result p { margin-top: 8px; color: #E2E8F0; }
.finder-result .btn { margin-top: 18px; }
@media (max-width: 860px) { .finder { grid-template-columns: minmax(0, 1fr); } }

/* 16. CONTACT ============================================================== */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line-cool); box-shadow: 0 10px 30px rgba(26, 43, 60, .06); }
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.form-card > p { margin: 8px 0 24px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field > label, .field legend { font-weight: 700; color: var(--navy); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid #C9D2DC; border-radius: 12px; background: #fff; color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(241, 197, 92, .55); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .875rem; font-weight: 500; }
.field-hint { color: var(--muted); font-size: .875rem; }
fieldset.field { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.check-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check-row label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid #C9D2DC; border-radius: 12px; cursor: pointer; font-weight: 500; }
.check-row input { width: 18px; height: 18px; accent-color: var(--navy); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); }
.consent a { font-weight: 700; }
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn[type="submit"] { width: 100%; margin-top: 12px; }
.form-card .btn[aria-disabled="true"] { opacity: .7; pointer-events: none; }
.form-status:not(:empty) { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: .9375rem; }
.form-status--success { background: #E3F2E8; color: var(--success); }
.form-status--error { background: #FCE8E6; color: var(--error); }
.form-status--demo { background: var(--cream); border: 1.5px dashed #9AA3AD; color: var(--navy); }
.location { display: grid; gap: 20px; }
.location-card { padding: 28px; border-radius: var(--radius-l); background: var(--cream); }
.location-card h2 { font-size: 1.5rem; }
.location-card dl { display: grid; gap: 14px; margin: 18px 0 0; }
.location-card dt { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.location-card dd { margin: 4px 0 0; }
.location-card a { display: inline-block; padding: 3px 0; font-weight: 700; }
.map { margin: 0; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); }
.map img { width: 100%; }
.map figcaption { padding: 12px 16px; background: #fff; font-size: .875rem; color: var(--muted); }
.map figcaption a { display: inline-block; padding: 4px 0; color: var(--navy); font-weight: 700; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* 17. PAGE HERO, PROSE, 404 ================================================ */
.page-hero { padding-block: clamp(48px, 8vw, 88px); background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 48px; align-items: end; }
.page-hero h1 { margin-top: 14px; font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.page-hero .lede { max-width: 36rem; }
.crumbs { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #B7AE92; }
.crumbs a { display: inline-block; padding: 4px 0; color: var(--navy); }
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.jump-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 30px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .9375rem; text-decoration: none; }
.jump-links a:hover { border-color: var(--navy); }
@media (max-width: 860px) { .page-hero__in { grid-template-columns: 1fr; } }

.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; padding: 18px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--line-cool); }
.toc b { margin-bottom: 6px; }
.toc a { padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.toc a:hover { background: var(--cream); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 52px; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.prose h2:first-of-type { margin-top: 24px; }
.prose h3 { margin-top: 28px; font-size: 1.15rem; font-family: var(--font-body); }
.prose p, .prose ul { margin-top: 10px; color: var(--ink); }
.prose a { font-weight: 700; }
@media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } }

.not-found { display: grid; place-items: center; min-height: 60vh; padding-block: var(--section); text-align: center; }
.not-found__code { font-family: var(--font-heading); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--navy); text-shadow: .06em .06em 0 var(--gold); }
.not-found h1 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3rem); }
.not-found .lede { margin: 16px auto 0; max-width: 32rem; }
.not-found .btn-row { justify-content: center; margin-top: 28px; }

/* 18. FINAL CTA AND FOOTER ================================================= */
.final { padding: clamp(72px, 10vw, 110px) 0; background: var(--navy); color: #fff; text-align: center; }
.final h2 { margin-top: 16px; color: #fff; }
.final .lede { max-width: 600px; margin: 20px auto 0; color: #CBD5E1; }
.final .btn-row { justify-content: center; margin-top: 32px; }
.final-note { margin-top: 20px; font-size: .9rem; color: #AEBBC7; }

.site-footer { padding: clamp(56px, 8vw, 80px) 0 32px; background: #0A1624; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: #AEBBC7; }
.footer-brand p { margin-top: 18px; max-width: 320px; color: #94A3B8; }
.footer-col h2 { margin-bottom: 20px; font-family: var(--font-mono); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-2); }
.footer-col ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-block; padding: 6px 0; color: #fff; text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-col address { font-style: normal; color: #CBD5E1; line-height: 1.8; }
.footer-col address a { padding: 0; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 1.2rem; }
.social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; color: #94A3B8; }
.footer-bottom ul { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.footer-bottom a { display: inline-block; padding: 4px 0; color: #CBD5E1; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px 40px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* Home responsive */
@media (max-width: 1024px) {
  .hero-grid, .story-grid { grid-template-columns: 1fr; }
  .collage { height: 460px; max-width: 620px; width: 100%; margin-inline: auto; }
}
@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .collage { height: 380px; }
  .collage .chip { font-size: .8rem; padding: 6px 12px; }
  .hero .btn-row .btn { width: 100%; }
  .story-badge { left: 12px; }
}

/* 19. MOTION =============================================================== */
.js .rev { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.js .rev.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 12px 32px; }
  .ticker { white-space: normal; }
  .js .rev { opacity: 1; transform: none; }
  .bar-fill { transition: none; }
}
.team-more { margin-top: 36px; }
.program-card h2 { font-size: 1.4rem; }
.note-card .sample-note { margin-top: 18px; }
.sample-note--spaced { margin-top: 28px; }
.team .lede { color: #CBD5E1; }
.team .check-list li { color: #fff; }
.team .check-list .ph { color: var(--gold); }
.discount-band { margin-top: 28px; padding: 28px; border-radius: var(--radius-l); }
.finder form { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; } }
.price-wrap em { white-space: nowrap; }
