/* =====================================================================
   D&L MODELING ACADEMY — Editorial Couture Design System
   Palette: black · gold (#DEA43A) · champagne · cream
   Type: Cormorant Garamond (display) · Jost (UI/body)
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink:        #0C0B0A;
  --ink-soft:   #17150F;
  --ink-700:    #2E2A22;
  --gold:       #DEA43A;
  --gold-deep:  #B8842A;
  --gold-light: #E8C57E;
  --champagne:  #F0DDB6;
  --cream:      #FAF6EE;
  --cream-2:    #F3EBDD;
  --cream-3:    #ECE1CD;
  --white:      #FFFFFF;
  --body:       #2E2A22;   /* body text on cream — high contrast */
  --muted:      #6E6557;   /* secondary text on cream (>4.5:1)   */
  --line:       #E2D6C0;   /* hairline borders on cream          */

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;

  --shadow-sm: 0 4px 18px rgba(20, 16, 8, 0.08);
  --shadow-md: 0 18px 50px rgba(20, 16, 8, 0.14);
  --shadow-gold: 0 16px 40px rgba(222, 164, 58, 0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms var(--ease);
  --t: 320ms var(--ease);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;          /* ~17px */
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.display {
  font-size: clamp(2.85rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
h2.section-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }

p { max-width: 68ch; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--ink-700); }
.gold-text { color: var(--gold-deep); }
.serif-accent { font-family: var(--font-display); font-style: italic; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 + p, .section-head .section-title + p { margin-top: 1.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.text-center { text-align: center; }

/* Star divider */
.star {
  width: 18px; height: 18px;
  fill: var(--gold);
  flex: none;
}
.divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 2.5rem auto;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: ""; height: 1px; width: min(120px, 22vw);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1rem 1.9rem;
  border-radius: 100px;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t), transform var(--t-fast), border-color var(--t-fast);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-light); box-shadow: 0 20px 48px rgba(222,164,58,.4); transform: translateY(-2px); }
.btn--gold:hover svg { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--ink-soft); transform: translateY(-2px); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn--ghost-gold { border: 1px solid rgba(222,164,58,.5); color: var(--gold-light); }
.btn--ghost-gold:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-2px); }
.btn--lg { padding: 1.15rem 2.4rem; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), gap var(--t-fast);
}
.text-link svg { width: 15px; height: 15px; transition: transform var(--t); }
.text-link:hover { border-color: var(--gold); }
.text-link:hover svg { transform: translateX(4px); }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  transition: background var(--t), box-shadow var(--t), padding var(--t);
  padding-block: 1.2rem;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav.scrolled {
  background: rgba(12, 11, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(222,164,58,.16);
  padding-block: 0.75rem;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand__mark { width: 46px; height: 46px; flex: none; transition: transform var(--t); }
.brand:hover .brand__mark { transform: rotate(-4deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--cream);
}
.brand__sub {
  font-family: var(--font-sans); font-size: 0.52rem; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold);
  margin-top: 3px; padding-left: 2px;
}
/* On cream sub-pages the nav starts solid; brand stays light because nav bg is dark */

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative;
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(250, 246, 238, 0.82);
  padding: 0.4rem 0;
  transition: color var(--t-fast);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--cream); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.5rem; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  border: 1px solid rgba(222,164,58,.4);
}
.nav__toggle span { position: relative; width: 20px; height: 2px; background: var(--cream); transition: background var(--t-fast); }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--cream);
  transition: transform var(--t);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% 0%, #1b1813 0%, var(--ink) 55%);
  color: var(--cream);
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero::after { /* gold glow */
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  right: -12vw; top: -16vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(222,164,58,.18), transparent 65%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before, .hero .eyebrow::after { background: var(--gold); }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 4.7rem); color: var(--cream); margin: 1.4rem 0 1.5rem; }
.hero__title em { font-style: italic; color: var(--gold-light); }
.hero__lead { color: rgba(250,246,238,.78); font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 46ch; margin-bottom: 2.2rem; }
.hero__actions { margin-bottom: 2.6rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.8rem 2.4rem; padding-top: 2rem; border-top: 1px solid rgba(222,164,58,.22); }
.hero__meta-item { display: flex; flex-direction: column; gap: 0.15rem; }
.hero__meta-num { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-light); line-height: 1; }
.hero__meta-label { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(250,246,238,.6); }

