/* ============================================================
   RUN CLUB ACADEMY — theme
   Six tokens. Black and green, from the client's logo and the brief
   ("green and black, Nasdaq, sporty, aggressive, New York").
   Reference lock in ../BRAND.md: .SWOOSH dark mode as the foundation, the
   Vevo homepage for structure, Freshman for the condensed italic display
   type, Sandclock for the one-green-accent discipline.
   Spacing ladder: 4 8 12 16 24 32 48 64 96 128 160 192 — nothing off it.
   ============================================================ */

:root{
  /* the six tokens */
  --surface:#0A0D0B;                 /* near-black ground, faint green cast  */
  --ink:#F3F6F2;                     /* off-white type on the dark ground    */
  --card:#131816;                    /* panels                               */
  --raised:#1A211D;                  /* raised panels                        */
  --accent:#4FF31F;                  /* THE green — CTA, active, tiles       */
  --muted:#9EA89F;                   /* secondary type — 7.3:1 on surface    */
  --line:rgba(243,246,242,.12);      /* hairlines, always alpha              */
  /* derived, never used as a second accent */
  --accent-deep:#22B516;             /* button bottom edge, pressed          */
  --accent-lit:#7CFF57;              /* top of the button gradient           */
  --line-strong:rgba(243,246,242,.26);
  --tile-1:#4FF31F;--tile-2:#35C71A;--tile-3:#23A016;

  /* type — five sizes, no sixth */
  --disp:'Barlow Condensed',Impact,'Arial Narrow',sans-serif;
  --body:'Barlow',system-ui,sans-serif;
  --t-display:clamp(48px,7.5vw,96px);
  --t-h2:clamp(34px,4.6vw,64px);
  --t-lead:clamp(18px,1.5vw,21px);
  --t-body:17px;
  --t-micro:12px;

  /* depth — layered, max 8% alpha, vertical offset only */
  --sh-1:0 1px 2px rgba(0,0,0,.05),0 4px 10px -4px rgba(0,0,0,.06);
  --sh-2:0 1px 2px rgba(0,0,0,.06),0 6px 14px -6px rgba(0,0,0,.07),
         0 18px 40px -20px rgba(0,0,0,.08);
  --sh-btn:0 1px 2px rgba(0,0,0,.07),0 4px 8px -2px rgba(0,0,0,.07),
           0 14px 28px -12px rgba(0,0,0,.08);

  --r-s:6px; --r-m:12px; --r-p:999px;
  --pad:128px;               /* desktop section padding */
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;background:var(--surface)}
body{
  margin:0;background:var(--surface);color:var(--ink);
  font-family:var(--body);font-size:var(--t-body);line-height:1.6;
  font-weight:400;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img,video{max-width:100%;display:block}
a{color:inherit}
::selection{background:var(--accent);color:var(--surface)}

.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
.narrow{max-width:760px;margin:0 auto}
section{padding:var(--pad) 0}
.on-card{background:var(--card)}

/* ---------- type ---------- */
h1,h2,h3,.disp{
  font-family:var(--disp);font-style:italic;font-weight:900;
  text-transform:uppercase;margin:0;text-wrap:balance;letter-spacing:-.01em;
}
h1{font-size:var(--t-display);line-height:.9}
h2{font-size:var(--t-h2);line-height:.95;font-weight:800}
h3{font-size:clamp(25px,2vw,28px);line-height:1.05;font-weight:800}
p{margin:0 0 16px}
p:last-child{margin-bottom:0}
.lead{font-size:var(--t-lead);line-height:1.5;color:var(--muted);max-width:62ch;text-wrap:pretty}
.eyebrow{
  font-family:var(--body);font-size:var(--t-micro);font-weight:700;
  text-transform:uppercase;letter-spacing:.18em;color:var(--accent);
  margin:0 0 24px;display:block;
}
.micro{font-size:var(--t-micro);letter-spacing:.02em;color:var(--muted);line-height:1.5}
.rule{height:1px;background:var(--line);border:0;margin:0}
.tbd{border-bottom:2px dotted currentColor;opacity:.8;font-style:italic}

/* ---------- header ---------- */
header{
  position:sticky;top:0;z-index:60;background:rgba(10,13,11,.84);
  backdrop-filter:saturate(140%) blur(10px);border-bottom:1px solid var(--line);
}
header .wrap{display:flex;align-items:center;justify-content:space-between;gap:32px;height:96px}
.brand{display:flex;align-items:center;text-decoration:none;flex:0 0 auto}
.brand img{height:64px;width:auto;display:block}
@media(max-width:1080px){ header .brand img{height:52px} }
header nav{display:flex;align-items:center}
header nav a{
  font-family:var(--body);font-size:12px;font-weight:700;text-transform:uppercase;
  letter-spacing:.14em;color:var(--muted);padding:10px 2px;margin:0 12px;
  text-decoration:none;position:relative;transition:color .13s ease-out;
}
header nav a::after{
  content:"";position:absolute;left:0;right:0;bottom:2px;height:2px;
  background:var(--accent);transform:scaleX(0);transform-origin:left;
  transition:transform .16s ease-out;
}
header nav a:hover,header nav a:focus-visible{color:var(--ink)}
header nav a:hover::after,header nav a:focus-visible::after{transform:scaleX(1)}
header nav a.navlogin{margin-left:24px;color:var(--ink)}
header nav a.navcta{
  color:var(--surface);background:linear-gradient(180deg,var(--accent-lit) 0%,var(--accent) 60%);
  padding:14px 22px;margin-left:16px;border-radius:var(--r-p);letter-spacing:.12em;
  border-bottom:3px solid var(--accent-deep);
  box-shadow:var(--sh-btn),inset 0 1px 0 rgba(255,255,255,.30);
  transition:transform .13s ease-out,filter .13s ease-out;
}
header nav a.navcta::after{display:none}
header nav a.navcta:hover{color:var(--surface);filter:brightness(1.06);transform:translateY(-1px)}
.bar-login{display:none}

/* ---------- buttons — lifted, shined, reactive (catch-page spec) ---------- */
.btn-wrap{position:relative;display:inline-block;max-width:100%}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  font-family:var(--body);font-size:17px;font-weight:700;line-height:1.15;
  text-decoration:none;text-align:left;color:var(--surface);
  background:linear-gradient(180deg,var(--accent-lit) 0%,var(--accent) 58%);
  border:0;border-bottom:3px solid var(--accent-deep);border-radius:var(--r-p);
  padding:19px 32px;min-height:56px;cursor:pointer;
  box-shadow:var(--sh-btn),inset 0 1px 0 rgba(255,255,255,.30);
  transition:transform .13s ease-out,box-shadow .13s ease-out,filter .13s ease-out;
}
.btn .lab{display:flex;flex-direction:column;gap:2px}
.btn .lab strong{letter-spacing:.03em;line-height:1.2}
.btn .lab small{font-size:12.5px;font-weight:600;opacity:.86;letter-spacing:.02em}
.btn svg{flex:0 0 auto;transition:transform .13s ease-out}
.btn:hover{transform:translateY(-2px);filter:brightness(1.06);
  box-shadow:var(--sh-2),inset 0 1px 0 rgba(255,255,255,.34)}
