/* FinLit for Youth: "fresh banknote" system.
   Forest + paper like a new bill, gold for money moments, guilloche as texture. */
:root {
  --forest: #0d2b1f;
  --forest-2: #143a2b;
  --forest-3: #1d4c39;
  --paper: #f3efe2;
  --paper-2: #e9e3d0;
  --surface: #fbf8ef;
  --ink: #13221a;
  --muted: #4a5a50;
  --on-dark: #f3efe2;
  --on-dark-muted: #b9c6bd;
  --mint: #1f7a4c;
  --gold: #e2b247;
  --gold-deep: #9a6f12;
  --stamp: #b23a2a;
  --line: rgba(19, 34, 26, 0.14);
  --line-dark: rgba(226, 178, 71, 0.22);

  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Instrument Sans", system-ui, -apple-system, sans-serif;

  --t-14: 0.875rem; --t-16: 1rem; --t-18: 1.125rem; --t-22: 1.375rem; --t-28: 1.75rem;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --r1: 4px; --r2: 10px; --r3: 18px; --pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--t-18);
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
.sprite { position: absolute; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: var(--r1); }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }
.dark { background: var(--forest); color: var(--on-dark); }

.eyebrow {
  font-size: var(--t-14); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint); margin-bottom: var(--s4);
}
.eyebrow-gold { color: var(--gold); }
.gold { color: var(--gold); }