/* Hero media — framed portrait placeholder */
.hero__media { position: relative; }
.frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.frame::after { /* gold inner border */
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(222,164,58,.5); border-radius: 14px; pointer-events: none; z-index: 2;
}
.hero__badge {
  position: absolute; left: -1.5rem; bottom: 2.2rem; z-index: 3;
  background: var(--cream); color: var(--ink);
  border-radius: 100px; padding: 0.85rem 1.4rem;
  display: flex; align-items: center; gap: 0.7rem;
  box-shadow: var(--shadow-md);
}
.hero__badge .star { width: 22px; height: 22px; }
.hero__badge span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.hero__badge strong { font-family: var(--font-display); display: block; font-size: 1.45rem; line-height: 1; letter-spacing: .01em; color: var(--gold-deep); }

/* Photo placeholder (swap with real <img>) */
.ph {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(222,164,58,.14), rgba(12,11,10,.0) 60%),
    repeating-linear-gradient(45deg, #211d16 0 18px, #1b1813 18px 36px);
  color: rgba(240,221,182,.55);
}
.ph--cream {
  background:
    linear-gradient(135deg, rgba(222,164,58,.16), rgba(255,255,255,0) 60%),
    repeating-linear-gradient(45deg, #efe6d4 0 18px, #e9dcc4 18px 36px);
  color: var(--gold-deep);
}
.ph__inner { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1rem; }
.ph__inner .star { width: 26px; height: 26px; opacity: .85; }
.ph__label { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; }

/* =====================================================================
   PAGE HEADER (interior pages)
   ===================================================================== */
.page-header {
  background: radial-gradient(120% 140% at 70% 0%, #1b1813 0%, var(--ink) 60%);
  color: var(--cream);
  padding-top: clamp(8.5rem, 18vh, 12rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  text-align: center; position: relative; overflow: hidden;
}
.page-header::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-header .eyebrow { color: var(--gold-light); justify-content: center; margin-bottom: 1.2rem; }
.page-header h1 { color: var(--cream); font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-header h1 em { font-style: italic; color: var(--gold-light); }
.page-header p { color: rgba(250,246,238,.76); margin: 1.4rem auto 0; max-width: 60ch; }
.breadcrumb { margin-top: 1.6rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(250,246,238,.55); }
.breadcrumb a:hover { color: var(--gold-light); }

/* =====================================================================
   TRUST STRIP
   ===================================================================== */
.trust {
  background: var(--ink); color: var(--cream);
  border-block: 1px solid rgba(222,164,58,.18);
}
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2.6rem; padding-block: 1.6rem; }
.trust__item { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(250,246,238,.82); }
.trust__item .star { width: 14px; height: 14px; }

/* =====================================================================
   FEATURE / VALUE CARDS
   ===================================================================== */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.card__icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cream-2), var(--cream-3));
  border: 1px solid var(--line);
  margin-bottom: 1.3rem;
}
.card__icon svg { width: 26px; height: 26px; stroke: var(--gold-deep); }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card__num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-deep); display: block; margin-bottom: 0.8rem; letter-spacing: .1em; }

/* Dark variant card (on ink sections) */
.card--dark { background: rgba(255,255,255,.03); border-color: rgba(222,164,58,.2); }
.card--dark h3 { color: var(--cream); }
.card--dark p { color: rgba(250,246,238,.66); }
.card--dark .card__icon { background: rgba(222,164,58,.1); border-color: rgba(222,164,58,.25); }

