/* ============================================================
   Pathway Global — Key2 Education & Silicon Valley Scholar Track
   Shared design system
   Aesthetic: scholarly editorial — warm ivory paper, deep forest
   ink, and a confident gold accent. Display serif + grotesque body.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --paper:      #f4eee0;
  --paper-deep: #ece3d0;
  --card:       #fbf7ee;
  --ink:        #1c2420;
  --ink-soft:   #45514a;
  --forest:     #15453a;
  --forest-700: #0f342b;
  --forest-300: #5d7d70;
  --gold:       #c98a2b;
  --gold-deep:  #a96d18;
  --clay:       #b65b3c;
  --line:       rgba(28, 36, 32, 0.14);
  --line-soft:  rgba(28, 36, 32, 0.08);

  --shadow-sm: 0 1px 2px rgba(15, 52, 43, .06), 0 4px 14px rgba(15, 52, 43, .05);
  --shadow-md: 0 10px 30px rgba(15, 52, 43, .10), 0 2px 6px rgba(15, 52, 43, .06);
  --shadow-lg: 0 30px 60px rgba(15, 52, 43, .16);

  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 24px;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 116px; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* paper grain overlay — fixed, non-interactive */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { color: var(--ink-soft); }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--ink-soft); line-height: 1.55; }

.serif-i { font-style: italic; font-weight: 500; }
.gold { color: var(--gold-deep); }
.fg { color: var(--forest); }

/* ---------- layout ---------- */
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.pad { padding-block: clamp(4.5rem, 9vw, 8rem); }
.pad-sm { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold-deep);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .92rem 1.5rem;
  border-radius: 100px;
  font-weight: 600; font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: #fbf7ee; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--forest-700); box-shadow: var(--shadow-lg); }