.btn:hover svg{transform:translateX(4px)}
.btn:active{transform:translateY(1px);border-bottom-width:2px;filter:brightness(.96);
  box-shadow:0 1px 2px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.16)}
.btn:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.btn.ghost{
  background:transparent;color:var(--ink);border:1.5px solid var(--line-strong);
  border-bottom-width:1.5px;box-shadow:none;
}
.btn.ghost:hover{border-color:var(--ink);background:rgba(243,246,242,.06);filter:none;
  box-shadow:none}
.btn.ghost .dur{font-family:var(--body);font-weight:700;
  letter-spacing:.1em;color:var(--accent);font-size:14px;margin-left:4px}
.btn.wide{width:100%}
/* the pointer — exact house spec, 40px, hanging off the corner */
.tap-finger{position:absolute;bottom:-14px;right:-24px;font-size:40px;
  animation:tapMe 1.3s ease-in-out infinite;pointer-events:none;z-index:2}
@keyframes tapMe{
  0%,100%{transform:translateY(8px) rotate(-12deg)}
  50%    {transform:translateY(-14px) rotate(-12deg)}
}
/* the drawn circle — stroked once on entry, never looped */
.btn-ring{position:absolute;inset:-16px -22px;pointer-events:none;overflow:visible}
.btn-ring ellipse{fill:none;stroke:var(--accent);stroke-width:2.2;stroke-linecap:round;opacity:.6}
.risk{font-size:13.5px;color:var(--muted);margin:16px 0 0}