/* =====================================================================
   SPLIT (image + text)
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media .frame { aspect-ratio: 4/5; }
.split__media.is-wide .frame { aspect-ratio: 1/1; }
.split__body .eyebrow { margin-bottom: 1.1rem; }
.split__body h2 { margin-bottom: 1.3rem; }
.split__body p + p { margin-top: 1rem; }
.tick-list { margin-top: 1.6rem; display: grid; gap: 0.9rem; }
.tick-list li { display: flex; gap: 0.85rem; align-items: flex-start; color: var(--ink-700); }
.tick-list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.tick-list strong { color: var(--ink); }

/* =====================================================================
   FOUNDERS
   ===================================================================== */
.founder { text-align: center; }
.founder .frame { aspect-ratio: 3/4; margin-bottom: 1.5rem; }
.founder__name { font-size: 1.7rem; }
.founder__role { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin: 0.4rem 0 1rem; }
.founder p { color: var(--muted); font-size: 0.98rem; margin-inline: auto; }

/* =====================================================================
   OUTCOMES (dark band)
   ===================================================================== */
.band-dark { background: var(--ink); color: var(--cream); }
.band-dark h2 { color: var(--cream); }
.band-dark .eyebrow { color: var(--gold-light); }
.outcome { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid rgba(222,164,58,.16); }
.outcome:last-child { border-bottom: none; }
.outcome__num { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); flex: none; width: 2.5rem; }
.outcome h3 { color: var(--cream); font-size: 1.3rem; margin-bottom: 0.3rem; }
.outcome p { color: rgba(250,246,238,.66); font-size: 0.97rem; }
/* What your child gains — split layout on the dark band */
.gains-grid { align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); }

/* =====================================================================
   STATS
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--gold-deep); line-height: 1; }
.band-dark .stat__num { color: var(--gold-light); }
.stat__label { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 0.6rem; }
.band-dark .stat__label { color: rgba(250,246,238,.6); }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(1.6rem, 2.6vw, 2.2rem); display: flex; flex-direction: column; gap: 1.2rem;
}
.quote__stars { display: flex; gap: 0.2rem; }
.quote__stars .star { width: 16px; height: 16px; }
.quote p { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.45; color: var(--ink-700); font-style: italic; }
.quote__author { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); display: flex; align-items: center; justify-content: center; color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; flex: none; }
.quote__author cite { font-style: normal; }
.quote__author strong { display: block; font-size: 0.95rem; color: var(--ink); }
.quote__author span { font-size: 0.78rem; color: var(--muted); }

/* =====================================================================
   GALLERY STRIP
   ===================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.gallery .frame { aspect-ratio: 3/4; border-radius: var(--r-sm); }
.gallery .frame::after { inset: 8px; border-radius: 8px; }
.gallery .frame:nth-child(2) { margin-top: 2rem; }
.gallery .frame:nth-child(4) { margin-top: 2rem; }
.gallery-viewport { overflow: visible; }
.gallery__dup { display: none; } /* only used for the mobile auto-scroll loop */

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 50% -20%, #221d15, var(--ink) 60%);
  color: var(--cream); text-align: center;
}
.cta::before, .cta::after {
  content: ""; position: absolute; width: 40vw; height: 40vw; max-width: 480px; max-height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(222,164,58,.16), transparent 65%); pointer-events: none;
}
.cta::before { left: -10vw; top: -10vw; }
.cta::after { right: -10vw; bottom: -16vw; }
.cta__inner { position: relative; z-index: 1; max-width: 740px; margin-inline: auto; }
.cta h2 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
.cta h2 em { font-style: italic; color: var(--gold-light); }
.cta p { color: rgba(250,246,238,.76); margin: 0 auto 2.2rem; }
.cta .btn-row { justify-content: center; }

