/* ==========================================================================
   Anuragi Yog — Skill Development & Life Management
   Design tokens → base → components → sections → motion → responsive
   ========================================================================== */

:root {
  /* Brand palette */
  /* Taken from the Anuragi Yog brand artwork */
  --navy: #273566;          /* brand navy */
  --navy-2: #30407A;
  --navy-deep: #1E2A55;
  --sun: #FCC85B;           /* brand sunshine yellow */
  --sun-deep: #F6B93B;
  --blue: #1369B4;          /* logo "A" blue */
  --red: #E0323A;           /* logo "Y" red */
  --ivory: #FBF7EE;
  --ivory-2: #F3ECDD;
  /* role aliases used throughout the stylesheet */
  --teal: var(--blue);
  --teal-ink: #0F5A9C;      /* blue for small text: AA on white & cream */
  --teal-soft: #E6F0FA;
  --amber: var(--sun);
  --amber-soft: #FEF1D2;
  --text: #222C52;
  --muted: #5A6382;
  --muted-raw: #697586;
  --white: #FFFFFF;
  --line: rgba(39,53,102, .10);

  /* Type */
  --font-head: "Manrope", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);

  /* Space & shape */
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(39,53,102, .05), 0 2px 8px rgba(39,53,102, .04);
  --shadow: 0 2px 4px rgba(39,53,102, .04), 0 12px 32px -8px rgba(39,53,102, .12);
  --shadow-lg: 0 24px 60px -20px rgba(39,53,102, .30);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
code { font-size: .85em; background: rgba(39,53,102,.06); padding: .1em .35em; border-radius: 6px; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 2.5rem); }
.section { padding-block: var(--space-section); position: relative; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: .75rem 1rem; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow-light { color: var(--amber); }
.eyebrow-light::before { background: var(--teal); }

.section-title { font-size: var(--fs-h2); line-height: 1.1; font-weight: 800; text-wrap: balance; }
.muted-title { color: var(--teal); display: block; }
.section-lead { font-size: var(--fs-lead); color: var(--muted); max-width: 60ch; margin-top: 1.25rem; line-height: 1.7; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .32em;
  background: var(--amber); opacity: .45; border-radius: 4px; z-index: -1;
  transform-origin: left; transform: scaleX(var(--hl, 1));
}
.hl-amber { color: var(--amber); }

.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--red); border-radius: 2px; }
.section-head.split { display: grid; gap: 1rem; align-items: end; }

.placeholder {
  display: inline; color: #8A5A1F; background: var(--amber-soft);
  border: 1px dashed rgba(252,200,91, .9); border-radius: 6px;
  padding: .05em .45em; font-size: .92em; font-style: italic;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(39,53,102,.45); }
.btn:active { transform: translateY(0); }
.btn .btn-arrow { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary:hover { --btn-bg: var(--navy-2); }
.btn-sm { min-height: 42px; padding: .6rem 1.15rem; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: .95rem 1.75rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: rgba(39,53,102,.22); }
.btn-ghost:hover { --btn-bd: var(--navy); box-shadow: none; background: var(--white); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn-outline:hover { --btn-bg: var(--navy); --btn-fg: var(--white); }
.btn-amber { --btn-bg: var(--amber); --btn-fg: var(--navy); --btn-bd: var(--amber); }
.btn-amber:hover { --btn-bg: #F0B474; box-shadow: 0 14px 30px -12px rgba(252,200,91,.6); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgba(247,244,236,.35); }
.btn-ghost-light:hover { --btn-bd: var(--ivory); background: rgba(247,244,236,.06); box-shadow: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative;
}
.icon-badge {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--teal-soft); color: var(--teal); flex-shrink: 0;
}
.icon-badge .icon { width: 24px; height: 24px; }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  font-size: .8rem; font-weight: 500; color: var(--teal-ink); background: var(--teal-soft);
  padding: .3rem .7rem; border-radius: 999px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled {
  background: rgba(247, 244, 236, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(39,53,102,.25);
}
.header-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.wordmark { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.wordmark-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(39,53,102,.18); flex-shrink: 0; }
.wordmark-mark svg { width: 46px; height: 46px; transition: transform .8s var(--ease); }
.wordmark:hover .wordmark-mark svg { transform: rotate(-10deg) scale(1.04); }
.wordmark-text { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.05; }
.wm-1 { color: var(--navy); }
.wm-2 { color: var(--red); }
.wm-sub { display: block; font-family: var(--font-body); font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #4A5478; margin-top: .3rem; white-space: nowrap; }
.wordmark-light .wm-1 { color: var(--ivory); }
.wordmark-light .wm-2 { color: var(--sun); }
.wordmark-light .wm-sub { color: rgba(251,247,238,.6); }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; display: flex; gap: .25rem; padding: 0; margin: 0; }
.primary-nav a {
  position: relative; display: block; padding: .55rem .85rem; text-decoration: none;
  font-weight: 500; font-size: .95rem; color: var(--text); border-radius: 999px; transition: color .2s;
}
.primary-nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.primary-nav a:hover { color: var(--navy); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav a.is-active { color: var(--navy); font-weight: 600; }
.header-cta { display: none; }

.menu-toggle {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(39,53,102,.18);
  background: var(--white); display: grid; place-items: center; cursor: pointer; position: relative; z-index: 2;
}
.menu-toggle-lines { width: 20px; height: 12px; position: relative; }
.menu-toggle-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle-lines span:first-child { top: 0; }
.menu-toggle-lines span:last-child { top: 10px; }
.menu-open .menu-toggle-lines span:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle-lines span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1; background: var(--ivory);
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 2rem; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 38px);
  transition: clip-path .6s var(--ease), visibility 0s .6s; visibility: hidden;
}
.mobile-menu[hidden] { display: block; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition: clip-path .7s var(--ease); }
.mobile-menu ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.mobile-menu li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease); }
.menu-open .mobile-menu li { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * 50ms); }
.mobile-menu li a {
  display: block; padding: 1rem .25rem; font-family: var(--font-head); font-weight: 700;
  font-size: 1.6rem; color: var(--navy); text-decoration: none; letter-spacing: -.02em;
}
.mobile-menu li a.is-active { color: var(--teal); }
.mobile-menu-note { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: .9rem; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  --curve: clamp(48px, 9vw, 150px);
  position: relative; z-index: 2; min-height: 100svh; background: var(--sun);
  padding: calc(var(--header-h) + clamp(2rem, 4vw, 4rem)) 0 calc(var(--curve) + clamp(3rem, 5vw, 5rem));
  display: flex; align-items: center;
  border-radius: 0 0 50% 50% / 0 0 var(--curve) var(--curve);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; z-index: 0; }
