/* The Genus Foundation — site styles */
:root {
  --cream: #fbf7ee;
  --cream-2: #f3ecdb;
  --paper: #ffffff;
  --green: #0f4d2a;
  --green-2: #1b6b3c;
  --green-soft: #e3efe4;
  --navy: #15305c;
  --navy-soft: #e3e9f5;
  --gold: #f2c230;
  --gold-2: #d9a21b;
  --gold-soft: #fdf2c9;
  --purple: #5b3a8c;
  --purple-soft: #ece4f6;
  --coral: #e8664a;
  --coral-soft: #fbe3dc;
  --ink: #1c2420;
  --soft: #4f5a53;
  --line: #e4dccb;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(28, 36, 32, .08);
  --shadow-pop: 6px 6px 0 var(--ink);
  --display: 'Bricolage Grotesque', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Caveat', 'Segoe Script', cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green-2); }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); }
.brand img { width: 52px; height: auto; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.12rem; line-height: 1; letter-spacing: .02em; }
.brand small { display: block; font-family: var(--body); font-weight: 700; font-size: .68rem; letter-spacing: .16em; color: var(--gold-2); margin-top: 4px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav-group > button { font: 700 .96rem var(--body); color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 999px; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav-group > button:hover, .nav a[aria-current="page"] { background: var(--green-soft); color: var(--green); }
.nav-group { position: relative; }
.nav-group > button::after { content: ""; display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 0 0 3px 8px; }
.dropdown { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 290px; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-pop); padding: 8px; display: none; }
.nav-group.open .dropdown { display: block; animation: pop .22s ease-out; }
.dropdown a { display: flex; gap: 12px; align-items: center; border-radius: 12px; padding: 10px 12px; }
.dropdown a b { display: block; font-size: .98rem; }
.dropdown a em { display: block; font-style: normal; font-weight: 600; font-size: .82rem; color: var(--soft); }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.dot.green { background: var(--green-2); } .dot.navy { background: var(--navy); } .dot.purple { background: var(--purple); } .dot.coral { background: var(--coral); } .dot.gold { background: var(--gold); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Buttons & tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 1rem var(--body); text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 2px solid var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; line-height: 1.1; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-green { background: var(--green); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: inherit; }
.btn-green:hover { color: #fff; }
.btn-ghost:hover { box-shadow: none; background: rgba(255,255,255,.12); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.nav .btn-sm { box-shadow: 3px 3px 0 var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.free { position: relative; display: inline-block; font-family: var(--display); font-weight: 800; font-style: italic; color: var(--green); padding: 0 .28em; z-index: 0; }
.free::before { content: ""; position: absolute; inset: .12em -.05em .02em; background: var(--gold); border-radius: 6px 18px 8px 20px; transform: skew(-8deg) rotate(-2deg); z-index: -1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green-2); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--gold-2); }
.script { font-family: var(--script); font-weight: 700; font-size: 1.7em; line-height: 1; color: var(--gold-2); }
.lead { font-size: 1.18rem; color: var(--soft); }
.sticker { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font: 800 .86rem var(--body); box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--navy); }
.hero h1 .g { color: var(--green); }
.hero .lead { max-width: 560px; }
.hero-mini { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-weight: 700; color: var(--soft); font-size: .95rem; }
.hero-mini span { display: inline-flex; gap: 8px; align-items: center; }
.hero-mini svg { color: var(--green-2); }
.collage { position: relative; aspect-ratio: 1 / 1; max-width: 540px; margin-left: auto; width: 100%; }
.collage .logo-bubble { position: absolute; inset: 18% 18%; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #fff 0 58%, var(--gold-soft) 59% 100%); border-radius: 50%; border: 3px solid var(--ink); box-shadow: var(--shadow-pop); z-index: 2; }
.collage .logo-bubble img { width: 70%; animation: bob 6s ease-in-out infinite; }
.ph { position: absolute; border: 3px solid var(--ink); background: #fff; overflow: hidden; box-shadow: 5px 5px 0 var(--ink); z-index: 3; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.a { width: 30%; aspect-ratio: 3/4; top: 0; left: 4%; border-radius: 60px 60px 18px 60px; transform: rotate(-6deg); }
.ph.b { width: 27%; aspect-ratio: 1; top: 3%; right: 2%; border-radius: 50%; transform: rotate(5deg); }
.ph.c { width: 29%; aspect-ratio: 3/4; bottom: 0; right: 6%; border-radius: 18px 60px 60px 60px; transform: rotate(6deg); }
.ph.d { width: 26%; aspect-ratio: 1; bottom: 6%; left: 0; border-radius: 50%; transform: rotate(-4deg); }
.collage .sticker { position: absolute; z-index: 4; }
.collage .s1 { top: 44%; left: -6%; transform: rotate(-7deg); background: var(--gold); }
.collage .s2 { top: 36%; right: -4%; transform: rotate(6deg); }
.collage .s3 { bottom: -3%; left: 32%; transform: rotate(-3deg); background: var(--green); color: #fff; }
.blob { position: absolute; border-radius: 50%; filter: blur(0); z-index: 0; }
.blob.b1 { width: 380px; height: 380px; background: var(--gold-soft); top: -120px; right: -80px; }
.blob.b2 { width: 260px; height: 260px; background: var(--green-soft); bottom: -90px; left: -90px; }
.confetti-bits span { position: absolute; width: 14px; height: 14px; border-radius: 3px; z-index: 1; animation: floaty 7s ease-in-out infinite; }
.confetti-bits span:nth-child(1) { background: var(--gold); top: 14%; left: 47%; transform: rotate(20deg); }
.confetti-bits span:nth-child(2) { background: var(--purple); top: 70%; left: 50%; border-radius: 50%; animation-delay: -2s; }
.confetti-bits span:nth-child(3) { background: var(--coral); top: 22%; left: 6%; width: 10px; height: 22px; animation-delay: -4s; }
.confetti-bits span:nth-child(4) { background: var(--navy); top: 84%; left: 88%; border-radius: 50%; width: 10px; height: 10px; animation-delay: -1s; }
.confetti-bits span:nth-child(5) { background: var(--green-2); top: 8%; left: 90%; width: 22px; height: 8px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-2deg); } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--green); color: #fff; border-block: 3px solid var(--ink); overflow: hidden; transform: rotate(-1.2deg); margin: -26px -10px 0; position: relative; z-index: 5; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll 38s linear infinite; }
.marquee-track span { font: 800 1.15rem var(--display); padding: 14px 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 22px; }
.marquee-track span::after { content: "✦"; color: var(--gold); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.bg-paper { background: var(--paper); }
.bg-green { background: var(--green); color: #fff; }
.bg-green h2, .bg-green h3 { color: #fff; }
.bg-green .eyebrow { color: var(--gold); }
.bg-green .lead { color: #d8e8da; }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .eyebrow { color: var(--gold); }
.bg-navy .lead { color: #d7def0; }
.wave { display: block; width: 100%; height: 60px; }
.wave.flip { transform: scaleY(-1); }

/* Pathway */
.pathway { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.pathway::before { content: ""; position: absolute; top: 48px; left: 12%; right: 12%; border-top: 4px dashed var(--gold-2); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step .ic { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.step:hover .ic { transform: translateY(-6px) rotate(-6deg); }
.step .ic svg { width: 44px; height: 44px; }
.step:nth-child(1) .ic { background: var(--green-2); }
.step:nth-child(2) .ic { background: var(--navy); }
.step:nth-child(3) .ic { background: var(--gold-2); }
.step:nth-child(4) .ic { background: var(--green); }
.step h3 { font-size: 1.15rem; }
.step h3::before { counter-increment: step; content: counter(step) ". "; color: var(--gold-2); }
.step p { color: var(--soft); font-size: .96rem; }
.step a { font-weight: 800; font-size: .92rem; }

/* Program cards */
.programs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pcard { --c: var(--green); --cs: var(--green-soft); position: relative; display: grid; grid-template-columns: 1fr 170px; gap: 20px; background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: 6px 6px 0 var(--c); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.pcard:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--c); }
.pcard.navy { --c: var(--navy); --cs: var(--navy-soft); }
.pcard.purple { --c: var(--purple); --cs: var(--purple-soft); }
.pcard.coral { --c: var(--coral); --cs: var(--coral-soft); }
.pcard .tag { display: inline-block; background: var(--gold); border: 2px solid var(--ink); border-radius: 8px; padding: 2px 10px; font: 800 .8rem var(--display); font-style: italic; letter-spacing: .06em; transform: rotate(-3deg); margin-bottom: 12px; }
.pcard h3 { font-size: 1.6rem; color: var(--c); }
.pcard .sub { font-weight: 800; color: var(--soft); margin-bottom: 12px; }
.pcard ul { margin: 0 0 18px; padding: 0; list-style: none; }
.pcard li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; margin-bottom: 6px; }
.pcard li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #fff; font-size: .72rem; font-weight: 900; display: grid; place-items: center; margin-top: 3px; }
.pcard .pic { align-self: start; border-radius: 90px 90px 20px 90px; overflow: hidden; border: 3px solid var(--ink); aspect-ratio: 3/4; background: var(--cs); }
.pcard .pic img { width: 100%; height: 100%; object-fit: cover; }
.pcard .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pcard .meta span { background: var(--cs); color: var(--c); border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: .8rem; }
.pcard a.more { font-weight: 800; color: var(--c); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pcard a.more::after { content: "→"; transition: transform .2s; }
.pcard:hover a.more::after { transform: translateX(5px); }
.pcard.kids .pic { background: var(--coral-soft); }

/* People mosaic */
.people { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center; }
.faces { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.faces figure { margin: 0; border: 3px solid var(--ink); border-radius: 999px; overflow: hidden; aspect-ratio: 1/2; box-shadow: 4px 4px 0 var(--ink); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.faces figure:nth-child(even) { transform: translateY(26px); }
.faces figure:hover { transform: translateY(-8px) rotate(-3deg); }
.faces img { width: 100%; height: 100%; object-fit: cover; }

/* Steps list (how it works) */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-card { background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 5px 5px 0 var(--gold); }
.how-card .num { width: 54px; height: 54px; border-radius: 16px; background: var(--gold); border: 2px solid var(--ink); display: grid; place-items: center; font: 800 1.5rem var(--display); margin-bottom: 16px; transform: rotate(-6deg); }
.how-card h3 { color: var(--navy) !important; }
.how-card p { color: var(--soft); margin: 0; }

/* Promise / feature list */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 24px; }
.feature .fi { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin-bottom: 14px; }
.feature:nth-child(2) .fi { background: var(--navy-soft); color: var(--navy); }
.feature:nth-child(3) .fi { background: var(--gold-soft); color: var(--gold-2); }
.feature:nth-child(4) .fi { background: var(--purple-soft); color: var(--purple); }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--soft); font-size: .95rem; margin: 0; }

/* Split / portal teaser */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.portal-card { background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 26px; box-shadow: 8px 8px 0 var(--gold); padding: 26px; position: relative; }
.portal-card .top { display: flex; align-items: center; gap: 10px; border-bottom: 2px dashed var(--line); padding-bottom: 14px; margin-bottom: 16px; }
.portal-card .top i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.portal-card .top i:nth-child(1) { background: var(--coral); } .portal-card .top i:nth-child(2) { background: var(--gold); } .portal-card .top i:nth-child(3) { background: var(--green-2); }
.portal-card .top b { margin-left: 8px; font-family: var(--display); color: var(--navy); }
.task { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--cream); margin-bottom: 10px; font-weight: 700; }
.task .chk { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--ink); display: grid; place-items: center; flex: none; background: #fff; font-size: .8rem; }
.task.done .chk { background: var(--green-2); color: #fff; border-color: var(--green-2); }
.task.done span { text-decoration: line-through; color: var(--soft); }
.task em { margin-left: auto; font-style: normal; font-size: .78rem; font-weight: 800; background: var(--gold-soft); color: var(--gold-2); border-radius: 999px; padding: 2px 10px; }
.progress { height: 12px; border-radius: 999px; background: var(--cream-2); overflow: hidden; margin-top: 16px; border: 2px solid var(--ink); }
.progress span { display: block; height: 100%; width: 60%; background: repeating-linear-gradient(45deg, var(--green-2) 0 10px, var(--green) 10px 20px); animation: grow 2.4s ease-out; }
@keyframes grow { from { width: 0; } }
.portal-card .demo { position: absolute; top: -14px; right: 18px; background: var(--purple); color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink); }
.checks { list-style: none; padding: 0; margin: 0 0 26px; }
.checks li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 900; display: grid; place-items: center; font-size: .85rem; margin-top: 1px; }

/* CTA band */
.cta { background: var(--gold); border: 3px solid var(--ink); border-radius: 30px; padding: 54px; box-shadow: 8px 8px 0 var(--ink); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: var(--ink); }
.cta p { font-size: 1.1rem; margin: 0; }
.cta .btn-row { justify-content: flex-end; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 22px solid rgba(255,255,255,.35); }

/* Page hero (inner pages) */
.page-hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { max-width: 880px; color: var(--navy); }
.page-hero .lead { max-width: 720px; }
.page-hero.green { background: var(--green); color: #fff; } .page-hero.green h1 { color: #fff; } .page-hero.green .lead { color: #d8e8da; } .page-hero.green .eyebrow { color: var(--gold); }
.page-hero.navy { background: var(--navy); color: #fff; } .page-hero.navy h1 { color: #fff; } .page-hero.navy .lead { color: #d7def0; } .page-hero.navy .eyebrow { color: var(--gold); }
.page-hero.purple { background: var(--purple); color: #fff; } .page-hero.purple h1 { color: #fff; } .page-hero.purple .lead { color: #e6dcf3; } .page-hero.purple .eyebrow { color: var(--gold); }
.page-hero.coral { background: var(--coral); color: #fff; } .page-hero.coral h1 { color: #fff; } .page-hero.coral .lead { color: #fff3ef; } .page-hero.coral .eyebrow { color: var(--ink); } .page-hero.coral .eyebrow::before { background: var(--ink); }
.page-hero .ring { position: absolute; border-radius: 50%; border: 28px solid rgba(255,255,255,.08); z-index: 1; }
.page-hero .ring.r1 { width: 420px; height: 420px; right: -120px; top: -160px; }
.page-hero .ring.r2 { width: 200px; height: 200px; right: 22%; bottom: -120px; border-color: rgba(242,194,48,.25); }
.page-hero:not(.green):not(.navy):not(.purple):not(.coral) .ring { border-color: rgba(15,77,42,.07); }
.hero-pic { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.hero-pic .pic { border: 3px solid var(--ink); border-radius: 140px 140px 26px 140px; overflow: hidden; box-shadow: 8px 8px 0 var(--gold); aspect-ratio: 4/5; max-width: 320px; margin-left: auto; background: #fff; }
.hero-pic .pic img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: .88rem; font-weight: 700; margin-bottom: 18px; opacity: .85; }
.crumbs a { color: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.chip { background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.5); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .9rem; }
.page-hero:not(.green):not(.navy):not(.purple):not(.coral) .chip { background: #fff; border-color: var(--ink); }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; counter-reset: mod; }
.mod { --c: var(--green-2); display: grid; grid-template-columns: 58px 1fr; gap: 16px; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 20px; transition: border-color .2s, transform .2s; }
.mod:hover { border-color: var(--c); transform: translateY(-3px); }
.mod::before { counter-increment: mod; content: counter(mod, decimal-leading-zero); width: 58px; height: 58px; border-radius: 16px; background: var(--c); color: #fff; font: 800 1.35rem var(--display); display: grid; place-items: center; }
.mod h3 { font-size: 1.08rem; margin-bottom: 4px; }
.mod p { margin: 0 0 6px; font-size: .94rem; color: var(--soft); }
.mod .out { font-size: .84rem; font-weight: 800; color: var(--c); }
.modules.navy .mod { --c: var(--navy); }
.modules.purple .mod { --c: var(--purple); }
.modules.coral .mod { --c: var(--coral); }

/* Stage / tier cards */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stage { background: #fff; border: 3px solid var(--ink); border-radius: 20px; padding: 22px; position: relative; }
.stage .n { font: 800 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.stage h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.stage p { font-size: .93rem; color: var(--soft); margin: 0; }
.stage:nth-child(1) { box-shadow: 5px 5px 0 var(--green-2); } .stage:nth-child(2) { box-shadow: 5px 5px 0 var(--navy); }
.stage:nth-child(3) { box-shadow: 5px 5px 0 var(--gold-2); } .stage:nth-child(4) { box-shadow: 5px 5px 0 var(--purple); }

/* Facts table-ish */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; position: relative; z-index: 3; }
.fact { background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 20px; box-shadow: 4px 4px 0 var(--ink); }
.fact b { display: block; font: 800 1.5rem var(--display); color: var(--green); line-height: 1.1; }
.fact span { font-size: .9rem; font-weight: 700; color: var(--soft); }

/* Callout / note */
.note { background: var(--gold-soft); border: 2px solid var(--gold-2); border-radius: 18px; padding: 20px 24px; font-size: .96rem; }
.note b { color: var(--ink); }
.note.plain { background: #fff; border-color: var(--line); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 28px; }
.card.pop { border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--green-2); }
.list-dots { padding-left: 1.2em; margin: 0 0 1em; }
.list-dots li { margin-bottom: 6px; }
.list-dots li::marker { color: var(--gold-2); font-size: 1.2em; }

/* FAQ */
.faq details { background: #fff; border: 2px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--green-2); }
.faq summary { cursor: pointer; list-style: none; font: 800 1.08rem var(--display); padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--soft); padding-bottom: 6px; }

/* Get involved */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.way { background: #fff; border: 3px solid var(--ink); border-radius: 22px; padding: 26px; text-align: left; transition: transform .2s; display: flex; flex-direction: column; }
.way:hover { transform: rotate(-1.5deg) translateY(-4px); }
.way .emoji { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 14px; border: 2px solid var(--ink); }
.way:nth-child(1) .emoji { background: var(--green-soft); color: var(--green); } .way:nth-child(2) .emoji { background: var(--navy-soft); color: var(--navy); }
.way:nth-child(3) .emoji { background: var(--gold-soft); color: var(--gold-2); } .way:nth-child(4) .emoji { background: var(--coral-soft); color: var(--coral); }
.way p { color: var(--soft); font-size: .95rem; flex: 1; }
.way a { font-weight: 800; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 3px solid var(--ink); border-radius: 26px; padding: 34px; box-shadow: 8px 8px 0 var(--green-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; }
label .opt { font-weight: 600; color: var(--soft); }
input, select, textarea { width: 100%; font: 600 1rem var(--body); color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: 14px; padding: 13px 14px; transition: border-color .15s, background .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-2); background: #fff; }
textarea { min-height: 130px; resize: vertical; }
.is-invalid { border-color: var(--coral) !important; background: #fff6f3 !important; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .92rem; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--green-2); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills label { margin: 0; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: .92rem; cursor: pointer; background: #fff; transition: background .15s, transform .15s; }
.pills input:checked + span { background: var(--gold); transform: rotate(-2deg); box-shadow: 2px 2px 0 var(--ink); }
.pills input:focus-visible + span { outline: 3px solid var(--green-2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.form-status { font-weight: 700; font-size: .95rem; }
.form-status.ok { color: var(--green-2); }
.form-status.err { color: #b3361c; }
.fine { font-size: .84rem; color: var(--soft); }
.ts-slot:empty { display: none; }
.ts-slot { margin-top: 14px; }
.youth-only[hidden] { display: none; }
.success-box { text-align: center; padding: 20px 0; }
.success-box .big { font-size: 3.4rem; line-height: 1; margin-bottom: 10px; display: inline-block; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.success-box h3 { color: var(--green); font-size: 1.7rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.info-list .ii { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.info-list b { display: block; }
.info-list a { font-weight: 700; }

/* Portal page */
.portal-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.portal-status { margin-top: 18px; background: #fff; color: var(--ink); border: 2px solid var(--gold); border-radius: 16px; padding: 14px 18px; font-weight: 700; max-width: 640px; }
.portal-status[hidden] { display: none; }
.can-do { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.can { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 24px; }
.can .fi { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); margin-bottom: 12px; }
.can h3 { font-size: 1.1rem; }
.can p { color: var(--soft); font-size: .95rem; margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; border-left: 3px dashed var(--gold-2); }
.timeline li { position: relative; padding-left: 70px; margin-bottom: 26px; }
.timeline li::before { content: attr(data-n); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; font: 800 1.2rem var(--display); display: grid; place-items: center; border: 3px solid var(--ink); }
.timeline h3 { font-size: 1.15rem; margin-bottom: 4px; }
.timeline p { color: var(--soft); margin: 0; }

/* Prose (privacy) */
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; color: var(--navy); }
.prose p, .prose li { color: #333d37; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: #d8e8da; padding: 0 0 26px; margin-top: 0; }
.foot-news { background: var(--navy); color: #fff; border-bottom: 3px solid var(--ink); }
.foot-news .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; padding: 38px 0; }
.foot-news h2 { font-size: 1.7rem; color: #fff; margin-bottom: 6px; }
.foot-news p { margin: 0; color: #d7def0; }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; }
.news-form input[type=text], .news-form input[type=email] { flex: 1 1 160px; background: #fff; border-color: #fff; }
.news-form .form-status { flex-basis: 100%; color: #fff; }
.news-form .form-status.err { color: #ffd1c4; }
.news-form .ts-slot { flex-basis: 100%; margin: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 54px 0 34px; }
.foot-brand img { width: 110px; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.free-badge { display: inline-block; background: var(--gold); color: var(--ink); border: 2px solid var(--ink); border-radius: 14px; padding: 8px 14px; font: 800 1rem var(--display); transform: rotate(-2deg); margin-top: 6px; }
.legal { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; font-size: .84rem; color: #b8cdbb; display: grid; gap: 8px; }
.legal a { color: #fff; }
.eho { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 110px 0; }
.nf .big { font: 800 clamp(5rem, 16vw, 10rem) var(--display); color: var(--gold); -webkit-text-stroke: 3px var(--ink); line-height: 1; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Confetti canvas */
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a, .nav-group > button { padding: 9px 9px; font-size: .92rem; }
  .features, .ways, .stages, .facts { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; font: 800 .95rem var(--body); background: var(--gold); border: 2px solid var(--ink); border-radius: 999px; padding: 9px 18px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 3px solid var(--ink); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; max-height: calc(100vh - 76px); overflow: auto; }
  .nav.open { display: flex; }
  .nav a, .nav-group > button { padding: 12px 14px; font-size: 1.02rem; text-align: left; width: 100%; }
  .dropdown { position: static; box-shadow: none; border-width: 2px; margin: 4px 0 8px; min-width: 0; }
  .nav .btn { margin: 10px 0 0; }
  .hero-grid, .split, .people, .contact-grid, .two, .hero-pic, .cta, .foot-news .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .collage { margin: 10px auto 0; max-width: 460px; }
  .pathway { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .pathway::before { display: none; }
  .programs, .how, .can-do { grid-template-columns: 1fr; }
  .cta { padding: 36px 28px; }
  .cta .btn-row { justify-content: flex-start; }
  .hero-pic .pic { margin: 0; max-width: 240px; order: -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .pcard { grid-template-columns: 1fr; padding: 24px; }
  .pcard .pic { width: 130px; order: -1; }
  .modules, .form-grid, .features, .ways, .stages, .facts, .foot-grid { grid-template-columns: 1fr; }
  .faces { gap: 8px; }
  .collage .s1 { left: 0; } .collage .s2 { right: 0; }
  .form-card { padding: 24px 20px; }
  .brand span { font-size: 1rem; }
  .brand img { width: 44px; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.center-row { justify-content: center; }
.on-dark { color: #d7def0; text-align: center; margin-top: 24px; }
.mt { margin-top: 20px; }
.label-like { font-weight: 800; font-size: .92rem; margin: 0 0 8px; }
.label-like .opt { font-weight: 600; color: var(--soft); }
.nav-group > button.is-active { color: var(--green); }
main { overflow-x: clip; }
.hero .wrap { position: relative; z-index: 2; }
.pcard a.more { display: inline; }
.pcard a.more::after { display: inline-block; margin-left: 6px; }
.bg-green .card, .bg-navy .card { color: var(--ink); }
.bg-green .card h3, .bg-navy .card h3 { color: var(--navy); }
.page-hero { padding-bottom: 84px; }
.hero-side { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-side .portal-card { transform: rotate(2deg); }
@media (max-width: 960px) { .hero-side { grid-template-columns: 1fr; } .hero-side .portal-card { transform: none; } }
.form-card .fine { margin: 16px 0 0; }
img { height: auto; }
.collage .logo-bubble img { width: auto; height: auto; max-width: 56%; max-height: 62%; object-fit: contain; }