/* ---------- hero (Vevo: full-bleed photo, huge left headline, caption) ---------- */
.hero{position:relative;display:grid;isolation:isolate;padding:0;
  background:var(--surface);min-height:min(84svh,860px)}
.hero-bg{grid-area:1/1;position:relative;overflow:hidden}
.hero-bg::before{content:"";display:block;width:100%;height:min(84svh,860px)}
.hero-bg picture,.hero-bg img{position:absolute;inset:0;width:100%;height:100%!important;
  object-fit:cover;object-position:64% 45%}
.kb{animation:kenburns 42s ease-in-out infinite alternate;will-change:transform}
@keyframes kenburns{
  from{transform:scale(1.04) translate3d(0,0,0)}
  to  {transform:scale(1.14) translate3d(-2%,-1.2%,0)}
}
/* two scrims — vertical carries the header and the dissolve into the ticker,
   horizontal puts ground under the copy and clears off the subjects */
.scrim-v,.scrim-h{position:absolute;inset:0;pointer-events:none}
.scrim-v{background:linear-gradient(180deg,
  rgba(10,13,11,.62) 0%,rgba(10,13,11,.10) 28%,rgba(10,13,11,.12) 58%,rgba(10,13,11,.94) 100%)}
.scrim-h{background:linear-gradient(90deg,
  rgba(10,13,11,.95) 0%,rgba(10,13,11,.92) 34%,rgba(10,13,11,.82) 50%,
  rgba(10,13,11,.36) 64%,rgba(10,13,11,0) 78%)}
.hero-copy{grid-area:1/1;position:relative;z-index:2;align-self:center;padding:128px 0 160px}
/* copy over a photograph gets the small black drop shadow (house rule) */
.hero-copy .eyebrow,.hero-copy h1,.hero-copy .lead,.hero-cap b,.hero-cap span{
  text-shadow:0 0 1px rgba(0,0,0,.70),0 1px 2px rgba(0,0,0,.66),0 2px 12px rgba(0,0,0,.45)}
.hero-copy h1{max-width:min(660px,100%)}
.hero-copy .eyebrow{max-width:min(640px,100%)}
.hero-copy .lead{margin-top:24px;max-width:min(560px,100%);color:var(--ink);opacity:.86}
.hero-cta{margin-top:48px;display:flex;flex-wrap:wrap;gap:24px;align-items:center}
.hero-cap{position:absolute;left:0;right:0;bottom:32px;z-index:3;pointer-events:none}
.hero-cap .wrap{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
.hero-cap b{display:block;font-family:var(--body);font-weight:700;
  font-size:15px;letter-spacing:.1em;text-transform:uppercase}
.hero-cap span{display:block;font-size:12px;color:var(--muted);letter-spacing:.08em;
  text-transform:uppercase;margin-top:4px}
.hero-cap .mark{width:56px;height:auto;opacity:.9}

/* ---------- the ticker (Nasdaq tape) — a background band, slow, pausable ---------- */
.ticker{overflow:hidden;background:var(--ink);color:var(--surface);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;
  white-space:nowrap;position:relative;z-index:2}
.ticker-track{display:inline-flex;animation:tick 80s linear infinite;will-change:transform}
.ticker:hover .ticker-track{animation-play-state:paused}
/* the tape reads left to right at speed, which is the least forgiving thing
   you can ask of a condensed italic. A real ticker is upright anyway. */
.tk{display:inline-flex;align-items:center;gap:16px;padding:0 24px;
  font-family:var(--body);font-weight:700;font-size:14.5px;
  letter-spacing:.16em;text-transform:uppercase;line-height:1}
.tk::before{content:"";width:9px;height:9px;flex:0 0 auto;background:var(--accent-deep);
  clip-path:polygon(50% 0,100% 100%,0 100%)}
@keyframes tick{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

/* ---------- the method band — three tiles in three tints (Vevo "by the numbers") ---------- */
.band{padding:var(--pad) 0;background:var(--surface)}
.band-head{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-bottom:48px}
.band-head .lead{max-width:40ch;margin:0}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-radius:var(--r-s);overflow:hidden}
.tile{padding:48px 40px;min-height:360px;display:flex;flex-direction:column;color:var(--surface)}
.tile:nth-child(1){background:var(--tile-1)}
.tile:nth-child(2){background:var(--tile-2)}
.tile:nth-child(3){background:var(--tile-3)}
.tile .k{font-family:var(--disp);font-style:italic;font-weight:900;
  font-size:clamp(56px,6.4vw,96px);line-height:.85;letter-spacing:-.02em;margin-bottom:auto}
.tile h3{font-size:clamp(28px,2.7vw,38px);line-height:.95;margin:48px 0 12px;color:var(--surface)}
.tile p{font-size:16px;line-height:1.5;color:rgba(10,13,11,.80);margin:0;max-width:34ch}

/* ---------- the featured video (Vevo "Watch") ---------- */
.watch{background:var(--card);padding:var(--pad) 0;border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)}
.vsl{position:relative;aspect-ratio:16/9;background:#000;border-radius:var(--r-s);
  overflow:hidden;isolation:isolate}