.skip { position: absolute; left: var(--s4); top: -60px; z-index: 100; background: var(--gold); color: var(--forest); padding: var(--s2) var(--s4); border-radius: var(--r1); font-weight: 600; }
.skip:focus { top: var(--s2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 14px 24px; border-radius: var(--pill);
  font: 600 var(--t-16)/1 var(--font-text); text-decoration: none;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform 200ms var(--ease-out), background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: #ecc263; }
.btn-ghost { border-color: rgba(243, 239, 226, 0.4); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-sm { padding: 10px 18px; font-size: var(--t-14); }

/* ---------- Nav ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
  padding-inline: var(--gutter);
  background: var(--forest); color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: var(--t-22); letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; }
.brand em { font-style: normal; font-weight: 600; color: var(--gold); }
.nav nav { display: flex; gap: var(--s5); }
.nav nav a { text-decoration: none; font-size: var(--t-16); color: var(--on-dark-muted); transition: color 150ms var(--ease-out); }
.nav nav a:hover { color: var(--gold); }
@media (max-width: 880px) { .nav nav { display: none; } }
@media (max-width: 400px) { .brand { font-size: var(--t-18); gap: var(--s2); } .brand img { width: 32px; height: 32px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: var(--forest) url("img/guilloche-dark.svg") no-repeat;
  background-size: min(90vw, 900px); background-position: 110% 50%;
  color: var(--on-dark);
  display: flex; align-items: center;
  padding-top: var(--nav-h);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-fallback { position: absolute; width: min(40vw, 440px); right: 6vw; top: 50%; transform: translateY(-50%); opacity: 0.95; }
.webgl .hero-fallback { display: none; }
.hero-inner {
  position: relative; z-index: 1; width: min(1200px, 100%); margin-inline: auto; padding: var(--s8) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { font-weight: 800; font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 0.98; margin-bottom: var(--s5); }
.lede { font-size: clamp(var(--t-18), 2vw, var(--t-22)); color: var(--on-dark-muted); margin-bottom: var(--s6); max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); max-width: 560px; }
.hero-stats .eyebrow, .stat-note { grid-column: 1 / -1; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 10vw, 8.5rem); line-height: 0.9; color: var(--gold); letter-spacing: -0.04em; }
.stat > span { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 6vw, 5rem); color: var(--gold); }
.stat p { font-size: var(--t-18); color: var(--on-dark); max-width: 18ch; margin-top: var(--s2); }
.stat-note { color: var(--on-dark-muted); font-size: var(--t-16); }
.scroll-hint { position: absolute; z-index: 1; left: 50%; bottom: var(--s5); transform: translateX(-50%); font-size: var(--t-14); letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 32px; margin: var(--s2) auto 0; background: var(--gold); animation: hint 1.8s var(--ease-out) infinite; transform-origin: top; }
.calm .scroll-hint { display: none; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* With the 3D scene running, copy sits left and the stats wait on the right */
.scenes .hero-stats { position: absolute; right: var(--gutter); top: 0; bottom: 0; align-content: center; width: min(520px, 44vw); }
@media (max-width: 899px) {
  .hero { align-items: flex-end; background-position: 50% 18%; background-size: 130vw; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: var(--s7); }
  .scroll-hint { display: none; }
  .hero-fallback { width: 52vw; right: 24vw; top: calc(var(--nav-h) + 24px); transform: none; }
  .scenes .hero-stats { left: var(--gutter); right: var(--gutter); top: auto; bottom: var(--s7); width: auto; }
}

/* ---------- Workshop ---------- */
section { position: relative; }
main > section, .footer { overflow-x: clip; }
.workshop, .curriculum, .partners, .contact { padding-block: clamp(72px, 11vw, 140px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-bottom: var(--s5); }
.workshop-copy > p { color: var(--muted); max-width: 52ch; }
.perks { list-style: none; padding: 0; margin: var(--s6) 0; display: grid; gap: var(--s4); }
.perks li { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); }
.perks .ic { color: var(--mint); width: 24px; height: 24px; margin-top: 2px; }
.aside { font-size: var(--t-16); color: var(--muted); }
.aside a { color: var(--mint); font-weight: 600; }

.ticket-stage { perspective: 1400px; padding: var(--s7) 0 var(--s5); }
.ticket {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 120px;
  background: var(--surface) url("img/guilloche-light.svg") no-repeat 140% 50% / 420px;
  border: 1px solid var(--line); border-radius: var(--r3);
  box-shadow: inset 0 0 0 8px var(--surface), inset 0 0 0 9px rgba(31, 122, 76, 0.35), 0 30px 60px -30px rgba(13, 43, 31, 0.45);
  transform-style: preserve-3d;
}
.ticket-main { padding: var(--s7) var(--s6) var(--s6); }
.ticket-kicker { font-size: var(--t-14); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); font-weight: 600; }
.ticket-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--forest); margin: var(--s2) 0 var(--s6); letter-spacing: -0.03em; }
.ticket-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); margin: 0; }
.ticket-facts dt { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-14); color: var(--muted); }
.ticket-facts dt .ic { color: var(--mint); }
.ticket-facts dd { margin: var(--s1) 0 0; font-weight: 600; font-size: var(--t-18); }
.ticket-stub {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s1);
  border-left: 2px dashed rgba(31, 122, 76, 0.35); background: var(--forest); color: var(--on-dark);
  border-radius: 0 var(--r3) var(--r3) 0; text-align: center; padding: var(--s4);
}
.ticket-stub span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.ticket-stub b { font-family: var(--font-display); font-size: var(--t-28); color: var(--gold); margin-bottom: var(--s3); }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); }
.ticket-stub::before { top: -12px; }
.ticket-stub::after { bottom: -12px; }
.stamp {
  position: absolute; right: 64px; top: -26px; transform: rotate(-8deg) translateZ(30px);
  border: 3px double var(--stamp); color: var(--stamp); border-radius: var(--r1);
  padding: var(--s2) var(--s4); font-family: var(--font-display); font-weight: 800; font-size: var(--t-22);
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.1; text-align: center; background: rgba(251, 248, 239, 0.85);
}
.stamp small { display: block; font-family: var(--font-text); font-size: 11px; letter-spacing: 0.18em; font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket-main { padding: var(--s6) var(--s5) var(--s5); }
  .ticket-stub { flex-direction: row; justify-content: space-around; border-left: 0; border-top: 2px dashed rgba(31, 122, 76, 0.35); border-radius: 0 0 var(--r3) var(--r3); }
  .ticket-stub b { margin-bottom: 0; }
  .ticket-stub::before, .ticket-stub::after { top: -13px; left: auto; }
  .ticket-stub::before { left: -12px; }
  .ticket-stub::after { right: -12px; bottom: auto; }
  .ticket-facts { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .stamp { right: 12px; top: -22px; font-size: var(--t-16); }
}

/* ---------- Highlights ring ---------- */
.recap { padding-top: clamp(72px, 11vw, 140px); overflow: hidden; background-image: url("img/guilloche-dark.svg"); background-repeat: no-repeat; background-size: 700px; background-position: -260px -200px; }
.recap-head { max-width: 900px; margin-inline: 0; }
.recap-head h2 { color: var(--on-dark); }
.recap-head > p:last-child { color: var(--on-dark-muted); max-width: 60ch; }
.ring-pin { padding-block: var(--s7) var(--s9); }
.ring { list-style: none; margin: 0 auto; padding: 0 var(--gutter); width: min(1200px, 100%); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s5); }
.ring-card figure { margin: 0; }
.ring-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r2); }
.ring-card figcaption { margin-top: var(--s3); font-size: var(--t-16); color: var(--on-dark-muted); }
.ring-card figcaption span { font-family: var(--font-display); color: var(--gold); margin-right: var(--s2); font-weight: 800; }
.ring-ui { display: none; }