/* =====================================================================
   FAQ / ACCORDION
   ===================================================================== */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.5rem 0; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ink);
}
.faq__icon { width: 26px; height: 26px; flex: none; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--gold-deep); transition: transform var(--t); }
.faq__icon::before { top: 12px; left: 4px; width: 18px; height: 2px; }
.faq__icon::after { top: 4px; left: 12px; width: 2px; height: 18px; }
.faq__item[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height var(--t); }
.faq__a p { color: var(--muted); padding-bottom: 1.5rem; }
/* FAQ on dark band — keep text legible */
.band-dark .faq__item { border-color: rgba(222,164,58,.2); }
.band-dark .faq__q { color: var(--cream); }
.band-dark .faq__a p { color: rgba(250,246,238,.74); }
.band-dark .faq__a p a { color: var(--gold-light); }
.band-dark .faq__icon::before, .band-dark .faq__icon::after { background: var(--gold-light); }

/* =====================================================================
   STEPS
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem,2.5vw,2rem); counter-reset: step; }
.step { position: relative; }
.step__num {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); color: var(--gold-deep); font-family: var(--font-display); font-size: 1.7rem;
  line-height: 1; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  margin-bottom: 1.2rem;
}
.band-dark .step__num { color: var(--gold-light); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; }
.band-dark .step p { color: rgba(250,246,238,.66); }

/* =====================================================================
   PROGRAM TIER CARDS
   ===================================================================== */
.tier {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.tier--featured { background: var(--ink); border-color: var(--gold); }
.tier--featured h3, .tier--featured .tier__age { color: var(--cream); }
.tier--featured .tier__desc, .tier--featured .tier-list li { color: rgba(250,246,238,.72); }
.tier--featured .tier-list svg { stroke: var(--gold-light); }
.tier__flag { align-self: flex-start; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1.2rem; }
.tier__age { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.5rem; }
.tier h3 { font-size: 1.9rem; margin-bottom: 0.8rem; }
.tier__schedule { display: flex; align-items: center; gap: 0.5rem; color: var(--gold-deep); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.02em; margin: -0.2rem 0 1.2rem; }
.tier__schedule svg { flex: none; }
.tier__desc { color: var(--muted); margin-bottom: 1.6rem; }
.tier-list { display: grid; gap: 0.85rem; margin-bottom: 1.8rem; }
.tier-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-700); font-size: 0.96rem; }
.tier-list svg { width: 20px; height: 20px; flex: none; stroke: var(--gold-deep); margin-top: 2px; }
.tier .btn { margin-top: auto; }

/* Curriculum pillars */
.pillar { display: flex; gap: 1.1rem; align-items: flex-start; }
.pillar__icon { width: 48px; height: 48px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--cream-2), var(--cream-3)); border: 1px solid var(--line); }
.pillar__icon svg { width: 24px; height: 24px; stroke: var(--gold-deep); }
.pillar h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.pillar p { color: var(--muted); font-size: 0.95rem; }

/* =====================================================================
   FORMS
   ===================================================================== */