.vsl img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vsl iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:3}
.vsl .scrim-v{background:linear-gradient(180deg,rgba(10,13,11,0) 40%,rgba(10,13,11,.72) 100%)}
.vsl-play{position:absolute;inset:0;z-index:2;display:grid;place-items:center;border:0;
  background:transparent;cursor:pointer;color:var(--surface);font-family:var(--body);padding:0}
.vsl-play span{display:inline-flex;align-items:center;gap:14px;
  background:linear-gradient(180deg,var(--accent-lit) 0%,var(--accent) 58%);
  border-bottom:3px solid var(--accent-deep);border-radius:var(--r-p);
  padding:14px 32px 14px 16px;font-weight:700;font-size:17px;
  box-shadow:var(--sh-btn),inset 0 1px 0 rgba(255,255,255,.30);
  transition:transform .13s ease-out,filter .13s ease-out}
.vsl-play:hover span{transform:translateY(-2px);filter:brightness(1.06)}
.vsl-play:focus-visible{outline:3px solid var(--ink);outline-offset:-6px}
.vsl-play .pl{width:44px;height:44px;border-radius:50%;background:var(--surface);
  display:grid;place-items:center;flex:0 0 auto}
.vsl-play .pl::after{content:"";width:0;height:0;border-left:16px solid var(--accent);
  border-top:10px solid transparent;border-bottom:10px solid transparent;margin-left:4px}
.vsl.playing img,.vsl.playing .scrim-v,.vsl.playing .vsl-play{display:none}
.vsl-meta{display:flex;justify-content:space-between;align-items:center;gap:24px;
  padding:24px 0 0;flex-wrap:wrap}
.vsl-meta b{display:block;font-size:18px;font-weight:700}
.vsl-meta span{display:block;color:var(--muted);font-size:15px;margin-top:4px}
.vsl-meta .dur{font-family:var(--body);font-weight:700;
  letter-spacing:.12em;color:var(--accent);font-size:16px;margin:0}

/* ---------- editorial alternating blocks ---------- */
.ed{display:grid;grid-template-columns:1fr 1fr;gap:96px;align-items:center}
.ed.flip .ed-media{order:2}
.ed-media{position:relative;overflow:hidden;background:var(--card);border-radius:var(--r-s)}
.ed-media img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.ed-media .num{
  position:absolute;top:16px;left:16px;z-index:2;font-family:var(--body);
  font-weight:700;font-size:14px;letter-spacing:.15em;text-transform:uppercase;
  color:var(--ink);background:rgba(10,13,11,.74);padding:8px 12px;border-radius:var(--r-s);
}
.ed-copy h2{margin-bottom:24px}
.ed-copy .lead{margin-bottom:32px}