.bg-shape { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; will-change: transform; }
.bg-shape-1 { width: 760px; height: 760px; right: -200px; top: -240px; background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 66%); }
.bg-shape-2 { width: 620px; height: 620px; left: -280px; bottom: -260px; background: radial-gradient(circle, rgba(240,150,40,.35), rgba(240,150,40,0) 66%); }
.hero-rings { position: absolute; width: 1100px; height: 1100px; right: -380px; top: 50%; translate: 0 -50%; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 79px, rgba(255,255,255,.25) 80px 81px); }

.hero-grid { position: relative; z-index: 1; display: grid; gap: 3.5rem; align-items: center; }
.hero .eyebrow { color: var(--navy); }
.hero-title { font-size: var(--fs-hero); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; max-width: 13ch; color: var(--navy); }
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .word > span { display: inline-block; }
.hero-title .hl { color: var(--red); }
.hero-title .hl::after { bottom: .1em; background: #fff; opacity: .8; }
.hero-lead { font-size: var(--fs-lead); color: #34406B; max-width: 52ch; margin-top: 1.6rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.hero .btn-ghost { --btn-bd: rgba(39,53,102,.35); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.55); --btn-bd: var(--navy); }
.hero-trust {
  display: flex; align-items: center; gap: .7rem; margin-top: 2.2rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(39,53,102,.18); font-size: .95rem; color: #34406B; max-width: 460px; font-weight: 500;
}
.hero-trust-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--blue); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.hero-trust-icon .icon { width: 18px; height: 18px; }

.hero-visual { position: relative; width: min(100%, 520px); margin-inline: auto; padding: 1.5rem 0 4.5rem; }
.hero-arch {
  position: relative; aspect-ratio: 5 / 6; border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(170deg, var(--navy-2) 0%, var(--navy) 70%);
  overflow: hidden; margin-inline: 8%;
  box-shadow: 0 0 0 10px rgba(255,255,255,.45), 0 40px 80px -30px rgba(39,53,102,.6);
}
.hero-arch::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(251,247,238,.14); pointer-events: none; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }

.float-card, .float-chip {
  position: absolute; z-index: 2; background: var(--white); border-radius: 16px; box-shadow: 0 14px 30px -12px rgba(39,53,102,.35);
  display: flex; align-items: center; gap: .7rem; padding: .7rem .95rem .7rem .7rem;
}
.fc-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--teal-soft); color: var(--blue); }
.fc-icon .icon { width: 19px; height: 19px; }
.fc-icon-amber { background: #FDE8E9; color: var(--red); }
.fc-body { display: grid; gap: .35rem; }
.fc-body strong { font-family: var(--font-head); font-size: .85rem; color: var(--navy); line-height: 1; }
.fc-bar { display: block; width: 96px; height: 5px; border-radius: 4px; background: var(--ivory-2); overflow: hidden; }
.fc-bar span { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 4px; transform-origin: left; }
.fc-1 { left: -2%; top: 18%; }
.fc-2 { right: -3%; top: 40%; }
.fc-3 { left: -4%; bottom: 30%; }
.float-chip { right: 4%; top: 4%; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--navy); padding: .55rem .9rem; border-radius: 999px; }
.float-chip .icon { width: 16px; height: 16px; color: var(--red); }