.btn-gold { background: var(--gold); color: #271700; box-shadow: var(--shadow-md); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--forest); background: rgba(21,69,58,.05); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   HEADER  /  secondary track menu
   ============================================================ */
.topbar {
  background: var(--forest-700);
  color: #dfe9e2;
  font-size: .82rem;
  position: relative; z-index: 60;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; flex-wrap: wrap; }
.tracks { display: flex; align-items: stretch; gap: .2rem; }
.track {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem;
  color: #b9cabf;
  font-weight: 600;
  letter-spacing: .01em;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.track .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; }
.track:hover { color: #fff; }
.track[aria-current="true"] { color: #fff; border-color: var(--gold); }
.track.svt[aria-current="true"] { border-color: #7fb5ff; }
.track.tq[aria-current="true"] { border-color: #d79a5a; }
.topbar .meta { display: flex; gap: 1.4rem; color: #9fb3a8; }
.topbar .meta a:hover { color: #fff; }
.topbar .meta span { display: inline-flex; align-items: center; gap: .4rem; }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s, background .3s;
}
header.site.scrolled { box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--paper) 94%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--forest);
  color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand .name { line-height: 1.05; }
.brand .name b { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; letter-spacing: -.01em; display: block; }
.brand .name small { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--forest-300); font-weight: 600; }

.menu { display: flex; align-items: center; gap: .35rem; }
.menu a {
  padding: .5rem .8rem; border-radius: 8px;
  font-weight: 500; font-size: .96rem; color: var(--ink-soft);
  position: relative; transition: color .2s, background .2s;
}
.menu a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease; border-radius: 2px;
}
.menu a:hover { color: var(--ink); }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- chips & pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .8rem; border-radius: 100px;
  background: rgba(21,69,58,.07); color: var(--forest);
  font-size: .82rem; font-weight: 600; border: 1px solid var(--line-soft);
}
.chip svg { width: 15px; height: 15px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin: 1.4rem 0 0; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero .lede { margin-top: 1.5rem; max-width: 32ch; }
.hero-points { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; gap: .7rem; }
.hero-points li { display: flex; align-items: center; gap: .7rem; font-weight: 500; color: var(--ink); }
.hero-points .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--forest); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.hero-points .tick svg { width: 12px; height: 12px; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* hero visual — stacked stat cards / collage */
.hero-art { position: relative; }
.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(201,138,43,.12), transparent 55%);
  pointer-events: none;
}
.hero-card .label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-300); font-weight: 700; }
.hero-stat { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--forest); margin: .4rem 0; }
.hero-stat sup { font-size: 1.4rem; color: var(--gold-deep); }
.hero-card p { font-size: .94rem; }
.hero-float {
  position: absolute; right: -8px; bottom: -22px;
  background: var(--forest); color: #f3ead7;
  border-radius: 16px; padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .8rem;
  max-width: 250px;
}
.hero-float .big { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--gold); }
.hero-float small { font-size: .78rem; color: #c3d4c9; }
.hero-badge {
  position: absolute; left: -26px; top: 18px;
  background: var(--gold); color: #271700;
  border-radius: 14px; padding: .7rem .95rem; font-weight: 700; font-size: .85rem;
  box-shadow: var(--shadow-md); transform: rotate(-4deg);
}

/* ============================================================
   TRUST BAR (marquee)
   ============================================================ */
.trust { background: var(--forest); color: #e7efe8; padding-block: 1.1rem; overflow: hidden; }
.trust .row { display: flex; gap: 3rem; align-items: center; white-space: nowrap; animation: marquee 28s linear infinite; width: max-content; }
.trust:hover .row { animation-play-state: paused; }
.trust .item { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; font-size: 1rem; }
.trust .item b { font-family: var(--serif); color: var(--gold); font-size: 1.25rem; font-weight: 600; }
.trust .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--forest-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   GENERIC CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(21,69,58,.35); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(21,69,58,.08); color: var(--forest); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card .ic svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .96rem; }

/* feature list with index numbers */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.why-item { padding: 2rem 1.5rem; border-bottom: 1px solid var(--line); position: relative; transition: background .3s; }
.why-item:nth-child(odd) { border-right: 1px solid var(--line); }
.why-item:hover { background: var(--card); }
.why-item .num { font-family: var(--serif); font-size: .9rem; color: var(--gold-deep); font-weight: 600; }
.why-item h3 { margin: .5rem 0 .55rem; font-size: 1.35rem; }
.why-item p { font-size: .97rem; }

/* ============================================================
   PROGRAMS
   ============================================================ */
.prog-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.prog {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.prog:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.prog .tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.prog h3 { margin: .7rem 0 .3rem; }
.prog .sub { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.prog ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .6rem; }
.prog ul li { display: flex; gap: .6rem; font-size: .94rem; align-items: baseline; }
.prog ul li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--gold); flex-shrink: 0; transform: translateY(6px); }
.prog .foot { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; }
.prog .foot .price { font-family: var(--serif); font-size: 1.15rem; color: var(--forest); }
.prog .ribbon { position: absolute; top: 16px; right: -34px; background: var(--clay); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; padding: .3rem 2.5rem; transform: rotate(45deg); }

/* ============================================================
   SUCCESS STORIES
   ============================================================ */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.story { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; position: relative; }
.story .quote { font-family: var(--serif); font-size: 4rem; line-height: .6; color: var(--gold); opacity: .4; height: 28px; }
.story .jump { display: inline-flex; align-items: baseline; gap: .5rem; font-family: var(--serif); margin: .5rem 0 .8rem; }
.story .jump .from { color: var(--ink-soft); font-size: 1.1rem; }
.story .jump .to { color: var(--forest); font-size: 1.9rem; font-weight: 600; }
.story .jump .arr { color: var(--gold-deep); }
.story blockquote { font-style: italic; color: var(--ink); font-size: 1.02rem; margin: .4rem 0 1rem; }
.story .who { font-size: .85rem; color: var(--forest-300); font-weight: 600; letter-spacing: .02em; }