.form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.8rem, 3.5vw, 3rem); box-shadow: var(--shadow-sm); }
.form-section + .form-section { margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.form-section__title { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); margin-bottom: 1.4rem; }
.form-section__title .star { width: 16px; height: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-700); font-weight: 500; }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0.85rem 1rem; width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 4px rgba(222,164,58,.15);
}
.field input::placeholder, .field textarea::placeholder { color: #a89c87; }
.field--error input, .field--error select, .field--error textarea { border-color: #c0492b; background: #fbf1ee; }
.field__error { font-size: 0.78rem; color: #c0492b; min-height: 1rem; display: none; }
.field--error .field__error { display: block; }
.check { flex-direction: row; align-items: flex-start; gap: 0.8rem; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--gold-deep); }
.check label { text-transform: none; letter-spacing: 0; font-size: 0.92rem; color: var(--muted); font-weight: 400; line-height: 1.5; }
.form-actions { margin-top: 2rem; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 1rem; }

/* Embedded Google Form */
.form-card--embed { padding: clamp(1.2rem, 2.5vw, 1.8rem); }
.embed-head { padding: 0.4rem 0.4rem 0; }
.form-embed { border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.form-embed iframe { display: block; width: 100%; height: 820px; border: 0; }
@media (max-width: 600px) { .form-embed iframe { height: 1050px; } }

.form-success {
  display: none; text-align: center; padding: clamp(2rem,5vw,3.5rem);
}
.form-success.show { display: block; }
.form-success__icon { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.form-success__icon svg { width: 38px; height: 38px; stroke: var(--ink); }
.form-success h3 { font-size: 2rem; margin-bottom: 0.8rem; }
.form-success p { color: var(--muted); margin: 0 auto; }

/* Aside (enrol / contact info) */
.aside-card { background: var(--ink); color: var(--cream); border-radius: var(--r-lg); padding: clamp(1.8rem, 3vw, 2.5rem); }
.aside-card h3 { color: var(--cream); font-size: 1.6rem; margin-bottom: 1.4rem; }
.aside-card .star { width: 16px; height: 16px; }
.aside-steps { display: grid; gap: 1.4rem; }
.aside-step { display: flex; gap: 1rem; }
.aside-step__num { font-family: var(--font-display); color: var(--gold-light); font-size: 1.3rem; flex: none; }
.aside-step strong { display: block; color: var(--cream); font-size: 1rem; }
.aside-step span { color: rgba(250,246,238,.66); font-size: 0.9rem; }
.aside-divider { height: 1px; background: rgba(222,164,58,.2); margin: 1.8rem 0; }

/* Contact info list */
.contact-list { display: grid; gap: 1.6rem; }
.contact-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.contact-item__icon { width: 48px; height: 48px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--cream-2), var(--cream-3)); border: 1px solid var(--line); }
.contact-item__icon svg { width: 22px; height: 22px; stroke: var(--gold-deep); }
.contact-item h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.contact-item a, .contact-item p { color: var(--muted); font-size: 0.98rem; }
.contact-item a:hover { color: var(--gold-deep); }
.map-frame { aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--ink); color: rgba(250,246,238,.7); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(222,164,58,.16); }
.footer__brand .brand { margin-bottom: 1.2rem; }
.footer__brand p { font-size: 0.95rem; max-width: 34ch; color: rgba(250,246,238,.6); }
.footer__col h4 { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer__col ul { display: grid; gap: 0.75rem; }
.footer__col a { font-size: 0.92rem; color: rgba(250,246,238,.7); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--gold-light); }
.footer__socials { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer__socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(222,164,58,.3); display: flex; align-items: center; justify-content: center; transition: background var(--t-fast), border-color var(--t-fast); }
.footer__socials svg { width: 18px; height: 18px; fill: var(--gold-light); }
.footer__socials a:hover { background: var(--gold); border-color: var(--gold); }
.footer__socials a:hover svg { fill: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.8rem; font-size: 0.8rem; color: rgba(250,246,238,.5); }
.footer__bottom a:hover { color: var(--gold-light); }

/* =====================================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal="left"] { transform: translateX(-32px); }
.reveal[data-reveal="right"] { transform: translateX(32px); }
.reveal[data-reveal="scale"] { transform: scale(0.94); }
.reveal.is-visible[data-reveal] { transform: none; }

/* hero entrance */
.hero-anim { opacity: 0; transform: translateY(24px); animation: heroIn 0.9s var(--ease) forwards; }
.hero-anim.d1 { animation-delay: 0.1s; }
.hero-anim.d2 { animation-delay: 0.25s; }
.hero-anim.d3 { animation-delay: 0.4s; }
.hero-anim.d4 { animation-delay: 0.55s; }
.hero-anim.d5 { animation-delay: 0.7s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 440px; margin-inline: auto; order: -1; width: 100%; }
  .split, .form-wrap { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: 0;
    height: 100vh; height: 100dvh;
    width: min(84vw, 340px);
    background: rgba(12,11,10,.98); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.6rem;
    padding: 5.75rem 2.2rem 2.5rem;
    overflow-y: auto;
    transform: translateX(110%); transition: transform var(--t);
    box-shadow: -20px 0 60px rgba(0,0,0,.45);
  }
  .nav.open .nav__links { transform: translateX(0); }
  .nav__link { font-size: 1rem; }
  .nav__cta { margin-left: 0; margin-top: 0.5rem; }
  .nav__toggle { display: flex; z-index: 60; }
  .nav { background: rgba(12,11,10,.9); backdrop-filter: blur(12px); padding-block: 0.7rem; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__badge { left: 0; }
  /* Keep the three stats on one row on mobile (like desktop) */
  .hero__meta { flex-wrap: nowrap; gap: 0.9rem; justify-content: space-between; }
  .hero__meta-item { flex: 1 1 0; min-width: 0; }
  .hero__meta-num { font-size: 1.45rem; }
  .hero__meta-label { font-size: 0.57rem; letter-spacing: 0.08em; }
  .divider::before, .divider::after { width: 60px; }

  /* Trust strip: stack as a left-aligned list so the gold stars line up */
  .trust__row { flex-direction: column; align-items: flex-start; gap: 0.95rem; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .frame:nth-child(n) { margin-top: 0; }
  .stats { grid-template-columns: 1fr; }
}

/* =====================================================================
   LARGE SCREENS — scale up to fill the space (instead of empty margins)
   The whole design enlarges proportionally; the header stays compact
   because nav/brand are capped below.
   ===================================================================== */
/* Widen the content to fill large screens WITHOUT enlarging text (no zoom).
   Headings still scale gently via their vw-based clamps. */
@media (min-width: 1500px) {
  :root { --maxw: 1400px; --gutter: clamp(2rem, 4vw, 4rem); }
  .section { padding-block: clamp(5rem, 7vw, 8rem); }
  .grid { gap: clamp(1.6rem, 2vw, 2.4rem); }
}
@media (min-width: 1800px) {
  :root { --maxw: 1560px; }
}
@media (min-width: 2300px) {
  /* gentle, optional bump on very large displays only */
  html { font-size: 17px; }
  :root { --maxw: 1720px; }
}

/* ============================================================
   BATCH A — Gold ambient glow on dark sections (revertable)
   To revert: delete this entire BATCH A block.
   ============================================================ */
.section.band-dark {
  background:
    radial-gradient(72% 60% at 12% -8%, rgba(222,164,58,.13), transparent 60%),
    radial-gradient(62% 55% at 100% 108%, rgba(222,164,58,.10), transparent 60%),
    var(--ink);
  box-shadow: inset 0 1px 0 rgba(222,164,58,.20);
}
.cta { box-shadow: inset 0 1px 0 rgba(222,164,58,.20); }
.cta::before, .cta::after { background: radial-gradient(circle, rgba(222,164,58,.22), transparent 65%); }
.footer {
  background:
    radial-gradient(48% 80% at 100% 0%, rgba(222,164,58,.10), transparent 62%),
    radial-gradient(40% 70% at 0% 0%, rgba(222,164,58,.06), transparent 60%),
    var(--ink);
  box-shadow: inset 0 1px 0 rgba(222,164,58,.16);
}
.tier--featured { box-shadow: 0 0 0 1px rgba(222,164,58,.28), 0 24px 60px rgba(222,164,58,.12); }
.aside-card {
  background:
    radial-gradient(85% 60% at 100% 0%, rgba(222,164,58,.13), transparent 60%),
    var(--ink);
  box-shadow: 0 18px 50px rgba(20,16,8,.35), inset 0 0 0 1px rgba(222,164,58,.16);
}
/* end BATCH A */

/* ============================================================
   BATCH D — Mobile sticky CTA bar + swipeable galleries (revertable)
   Pairs with the BATCH D block in main.js. Delete both to revert.
   ============================================================ */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: flex; gap: 0.6rem; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(12,11,10,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 rgba(222,164,58,.28), 0 -12px 32px rgba(0,0,0,.4);
    transition: transform var(--t);
  }
  .nav.open ~ .mobile-cta { transform: translateY(130%); }
  .mobile-cta__btn { flex: 1; text-align: center; background: var(--gold); color: var(--ink); border-radius: 100px; padding: 0.95rem 1rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
  .mobile-cta__ghost { flex: 0 0 auto; padding: 0.95rem 1.15rem; border: 1px solid rgba(222,164,58,.4); color: var(--cream); border-radius: 100px; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; }
  body.has-mobile-cta { padding-bottom: 5rem; }

  /* Home gallery: slow, seamless auto-scroll loop (mobile only, home page only) */
  .gallery-viewport {
    overflow: hidden;
    margin-inline: calc(-1 * var(--gutter));
    padding-block: 0.2rem;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  }
  .gallery {
    display: flex; grid-template-columns: none; gap: 0;
    width: max-content;
    animation: gallery-marquee 34s linear infinite;
    will-change: transform;
  }
  .gallery .frame { flex: 0 0 62vw; margin: 0 0.8rem 0 0 !important; }
  .gallery__dup { display: block; }

  /* Swipeable showcase gallery (uniform cards, works with filters)
     .section prefix raises specificity above the later base .showcase-grid rule */
  .section .showcase-grid {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 0.8rem; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.6rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .section .showcase-grid::-webkit-scrollbar { display: none; }
  .section .showcase-item, .section .showcase-item--wide { flex: 0 0 72%; grid-column: auto; aspect-ratio: 4 / 5; scroll-snap-align: center; }
}
/* end BATCH D */

/* Home gallery auto-scroll loop keyframes — moves the strip to the left */
@keyframes gallery-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-anim { opacity: 1 !important; transform: none !important; }
  .float { animation: none !important; }
  /* Auto-scroll gallery: stop the loop and let the user scroll it manually instead */
  .gallery { animation: none !important; }
  .gallery-viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .gallery__dup { display: none !important; }
}

/* =====================================================================
   SHOWCASE / GALLERY
   ===================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.filter-btn {
  font-family: var(--font-sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.7rem 1.35rem; border-radius: 100px; border: 1px solid var(--line); color: var(--muted); background: var(--white);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.filter-btn:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.filter-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.showcase-item { aspect-ratio: 4 / 5; }
.showcase-item .frame { width: 100%; height: 100%; aspect-ratio: auto; }
.showcase-item.hide { display: none; }
.showcase-item--wide { grid-column: span 2; aspect-ratio: 16 / 10; }

/* caption overlay on hover */
.frame--cap { cursor: pointer; }
.frame__cap {
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding: 1.4rem 1.2rem 1.1rem; color: var(--cream);
  background: linear-gradient(transparent, rgba(12,11,10,.82));
  opacity: 0; transform: translateY(8px); transition: opacity var(--t), transform var(--t);
}
.frame--cap:hover .frame__cap { opacity: 1; transform: none; }
.frame__cap strong { font-family: var(--font-display); font-size: 1.2rem; display: block; }
.frame__cap span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }

/* Showreel / video feature */
.video-feature .frame { aspect-ratio: 16/9; cursor: pointer; }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; z-index: 3;
  background: rgba(222,164,58,.95); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(222,164,58,.45); transition: transform var(--t), background var(--t-fast);
}
.play-btn::after { content: ""; width: 0; height: 0; margin-left: 5px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--ink); }
.video-feature .frame:hover .play-btn { transform: scale(1.08); background: var(--gold-light); }

@media (max-width: 860px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-item--wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item--wide { grid-column: span 1; aspect-ratio: 4 / 5; }
  .filter-btn { font-size: 0.68rem; padding: 0.6rem 1rem; }
}

/* ---------- Print ---------- */
@media print { .nav, .cta, .footer__socials { display: none; } body { background: #fff; } }