.hero-quote {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; margin: 0 auto; width: min(88%, 420px);
  background: var(--white); color: var(--navy); border-radius: 18px; padding: 1.1rem 1.3rem 1.1rem 1.5rem;
  box-shadow: 0 18px 40px -16px rgba(39,53,102,.45); border-left: 4px solid var(--red);
}
.hero-quote p { font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.45; letter-spacing: -.01em; }

/* Logo sitting on the yellow/navy curve, as in the brand artwork */
.hero-badge {
  position: absolute; z-index: 4; left: 50%; bottom: 0; translate: -50% 50%;
  width: clamp(96px, 9vw, 132px); aspect-ratio: 1; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 8px rgba(255,255,255,.35), 0 20px 40px -12px rgba(30,42,85,.55);
  transition: transform .6s var(--ease);
}
.hero-badge:hover { transform: rotate(-8deg) scale(1.04); }
.hero-badge-logo { width: 100%; height: 100%; }

/* ==========================================================================
   Brand band (navy under the yellow curve)
   ========================================================================== */
.brand-band {
  position: relative; z-index: 1; background: var(--navy); color: var(--ivory);
  margin-top: calc(-1 * clamp(48px, 9vw, 150px));
  padding: calc(clamp(48px, 9vw, 150px) + clamp(80px, 7vw, 110px)) 0 clamp(3.5rem, 6vw, 5.5rem);
  text-align: center; overflow: hidden;
}
.brand-band::before { content: ""; position: absolute; left: 50%; bottom: -380px; translate: -50% 0; width: 900px; height: 600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(19,105,180,.35), rgba(19,105,180,0)); pointer-events: none; }
.brand-inner { position: relative; }
.brand-pillars { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 3rem; }
.brand-pillars li { display: inline-flex; align-items: center; gap: .9rem; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3rem); letter-spacing: -.03em; color: #fff; }
.pillar-dot { width: .32em; height: .32em; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px rgba(252,200,91,.18); }
.brand-pillars li:nth-child(2) .pillar-dot { background: var(--red); box-shadow: 0 0 0 6px rgba(224,50,58,.2); }
.brand-audience { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }
.brand-audience li { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(251,247,238,.18); background: rgba(251,247,238,.05); font-size: .92rem; color: rgba(251,247,238,.9); }
.brand-audience .icon { width: 18px; height: 18px; color: var(--sun); }
/* ==========================================================================
   Problem
   ========================================================================== */
.problem { background: var(--white); }
.problem-head { display: grid; gap: 1rem; margin-bottom: 3.5rem; }
.problem-grid { display: grid; gap: 1.25rem; }
.problem-card { background: var(--ivory); border: 0; box-shadow: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s; }
.problem-card:hover { transform: translateY(-6px); background: var(--white); box-shadow: var(--shadow); }
.problem-card h3 { font-size: 1.3rem; margin: 1.4rem 0 .6rem; }
.problem-card p { color: var(--muted); }
.card-num { position: absolute; right: 1.6rem; top: 1.4rem; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--navy); opacity: .07; line-height: 1; }

.tree-figure { margin: 4rem 0 0; text-align: center; }
.tree-figure svg { width: 100%; max-width: 900px; height: auto; margin-inline: auto; overflow: visible; }
.tree-label { font-family: var(--font-head); font-size: 15px; font-weight: 700; fill: var(--navy); }
.tree-figure figcaption { margin-top: 1rem; font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: 1rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; gap: 3.5rem; align-items: center; }
.about-media { position: relative; max-width: 480px; width: 100%; margin-inline: auto; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); position: relative; }
.portrait::before { content: ""; position: absolute; inset: auto -20% -30% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--teal-soft); }
.portrait img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.portrait-placeholder {
  position: absolute; inset: 14px; border: 2px dashed rgba(39,53,102,.18); border-radius: calc(var(--radius-lg) - 8px);
  display: grid; place-content: center; justify-items: center; gap: .5rem; text-align: center; padding: 1.5rem; color: var(--muted);
}
.portrait-icon { width: 72px; height: 72px; color: var(--teal); opacity: .7; }
.portrait-placeholder span { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.portrait-placeholder small { font-size: .8rem; }
.about-badge {
  position: absolute; left: -.75rem; bottom: 1.5rem; display: flex; align-items: center; gap: .7rem;
  background: var(--navy); color: var(--ivory); padding: .75rem 1.1rem .75rem .75rem; border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: .88rem; max-width: calc(100% - 1rem);
}
.about-badge strong { color: var(--amber); font-family: var(--font-head); }
.about-badge-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(247,244,236,.1); color: var(--amber); flex-shrink: 0; }
.about-badge-icon .icon { width: 20px; height: 20px; }