.ticks{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.ticks li{display:grid;grid-template-columns:24px 1fr;gap:16px;align-items:start;
  font-size:16.5px;line-height:1.55;color:var(--ink)}
.ticks li::before{
  content:"";width:20px;height:20px;margin-top:4px;border-radius:50%;background:var(--accent);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- moving image band (the club) ---------- */
.imgband{position:relative;isolation:isolate;background:var(--surface);display:grid;padding:0}
.imgband .imgband-bg{grid-area:1/1;position:relative;overflow:hidden}
.imgband .imgband-bg::before{content:"";display:block;width:100%;aspect-ratio:21/9;min-height:480px}
.imgband img{position:absolute;inset:0;width:100%;height:100%!important;object-fit:cover;
  object-position:50% 40%;animation:kenburns 46s ease-in-out infinite alternate;will-change:transform}
.imgband .scrim-v{background:linear-gradient(180deg,
  rgba(10,13,11,.62) 0%,rgba(10,13,11,.70) 46%,rgba(10,13,11,.90) 100%),
  linear-gradient(rgba(10,13,11,.26),rgba(10,13,11,.26))}
/* the other place copy sits on a moving photograph — same house treatment */
.imgband .eyebrow,.imgband h2,.imgband .lead{
  text-shadow:0 0 1px rgba(0,0,0,.70),0 1px 2px rgba(0,0,0,.66),0 2px 12px rgba(0,0,0,.45)}
.imgband .inner{grid-area:1/1;position:relative;z-index:2;align-self:center;padding:96px 0;text-align:center}
.imgband h2{margin:0 auto 24px;max-width:16ch;font-size:clamp(44px,7vw,96px);line-height:.9}
.imgband .lead{margin:0 auto;color:var(--ink);opacity:.86}

/* ---------- who it's for — tonal cards, hairline borders (Swoosh) ---------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r-s);padding:40px 32px}
.card .k{font-family:var(--disp);font-style:italic;font-weight:900;font-size:44px;
  line-height:1;color:var(--accent);margin-bottom:24px;display:block}
.card h3{margin-bottom:12px;font-size:30px}
.card p{color:var(--muted);font-size:16px;margin:0}
.notfor{margin-top:48px;padding:24px 32px;border:1px dashed var(--line-strong);
  border-radius:var(--r-s);display:flex;gap:24px;align-items:flex-start;color:var(--muted);font-size:16px}
.notfor b{color:var(--ink);font-family:var(--body);font-weight:700;
  text-transform:uppercase;letter-spacing:.12em;font-size:15px;white-space:nowrap;padding-top:2px}

/* ---------- the founder ---------- */
.founder{display:grid;grid-template-columns:5fr 6fr;gap:96px;align-items:center}
.founder-media{position:relative;overflow:hidden;background:var(--raised);border-radius:var(--r-s)}
.founder-media img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 20%}
.founder blockquote{margin:0 0 24px;font-family:var(--disp);font-style:italic;font-weight:700;
  font-size:clamp(26px,2.6vw,34px);line-height:1.08;letter-spacing:-.01em;text-transform:uppercase}
.founder blockquote::before{content:"";display:block;width:48px;height:4px;background:var(--accent);margin-bottom:16px}
.founder p{color:var(--muted);max-width:60ch}
.founder .sig{width:200px;height:auto;margin:32px 0 8px}
.founder cite{font-style:normal;font-size:12px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted);display:block}
.founder cite a{color:var(--ink);text-decoration:none}
.founder cite a:hover{color:var(--accent)}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;padding:24px 0;font-weight:700;font-size:17.5px;
  display:flex;justify-content:space-between;gap:24px;align-items:center;min-height:44px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";width:16px;height:16px;flex:0 0 auto;background:var(--accent);
  transition:transform .15s ease-out;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq .a{padding:0 0 24px;color:var(--muted);max-width:62ch;text-wrap:pretty}

/* ---------- join ---------- */
.join{background:var(--card);padding:var(--pad) 0;text-align:center;border-top:1px solid var(--line)}
.join h2{font-size:clamp(72px,14vw,192px);line-height:.85;letter-spacing:-.02em}
.join .lead{color:var(--ink);opacity:.86}
.join .micro a{color:var(--ink)}

/* ---------- footer ---------- */
footer{background:var(--surface);color:var(--muted);padding:96px 0 48px;font-size:15px;
  border-top:1px solid var(--line)}
footer h3{color:var(--ink);font-family:var(--body);font-style:normal;font-size:12px;
  letter-spacing:.16em;margin-bottom:16px;font-weight:700}
footer a{color:var(--muted);text-decoration:none}
footer a:hover{color:var(--ink)}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;padding-bottom:48px;
  border-bottom:1px solid var(--line)}
.foot-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.foot-mark img{height:56px;width:auto;display:block;margin-bottom:16px}
.disclaimer{padding:32px 0 0;display:grid;gap:16px;font-size:13px;line-height:1.6;max-width:100ch}
.disclaimer strong{color:var(--ink)}
.foot-legal{padding-top:32px;display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;
  font-size:13px;line-height:1.6}