.ring-on .ring-pin { height: 100vh; height: 100svh; padding: calc(var(--nav-h) + 16px) 0 var(--s6); display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.ring-on .ring-viewport { perspective: 1700px; perspective-origin: 50% 40%; display: grid; place-items: center; min-height: 0; }
.ring-on .ring {
  --w: clamp(200px, min(30vw, 46svh), 440px);
  --R: calc(var(--w) * 1.05);
  display: block; position: relative; padding: 0;
  width: var(--w); aspect-ratio: 4 / 5; max-height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--R) * -1)) rotateY(var(--rot, 0deg));
}
.ring-on .ring-card { position: absolute; inset: 0; transform: rotateY(calc(var(--i) * 60deg)) translateZ(var(--R)); transition: opacity 200ms linear; }
.ring-on .ring-card figure, .ring-on .ring-card img { height: 100%; }
.ring-on .ring-card img { aspect-ratio: auto; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); outline: 1px solid var(--line-dark); outline-offset: 6px; }
.ring-on .ring-card figcaption { display: none; }
.ring-on .ring-ui { display: flex; align-items: center; justify-content: center; gap: var(--s5); padding-inline: var(--gutter); }
.ring-caption { max-width: 560px; min-height: 3.4em; text-align: center; font-size: var(--t-18); }
.ring-count { display: block; font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: var(--t-16); letter-spacing: 0.08em; }
.ring-btn { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--on-dark); border: 1.5px solid var(--line-dark); cursor: pointer; transition: border-color 150ms var(--ease-out), color 150ms var(--ease-out); }
.ring-btn:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 760px) {
  .ring-on .ring { --w: min(64vw, 300px); --R: calc(var(--w) * 1.1); }
  .ring-caption { font-size: var(--t-16); }
}