.about-intro {
  font-family: var(--font-head); font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); font-weight: 600;
  line-height: 1.5; color: var(--navy); margin-top: 1.5rem; padding-left: 1.25rem; border-left: 3px solid var(--amber);
}
.about-details { margin: 2rem 0 2.2rem; display: grid; gap: 0; }
.about-detail { display: grid; gap: .3rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.about-detail:last-child { border-bottom: 1px solid var(--line); }
.about-detail dt { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.about-detail dd { margin: 0; color: var(--text); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.check-list li { display: flex; gap: .5rem; align-items: flex-start; }
.check-list .icon { color: var(--teal); margin-top: .2em; }

/* ==========================================================================
   Skills
   ========================================================================== */
.skills { background: var(--white); }
.skills-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.skill-card {
  position: relative; background: var(--ivory); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; min-height: 300px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
}
.skill-front { padding: 1.75rem 1.6rem 1rem; flex: 1; }
.skill-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--white); color: var(--teal); box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), background-color .3s, color .3s;
}
.skill-icon .icon { width: 26px; height: 26px; }
.skill-index { position: absolute; right: 1.4rem; top: 1.5rem; font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--muted); letter-spacing: .08em; }
.skill-card h3 { font-size: var(--fs-h3); margin: 1.3rem 0 .5rem; line-height: 1.3; }
.skill-card p { color: var(--muted); font-size: .95rem; }

.skill-toggle {
  position: relative; z-index: 3; display: flex; align-items: center; gap: .75rem; width: 100%;
  padding: 1rem 1.6rem 1.3rem; background: none; border: 0; cursor: pointer; text-align: left; color: var(--navy);
  min-height: 48px;
}
.skill-toggle-label { font-family: var(--font-head); font-weight: 700; font-size: .85rem; flex: 1; }
.skill-meter { width: 38px; height: 4px; border-radius: 4px; background: rgba(39,53,102,.1); overflow: hidden; }
.skill-meter span { display: block; height: 100%; width: 100%; background: var(--teal); transform: scaleX(.25); transform-origin: left; transition: transform .7s var(--ease); }
.skill-plus { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), background-color .3s, color .3s; }

.skill-example {
  position: absolute; inset: 0; z-index: 2; background: var(--navy); color: var(--ivory);
  padding: 1.75rem 1.6rem 4.5rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .8rem;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
.skill-example p { color: var(--ivory); font-size: 1.02rem; line-height: 1.6; font-family: var(--font-head); font-weight: 600; }
.skill-example-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }

.skill-card.is-open .skill-example { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.skill-card.is-open .skill-toggle { color: var(--ivory); }
.skill-card.is-open .skill-plus { transform: rotate(45deg); background: var(--amber); color: var(--navy); }
.skill-card.is-open .skill-meter { background: rgba(247,244,236,.2); }
.skill-card.is-open .skill-meter span, .skill-card:hover .skill-meter span { transform: scaleX(1); }

@media (hover: hover) and (pointer: fine) {
  .skill-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
  .skill-card:hover .skill-icon { transform: rotate(-8deg) scale(1.06); background: var(--teal); color: var(--white); }
  .skill-card:hover .skill-plus { background: var(--teal); color: var(--white); }
}

/* ==========================================================================
   Journey
   ========================================================================== */
.journey { overflow: hidden; }
.journey-wrap { position: relative; --p: 0; }
.journey-track { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.5rem; position: relative; }
.journey-line { position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; background: rgba(39,53,102,.1); border-radius: 2px; }
.journey-line-fill { position: absolute; inset: 0; background: linear-gradient(var(--teal), var(--amber)); border-radius: 2px; transform-origin: top; transform: scaleY(var(--p)); }
.journey-stage { position: relative; padding-left: 88px; min-height: 64px; }
.journey-node {
  position: absolute; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--muted);
  border: 2px solid rgba(39,53,102,.1); box-shadow: var(--shadow-sm);
  transition: background-color .5s, color .5s, border-color .5s, transform .6s var(--ease);
}
.journey-node .icon { width: 26px; height: 26px; }
.journey-stage.is-active .journey-node { background: var(--teal); color: var(--white); border-color: var(--teal); transform: scale(1.06); }
.journey-stage:last-child.is-active .journey-node { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.journey-step { display: block; font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); padding-top: .3rem; }
.journey-stage h3 { font-size: 1.6rem; margin: .25rem 0 .5rem; }
.journey-stage p { color: var(--muted); max-width: 34ch; }

/* ==========================================================================
   Programs
   ========================================================================== */
