/* ==========================================================================
   Youth Builder Society — core stylesheet
   Black canvas, white type, Geist.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:        #000000;
  --bg-raise:  #0a0a0a;
  --ink:       #ffffff;
  --ink-2:     rgba(255,255,255,.62);
  --ink-3:     rgba(255,255,255,.40);
  --line:      rgba(255,255,255,.12);
  --line-2:    rgba(255,255,255,.22);

  --blue:      #1f5aff;
  --blue-deep: #1330a8;
  --pink:      #f2569c;
  --pink-hot:  #ff4d9d;
  --amber:     #f5b01c;

  --font: "Geist", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1400px;
  --nav-h: 74px;

  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-synthesis-weight: none;
}

::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: #fff; color: #000; padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: clamp(72px, 11vw, 160px); }
.section--tight { padding-block: clamp(52px, 7vw, 100px); }
.section + .section { border-top: 1px solid var(--line); }
.rule { height: 1px; background: var(--line); border: 0; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0,1fr); } }

/* Split: sticky left column, content right */
.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 90px); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0,1fr); } }
.split__aside { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; }
@media (max-width: 900px) { .split__aside { position: static; } }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); display: flex; align-items: center; gap: 12px;
  margin-bottom: clamp(18px, 2.5vw, 30px);
}
.eyebrow::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.eyebrow span { color: var(--ink); }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.display  { font-size: min(7.4vw, 6.8rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; white-space: nowrap; }
.h1       { font-size: clamp(2.3rem, 5.6vw, 4.8rem); }
.h2       { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.05; }
.h3       { font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.12; letter-spacing: -.025em; }
.h4       { font-size: clamp(1.05rem, 1.4vw, 1.25rem); letter-spacing: -.015em; }

.lede { font-size: clamp(1.05rem, 1.55vw, 1.4rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -.012em; max-width: 62ch; }
.body { color: var(--ink-2); max-width: 66ch; }
.body + .body { margin-top: 1em; }
.small { font-size: .875rem; color: var(--ink-3); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.dim { color: var(--ink-3); }
.stack > * + * { margin-top: clamp(16px, 2vw, 26px); }

.grad-blue { background: linear-gradient(96deg,#ffffff 6%, #6f9bff 52%, #1f5aff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-pink { background: linear-gradient(96deg,#ffffff 6%, #ff8dc0 52%, #f2569c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 100px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-size: .95rem; font-weight: 500; letter-spacing: -.01em;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: #fff; }
.btn:active { transform: translateY(0); }
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translate(3px,-3px); }
.btn--solid { --btn-bg: #fff; --btn-fg: #000; --btn-bd: #fff; }
.btn--solid:hover { --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue); }
.btn--blue { --btn-bg: var(--blue); --btn-fg:#fff; --btn-bd: var(--blue); }
.btn--blue:hover { --btn-bg: #3d73ff; --btn-bd: #3d73ff; }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-u {
  display: inline-flex; align-items: center; gap: 8px; position: relative;
  padding-bottom: 3px; font-weight: 500;
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transform: scaleX(1);
  transition: transform .4s var(--ease);
}
.link-u:hover::after { transform-origin: left; animation: sweep .5s var(--ease); }
@keyframes sweep { 0% { transform: scaleX(1); transform-origin: right; } 49% { transform: scaleX(0); transform-origin: right; } 50% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(0,0,0,.72); backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-90deg); }
.brand__txt { font-size: .82rem; font-weight: 500; letter-spacing: .01em; line-height: 1.15; }
.brand__txt b { display: block; font-weight: 600; letter-spacing: -.01em; font-size: .95rem; }
.brand__txt span { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 420px) { .brand__txt b { font-size: .86rem; } }

.nav__links { display: flex; align-items: center; gap: clamp(6px, 1.6vw, 22px); }
.nav__links a {
  font-size: .9rem; color: var(--ink-2); padding: 8px 4px; position: relative;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content:""; position:absolute; left:4px; right:4px; bottom:2px; height:1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); background: var(--blue); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 1080px) { .nav__links, .nav__cta .btn--ghost-nav { display: none; } }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent;
  border-radius: 100px; cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { bottom: 18px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1080px) { .burger { display: block; } }

.drawer {
  position: fixed; inset: 0; z-index: 99; background: #000;
  padding: calc(var(--nav-h) + 24px) var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s;
  overflow-y: auto;
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer a.drawer__link {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 500; letter-spacing: -.04em;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(18px);
}
body.menu-open .drawer a.drawer__link { animation: drawerIn .6s var(--ease) forwards; }
.drawer a.drawer__link i { font-family: var(--mono); font-style: normal; font-size: .62rem; letter-spacing: .18em; color: var(--ink-3); }
@keyframes drawerIn { to { opacity: 1; transform: none; } }
.drawer__foot { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 28px; }

.page { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h); overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; }
.hero__inner { position: relative; z-index: 2; pointer-events: none; text-align: center;
  padding-block: clamp(40px, 8vh, 90px); }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px;
  background: rgba(0,0,0,.35); backdrop-filter: blur(8px); margin-bottom: clamp(20px,3vw,32px); }
.hero__kicker .dotp { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform: scale(1);} 50% { opacity:.35; transform: scale(.75);} }
.hero__title { text-shadow: 0 6px 60px rgba(0,0,0,.7); }
.hero__title em { font-style: normal; display: block; }
.hero__sub { margin: clamp(20px,3vw,30px) auto 0; max-width: 56ch; }
.hero__actions { margin-top: clamp(26px,3.5vw,40px); justify-content: center; }
.hero__scroll { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
  display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.hero__scroll .bar { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: drop 2s var(--ease) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 22px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero .marquee { position: relative; z-index: 2; background: rgba(0,0,0,.4); backdrop-filter: blur(6px); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14vw; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #000, transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, #000, transparent); }
.marquee__track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__group { display: flex; align-items: center; gap: clamp(30px, 5vw, 70px); padding-right: clamp(30px,5vw,70px); }
.marquee__item {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 42px; min-width: 148px; padding: 0 20px;
  border: 1px dashed rgba(255,255,255,.16); border-radius: 8px; background: rgba(255,255,255,.015);
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
  white-space: nowrap; transition: border-color .3s var(--ease), color .3s var(--ease);
}
.marquee__item:hover { border-color: var(--line-2); color: var(--ink-2); }
.marquee__label { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Floating scroll-scrubbed shapes ---------- */
.shape { position: absolute; z-index: 0; pointer-events: none; will-change: transform; opacity: .62; user-select: none; }
.shape img { width: 100%; height: auto; }
.shape--soft { opacity: .34; }
@media (max-width: 700px) { .shape { opacity: .3; } .shape--hide-sm { display: none; } }

/* ---------- Cards ---------- */
.card {
  position: relative; padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  overflow: hidden; isolation: isolate;
  transition: border-color .4s var(--ease), transform .5s var(--ease), background .4s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; opacity: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(31,90,255,.20), transparent 60%);
  transition: opacity .5s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card:hover::after { opacity: 1; }
.card__idx { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; color: var(--ink-3); }
.card h3 { margin-top: 14px; }
.card p { margin-top: 12px; color: var(--ink-2); font-size: .96rem; }
.card__icon { width: 38px; height: 38px; margin-bottom: 20px; opacity: .85; object-fit: contain; }
.card--link:hover { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); }
.card__go { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink); }
.card__go svg { width: 13px; height: 13px; transition: transform .35s var(--ease); }
.card:hover .card__go svg { transform: translate(3px,-3px); }

/* Stat */
.stat { border-top: 1px solid var(--line); padding-top: 20px; }
.stat b { display: block; font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Events ---------- */
.event {
  display: grid; grid-template-columns: 150px minmax(0,1fr) auto; gap: clamp(18px,3vw,44px); align-items: start;
  padding-block: clamp(26px, 3.2vw, 42px); border-top: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.event:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 820px) { .event { grid-template-columns: minmax(0,1fr); } }
.event__date { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.event__date span { display: block; color: var(--ink-3); margin-top: 6px; }
.event__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px; color: var(--ink-2);
}
.tag--live { border-color: rgba(242,86,156,.5); color: var(--pink); }
.tag--soon { border-style: dashed; color: var(--ink-3); }

.feature {
  position: relative; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  padding: clamp(28px, 4.5vw, 64px);
  background:
    radial-gradient(900px circle at 85% 0%, rgba(31,90,255,.20), transparent 55%),
    radial-gradient(700px circle at 10% 100%, rgba(242,86,156,.16), transparent 55%),
    #050505;
}
.feature__shape { position: absolute; right: -6%; bottom: -22%; width: min(42%, 430px); opacity: .55; pointer-events: none; }
@media (max-width: 820px) { .feature__shape { width: 62%; right: -14%; bottom: -12%; opacity: .3; } }
.feature__body { position: relative; z-index: 1; max-width: 62ch; }

/* ---------- Team ---------- */
.person { }
.person__ph {
  aspect-ratio: 4/5; border-radius: 14px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, #111, #050505); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.person__ph img { width: 100%; height: 100%; object-fit: cover; }
.person__ph i {
  font-style: normal; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3);
}
.person__ph::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(31,90,255,.16), transparent 55%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.person:hover .person__ph::after { opacity: 1; }
.person h3 { margin-top: 18px; }
.person .role { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
.person p { margin-top: 12px; color: var(--ink-2); font-size: .93rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: flex-start; gap: 20px; padding: clamp(20px,2.4vw,28px) 0;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25;
  transition: color .3s var(--ease);
}
.faq__q:hover { color: var(--ink); }
.faq__q i { font-family: var(--mono); font-style: normal; font-size: .66rem; letter-spacing: .14em; color: var(--ink-3); padding-top: .55em; flex-shrink: 0; }
.faq__q .sign { margin-left: auto; flex-shrink: 0; width: 18px; height: 18px; position: relative; margin-top: .4em; }
.faq__q .sign::before, .faq__q .sign::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: #fff;
  transition: transform .45s var(--ease);
}
.faq__q .sign::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q .sign::after { transform: rotate(0deg); }
.faq__a { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.faq__a > div { padding: 0 0 clamp(22px,2.4vw,30px) clamp(0px, 3vw, 46px); color: var(--ink-2); max-width: 70ch; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; }
.step { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: clamp(16px,2vw,28px);
  padding-block: clamp(22px,2.6vw,34px); border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; color: var(--ink-3); padding-top: .35em; }
.step p { color: var(--ink-2); margin-top: 10px; max-width: 58ch; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea {
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; color: #fff; font-size: .95rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--line-2); background: rgba(255,255,255,.05); }
.field textarea { min-height: 150px; resize: vertical; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta__inner { position: relative; z-index: 2; }
.cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(48px,6vw,80px) 32px; position: relative; z-index: 1; background: #000; }
.footer__top { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: clamp(28px,4vw,56px); }
.footer__top > * { min-width: 0; }
@media (max-width: 900px) { .footer__top { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .footer__top { grid-template-columns: minmax(0,1fr); } }
.footer h4 { font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; margin-bottom: 18px; }
.footer li + li { margin-top: 11px; }
.footer li a { font-size: .93rem; color: var(--ink-2); transition: color .25s var(--ease); }
.footer li a:hover { color: var(--ink); }
.footer__mail {
  display: inline-block; max-width: 100%;
  font-size: clamp(.95rem, 1.5vw, 1.3rem); letter-spacing: -.02em;
  overflow-wrap: anywhere; line-height: 1.3;
}
.footer__bottom { margin-top: clamp(40px,6vw,72px); padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.footer__word { width: 100%; margin-top: clamp(34px,5vw,64px); opacity: .085; line-height: 1.08;
  font-size: clamp(1.4rem, 5.8vw, 5.2rem); font-weight: 600; letter-spacing: -.045em; padding-bottom: .08em;
  text-align: center; user-select: none; white-space: nowrap; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }

/* ---------- Page head ---------- */
.pagehead { position: relative; padding-top: calc(var(--nav-h) + clamp(60px, 10vw, 130px)); padding-bottom: clamp(46px, 7vw, 96px); overflow: hidden; }
.pagehead__title { max-width: 20ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Hero stacking fixes ---------- */
.hero > .marquee { margin-top: auto; }
.hero__inner { margin-top: auto; margin-bottom: 0; padding-bottom: clamp(52px, 10vh, 120px); }
.hero__actions { display: flex; }

/* ---------- Hero refinements ---------- */
.hero__title em { display: inline; }
.hero__inner .hero__title { max-width: 15ch; margin-inline: auto; }

.hero__sub { max-width: 52ch; }

/* keep the physics field clear of the fixed nav */
.hero__canvas { top: 0; }


/* tight bounding boxes so the physics field knows exactly where the copy is */
.hero__actions { width: fit-content; margin-inline: auto; }
.hero__inner > p.small { width: fit-content; margin-inline: auto; }

/* ---------- Hero field: composed, scroll-scrubbed ---------- */
.hero__field { position: absolute; inset: var(--nav-h) 0 88px; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-el {
  position: absolute;
  left: var(--x); top: var(--y); width: var(--w);
  height: auto;
  margin: 0;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: elIn 1.1s var(--ease) forwards;
}
.hero-el:nth-child(1) { animation-delay: .05s } .hero-el:nth-child(2) { animation-delay: .12s }
.hero-el:nth-child(3) { animation-delay: .19s } .hero-el:nth-child(4) { animation-delay: .26s }
.hero-el:nth-child(5) { animation-delay: .33s } .hero-el:nth-child(6) { animation-delay: .40s }
.hero-el:nth-child(7) { animation-delay: .47s }
@keyframes elIn { from { opacity: 0; transform: translate(-50%,-50%) translate3d(0,28px,0) scale(.88); } to { opacity: 1; transform: translate(-50%,-50%); } }
.hero-el.is-scrubbing { animation: none; opacity: 1; }
/* phones: no hero elements at all — the type carries it, so let it run wider */
@media (max-width: 760px) {
  .hero__field { display: none; }
  .display { font-size: min(11vw, 6.8rem); }
}
@media (min-width: 761px) and (max-width: 860px) {
  .hero__field { inset: var(--nav-h) 0 84px; }
  .hero-el, .hero-el.is-scrubbing { opacity: 1; }
  .hero-el:nth-child(2), .hero-el:nth-child(5) { display: none; }
  .hero-el:nth-child(1) { --x: 12%; --y: 6%;  --w: 30vw; }
  .hero-el:nth-child(3) { --x: 13%; --y: 94%; --w: 40vw; }
  .hero-el:nth-child(4) { --x: 86%; --y: 9%;  --w: 36vw; }
  .hero-el:nth-child(6) { --x: 88%; --y: 91%; --w: 36vw; }
}
@media (prefers-reduced-motion: reduce) { .hero-el { opacity: 1; animation: none; } }

/* headline keeps side room for the field */
.hero__inner .hero__title { max-width: none; }
.hero__sub { max-width: min(52ch, 78vw); }



/* ---------- Team photos & links ---------- */
.person__ph { position: relative; }
.person__ph img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.35) contrast(1.04);
  transition: filter .6s var(--ease), transform .8s var(--ease);
}
.person:hover .person__ph img { filter: none; transform: scale(1.03); }
.person__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px !important; }
.person__links a { font-size: .82rem; color: var(--ink-2); }
.person__links a:hover { color: var(--ink); }

.person--slot { display: flex; align-items: flex-start; }

/* ---------- Real partner logos in the slot rails ---------- */
.marquee__item--logo {
  border-style: solid; border-color: var(--line);
  padding-inline: clamp(18px, 2vw, 28px);
}
.marquee__item--logo img {
  height: 20px; width: auto; opacity: .8;
  transition: opacity .35s var(--ease);
}
.marquee__item--logo:hover img { opacity: 1; }
.marquee__item--logo[style*="96px"] img { height: 30px; }