/* ---------- Curriculum ---------- */
.section-head { max-width: 760px; margin-bottom: var(--s8); }
.section-head.center { margin-inline: auto; }
.section-head > p:last-child { color: var(--muted); }
.deck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); perspective: 1400px; }
.lesson {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3);
  padding: var(--s3) var(--s3) var(--s5); transform-style: preserve-3d; transform-origin: 50% 100%;
  box-shadow: 0 20px 40px -28px rgba(13, 43, 31, 0.5);
}
.lesson-art { border-radius: var(--r2); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.lesson-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.lesson:hover .lesson-art img { transform: scale(1.06); }
.lesson-num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold-deep); margin: var(--s4) var(--s3) var(--s2); }
.lesson h3 { font-size: var(--t-22); margin: 0 var(--s3) var(--s3); }
.lesson > p:last-child { font-size: var(--t-16); color: var(--muted); margin-inline: var(--s3); }
@media (max-width: 1000px) { .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .deck { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Partners ---------- */
.partners { overflow: hidden; }
.partner-duo { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 56px); flex-wrap: wrap; perspective: 1000px; }
.partner {
  display: grid; justify-items: center; gap: var(--s4); text-decoration: none;
  width: min(280px, 100%); padding: var(--s6) var(--s5); background: #fff; border-radius: var(--r3);
  border: 1px solid var(--line); box-shadow: 0 30px 50px -34px rgba(13, 43, 31, 0.55);
  transform-style: preserve-3d;
}
.partner img { width: 160px; height: 160px; object-fit: contain; transform: translateZ(40px); }
.partner span { font-family: var(--font-display); font-weight: 600; font-size: var(--t-22); transform: translateZ(24px); }
.and { font-family: var(--font-display); font-style: italic; font-size: clamp(3rem, 7vw, 5rem); color: var(--gold-deep); line-height: 1; }
.sponsors { margin-top: var(--s9); }
.marquee-3d { perspective: 900px; margin-top: var(--s4); }
.marquee { list-style: none; margin: 0 auto; padding: var(--s5) var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s5); }
.marquee li { flex: none; width: 168px; height: 112px; background: #fff; border-radius: var(--r2); border: 1px solid var(--line); display: grid; place-items: center; padding: var(--s3); box-shadow: 0 16px 30px -24px rgba(13, 43, 31, 0.5); }
.marquee img { max-width: 100%; max-height: 88px; width: auto; object-fit: contain; }
.js .marquee-3d { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.js .marquee { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding-inline: 0; transform: rotateX(20deg) rotateZ(-3deg); animation: marquee 34s linear infinite; }
.js .marquee:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: rotateX(20deg) rotateZ(-3deg) translateX(0); } to { transform: rotateX(20deg) rotateZ(-3deg) translateX(-50%); } }

/* ---------- NGY ---------- */
.ngy { padding-block: clamp(72px, 11vw, 140px); background: var(--paper) url("img/guilloche-light.svg") no-repeat -220px 40px / 620px; }
.ngy .section-head b { color: var(--ink); }
.tree { perspective: 1400px; }
.node { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); box-shadow: 0 30px 50px -36px rgba(13, 43, 31, 0.55); transform-style: preserve-3d; }
.node-root {
  position: relative; display: flex; align-items: center; gap: var(--s5);
  width: fit-content; max-width: 100%; margin: 0 auto; padding: var(--s5) var(--s6) var(--s5) var(--s5);
  background: var(--forest); color: var(--on-dark); border-color: var(--line-dark);
}
.node-root h3 { font-size: clamp(var(--t-22), 2.6vw, 2rem); }
.node-root p { color: var(--on-dark-muted); font-size: var(--t-16); }
.ngy-logo {
  flex: none; width: clamp(110px, 14vw, 168px); height: auto; aspect-ratio: 1; border-radius: var(--r2);
  outline: 2px solid var(--gold); outline-offset: 4px; transform: translateZ(40px);
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.7);
}
/* connector: one trunk down from the badge, splitting to both initiatives */
.branches { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); padding-top: var(--s8); }
.branches::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: calc(var(--s8) / 2); background: var(--gold-deep); }
.branches::after { content: ""; position: absolute; top: calc(var(--s8) / 2); left: 25%; right: 25%; height: 2px; background: var(--gold-deep); }
.node-child { position: relative; padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.node-child::before { content: ""; position: absolute; left: 50%; top: calc(var(--s8) / -2); width: 2px; height: calc(var(--s8) / 2); background: var(--gold-deep); }
.node-child h3 { font-size: clamp(var(--t-28), 3.4vw, 2.6rem); }
.node-child > p:not(.node-tag):not(.here-chip):not(.node-note) { color: var(--muted); }
.node-tag { font-size: var(--t-14); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.node-here { border: 2px solid var(--gold); }
.here-chip { position: absolute; top: calc(var(--s4) * -1); right: var(--s5); background: var(--gold); color: var(--forest); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: var(--s1) var(--s3); border-radius: var(--pill); }
.node-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin: var(--s3) 0; padding: var(--s4) 0; border-block: 1px solid var(--line); }
.node-stats dt { font-size: var(--t-14); color: var(--muted); }
.node-stats dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; color: var(--forest); letter-spacing: -0.02em; }
.node-stats dd b { font-weight: 800; }
.node-note { font-size: var(--t-16); color: var(--muted); }
.node-link { margin-top: auto; padding-top: var(--s3); display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; color: var(--mint); text-decoration: none; }
.node-link:hover { text-decoration: underline; }
.press { margin-top: var(--s9); }
.press ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3) var(--s7); }
.press li { font-family: var(--font-display); font-weight: 600; font-size: clamp(var(--t-22), 2.4vw, 2rem); color: var(--muted); font-style: italic; }
.footer p a { color: var(--gold); }
@media (max-width: 760px) {
  .branches { grid-template-columns: minmax(0, 1fr); padding-top: var(--s7); gap: var(--s8); }
  .branches::after { display: none; }
  .branches::before { height: var(--s7); }
  .node-child::before { top: calc(var(--s8) * -1); height: var(--s8); }
  .node-child:first-child::before { display: none; }
  .node-root { padding: var(--s4); gap: var(--s4); }
  .node-root { flex-direction: column; text-align: center; padding: var(--s5); }
  .ngy-logo { width: 140px; }
}