.programs { background: var(--navy); color: var(--ivory); }
.programs .section-title { color: var(--white); }
.programs .eyebrow { color: var(--amber); }
.programs .eyebrow::before { background: var(--teal); }
.programs .section-lead { color: rgba(247,244,236,.75); }
.programs-grid { display: grid; gap: 1.25rem; }
.program-card {
  background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.1rem; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.program-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.program-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.program-card:hover::before { transform: scaleX(1); }
.program-top { display: flex; align-items: center; justify-content: space-between; }
.program-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--navy); color: var(--amber); }
.program-icon .icon { width: 26px; height: 26px; }
.program-num { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.program-card h3 { font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); line-height: 1.2; }
.program-desc { color: var(--muted); }
.program-audience { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.program-audience .icon { color: var(--teal); margin-top: .15em; }
.program-meta { margin: .2rem 0 .4rem; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; padding: 1.1rem; background: var(--ivory); border-radius: var(--radius-sm); }
.program-meta dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.program-meta dd { margin: .15rem 0 0; font-size: .9rem; }
.program-card .btn { margin-top: auto; }

/* ==========================================================================
   Parents
   ========================================================================== */
.parents-grid { display: grid; gap: 3rem; align-items: center; }
.parents-visual { margin: 0; max-width: 460px; width: 100%; margin-inline: auto; }
.parents-visual svg { width: 100%; height: auto; }
.parent-points { list-style: none; padding: 0; margin: 2rem 0 2.4rem; display: grid; gap: 1rem; }
.parent-points li { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--white); padding: 1.3rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.parent-points li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.parent-points h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.parent-points p { color: var(--muted); font-size: .96rem; }

/* ==========================================================================
   Insights
   ========================================================================== */
.insights { background: var(--white); }
.insights-grid { display: grid; gap: 1.25rem; }
.article-card { border-radius: var(--radius); overflow: hidden; background: var(--ivory); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.article-art { aspect-ratio: 40 / 17; overflow: hidden; background: var(--navy); }
.article-art svg { width: 100%; height: 100%; transition: transform .9s var(--ease); }
.article-card:hover .article-art svg { transform: scale(1.05); }
.article-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.article-meta { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.article-cat { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); }
.article-status { font-size: .72rem; font-weight: 600; color: #8A5A1F; background: var(--amber-soft); padding: .15rem .55rem; border-radius: 999px; }
.article-card h3 { font-size: 1.2rem; line-height: 1.3; }
.article-card p { color: var(--muted); font-size: .95rem; }
.read-more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy); }
.read-more .btn-arrow { width: 1.05em; transition: transform .35s var(--ease); }
.article-card:hover .read-more .btn-arrow { transform: translateX(4px); }
.article-link:focus-visible { outline-offset: -3px; border-radius: var(--radius); }

/* ==========================================================================
   Trust / Approach
   ========================================================================== */
.trust-grid { display: grid; gap: 3rem; }
.trust-note { display: flex; gap: .75rem; margin-top: 2rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); border: 1px dashed rgba(252,200,91,.9); background: var(--amber-soft); font-size: .9rem; color: #6E4815; }
.trust-note .icon { margin-top: .15em; color: #B86E22; }
.approach-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.approach-item { display: flex; gap: 1.1rem; background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.approach-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--amber); flex-shrink: 0; }
.approach-icon .icon { width: 22px; height: 22px; }
.approach-item h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.approach-item p { color: var(--muted); font-size: .95rem; }
.testimonial-grid { display: grid; gap: 1.25rem; }
.testimonial { margin: 0; background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.testimonial-quote { width: 32px; height: 32px; color: var(--amber); }
.testimonial blockquote { margin: 1rem 0 1.5rem; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--navy); }
.testimonial figcaption { display: grid; font-size: .9rem; color: var(--muted); }
.testimonial figcaption strong { color: var(--navy); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta { position: relative; background: var(--navy); color: var(--ivory); padding-block: clamp(9rem, 7rem + 8vw, 13rem) clamp(5rem, 4rem + 6vw, 9rem); overflow: hidden; isolation: isolate; text-align: center; }
.final-cta::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 60%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(19,105,180,.3), rgba(19,105,180,0) 62%); z-index: -1; }
.cta-curve { position: absolute; left: -10%; right: -10%; top: 0; height: clamp(70px, 9vw, 130px); background: var(--sun); border-radius: 0 0 50% 50% / 0 0 100% 100%; z-index: -1; }
.cta-logo { position: absolute; left: 50%; top: clamp(70px, 9vw, 130px); translate: -50% -50%; width: clamp(80px, 7vw, 104px); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 7px rgba(255,255,255,.3), 0 18px 36px -12px rgba(0,0,0,.45); }
.cta-logo svg { width: 100%; height: 100%; }
.cta-inner { max-width: 820px; }
.cta-title { color: var(--white); font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.75rem); line-height: 1.08; font-weight: 800; text-wrap: balance; }
.cta-lead { color: rgba(247,244,236,.8); font-size: var(--fs-lead); margin: 1.5rem auto 0; max-width: 58ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 2.4rem; }
.final-cta .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--teal); border-radius: 2px; }
.cta-icons { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-icon { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; border: 1px solid rgba(247,244,236,.12); color: rgba(247,244,236,.35); background: rgba(247,244,236,.03); }
.cta-icon .icon { width: 24px; height: 24px; }
.ci-0 { left: 6%; top: 16%; } .ci-1 { left: 14%; bottom: 14%; } .ci-2 { left: 26%; top: 8%; }
.ci-3 { right: 24%; bottom: 8%; } .ci-4 { right: 8%; top: 14%; } .ci-5 { right: 13%; bottom: 22%; }
.ci-6 { left: 3%; top: 54%; } .ci-7 { right: 3%; top: 48%; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: .75rem; }
.contact-points li { display: flex; gap: .65rem; align-items: flex-start; }
.contact-points .icon { color: var(--teal); margin-top: .2em; }
.contact-direct { display: grid; gap: .6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-direct p { display: flex; gap: .65rem; align-items: center; flex-wrap: wrap; }
.contact-direct .icon { color: var(--teal); }
.contact-direct a { color: var(--navy); font-weight: 600; }

.contact-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.req { color: #B5541A; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--ivory);
  border: 1.5px solid transparent; border-radius: 12px; padding: .85rem 1rem; min-height: 52px;
  transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(39,53,102,.15); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--teal); box-shadow: 0 0 0 4px rgba(19,105,180,.15); }
.field [aria-invalid="true"] { border-color: #C2410C; background: #FFF6F1; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select-wrap select { padding-right: 2.5rem; cursor: pointer; }
.field-hint { font-size: .82rem; color: var(--muted); }
.field-error { font-size: .85rem; color: #B03A0A; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .3rem; }
.form-required { font-size: .85rem; color: var(--muted); }
.btn-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-loading .btn-spinner { display: inline-block; }
.is-loading .btn-arrow { display: none; }
.is-loading { pointer-events: none; opacity: .85; }
.form-status { padding: 1rem 1.1rem; border-radius: 12px; font-weight: 500; font-size: .95rem; }
.form-status.is-success { background: var(--teal-soft); color: #0B4A80; border: 1px solid rgba(19,105,180,.35); }
.form-status.is-error { background: #FFF1EA; color: #8A2E08; border: 1px solid rgba(194,65,12,.3); }
.form-note { display: flex; gap: .55rem; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.form-note .icon { width: 1.1em; height: 1.1em; margin-top: .15em; color: #B86E22; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #1E2A55; color: rgba(247,244,236,.75); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-tagline { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--amber); margin-top: 1.1rem; }
.footer-desc { margin-top: .75rem; max-width: 40ch; font-size: .94rem; }
.footer-heading { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); margin-bottom: 1.1rem; }
.footer-links, .footer-contact, .footer-social { list-style: none; padding: 0; margin: 0; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a, .footer-contact a { text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--amber); }
.footer-contact { display: grid; gap: .8rem; font-size: .94rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { color: var(--teal); margin-top: .15em; }
.site-footer .placeholder { background: rgba(252,200,91,.12); color: #F3C894; border-color: rgba(252,200,91,.5); }
.footer-social { display: flex; gap: .6rem; }
.footer-social a, .social-placeholder { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(247,244,236,.15); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.footer-social a:hover { background: var(--amber); color: var(--navy); transform: translateY(-3px); }
.social-placeholder { opacity: .45; border-style: dashed; }
.footer-social .icon { width: 19px; height: 19px; }
.footer-note { font-size: .82rem; margin-top: .8rem; opacity: .7; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(247,244,236,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.back-to-top { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.back-to-top .icon { width: 1em; height: 1em; transform: rotate(-45deg); }
.back-to-top:hover { color: var(--amber); }

/* ==========================================================================
   Article page
   ========================================================================== */
.article-page { padding: calc(var(--header-h) + 3rem) 0 var(--space-section); }
.back-link { display: flex; width: fit-content; align-items: center; gap: .4rem; text-decoration: none; font-weight: 600; color: var(--navy); margin-bottom: 2.5rem; }
.icon.flip { transform: rotate(180deg); }
.article-title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.12; font-weight: 800; text-wrap: balance; }
.article-standfirst { font-size: var(--fs-lead); color: var(--muted); margin-top: 1.25rem; }
.article-hero-art { margin: 2.5rem 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 40 / 17; }
.article-hero-art svg { width: 100%; height: 100%; }
.coming-soon { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-sm); }
.coming-soon h2 { font-size: 1.5rem; margin: 1.2rem 0 .6rem; }
.coming-soon p { color: var(--muted); }
.coming-soon-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.article-content { font-size: 1.08rem; line-height: 1.8; }

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes wordUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hlGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateY(0) rotate(0); } to { transform: translateY(-14px) rotate(6deg); } }

/* Hero entrance */
.hero-title .word > span { transform: translateY(110%); animation: wordUp .95s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
.hero-title .hl::after { transform: scaleX(0); animation: hlGrow .8s var(--ease) 1s forwards; }
.hero-fade { opacity: 0; animation: fadeUp .9s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 250ms); }
.hero-arch { opacity: 0; animation: fadeUp 1.1s var(--ease) .2s forwards; }
.hero .draw-path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) 1s forwards; }
.hero .path-nodes > * { transform-box: fill-box; transform-origin: center; opacity: 0; animation: pop .6s var(--ease) forwards; animation-delay: calc(1.5s + var(--n) * .35s); }
.float-card, .float-chip { opacity: 0; animation: cardIn .8s var(--ease) forwards, float 6s ease-in-out infinite alternate; animation-delay: calc(.9s + var(--fd) * .3), calc(1.8s + var(--fd)); }
.fc-bar span { transform: scaleX(0); animation: barGrow 1.2s var(--ease) 1.6s forwards; }
.hero-quote { opacity: 0; animation: fadeUp .9s var(--ease) 1.3s forwards; }

/* Scroll reveal (only when JS is available) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="image"] { transform: none; clip-path: inset(14% 0 0 0 round var(--radius-lg)); transition: opacity 1s var(--ease), clip-path 1.2s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0); }

/* Section line drawings */
.js [data-draw] .draw-path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); transition-delay: calc(.2s + var(--dd, 0s)); }
.js [data-draw].is-visible .draw-path { stroke-dashoffset: 0; }
.js [data-draw] .tree-leaf { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(1s + var(--n) * .15s); }
.js [data-draw].is-visible .tree-leaf { opacity: 1; transform: none; }
.js [data-draw] .dotted-path { opacity: 0; transition: opacity 1s .6s; }
.js [data-draw].is-visible .dotted-path { opacity: 1; }
.parents-flag { transform-box: fill-box; transform-origin: left center; animation: drift 4s ease-in-out infinite alternate; }

.cta-icon { animation: drift 7s ease-in-out infinite alternate; }
.ci-1, .ci-4, .ci-6 { animation-duration: 9s; animation-delay: -2s; }
.ci-2, .ci-5 { animation-duration: 8s; animation-delay: -4s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 600px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid .is-featured { grid-column: 1 / -1; }
  .approach-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .problem-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; }
  .problem-head .section-lead { margin-top: 0; }
  .section-head.split { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .section-head.split .section-lead { margin-top: 0; }
  .programs-grid { grid-template-columns: 1fr 1fr; }

  /* journey horizontal */
  .journey-track { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .journey-line { left: 12.5%; right: 12.5%; top: 39px; bottom: auto; width: auto; height: 2px; }
  .journey-line-fill { background: linear-gradient(90deg, var(--teal), var(--amber)); transform-origin: left; transform: scaleX(var(--p)); }
  .journey-stage { padding-left: 0; text-align: center; }
  .journey-node { position: relative; margin: 0 auto 1.4rem; width: 80px; height: 80px; }
  .journey-node .icon { width: 30px; height: 30px; }
  .journey-stage p { margin-inline: auto; }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 3rem; }
  .hero-visual { margin-right: 0; }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .parents-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 4.5rem; }
  .contact-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
  .trust-grid { grid-template-columns: .85fr 1.15fr; gap: 4.5rem; align-items: start; }
  .insights-grid { grid-template-columns: repeat(3, 1fr); }
  .insights-grid .is-featured { grid-column: span 2; }
  .insights-grid .is-featured .article-link { flex-direction: row; }
  .insights-grid .is-featured .article-art { aspect-ratio: auto; flex: 1.1; }
  .insights-grid .is-featured .article-body { flex: 1; padding: 2rem; justify-content: center; }
  .insights-grid .is-featured h3 { font-size: 1.55rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 3rem; }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1080px) {
  .primary-nav, .header-cta { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .skills-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

@media (max-width: 599px) {
  :root { --header-h: 68px; }
  .container { width: min(100% - 2.5rem, 1200px); }
  .hero { min-height: auto; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { padding-bottom: 5.5rem; }
  .hero-arch { margin-inline: 10%; }
  .fc-1 { left: 0; top: 14%; }
  .fc-2 { right: 0; }
  .fc-3 { left: 0; bottom: 34%; }
  .fc-bar { width: 64px; }
  .float-card { padding: .55rem .75rem .55rem .55rem; gap: .55rem; }
  .fc-icon { width: 32px; height: 32px; }
  .float-chip { right: 0; top: 2%; }
  .hero-quote p { font-size: .9rem; }
  .tree-label { font-size: 26px; text-anchor: middle; }
  .tree-label-end { transform: translate(18px, -26px); }
  .tree-label-start { transform: translate(-18px, -26px); }
  .tree-figure { margin-top: 2.5rem; }
  .skill-card { min-height: 0; }
  .skill-example { padding-bottom: 4.5rem; }
  .cta-actions .btn, .coming-soon-actions .btn { width: 100%; }
  .cta-icon { width: 44px; height: 44px; }
  .ci-1, .ci-2, .ci-3, .ci-5, .ci-6, .ci-7 { display: none; }
  .ci-0 { left: 4%; top: 18px; }
  .ci-4 { right: 4%; top: 18px; }
  .about-badge { left: .5rem; }
  .program-meta { grid-template-columns: 1fr; }
  .form-footer .btn { width: 100%; }
}

@media (max-width: 380px) {
  .float-chip { display: none; }
  .fc-3 { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .bg-shape { transform: none !important; }
}

/* ---------- Brand colour rotation (blue · red · yellow, from the AY logo) ---------- */
.skill-card:nth-child(3n+2) .skill-icon, .problem-card:nth-child(2) .icon-badge, .parent-points li:nth-child(2) .icon-badge { color: var(--red); }
.problem-card:nth-child(2) .icon-badge, .parent-points li:nth-child(2) .icon-badge { background: #FDE8E9; }
.skill-card:nth-child(3n) .skill-icon, .problem-card:nth-child(3) .icon-badge, .parent-points li:nth-child(3) .icon-badge { color: #B97A0B; }
.problem-card:nth-child(3) .icon-badge, .parent-points li:nth-child(3) .icon-badge { background: var(--amber-soft); }
.skill-card:nth-child(3n+2) .skill-meter span { background: var(--red); }
.skill-card:nth-child(3n) .skill-meter span { background: var(--sun-deep); }
@media (hover: hover) and (pointer: fine) {
  .skill-card:nth-child(3n+2):hover .skill-icon, .skill-card:nth-child(3n+2):hover .skill-plus { background: var(--red); color: #fff; }
  .skill-card:nth-child(3n):hover .skill-icon, .skill-card:nth-child(3n):hover .skill-plus { background: var(--sun); color: var(--navy); }
}
.skill-card { border-top: 3px solid transparent; }
.skill-card:hover { border-top-color: var(--blue); }
.skill-card:nth-child(3n+2):hover { border-top-color: var(--red); }
.skill-card:nth-child(3n):hover { border-top-color: var(--sun); }

@media (max-width: 400px) {
  .wm-sub { display: none; }
}

/* ==========================================================================
   Photography
   ========================================================================== */
@keyframes photoIn { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Hero photo inside the navy arch */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; animation: photoIn 1.8s var(--ease) both; }
.hero-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(39,53,102,0) 45%, rgba(39,53,102,.55) 100%); pointer-events: none; }

/* Generic rounded photo frame */
.photo-frame { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ivory-2); box-shadow: var(--shadow); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.photo-frame:hover img { transform: scale(1.04); }
.photo-tag {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  padding: .55rem .95rem; border-radius: 999px; box-shadow: var(--shadow);
}
.photo-tag .icon { width: 16px; height: 16px; color: var(--blue); }

/* Problem: photo + skill tree side by side */
.problem-visual { display: grid; gap: 2rem; align-items: center; margin-top: 4rem; }
.problem-visual .tree-figure { margin: 0; }
.problem-photo { aspect-ratio: 4 / 3; }

/* Program cards: photo bleeds to the card edges, icon overlaps it */
.program-card { --pad: clamp(1.5rem, 1.2rem + 1.2vw, 2.4rem); padding: var(--pad); }
.program-card::before { z-index: 2; }
.program-photo { margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ivory-2); }
.program-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.program-card:hover .program-photo img { transform: scale(1.05); }
.program-photo + .program-top { margin-top: calc(-28px - 1.1rem); position: relative; z-index: 1; align-items: flex-end; }
.program-photo + .program-top .program-icon { box-shadow: 0 0 0 5px #fff; }
.program-photo + .program-top .program-num { padding-bottom: .2rem; }
.programs-grid .program-card:nth-child(1) .program-photo img { object-position: center 40%; }
.programs-grid .program-card:nth-child(3) .program-photo img { object-position: center 30%; }

/* Parents: arch-shaped photo with the brand sun behind it */
.parents-visual { position: relative; padding: 1.5rem 1rem 2.5rem 0; }
.parents-sun { position: absolute; right: -4%; top: 0; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); }
.parents-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); box-shadow: 0 0 0 10px #fff, var(--shadow-lg); }
.parents-photo img { object-position: 38% center; }
.parents-note {
  position: absolute; left: -.5rem; bottom: 0; max-width: 300px; display: flex; gap: .8rem; align-items: center;
  background: #fff; padding: 1rem 1.1rem; border-radius: 18px; box-shadow: var(--shadow-lg); font-size: .88rem; color: var(--muted); line-height: 1.45;
}
.parents-note strong { color: var(--navy); display: block; font-family: var(--font-head); }
.parents-note .icon-badge { width: 44px; height: 44px; background: #FDE8E9; color: var(--red); }

/* Our Approach photo */
.approach-photo { aspect-ratio: 16 / 10; margin-top: 2rem; }

@media (min-width: 900px) {
  .problem-visual { grid-template-columns: .9fr 1.1fr; gap: 3rem; }
}
@media (max-width: 599px) {
  .parents-visual { padding-right: 0; }
  .parents-note { left: 0; right: 0; margin-inline: auto; max-width: calc(100% - 1.5rem); }
  .photo-tag { left: .75rem; bottom: .75rem; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-frame:hover img, .program-card:hover .program-photo img { transform: none; }
}