.foot-legal p{max-width:74ch;margin:0}


/* ---------- the runner sprints across every third click ---------- */
.runner{position:fixed;left:-30vw;bottom:12vh;width:min(180px,34vw);z-index:70;
  pointer-events:none;opacity:0}
.runner img{width:100%;height:auto;display:block}
.runner.fly{animation:sprint 2.4s cubic-bezier(.3,0,.6,1) 1}
@keyframes sprint{
  0%  {opacity:0;transform:translate3d(0,24px,0)}
  10% {opacity:1}
  90% {opacity:1}
  100%{opacity:0;transform:translate3d(150vw,-48px,0)}
}

/* ---------- the recurring join prompt (every 90s, capped) ---------- */
.joinbar{
  position:fixed;left:24px;right:24px;bottom:24px;z-index:80;margin:0 auto;max-width:480px;
  background:var(--raised);color:var(--ink);border:1px solid var(--line-strong);
  border-radius:var(--r-m);padding:24px;
  transform:translateY(140%);opacity:0;pointer-events:none;
  transition:transform .34s cubic-bezier(.2,.8,.2,1),opacity .34s ease-out;
}
.joinbar.show{transform:translateY(0);opacity:1;pointer-events:auto}
.joinbar p{margin:0 0 16px;font-size:16px;padding-right:32px;line-height:1.45}
.joinbar .btn{font-size:15.5px;padding:15px 24px;min-height:48px}
.joinbar-x{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;
  background:transparent;color:var(--muted);font-size:22px;line-height:1;cursor:pointer;border-radius:50%}
.joinbar-x:hover{color:var(--ink)}

/* ---------- the "not connected yet" toast ---------- */
.toast{
  position:fixed;left:50%;bottom:24px;transform:translate(-50%,140%);z-index:110;
  max-width:min(420px,calc(100vw - 32px));background:var(--ink);color:var(--surface);
  font-size:15px;font-weight:600;padding:16px 24px;border-radius:var(--r-p);text-align:center;
  opacity:0;pointer-events:none;
  transition:transform .3s cubic-bezier(.2,.8,.2,1),opacity .3s ease-out;
}
.toast.show{transform:translate(-50%,0);opacity:1}

/* ---------- scroll reveals — one per section, fires once ---------- */
.rv{opacity:0;transform:translateY(18px);transition:opacity .38s ease-out,transform .38s ease-out}
.rv.in{opacity:1;transform:none}
.fadeup{opacity:0;transform:translateY(14px) scale(.995);
  transition:opacity .62s cubic-bezier(.2,.7,.3,1),transform .62s cubic-bezier(.2,.7,.3,1)}
.fadeup.shown{opacity:1;transform:none}
.hero-bg.fadeup{transform:none;transition:opacity .8s ease-out}

/* ---------- the phone menu ---------- */
.burger{display:none;width:48px;height:48px;padding:0;margin:0;border:0;background:transparent;
  cursor:pointer;position:relative;flex:0 0 auto}
.burger span{position:absolute;left:12px;width:24px;height:2px;background:var(--ink);
  border-radius:2px;transition:transform .22s ease-out,opacity .14s ease-out}
.burger span:nth-child(1){top:16px}
.burger span:nth-child(2){top:23px}
.burger span:nth-child(3){top:30px}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:900px){
  .ed{grid-template-columns:1fr;gap:32px}
  .ed.flip .ed-media{order:0}
  .cards{grid-template-columns:1fr}
  .tiles{grid-template-columns:1fr}
  .tile{min-height:0;padding:32px 24px}
  .tile h3{margin-top:24px}
  .band-head{flex-direction:column;align-items:flex-start;gap:24px}
  .founder{grid-template-columns:1fr;gap:32px}
  .founder-media img{aspect-ratio:4/5}
}