/* ---------- Team ---------- */
.team { padding-bottom: clamp(72px, 11vw, 140px); }
.team-hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; padding-block: var(--s10) var(--s8); }
.team-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 70%; }
.team-hero::after { content: ""; position: absolute; inset: 0; background: rgba(13, 43, 31, 0.78); }
.team-intro { position: relative; z-index: 1; }
.team-intro h2 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; max-width: 14ch; }
.team-intro > p:last-child { color: var(--on-dark); max-width: 56ch; font-size: clamp(var(--t-18), 2vw, var(--t-22)); }
.team-photo-stage { perspective: 1400px; margin-top: calc(var(--s8) * -1); position: relative; z-index: 2; }
.team-photo { margin: 0; border-radius: var(--r3); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); transform-origin: 50% 0; }
.team-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; }
.team-sub { font-size: clamp(var(--t-28), 3vw, 2.4rem); margin: var(--s9) 0 var(--s6); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--s5); perspective: 1200px; }
.person { background: var(--forest-2); border: 1px solid var(--line-dark); border-radius: var(--r3); padding: var(--s6); transform-style: preserve-3d; }
.mono {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--s4);
  background: var(--gold); color: var(--forest); font-family: var(--font-display); font-weight: 800; font-size: var(--t-22);
  box-shadow: inset 0 0 0 3px #f0cf79, inset 0 0 0 5px var(--gold-deep); transform: translateZ(36px);
}
.person h4 { font-size: var(--t-28); margin-bottom: var(--s4); transform: translateZ(20px); }
.person ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.person li { position: relative; padding-left: var(--s5); font-size: var(--t-16); color: var(--on-dark-muted); line-height: 1.5; }
.person li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--gold); }

/* ---------- Contact ---------- */
.contact { background: var(--paper) url("img/guilloche-light.svg") no-repeat 115% 50% / 640px; }
.contact-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 7vw, 96px); align-items: center; }
.contact-inner > div:last-child > p:not(.eyebrow) { color: var(--muted); max-width: 54ch; }
.coin-css { width: clamp(160px, 22vw, 260px); aspect-ratio: 1; position: relative; transform-style: preserve-3d; animation: spin 9s linear infinite; }
.coin-face { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6d98a, var(--gold) 45%, var(--gold-deep)); display: grid; place-items: center; backface-visibility: hidden; box-shadow: inset 0 0 0 6px #f0cf79, inset 0 0 0 9px var(--gold-deep); }
.coin-face img { width: 86%; }
.coin-face.back { transform: rotateY(180deg); }
@keyframes spin { to { transform: rotateY(360deg); } }
.mail-link {
  display: inline-flex; align-items: center; gap: var(--s3); margin-top: var(--s6);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 3.2vw, 2.4rem);
  color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 8px;
  overflow-wrap: anywhere; transition: color 150ms var(--ease-out);
}
.mail-link:hover { color: var(--mint); }
.mail-link .ic { color: var(--mint); }
@media (max-width: 760px) { .contact-inner { grid-template-columns: minmax(0, 1fr); } .coin-css { margin-inline: auto; } }