.honor { margin-top: 2.5rem; background: var(--forest); color: #eef3ee; border-radius: var(--radius-lg); padding: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; justify-content: space-between; }
.honor h3 { color: #fff; }
.honor .names { display: flex; flex-wrap: wrap; gap: .6rem; }
.honor .names span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: .4rem .8rem; border-radius: 100px; font-size: .9rem; font-weight: 600; }
.honor .names b { color: var(--gold); font-family: var(--serif); }

/* ============================================================
   TEACHERS
   ============================================================ */
.teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.teacher { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .3s, box-shadow .3s; }
.teacher:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.teacher .av { width: 58px; height: 58px; border-radius: 50%; background: var(--forest); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.teacher h3 { font-size: 1.15rem; }
.teacher .role { font-size: .8rem; color: var(--gold-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: .15rem 0 .7rem; }
.teacher p { font-size: .9rem; }
.teacher .gain { margin-top: .8rem; font-size: .82rem; color: var(--forest); font-weight: 600; }

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.timeline { position: relative; display: grid; gap: 1.3rem; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold), var(--forest-300)); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 1.2rem; align-items: start; position: relative; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 2px solid var(--forest); color: var(--forest); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; z-index: 1; }
.step .body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.step h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.step .tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.step .tags span { font-size: .8rem; background: rgba(21,69,58,.07); padding: .25rem .65rem; border-radius: 100px; color: var(--forest); }

/* split panels (schedule / homework / progress) */
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem; }
.panel h3 { margin-bottom: 1rem; display: flex; align-items: center; gap: .7rem; }
.panel h3 .ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(201,138,43,.16); color: var(--gold-deep); display: grid; place-items: center; }
.panel h3 .ic svg { width: 18px; height: 18px; }
.week { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.week li { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); font-size: .94rem; }
.week li:last-child { border-bottom: none; }
.week li b { color: var(--forest); font-weight: 600; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .96rem; }
.check-list li svg { width: 20px; height: 20px; color: var(--forest); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   ABOUT band
   ============================================================ */
.band { background: var(--forest); color: #e9f0ea; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 0% 0%, rgba(201,138,43,.16), transparent 50%); }
.band .inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.band h2 { color: #fff; }
.band p { color: #cdd9cf; }
.pillars { display: grid; gap: 1rem; }
.pillar { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.pillar:last-child { border-bottom: none; }
.pillar .pn { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.pillar b { color: #fff; display: block; font-size: 1.05rem; }
.pillar small { color: #bcccc0; font-size: .9rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: .9rem; max-width: 860px; margin-inline: auto; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.qa[open] { border-color: rgba(21,69,58,.4); box-shadow: var(--shadow-sm); }
.qa summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { width: 28px; height: 28px; flex-shrink: 0; position: relative; }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; background: var(--gold-deep); transition: transform .3s; }
.qa summary .pm::before { top: 13px; left: 5px; right: 5px; height: 2px; }
.qa summary .pm::after { left: 13px; top: 5px; bottom: 5px; width: 2px; }
.qa[open] summary .pm::after { transform: scaleY(0); }
.qa .ans { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); font-size: .98rem; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta-band { text-align: center; }
.cta-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 50% 0%, rgba(201,138,43,.1), transparent 60%); }
.cta-card h2 { position: relative; }
.cta-card p { position: relative; max-width: 56ch; margin: 1rem auto 1.8rem; }
.cta-actions { position: relative; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

footer.site { background: var(--forest-700); color: #c3d2c8; padding-block: 3.5rem 2rem; margin-top: 0; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
footer.site .brand .name b { color: #fff; }
footer.site .brand .name small { color: var(--forest-300); }
footer.site p { color: #a7b8ac; font-size: .92rem; margin-top: 1rem; max-width: 34ch; }
.foot-col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-weight: 700; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.foot-col a { color: #b9c8be; font-size: .94rem; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-col .line { display: flex; gap: .55rem; align-items: baseline; font-size: .92rem; color: #a7b8ac; }
.foot-col .line b { color: #dfe9e2; font-weight: 600; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8ca093; }
.foot-bottom a:hover { color: #fff; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem,4vw,3rem); }
.page-hero h1 { margin-top: 1.2rem; }
.page-hero .lede { margin-top: 1.2rem; max-width: 60ch; }
.breadcrumb { font-size: .85rem; color: var(--forest-300); display: flex; gap: .5rem; align-items: center; }
.breadcrumb a:hover { color: var(--forest); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; position: relative; transition: transform .3s, box-shadow .3s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--gold); box-shadow: var(--shadow-md); }
.price-card.featured::before { content: "Most chosen"; position: absolute; top: -12px; left: 2rem; background: var(--gold); color: #271700; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 100px; }
.price-card h3 { margin-bottom: .3rem; }
.price-card .amt { font-family: var(--serif); font-size: 2.3rem; color: var(--forest); margin: .8rem 0 .2rem; }
.price-card .amt small { font-size: .95rem; color: var(--ink-soft); font-family: var(--sans); }
.price-card .meta { font-size: .88rem; color: var(--forest-300); margin-bottom: 1.2rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; }
.price-card ul li { display: flex; gap: .6rem; font-size: .94rem; align-items: flex-start; }
.price-card ul li svg { width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; margin-top: 3px; }
.price-card .btn { margin-top: auto; justify-content: center; }

.pay-grid { display: flex; flex-wrap: wrap; gap: .8rem; }
.pay-grid .chip { font-size: .92rem; padding: .6rem 1.1rem; }

/* ---------- form ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.6rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; color: var(--ink); }
.field label .req { color: var(--clay); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper);
  font-family: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(21,69,58,.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-card button[type=submit] { width: 100%; justify-content: center; margin-top: .5rem; }
.form-note { font-size: .82rem; color: var(--forest-300); margin-top: 1rem; text-align: center; }
.hp { position: absolute; left: -9999px; }

.info-list { display: grid; gap: 1.3rem; }
.info-list .row { display: grid; grid-template-columns: 36px 1fr; gap: 1rem; }
.info-list .row .ic { width: 36px; height: 36px; border-radius: 9px; background: rgba(21,69,58,.08); color: var(--forest); display: grid; place-items: center; }
.info-list .row .ic svg { width: 19px; height: 19px; }
.info-list .row b { display: block; color: var(--ink); }
.info-list .row p { font-size: .92rem; margin-top: .15rem; }

/* ---------- Silicon Valley accent variants ---------- */
.svt-hero { background: linear-gradient(160deg, #0f342b 0%, #15453a 60%, #1a5446 100%); color: #eaf2ec; border-radius: var(--radius-lg); padding: clamp(2.6rem,5vw,4.5rem); position: relative; overflow: hidden; }
.svt-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 85% 10%, rgba(127,181,255,.18), transparent 55%), radial-gradient(50% 80% at 10% 100%, rgba(201,138,43,.18), transparent 55%); }
.svt-hero h1 { color: #fff; position: relative; }
.svt-hero .lede { color: #cddbd2; position: relative; }
.svt-hero .eyebrow { color: #8fc0ff; }
.svt-hero .eyebrow::before { background: #8fc0ff; }
.svt-feature { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; padding: 1.6rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s, box-shadow .3s; }
.svt-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svt-feature .no { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.svt-feature h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.svt-feature p { font-size: .94rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .trust .row { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 1rem auto 0; }
  .g-4, .teachers { grid-template-columns: repeat(2, 1fr); }
  .prog-tabs, .stories, .price-grid { grid-template-columns: 1fr 1fr; }
  .band .inner, .form-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .menu, .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .menu.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem; gap: .2rem; box-shadow: var(--shadow-md);
  }
  .menu.open a { padding: .85rem 1rem; font-size: 1.05rem; }
  .menu.open a::after { display: none; }
  .g-2, .g-3, .g-4, .why-grid, .prog-tabs, .stories, .teachers,
  .split, .price-grid, .field-row, .svt-feature { grid-template-columns: 1fr; }
  .why-item:nth-child(odd) { border-right: none; }
  .svt-feature { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .topbar .meta { display: none; }
  .honor { flex-direction: column; align-items: flex-start; }
  body { font-size: 16px; }
}