@media(max-width:860px){
  /* the bar comes back on phones — a mark, Log in and a menu; not a nav */
  header{backdrop-filter:none;background:var(--surface)}
  header .wrap{height:64px;gap:12px}
  header .brand img{height:44px}
  .burger{display:block;margin-left:4px;margin-right:-12px}
  .bar-login{
    display:inline-flex;align-items:center;justify-content:center;font-family:var(--body);
    font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
    text-decoration:none;color:var(--ink);border:1.5px solid var(--line-strong);
    border-radius:var(--r-p);padding:0 16px;height:40px;flex:0 0 auto;margin-left:auto;
  }
  .bar-login:hover,.bar-login:active{border-color:var(--ink)}
  header nav{
    position:fixed;top:64px;left:0;right:0;bottom:0;z-index:55;display:block;
    background:var(--card);padding:24px 24px 48px;overflow-y:auto;
    transform:translateY(-8px);opacity:0;pointer-events:none;
    transition:opacity .2s ease-out,transform .2s ease-out;
  }
  header nav.open{transform:none;opacity:1;pointer-events:auto}
  header nav a{display:block;color:var(--muted);font-size:15px;letter-spacing:.16em;
    padding:20px 0;margin:0;border-bottom:1px solid var(--line);min-height:56px}
  header nav a::after{display:none}
  header nav a:hover,header nav a:active{color:var(--ink)}
  header nav a.navlogin{display:none}
  header nav a.navcta{display:flex;align-items:center;justify-content:center;gap:10px;
    margin:24px 0 0;padding:19px 24px;min-height:56px;border-bottom:3px solid var(--accent-deep);
    font-size:14px;letter-spacing:.1em}
  body.nav-open{overflow:hidden}
}

/* ---------- mobile ---------- */
@media(max-width:760px){
  :root{--pad:64px}
  .wrap{padding:0 20px}
  h2{font-size:clamp(34px,9vw,44px)}
  .lead{font-size:17.5px}
  /* On a phone the hero stops overlaying. The 3:4 re-crop gets its own block,
     dissolving into the ink where the copy starts, so the whole photograph is
     visible and the copy sits on solid ground — measured, not eyeballed. */
  .hero{display:block;min-height:0}
  .hero-bg{position:relative;overflow:hidden;max-height:52svh;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 80%,transparent 100%);
            mask-image:linear-gradient(to bottom,#000 0%,#000 80%,transparent 100%)}
  .hero-bg::before{height:auto;aspect-ratio:3/4}
  .hero-bg picture,.hero-bg img{object-position:50% 30%}
  .scrim-h,.scrim-v{display:none}
  .hero-copy{padding:16px 0 48px}
  .hero-copy .wrap{display:flex;flex-direction:column}
  .hero-copy .eyebrow{order:1;margin-bottom:12px}
  .hero-copy h1{order:2;font-size:clamp(44px,13vw,56px)}
  .hero-cta{order:3;margin-top:24px;gap:16px;flex-direction:column;align-items:stretch}
  .hero-cta .btn-wrap,.hero-cta .btn{width:100%}
  .hero-copy .risk{order:4}
  .hero-copy .lead{order:5;margin-top:24px}
  .hero-copy h1,.hero-copy .lead,.hero-copy .eyebrow{max-width:none}
  .hero-cap{display:none}
  .tap-finger{right:-8px;bottom:-18px;font-size:34px}
  .btn-ring{inset:-12px -10px}
  .btn{font-size:16px;padding:18px 24px}
  .btn .lab small{font-size:12px}
  .ticker{padding:10px 0}
  .band{padding:64px 0}
  .imgband .imgband-bg::before{aspect-ratio:3/4;min-height:0}
  .imgband .inner{padding:48px 0}
  .card{padding:32px 24px}
  .notfor{flex-direction:column;gap:8px;padding:20px}
  .vsl-meta{gap:12px}
  .join h2{font-size:clamp(72px,26vw,120px)}
  .foot-grid{grid-template-columns:1fr;gap:32px}
  .joinbar{left:16px;right:16px;bottom:16px}
  .runner{width:44vw;bottom:10vh}
}
@media(max-width:400px){
  .wrap{padding:0 16px}
  .btn{padding:16px 20px;font-size:15.5px}
  .bar-login{padding:0 12px;font-size:12.5px;letter-spacing:.1em}
  header .brand img{height:40px}
}

/* ---------- reduced motion — everything freezes ---------- */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .rv,.fadeup{opacity:1;transform:none}
  .runner{display:none}
  .ticker-track{animation:none!important}
}

/* ---------- capture mode (?cap=1): viewport-height parts get fixed sizes so a
   tall headless window renders the page as a phone or laptop would ---------- */
html.cap .hero{min-height:736px}
html.cap .hero-bg::before{height:736px}
@media(max-width:760px){ html.cap .hero-bg{max-height:440px} }