/* ---------- Footer ---------- */
.footer { padding-block: var(--s7); border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); }
.footer p { color: var(--on-dark-muted); font-size: var(--t-16); }
.footer .fine { font-size: var(--t-14); }
.footer .brand { text-decoration: none; }

/* ---------- Pointer tilt ---------- */
.tilt { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .marquee { flex-wrap: wrap; justify-content: center; width: auto; transform: none; }
}

/* =========================================================
   v2 (Dec 2026): sign-up hero, reach band, Money Note, archive, suggestion box
   ========================================================= */
.nav-ext { display: inline-flex; align-items: center; gap: 4px; }
.nav-ext .ic { width: 0.9em; height: 0.9em; }
.nav nav { gap: clamp(14px, 1.6vw, 24px); }
@media (max-width: 1120px) { .nav nav a[href="#curriculum"], .nav nav a[href="#recap"] { display: none; } }

/* Hero: copy left, sign-up card right */
.lede { max-width: 40ch; }
.lede b { color: var(--on-dark); font-weight: 600; }
.lede b.gold { color: var(--gold); }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }
.hero-trust li { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-16); color: var(--on-dark-muted); }
.hero-trust img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; }
.hero-trust a { color: var(--gold); font-weight: 600; text-underline-offset: 3px; }
.hero-trust b { color: var(--on-dark); font-weight: 600; }

.signup-card {
  position: relative; z-index: 2;
  background: var(--surface); color: var(--ink);
  border-radius: var(--r3); padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(226, 178, 71, 0.35);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.signup-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: var(--r3) var(--r3) 0 0; background: linear-gradient(90deg, var(--gold), #f1d48a, var(--gold)); }
.card-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); margin-bottom: var(--s2); }
.card-title { font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 800; color: var(--forest); margin-bottom: var(--s2); }
.card-title em { font-style: italic; color: var(--gold-deep); }
.card-sub { font-size: var(--t-16); color: var(--muted); margin-bottom: var(--s5); }

/* Forms */
.field { display: grid; gap: 6px; margin: 0 0 var(--s4); border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: var(--t-14); font-weight: 600; color: var(--ink); padding: 0; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 var(--t-16)/1.4 var(--font-text); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r2);
  padding: 12px 14px; min-height: 48px;
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: #8a968e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(31, 122, 76, 0.15); }
.field [aria-invalid="true"] { border-color: var(--stamp); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips legend { width: 100%; margin-bottom: 6px; float: left; }
.chips label { position: relative; flex: 1 1 0; min-width: 72px; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chips span { display: grid; place-items: center; min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--pill); background: #fff; font-weight: 600; font-size: var(--t-16); transition: all 150ms var(--ease-out); }
.chips input:checked + span { background: var(--forest); color: var(--gold); border-color: var(--forest); }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.chips.invalid span { border-color: var(--stamp); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn-block { width: 100%; justify-content: center; padding-block: 16px; font-size: var(--t-18); }
button.btn { cursor: pointer; font-family: var(--font-text); }
button.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.fine-print { margin-top: var(--s3); font-size: 13px; color: var(--muted); text-align: center; }
.form-status { font-size: var(--t-16); font-weight: 600; margin-top: var(--s3); }
.form-status:empty { display: none; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: var(--stamp); }
.form-status a { color: inherit; }
.js-form.sent > :not(.form-status):not(.card-kicker):not(.card-title) { display: none; }
.js-form.sent .form-status { font-size: var(--t-18); padding: var(--s5); background: rgba(31, 122, 76, 0.08); border-radius: var(--r2); margin: var(--s4) 0 0; }


/* Reach band */
.band { background: var(--gold); color: var(--forest); padding-block: clamp(36px, 5vw, 56px); }
.band-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.band-stat { border-left: 2px solid rgba(13, 43, 31, 0.25); padding-left: var(--s4); }
.band-stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -0.03em; }
.band-stat p { font-size: var(--t-16); margin-top: var(--s2); max-width: 22ch; font-weight: 600; opacity: 0.85; }
@media (max-width: 820px) { .band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s6); } }

