/* =========================================================
   M. Peckable — design tokens
   Emerald + gold from the logo; iridescent mint/lilac from
   the "creative community" lab-hub reference.
   ========================================================= */
:root {
  --emerald-950: #05211A;
  --emerald-900: #072A1F;
  --emerald-800: #0B3B2C;
  --emerald-700: #12503C;
  --emerald-600: #1C6B50;
  --emerald-100: #E3EFE8;
  --gold-300: #F3DA94;
  --gold-400: #DDBB6B;
  --gold-500: #C9A14A;
  --gold-700: #85641F;
  --cream: #F8F5EF;
  --sand: #EFE8DC;
  --paper: #FFFFFF;
  --ink: #14201B;
  --ink-soft: #47534E;
  --line: #DCD5C8;
  --mint: #C9F0E1;
  --sky: #C6E4F2;
  --lilac: #DCD0F4;
  --rose: #E59BB0;
  --error: #B42318;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(7, 42, 31, .06), 0 2px 8px rgba(7, 42, 31, .05);
  --shadow: 0 10px 30px -10px rgba(7, 42, 31, .25);
  --shadow-lg: 0 30px 60px -20px rgba(7, 42, 31, .35);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --z-header: 40;
  --z-dialog: 100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--emerald-600); }
p { margin: 0 0 1em; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--emerald-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; transition: top var(--dur); }
.skip-link:focus { top: 12px; }
kbd { font-family: ui-monospace, Menlo, monospace; font-size: .8em; padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; background: var(--paper); }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 1.1rem;
}
.eyebrow.on-dark { color: var(--gold-300); }
.eyebrow-lined { display: inline-flex; align-items: center; gap: 1.1rem; }
.eyebrow-lined::before, .eyebrow-lined::after { content: ""; width: clamp(24px, 5vw, 48px); height: 1px; background: currentColor; opacity: .6; }
.lead { font-size: 1.18rem; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--emerald-700); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap var(--dur) var(--ease-out), color var(--dur); }
.text-link:hover { gap: .8rem; color: var(--emerald-600); }
.text-link.on-dark { color: var(--gold-300); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 46px; padding: .75rem 1.5rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: 2px;
  cursor: pointer; touch-action: manipulation;
  transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur);
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: 1rem 2rem; }
.btn-block { width: 100%; }
.btn-solid { --bg: var(--emerald-800); --fg: #fff; --bd: var(--emerald-800); }
.btn-solid:hover { --bg: var(--emerald-700); --bd: var(--emerald-700); box-shadow: 0 10px 24px -12px rgba(11, 59, 44, .7); }
.btn-outline { --fg: var(--emerald-900); --bd: var(--emerald-900); }
.btn-outline:hover { --bg: var(--emerald-900); --fg: #fff; }
.btn-gold { --bg: var(--gold-500); --fg: var(--emerald-950); --bd: var(--gold-500); }
.btn-gold:hover { --bg: var(--gold-300); --bd: var(--gold-300); box-shadow: 0 10px 30px -12px rgba(201, 161, 74, .8); }
.btn-ghost { --fg: #fff; --bd: rgba(255, 255, 255, .5); }
.btn-ghost:hover { --bg: rgba(255, 255, 255, .1); --bd: #fff; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn[aria-busy="true"] .btn-label::after { content: ""; display: inline-block; width: .9em; height: .9em; margin-left: .6em; vertical-align: -.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Announcement + header ---------- */
.announce { background: var(--emerald-900); color: #fff; font-size: .82rem; letter-spacing: .04em; }
.announce a { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem .9rem; padding: .6rem var(--gutter); text-decoration: none; }
.announce .ic { color: var(--gold-400); }
.announce strong { color: var(--gold-300); font-weight: 700; }
.announce-cta { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; border-bottom: 1px solid var(--gold-400); }
.announce a:hover .announce-cta .ic { transform: translateX(3px); }
.announce-cta .ic { transition: transform var(--dur); }

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(248, 245, 239, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(7, 42, 31, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand-word { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: .02em; color: var(--emerald-900); line-height: 1; }
.brand-llc { font-size: .55em; margin-left: .35em; color: var(--gold-700); letter-spacing: .1em; }
.nav-list { display: flex; gap: clamp(1rem, 2.6vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-list a { position: relative; text-decoration: none; font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding: .6rem 0; }
.nav-list a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1.5px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active { color: var(--emerald-700); }
.nav-cta-mobile, .nav-toggle { display: none; }
.nav-toggle { width: 48px; height: 48px; border: 0; background: transparent; border-radius: 50%; }
.burger { display: grid; gap: 6px; width: 24px; margin: auto; }
.burger span { height: 1.5px; background: var(--ink); transition: transform var(--dur) var(--ease-out); }
.nav-toggle[aria-expanded="true"] .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: min(92dvh, 900px); display: grid; place-items: center; padding: clamp(80px, 12vh, 140px) 0 clamp(90px, 12vh, 140px); text-align: center; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(40% 50% at 82% 22%, rgba(201, 161, 74, .16), transparent 70%),
  radial-gradient(45% 55% at 12% 82%, rgba(28, 107, 80, .12), transparent 70%),
  radial-gradient(30% 40% at 50% 50%, rgba(220, 208, 244, .25), transparent 70%); }
.helix { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 500; line-height: 1; margin-bottom: .35em; color: var(--ink); }
.hero h1 em { color: var(--emerald-700); }
.hero-sub { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--gold-700); line-height: 1.3; max-width: 30ch; margin: 0 auto 1.4rem; }
.hero-lede { max-width: 60ch; margin: 0 auto 2.4rem; color: var(--ink-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-ctas.left { justify-content: flex-start; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 28px; height: 46px; border: 1.5px solid var(--emerald-800); border-radius: 14px; opacity: .55; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--emerald-800); animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.creds { background: var(--emerald-900); color: rgba(255, 255, 255, .82); display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 3rem; padding: 1.4rem var(--gutter); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; }
.creds span { display: inline-flex; align-items: center; gap: .8rem; }
.creds span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); margin-left: -1.9rem; margin-right: 1.1rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head h2, .split-copy h2, .academy h2, .speaking h2, .apply h2, .contact h2, .events h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.section-head p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.1rem; }
.dark { background: var(--emerald-900); color: #E9F1EC; }
.dark h2, .dark h3 { color: #fff; }
.dark h2 em, .dark h3 em { color: var(--gold-300); }
.dark .lead { color: rgba(255, 255, 255, .86); }

/* ---------- Lab hub ---------- */
.lab { background: linear-gradient(180deg, var(--cream), var(--sand)); padding-bottom: clamp(70px, 8vw, 110px); }
.lab-frame {
  position: relative;
  padding: clamp(56px, 6vw, 92px) clamp(14px, 3.2vw, 44px) clamp(14px, 3.2vw, 44px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, .55) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--mint), var(--sky) 55%, var(--lilac));
  box-shadow: var(--shadow-lg);
}
.lab-scrawl { position: absolute; top: clamp(4px, 1vw, 14px); left: 0; right: 0; margin: 0; text-align: center; font-family: var(--font-hand); font-weight: 700; font-size: clamp(2rem, 5vw, 3.6rem); color: var(--ink); line-height: 1.1; letter-spacing: .02em; transform: rotate(-1deg); }
.scene {
  position: relative; container-type: inline-size;
  aspect-ratio: 16 / 10;
  border-radius: 20px; overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px) 0 0 / 3.4cqw 3.4cqw,
    linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px) 0 0 / 3.4cqw 3.4cqw,
    radial-gradient(80% 60% at 50% 30%, #0F3B2E, var(--emerald-950));
  font-size: 1.05cqw;
}
.scene-floor { position: absolute; left: -20%; right: -20%; bottom: 0; height: 34%; pointer-events: none;
  background:
    linear-gradient(rgba(201, 240, 225, .28) 1px, transparent 1px) 0 0 / 6% 18%,
    linear-gradient(90deg, rgba(201, 240, 225, .28) 1px, transparent 1px) 0 0 / 6% 18%,
    linear-gradient(180deg, rgba(201, 240, 225, .35), rgba(5, 33, 26, 0) 40%);
  transform: perspective(500px) rotateX(48deg); transform-origin: 50% 0; }
.scene-floor::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--mint); box-shadow: 0 0 24px 6px rgba(201, 240, 225, .6); }

.obj {
  position: absolute; display: block; padding: 0; border: 0; background: none; text-align: left; text-decoration: none; color: inherit;
  cursor: pointer; transition: transform var(--dur) var(--ease-out), filter var(--dur);
  filter: drop-shadow(0 .6em .8em rgba(0, 0, 0, .35));
}
.obj svg { width: 100%; height: 100%; display: block; overflow: visible; }
.obj:hover, .obj:focus-visible { transform: translateY(-.5em) rotate(-1deg); filter: drop-shadow(0 1.2em 1.4em rgba(0, 0, 0, .45)) drop-shadow(0 0 1.4em rgba(201, 240, 225, .35)); }
.obj:focus-visible { outline-offset: .6em; }
.tag {
  position: absolute; left: 50%; bottom: -.4em; transform: translate(-50%, 100%);
  white-space: nowrap; font-family: var(--font-body); font-size: 1em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald-950); background: var(--gold-300); padding: .35em .8em; border-radius: 99px;
  opacity: .9; transition: opacity var(--dur), transform var(--dur) var(--ease-out), background var(--dur);
  pointer-events: none;
}
.obj:hover .tag, .obj:focus-visible .tag { opacity: 1; background: #fff; transform: translate(-50%, 115%); }

/* positions (percent of scene) */
.obj-board { left: 3.5%; top: 6%; width: 21%; height: 36%; z-index: 2; }
.paper { position: absolute; left: 26.5%; top: 5%; width: 13.5%; height: 31%; }
.obj-badge { left: 42%; top: 0; width: 13%; height: 52%; }
.obj-frame { left: 58%; top: 6%; width: 21%; height: 33%; }
.obj-press { left: 84.5%; top: 6%; width: 10%; height: 15%; }
.obj-key { left: 87.5%; top: 30%; width: 6%; height: 18%; }
.obj-plant { left: 5%; top: 32%; width: 12%; height: 40%; }
.obj-scope { left: 26%; top: 47%; width: 14%; height: 34%; }
.obj-petri { left: 44%; top: 79%; width: 15%; height: 12%; }
.obj-monitor { left: 63%; top: 44%; width: 22%; height: 40%; }
.obj-briefs { left: 2%; top: 77%; width: 19%; height: 15%; }
.obj-petri .tag { bottom: auto; top: -.6em; transform: translate(-50%, -100%); }
.obj-petri:hover .tag, .obj-petri:focus-visible .tag { transform: translate(-50%, -115%); }

/* corkboard */
.board { position: relative; display: block; width: 100%; height: 100%; border-radius: .6em; padding: 2.6em .9em .9em;
  background: linear-gradient(140deg, #D7F3E8, #C9E2F3 55%, #DCD0F4); border: .45em solid #C2D9E8; box-shadow: inset 0 0 0 .15em #fff, 0 0 0 .12em #0B1F18; }
.board::before { content: ""; position: absolute; left: 50%; top: -2.2em; width: 34%; height: 2.2em; transform: translateX(-50%); border: .15em solid #9DB4C3; border-bottom: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.board-title { position: absolute; top: .55em; left: 0; right: 0; text-align: center; font-weight: 800; font-size: 1.05em; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-900); }
.note { position: absolute; display: grid; place-items: center; text-align: center; width: 40%; aspect-ratio: 1.15; padding: .4em; font-family: var(--font-hand); font-size: 1.55em; line-height: 1.05; color: var(--ink); background: #FFFDF6; box-shadow: .15em .25em .5em rgba(0, 0, 0, .18); }
.note::before { content: ""; position: absolute; top: -.35em; left: 50%; width: .8em; height: .8em; margin-left: -.4em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9B7FE0 45%, #5C3FBF); }
.note b { color: var(--emerald-600); font-family: var(--font-body); }
.n1 { left: 6%; top: 24%; transform: rotate(-6deg); }
.n2 { right: 7%; top: 20%; transform: rotate(5deg); background: #FFF5D6; }
.n3 { left: 10%; bottom: 6%; transform: rotate(3deg); background: #F2ECFF; }
.n4 { right: 5%; bottom: 8%; transform: rotate(-4deg); font-size: 1.3em; }

/* paper */
.paper { display: grid; place-content: center; text-align: center; background: #F3F0EA; color: var(--ink); transform: rotate(2deg);
  clip-path: polygon(0 3%, 8% 0, 18% 3%, 30% 0, 44% 2%, 58% 0, 72% 3%, 86% 0, 100% 2%, 98% 20%, 100% 40%, 97% 60%, 100% 80%, 98% 100%, 82% 97%, 66% 100%, 50% 97%, 34% 100%, 18% 97%, 2% 100%, 0 80%, 3% 60%, 0 40%, 2% 20%);
  filter: drop-shadow(0 .5em .7em rgba(0, 0, 0, .35)); padding: .8em; }
.paper .doodle { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.paper-big { position: relative; font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 2.4em; line-height: .95;
  background: linear-gradient(120deg, var(--emerald-700), #7B5BD6 45%, var(--rose) 70%, var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paper-small { position: relative; display: block; margin-top: .6em; font-family: var(--font-hand); font-size: 1.35em; color: var(--gold-700); }

/* badge */
.obj-badge .lanyard { position: absolute; left: 50%; top: 0; width: 18%; height: 34%; transform: translateX(-50%); }
.badge { position: absolute; left: 0; right: 0; top: 33%; display: grid; gap: .25em; padding: .9em .8em; border-radius: .5em; text-align: center;
  background: linear-gradient(160deg, #6F5B1E, #3D3415); border: .15em solid #0B1F18; color: var(--ink); }
.badge::before { content: ""; position: absolute; inset: .55em; border-radius: .3em; background: #FBFAF6; z-index: 0; }
.badge > * { position: relative; z-index: 1; }
.badge-top { font-size: .62em; white-space: nowrap; color: var(--ink-soft); letter-spacing: .1em; }
.badge-top i { font-style: italic; text-transform: lowercase; }
.badge-name { font-family: var(--font-display); font-weight: 600; font-size: 1.8em; line-height: 1; }
.badge-role { font-size: .74em; font-weight: 700; letter-spacing: .04em; color: var(--emerald-700); }
.badge-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .5em; padding: 0 .4em .3em; text-align: left; }
.badge-checks { display: grid; gap: .15em; font-size: .78em; font-weight: 600; }
.badge-checks span { display: flex; justify-content: space-between; border: .1em solid #0B1F18; padding: 0 .3em; border-radius: .2em; }
.badge-checks b { color: var(--emerald-600); }
.badge-row img { width: 3.6em; height: 4.4em; object-fit: cover; border: .15em solid #0B1F18; border-radius: .2em; }

/* frame */
.frame { display: block; width: 100%; height: 100%; padding: 1.2em; border-radius: 1em;
  background: linear-gradient(135deg, #CDBEF0, #E8E2FA 30%, #B7A6E8 60%, #DDD5F7); border: .15em solid #0B1F18;
  box-shadow: inset 0 0 0 .5em rgba(255, 255, 255, .45), inset 0 0 0 .7em #0B1F18; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border: .15em solid #0B1F18; filter: saturate(1.05); }
.burst { position: absolute; right: -6%; top: -12%; display: grid; place-items: center; text-align: center; width: 5.8em; height: 5.8em;
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.1em; line-height: 1; color: var(--emerald-950);
  background: var(--gold-300); transform: rotate(12deg);
  clip-path: polygon(50% 0, 61% 14%, 79% 9%, 80% 27%, 97% 33%, 87% 50%, 97% 67%, 80% 73%, 79% 91%, 61% 86%, 50% 100%, 39% 86%, 21% 91%, 20% 73%, 3% 67%, 13% 50%, 3% 33%, 20% 27%, 21% 9%, 39% 14%); }
.obj-frame:hover .burst { animation: wiggle .6s var(--ease-out); }
@keyframes wiggle { 30% { transform: rotate(4deg) scale(1.08); } 60% { transform: rotate(18deg); } }

/* press plate */
.plate { display: grid; place-items: center; gap: .2em; width: 100%; height: 100%; padding: .7em; border-radius: .4em; text-align: center;
  background: linear-gradient(145deg, #F1F3F4, #A9B1B6 50%, #E2E6E8); border: .12em solid #0B1F18;
  font-weight: 800; font-size: .85em; letter-spacing: .14em; text-transform: uppercase; color: #2A3236; }
.knob { width: 3.4em; height: 3.4em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #B9C0C4 40%, #6E777C 75%); box-shadow: 0 .25em 0 #4C5459, inset 0 -.2em .4em rgba(0, 0, 0, .3); transition: transform var(--dur-fast), box-shadow var(--dur-fast); }
.obj-press:active .knob { transform: translateY(.2em); box-shadow: 0 .05em 0 #4C5459; }

/* plant animation */
.obj-plant .leaves { transform-origin: 60px 150px; animation: sway 5s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(3deg); } }
.bubble { animation: rise 3.2s ease-in infinite; }
.b2 { animation-delay: 1s; } .b3 { animation-delay: 2s; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: .9; } 100% { transform: translateY(-36px); opacity: 0; } }
.obj-scope .glow { animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 50% { fill: #fff; } }
.obj-monitor .cursor { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.lab-hint { text-align: center; color: var(--ink-soft); font-size: .9rem; margin-top: 1.4rem; }

/* ---------- Split layout (My Green Lab style) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); max-width: 1440px; margin: 0 auto; background: var(--paper); }
.split.reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: transparent; }
.split-copy { padding: clamp(32px, 6vw, 96px) clamp(var(--gutter), 6vw, 96px); align-self: center; }
.split-media { position: relative; min-height: 520px; }
.about { padding-top: 0; padding-bottom: 0; }
.about .split { margin-top: clamp(-40px, -4vw, 0px); }
.about-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-inset { position: absolute; left: -48px; bottom: 48px; width: clamp(150px, 16vw, 210px); margin: 0; background: var(--paper); padding: 10px 10px 8px; box-shadow: var(--shadow-lg); transform: rotate(-3deg); }
.about-inset img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-inset figcaption { font-family: var(--font-hand); font-size: 1.2rem; line-height: 1.2; text-align: center; padding-top: 6px; color: var(--ink-soft); }
.facts { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; gap: .9rem; }
.facts li { display: flex; gap: .9rem; align-items: flex-start; color: var(--ink-soft); }
.facts .ic { width: 1.4rem; height: 1.4rem; color: var(--emerald-600); margin-top: .2rem; }
.facts strong { color: var(--ink); font-weight: 700; }
.facts.compact li { align-items: center; }

.pillars-band { background: var(--sand); padding: clamp(70px, 9vw, 120px) 0; }
.pillars-title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: clamp(36px, 5vw, 60px); }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { position: relative; background: var(--cream); padding: 2.2rem 1.8rem 2rem; transition: background var(--dur); }
.pillar:hover { background: var(--paper); }
.pillar-num { position: absolute; top: 1.4rem; right: 1.6rem; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gold-700); }
.pillar-ic { width: 2.4rem; height: 2.4rem; color: var(--emerald-700); margin-bottom: 1.2rem; transition: transform var(--dur) var(--ease-out); }
.pillar:hover .pillar-ic { transform: translateY(-3px) rotate(-6deg); }
.pillar h4 { font-size: 1.8rem; margin-bottom: .4rem; }
.pillar p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---------- Academy ---------- */
.academy { background:
  radial-gradient(60% 50% at 90% 0%, rgba(201, 161, 74, .14), transparent 60%),
  radial-gradient(50% 50% at 0% 100%, rgba(28, 107, 80, .5), transparent 60%),
  var(--emerald-900); }
.academy-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-bottom: clamp(60px, 8vw, 100px); }
.academy-photos { position: relative; aspect-ratio: 1 / 1; }
.academy-photos img { position: absolute; object-fit: cover; box-shadow: var(--shadow-lg); }
.ap-1 { inset: 0 16% 22% 0; width: 84%; height: 78%; border-radius: 2px; }
.ap-2 { right: 0; bottom: 0; width: 46%; height: 52%; border: 8px solid var(--emerald-900); }
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }
.program { position: relative; display: flex; flex-direction: column; padding: 2.2rem 2rem; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); border-radius: 4px; transition: transform var(--dur) var(--ease-out), border-color var(--dur), background var(--dur); }
.program:hover { transform: translateY(-4px); border-color: rgba(243, 218, 148, .5); background: rgba(255, 255, 255, .06); }
.program.featured { background: linear-gradient(170deg, rgba(201, 161, 74, .16), rgba(255, 255, 255, .03)); border-color: rgba(243, 218, 148, .55); }
.program h3 { font-size: 2rem; }
.program p { color: rgba(255, 255, 255, .78); font-size: .98rem; }
.program-kicker { font-size: .72rem !important; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300) !important; }
.program .btn, .program .text-link { margin-top: auto; align-self: flex-start; }
.ribbon { position: absolute; top: -12px; right: 20px; background: var(--gold-500); color: var(--emerald-950); font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: .35rem .8rem; }
.ticks { list-style: none; padding: 0; margin: .4rem 0 1.8rem; display: grid; gap: .55rem; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.ticks li { display: flex; gap: .6rem; align-items: center; }
.ticks .ic { color: var(--gold-400); }

.journey { margin-top: clamp(70px, 9vw, 110px); }
.journey h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 2.2rem; }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; position: relative; }
.journey-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--gold-500), rgba(201, 161, 74, .15)); }
.journey-steps li { position: relative; padding-top: 2.2rem; }
.journey-steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--emerald-900); border: 2px solid var(--gold-400); }
.js-num { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); margin-bottom: .4rem; }
.journey-steps strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; color: #fff; line-height: 1.1; margin-bottom: .4rem; }
.journey-steps p { color: rgba(255, 255, 255, .74); font-size: .95rem; margin: 0; }

/* ---------- Pathfinder ---------- */
.pathways { background: var(--cream); }
.pf { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pf-tabs { display: flex; gap: .4rem; padding: .8rem; overflow-x: auto; scrollbar-width: thin; background: var(--emerald-100); }
.pf-tabs [role="tab"] { flex: none; min-height: 44px; padding: .6rem 1.2rem; border: 1px solid transparent; border-radius: 99px; background: transparent; font-weight: 600; font-size: .92rem; color: var(--emerald-800); transition: background var(--dur), color var(--dur), border-color var(--dur); }
.pf-tabs [role="tab"]:hover { background: rgba(255, 255, 255, .7); }
.pf-tabs [role="tab"][aria-selected="true"] { background: var(--emerald-800); color: #fff; }
.pf-panels { padding: clamp(18px, 3vw, 36px); }
.pf-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pf-panel[hidden], .empty[hidden] { display: none; }
.pf-panel:not([hidden]) .role { animation: rise-in .5s var(--ease-out) both; }
.pf-panel .role:nth-child(2) { animation-delay: 50ms; } .pf-panel .role:nth-child(3) { animation-delay: 100ms; } .pf-panel .role:nth-child(4) { animation-delay: 150ms; }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }
.role { display: flex; flex-direction: column; padding: 1.4rem 1.3rem; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); transition: border-color var(--dur), transform var(--dur) var(--ease-out); }
.role:hover { border-color: var(--gold-500); transform: translateY(-3px); }
.role h4 { font-size: 1.45rem; margin-bottom: .4rem; color: var(--emerald-900); }
.role p { font-size: .94rem; color: var(--ink-soft); }
.role span { margin-top: auto; font-size: .76rem; font-weight: 600; letter-spacing: .03em; color: var(--gold-700); }
.pf-foot { margin: 0; padding: 1.1rem clamp(18px, 3vw, 36px); border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-soft); }
.pf-foot a { color: var(--emerald-700); font-weight: 700; text-decoration: none; display: inline-flex; gap: .3rem; align-items: center; }
.pf-foot a:hover { text-decoration: underline; }

/* ---------- Forms ---------- */
.apply { background: var(--sand); }
.apply-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.apply-copy p:not(.eyebrow) { color: var(--ink-soft); }
.card-form { background: var(--paper); padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: .45rem; padding: 0; }
.field label span[aria-hidden] { color: var(--error); }
.opt { font-weight: 500; color: var(--ink-soft); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--emerald-600); background: var(--paper); box-shadow: 0 0 0 4px rgba(28, 107, 80, .14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); box-shadow: 0 0 0 4px rgba(180, 35, 24, .08); }
.err { margin: .4rem 0 0; font-size: .85rem; color: var(--error); font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.help { margin: .4rem 0 0; font-size: .84rem; color: var(--ink-soft); }
.form-status { margin: 1rem 0 0; font-weight: 600; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--emerald-700); }
.form-status.bad { color: var(--error); }
.hp { position: absolute; left: -9999px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg label, .amounts label { margin: 0; position: relative; }
.seg input, .amounts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: .4rem 1rem; border: 1.5px solid var(--line); border-radius: 99px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); transition: all var(--dur); cursor: pointer; }
.seg input:checked + span { background: var(--emerald-800); border-color: var(--emerald-800); color: #fff; }
.seg input:focus-visible + span, .amounts input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }

/* ---------- Advocacy ---------- */
.advocacy { background: var(--cream); padding-top: 0; }
.advocacy .split { padding-top: clamp(80px, 11vw, 140px); }
.skin-art { min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(16px, 4vw, 56px); }
.skin-art svg { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.skin-caption { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--emerald-700); margin-top: 1.2rem; }
.adv-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.adv { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; padding: 1.2rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; transition: border-color var(--dur), transform var(--dur) var(--ease-out); }
.adv:hover { border-color: var(--gold-500); transform: translateX(4px); }
.adv .ic { grid-row: span 2; width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 50%; background: var(--emerald-100); color: var(--emerald-700); }
.adv h3 { font-size: 1.45rem; margin: 0; }
.adv p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.give { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: center; margin-top: clamp(50px, 7vw, 90px); padding: clamp(28px, 5vw, 64px);
  background: radial-gradient(70% 90% at 100% 0%, rgba(201, 161, 74, .25), transparent 60%), var(--emerald-800); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.give h3 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: #fff; }
.give h3 em { color: var(--gold-300); }
.give-copy p:last-child { color: rgba(255, 255, 255, .8); margin: 0; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; border: 0; padding: 0; margin: 0 0 1rem; }
.amounts span { display: grid; place-items: center; min-height: 56px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 10px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; cursor: pointer; transition: all var(--dur); }
.amounts label:hover span { border-color: var(--gold-300); }
.amounts input:checked + span { background: var(--gold-500); border-color: var(--gold-500); color: var(--emerald-950); }
.impact { color: rgba(255, 255, 255, .85); min-height: 1.7em; font-size: .98rem; }
.give-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Speaking ---------- */
.speaking { background: radial-gradient(60% 60% at 0% 0%, rgba(201, 161, 74, .12), transparent 60%), var(--emerald-950); }
.speak-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.speak-media { position: relative; aspect-ratio: 4 / 5; }
.speak-media img { position: absolute; object-fit: cover; box-shadow: var(--shadow-lg); }
.sp-1 { inset: 0 0 26% 0; width: 100%; height: 74%; }
.sp-2 { left: 8%; bottom: 0; width: 58%; height: 38%; border: 8px solid var(--emerald-950); }
.topics { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.topics li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); transition: padding var(--dur) var(--ease-out); }
.topics li:hover { padding-left: .6rem; }
.topics li > span { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--gold-400); }
.topics h3 { font-size: 1.6rem; margin-bottom: .25rem; }
.topics p { margin: 0; font-size: .96rem; color: rgba(255, 255, 255, .72); }
.chips { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-size: .78rem; font-weight: 600; letter-spacing: .08em; padding: .45rem .9rem; border-radius: 99px; border: 1px solid rgba(243, 218, 148, .4); color: var(--gold-300); }

/* ---------- Events ---------- */
.events { background: var(--paper); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; max-width: none; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { min-height: 44px; padding: .5rem 1.1rem; border-radius: 99px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: .88rem; color: var(--ink-soft); transition: all var(--dur); }
.filter:hover { border-color: var(--emerald-700); color: var(--emerald-800); }
.filter[aria-pressed="true"] { background: var(--emerald-800); border-color: var(--emerald-800); color: #fff; }
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 88px 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); transition: background var(--dur); }
.event:hover { background: linear-gradient(90deg, transparent, var(--cream), transparent); }
.event[hidden] { display: none; }
.ev-date { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; border: 1.5px solid var(--gold-500); line-height: 1; }
.ev-date span { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700); margin-top: 1rem; }
.ev-date b { font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; color: var(--emerald-900); margin-top: -1rem; }
.ev-tag { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--emerald-600); margin: 0 0 .2rem; }
.ev-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 0 0 .3rem; }
.ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin: 0; font-size: .9rem; color: var(--ink-soft); }
.ev-meta .ic { color: var(--gold-700); margin-right: -.6rem; }
.empty { padding: 2rem 0; color: var(--ink-soft); }
.empty a { color: var(--emerald-700); font-weight: 700; }
.gallery-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: clamp(60px, 8vw, 100px) 0 1.6rem; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.g-item { position: relative; padding: 0; border: 0; overflow: hidden; border-radius: 6px; background: var(--sand); }
.g-item.g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out), filter var(--dur); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 42, 31, .55)); opacity: 0; transition: opacity var(--dur); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }

/* ---------- Watch / content creation ---------- */
.watch { background: linear-gradient(180deg, var(--sand), var(--cream)); }
.watch-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(44px, 6vw, 72px); }
.watch-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.channels { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.channels a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1.1rem; border-radius: 99px; border: 1.5px solid var(--emerald-900); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--emerald-900); transition: background var(--dur), color var(--dur); }
.channels a:hover { background: var(--emerald-900); color: #fff; }
.reel-hero { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--emerald-900); box-shadow: var(--shadow-lg); border: 10px solid #fff; }
.reel-hero video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 33, 26, .6)); pointer-events: none; }
.reel-hero figcaption { position: absolute; left: 18px; bottom: 14px; z-index: 1; display: flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; }
.rec { width: 10px; height: 10px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, .3); animation: blink 1.4s steps(1) infinite; }
.reel-toggle { position: absolute; right: 14px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(5, 33, 26, .45); color: #fff; backdrop-filter: blur(6px); }
.reel-toggle:hover { background: rgba(5, 33, 26, .7); }

.watch-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.video-count { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 16px; grid-auto-flow: dense; }
.video-grid > li { min-width: 0; }
.vcard { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 16px; overflow: hidden; text-align: left; color: #fff; background: linear-gradient(150deg, var(--emerald-700), var(--emerald-950)); box-shadow: var(--shadow); text-decoration: none; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.video-grid.long { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }
.wide .vcard { aspect-ratio: 16 / 9; }
.video-group + .video-group { margin-top: 2.2rem; }
.video-group[hidden] { display: none; }
.video-group-title { font-size: 1.5rem; margin-bottom: 1rem; }
button.vcard:hover, button.vcard:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vcard img, .vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur); }
.vcard video { opacity: 0; }
.vcard.previewing video { opacity: 1; }
button.vcard:hover img { transform: scale(1.04); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 33, 26, .35) 0%, transparent 28%, transparent 50%, rgba(5, 33, 26, .88) 100%); pointer-events: none; }
.vc-top { position: absolute; z-index: 1; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: .5rem; }
.vc-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 99px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(5, 33, 26, .55); backdrop-filter: blur(6px); }
.vc-chip .ic { width: 14px; height: 14px; }
.vc-chip.soon { background: var(--gold-300); color: var(--emerald-950); }
.vc-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-400); color: var(--emerald-950); box-shadow: 0 0 0 8px rgba(243, 218, 148, .25); transition: transform var(--dur) var(--ease-out), opacity var(--dur); }
.vc-play .ic { width: 26px; height: 26px; margin-left: 3px; }
button.vcard:hover .vc-play { transform: scale(1.1); }
.vcard.previewing .vc-play { opacity: 0; }
.vc-body { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; }
.vc-cat { margin: 0 0 .2rem; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.vc-title { margin: 0; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; font-weight: 500; text-wrap: balance; }
.vc-note { margin: .4rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .8); }
.video-grid > li[hidden] { display: none; }
.video-empty { padding: 2rem 0; color: var(--ink-soft); }
.video-empty[hidden] { display: none; }
.collab { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: clamp(40px, 6vw, 64px); padding: clamp(22px, 3.5vw, 36px) clamp(22px, 4vw, 44px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.collab h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 .2rem; }
.collab p { margin: 0; color: var(--ink-soft); }

.vplayer { width: min(1000px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border-radius: var(--radius-lg); background: var(--emerald-950); color: #fff; overflow: auto; box-shadow: var(--shadow-lg); }
.vplayer[open] { animation: pop var(--dur) var(--ease-out); }
.vplayer.is-vertical { width: min(440px, calc(100vw - 32px)); }
.vp-stage { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vplayer.is-vertical .vp-stage { aspect-ratio: 9 / 16; max-height: calc(100dvh - 170px); margin: 0 auto; }
.vp-stage video, .vp-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vp-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.4rem 1.3rem; }
.vp-cat { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.vp-meta h2 { margin: .2rem 0 0; font-size: 1.6rem; color: #fff; }
.vp-ext { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-300); font-weight: 600; font-size: .9rem; text-decoration: none; }
.vp-ext:hover { text-decoration: underline; }
.vp-ext[hidden] { display: none; }
.vplayer .lb-close { background: rgba(255, 255, 255, .92); color: var(--ink); }

/* ---------- Guide band ---------- */
.guide { padding: clamp(56px, 8vw, 96px) 0; background: linear-gradient(120deg, var(--gold-300), #EBCB7E 45%, var(--gold-400)); color: var(--emerald-950); }
.guide-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.guide .eyebrow { color: var(--emerald-800); }
.guide h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.guide h2 em { color: var(--emerald-800); }
.guide p { margin: 0; }
.field.inline { display: flex; gap: .6rem; margin: 0; }
.field.inline input { background: rgba(255, 255, 255, .85); border-color: rgba(7, 42, 31, .25); }
.guide .err { color: #7A1A12; }
.guide .form-status.ok { color: var(--emerald-900); }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-grid > div > p:not(.eyebrow) { color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; }
.contact-list .ic { width: 1.4rem; height: 1.4rem; color: var(--emerald-600); }
.contact-list a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color var(--dur), color var(--dur); }
.contact-list a:hover { color: var(--emerald-700); border-color: var(--gold-500); }

/* ---------- Footer ---------- */
.footer { background: var(--emerald-950); color: rgba(255, 255, 255, .72); padding: 70px 0 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; }
.footer-chip { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; }
.footer-chip img { width: 54px; height: auto; }
.footer-word { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: #fff; }
.footer .brand-llc { color: var(--gold-400); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; }
.footer-nav a { text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: .5rem 0; transition: color var(--dur); }
.footer-nav a:hover { color: var(--gold-300); }
.footer-tag { text-align: center; margin: 2.2rem 0; font-size: .82rem; letter-spacing: .32em; text-transform: uppercase; color: #fff; }
.footer-tag i { font-style: normal; color: var(--gold-500); margin: 0 .8rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(5, 33, 26, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.panel { width: min(880px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-lg); overflow: auto; }
.panel[open] { animation: pop var(--dur) var(--ease-out); }
.panel[open]::backdrop { animation: fade var(--dur); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.panel-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); position: relative; }
.panel-media { min-height: 380px; background: linear-gradient(140deg, var(--mint), var(--sky), var(--lilac)); }
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
.panel-media.art { display: grid; place-items: center; padding: 2rem; }
.panel-media.art img { width: 70%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.panel-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.panel-body h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.panel-text { color: var(--ink-soft); margin-bottom: 1.6rem; }
.panel-text ul { padding-left: 1.1rem; margin: .4rem 0 1rem; }
.panel-text li { margin-bottom: .3rem; }
.panel-cta { align-self: flex-start; }
.panel-close, .lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out); }
.panel-close:hover, .lb-close:hover { transform: rotate(90deg); }
.panel-close .ic, .lb-close .ic { width: 20px; height: 20px; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; display: none; place-items: center; }
.lightbox[open] { display: grid; animation: fade var(--dur); }
.lightbox::backdrop { background: rgba(5, 20, 16, .9); }
.lightbox figure { margin: 0; max-width: min(1100px, 88vw); }
.lightbox img { max-height: 80dvh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 1rem; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); color: #fff; transition: background var(--dur); }
.lb-nav:hover { background: rgba(255, 255, 255, .2); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-nav .ic { width: 24px; height: 24px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .programs { grid-template-columns: 1fr; max-width: 640px; }
  .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.6rem; }
  .journey-steps::before { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-list {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0;
    flex-direction: column; gap: 0; padding: 1rem var(--gutter) 2rem;
    background: var(--cream); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav-list.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a:not(.btn) { display: block; padding: 1.1rem 0; font-size: .9rem; }
  .nav-list a::after { display: none; }
  .nav-cta-mobile { display: block; border: 0 !important; padding-top: 1.5rem; }
  .nav-cta-mobile .btn { width: 100%; }

  .split, .split.reverse { grid-template-columns: 1fr; }
  .split-media { min-height: 0; aspect-ratio: 4 / 3.4; order: -1; }
  .about-main { position: absolute; }
  .about-inset { left: auto; right: 16px; bottom: -36px; width: 140px; }
  .about .split-copy { padding-top: 64px; }
  .skin-art { aspect-ratio: auto; order: 0; padding-top: 0; }
  .advocacy .split-copy { order: -1; }
  .academy-hero, .speak-grid, .apply-grid, .contact-grid, .guide-inner, .give, .watch-head { grid-template-columns: 1fr; }
  .academy-photos { max-width: 560px; }
  .speak-media { max-width: 520px; aspect-ratio: 1 / 1; }
  .panel-inner { grid-template-columns: 1fr; }
  .panel-media { min-height: 220px; max-height: 260px; }
}

/* Lab scene → tile grid on small screens */
@media (max-width: 760px) {
  .lab-frame { padding: 64px 12px 12px; }
  .scene { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 12px 16px; font-size: 2.2vw; background-size: 22px 22px, 22px 22px, auto; }
  .scene-floor, .paper { display: none; }
  .obj { position: relative; inset: auto; width: auto; height: auto; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); filter: none; overflow: hidden; }
  .obj > svg, .obj > .board, .obj > .frame, .obj > .plate { height: 24vw; max-height: 160px; width: 100%; }
  .obj:hover, .obj:focus-visible { transform: translateY(-3px); filter: none; }
  .tag, .obj-petri .tag { position: static; transform: none !important; white-space: normal; text-align: center; font-size: 11px; letter-spacing: .08em; opacity: 1; }
  .obj-badge { justify-content: space-between; }
  .obj-badge .lanyard { display: none; }
  .badge { position: relative; top: auto; width: 100%; font-size: 1.9vw; }
  .badge-row img { display: none; }
  .badge-row { grid-template-columns: 1fr; }
  .burst { right: 0; top: 0; font-size: 2vw; }
  .board { padding-top: 2.4em; }
  .note { font-size: 2.2vw; }
  .n3, .n4 { display: none; }
  .n1, .n2 { top: 30%; }
  .obj-press .plate { width: 70%; }
  .obj-key svg, .obj-petri svg, .obj-briefs svg { height: 18vw; }
  .lab-hint { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vc-title { font-size: 1.1rem; }
  .vc-play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .video-grid.long { grid-template-columns: 1fr; }
  .event { grid-template-columns: 64px 1fr; }
  .event .btn { grid-column: 2; justify-self: start; }
  .ev-date { width: 64px; height: 64px; }
  .ev-date b { font-size: 1.7rem; }
  .ev-date span { font-size: .62rem; }
  .creds { gap: .5rem 1.6rem; font-size: .66rem; letter-spacing: .18em; }
  .creds { flex-direction: column; align-items: center; }
  .creds span + span::before { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .pillars, .pf-panel, .journey-steps { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .field.inline { flex-direction: column; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { width: 100%; }
  .brand-word { font-size: 1.3rem; }
  .lb-nav { top: auto; bottom: 20px; transform: none; }
  .announce a { font-size: .76rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .helix { display: none; }
}