/* Money Note */
.money-note { padding-block: clamp(72px, 11vw, 140px); background: var(--paper) url("img/guilloche-light.svg") no-repeat 120% 0 / 620px; }
.mn-split { align-items: center; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.mn-lede { color: var(--muted); max-width: 56ch; margin-top: var(--s4); }
.mn-lede b { color: var(--ink); }
.mn-list { list-style: none; padding: 0; margin: var(--s6) 0; display: grid; gap: var(--s4); }
.mn-list li { display: flex; gap: var(--s4); align-items: flex-start; font-size: var(--t-16); color: var(--muted); }
.mn-list b { color: var(--ink); }
.mn-list .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--forest); color: var(--gold); margin-top: -2px; }
.chamber-card { display: flex; gap: var(--s4); align-items: center; padding: var(--s4) var(--s5); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r2); box-shadow: 0 20px 40px -30px rgba(13, 43, 31, 0.5); }
.chamber-card img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.chamber-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.chamber-text { font-size: var(--t-16); color: var(--muted); }
.chamber-text b { color: var(--ink); }
.issue-hero { position: relative; display: block; max-width: 420px; margin-inline: auto; transform: rotate(3deg); transition: transform 400ms var(--ease-out); }
.issue-hero img { border-radius: var(--r2); box-shadow: 0 50px 80px -40px rgba(13, 43, 31, 0.7), 0 0 0 1px var(--line); }
.issue-hero::before { content: ""; position: absolute; inset: 0; border-radius: var(--r2); background: var(--forest-3); transform: rotate(-6deg) translate(-14px, 10px); z-index: -1; opacity: 0.25; }
.issue-hero:hover { transform: rotate(0deg) translateY(-6px); }
.issue-flag { position: absolute; top: -14px; left: -14px; background: var(--stamp); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 14px; border-radius: var(--pill); transform: rotate(-6deg); }
@media (max-width: 900px) { .mn-split { grid-template-columns: minmax(0, 1fr); } .issue-hero { max-width: 320px; margin-top: var(--s5); } }

/* Archive */
.archive { padding-block: clamp(72px, 11vw, 140px); }
.issues { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: var(--s5); }
.issue { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--s5); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out); }
.issue:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(13, 43, 31, 0.55); }
.issue-cover img { border-radius: var(--r1); box-shadow: 0 12px 24px -14px rgba(13, 43, 31, 0.6); }
.issue-cover-soon { aspect-ratio: 935 / 1210; border-radius: var(--r1); border: 2px dashed rgba(13, 43, 31, 0.25); display: grid; place-items: center; background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(13, 43, 31, 0.04) 10px 20px); }
.issue-cover-soon span { font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: transparent; -webkit-text-stroke: 1.5px var(--gold-deep); }
.issue-meta { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-bottom: var(--s2); }
.issue h3 { font-size: var(--t-28); margin-bottom: var(--s2); }
.issue-body > p:not(.issue-meta) { font-size: var(--t-16); color: var(--muted); }
.tags { list-style: none; padding: 0; margin: var(--s4) 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--pill); background: var(--paper-2); color: var(--forest); }
.issue-soon .tags li { background: rgba(226, 178, 71, 0.25); }
.issue-dl { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; color: var(--forest); text-decoration: none; padding: 10px 16px; border-radius: var(--pill); border: 1.5px solid var(--forest); transition: all 150ms var(--ease-out); }
.issue-dl:hover { background: var(--forest); color: var(--gold); }
.issue-dl small { font-weight: 400; opacity: 0.7; }
@media (max-width: 520px) { .issue { grid-template-columns: 96px minmax(0, 1fr); gap: var(--s4); padding: var(--s4); } .issue h3 { font-size: var(--t-22); } }

/* Suggestion box */
.suggest { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 5vw, 56px); background: var(--forest) url("img/guilloche-dark.svg") no-repeat -200px -160px / 560px; color: var(--on-dark); border-radius: calc(var(--r3) + 6px); scroll-margin-top: calc(var(--nav-h) + 24px); }
.suggest-copy > p:not(.eyebrow) { color: var(--on-dark-muted); margin-top: var(--s4); }
.suggest-ideas { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s2); }
.suggest-ideas li { font-family: var(--font-display); font-style: italic; font-size: var(--t-18); color: var(--gold); padding-left: var(--s4); border-left: 2px solid var(--line-dark); }
.suggest-form { background: var(--surface); color: var(--ink); border-radius: var(--r3); padding: clamp(20px, 3vw, 32px); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 900px) { .suggest { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* Partners: Chamber feature */
.partner-feature { margin: var(--s8) auto 0; max-width: 820px; display: flex; gap: var(--s6); align-items: center; padding: var(--s5) var(--s6); background: var(--surface); border-radius: var(--r3); border: 1px solid var(--line); border-top: 4px solid var(--gold); box-shadow: 0 30px 50px -36px rgba(13, 43, 31, 0.55); }
.partner-feature img { width: 120px; height: 120px; object-fit: contain; flex: none; }
.partner-feature .eyebrow { margin-bottom: var(--s2); }
.partner-feature h3 { font-size: clamp(var(--t-22), 2.6vw, 2rem); margin-bottom: var(--s2); }
.partner-feature p:last-child { color: var(--muted); font-size: var(--t-16); }
@media (max-width: 600px) { .partner-feature { flex-direction: column; text-align: center; } }

/* NGY + contact + footer */
.node-root-link { margin-left: auto; }
@media (max-width: 700px) { .node-root-link { margin-left: 0; } }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); margin-top: var(--s5); }
.contact-actions .mail-link { margin: 0; }
.btn-dark { background: var(--forest); color: var(--gold); }
.btn-dark:hover { background: var(--forest-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s4); }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; font-size: var(--t-14); }
.footer-links a:hover { color: var(--gold); }
.issue-dl { white-space: nowrap; }
@media (max-width: 520px) { .issue-dl small { display: none; } }

/* Sign-up section (end of page) */
.hero-trust { margin-top: var(--s6); }
.signup-section { padding-block: clamp(72px, 11vw, 140px); background: var(--forest) url("img/guilloche-dark.svg") no-repeat 110% 50% / 760px; }
.signup-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.signup-copy > p:not(.eyebrow) { color: var(--on-dark-muted); margin-top: var(--s4); max-width: 48ch; }
.signup-points { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s3); }
.signup-points li { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-16); }
.signup-points .ic { color: var(--gold); }
.signup-points a { color: var(--gold); }
@media (max-width: 900px) { .signup-inner { grid-template-columns: minmax(0, 1fr); } }
.node-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.node-links { margin-top: auto; } .node-links .node-link { margin-top: 0; }
.hero-stats { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
.hero-stats .stat { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: end; column-gap: var(--s4); }
.hero-stats .stat b { font-size: clamp(3.4rem, 7vw, 6.4rem); }
.hero-stats .stat > span { font-size: clamp(2rem, 4vw, 3.6rem); margin-left: calc(-1 * var(--s4)); }
.hero-stats .stat p { margin: 0 0 0.6em; }
.stat-note a { color: var(--gold); font-weight: 600; }
