/* ============================================================
   JST MVE v3 · "Night Floor"
   The black room, like v1, with the volume turned down.
   Kept from the v1 motion kit: the travelling viewfinder box
   (triad only), count-up stats, square wipe reveals on pictures,
   ambient loops. Dropped: pinned scrub scenes, slams, vowel drive,
   velocity bands, cursor, HUD, rail, canvas field.
   Loads after _shared/base.css and _shared/layout.css.
   ============================================================ */

.white { --bg: var(--white); --fg: var(--ink); --muted: #5d5d64; --line: rgba(10,10,11,.14); --card: var(--paper); }
.sec--jet { --bg: var(--jet); }
.dim { color: rgba(255,255,255,.55); }

/* ---------- topbar: transparent over the hero, solid once scrolling ---------- */
.topbar { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s; }
.topbar.scrolled { background: rgba(10,10,11,.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: var(--line); }
body.menu-open .topbar { background: var(--ink); }
@media (max-width: 900px) { .menu { inset: 68px 0 auto 0; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(620px, 100svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.15) 35%, rgba(10,10,11,.92) 88%); }
@keyframes settle { to { transform: none; } }
.hero-in { padding-top: 120px; padding-bottom: clamp(40px, 6vw, 80px); display: grid; gap: clamp(20px, 3vw, 32px); }
.hero h1 { font-size: clamp(38px, 7vw, 108px); max-width: 13ch; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.hero-note { max-width: 330px; font-size: 14px; color: rgba(255,255,255,.75); border-left: 2px solid rgba(255,255,255,.5); padding-left: 16px; }
.stars { letter-spacing: 2px; color: var(--fg); }

/* ---------- mission ---------- */
.mission blockquote { max-width: 1000px; margin: 0 auto; text-align: center; display: grid; gap: 22px; justify-items: center; }
.mission p { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 3.6vw, 50px); line-height: 1.08; text-wrap: balance; }

/* ---------- triad + the travelling viewfinder ---------- */
.triad { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.triad article { position: relative; padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); transition: border-color .4s; }
.triad .big {
  font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(64px, 8vw, 120px); line-height: .85;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55); transition: color .5s var(--ease), -webkit-text-stroke-color .5s;
  margin-bottom: 8px;
}
.triad article.on .big { color: var(--fg); -webkit-text-stroke-color: var(--fg); }
.vbox { position: absolute; top: 0; left: 0; width: 0; height: 0; border: 3px solid var(--fg); pointer-events: none; z-index: 2; opacity: 0; transition: transform .6s var(--ease), width .6s var(--ease), height .6s var(--ease), opacity .4s; }
.vbox.on { opacity: 1; }
@media (max-width: 760px) { .triad { grid-template-columns: minmax(0, 1fr); } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.stats > div { padding: 26px 20px 0 0; display: grid; gap: 6px; }
.stats dt { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.stats dd { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }

/* ---------- space ---------- */
.kit { list-style: none; border-top: 1px solid var(--line); margin-top: 12px; }
.kit li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; color: var(--muted); }
.kit b { color: var(--fg); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.stack { display: grid; gap: clamp(12px, 2vw, 24px); }
.stack img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stack-2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(12px, 2vw, 24px); }
.stack-2 figure video { width: 100%; height: 100%; object-fit: cover; }
.stack-2 .tile { aspect-ratio: auto; height: 100%; min-height: 260px; }

/* square wipe: the picture opens out of the brand square */
.wipe { overflow: hidden; background: var(--jet); }
.wipe > * { clip-path: inset(22% 22% 22% 22%); transition: clip-path 1.2s var(--ease); }
.wipe.in > * { clip-path: inset(0 0 0 0); }

/* ---------- path (how it works) ---------- */
.path { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); position: relative; }
.path::before { content: ''; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line); }
.path li { display: grid; gap: 12px; align-content: start; position: relative; }
.sq { width: 56px; height: 56px; display: grid; place-items: center; background: var(--bg); border: 3px solid var(--fg); font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 22px; margin-bottom: 8px; transition: background .3s, color .3s; }
.path li:hover .sq { background: var(--fg); color: var(--bg); }
@media (max-width: 760px) {
  .path { grid-template-columns: minmax(0, 1fr); }
  .path::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .path li { grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; }
  .path li .sq { grid-row: span 2; }
}

/* ---------- services on black ---------- */
.svc article:hover { background: var(--jet); }

/* ---------- coaches ---------- */
.coach-tile .tile-cap b { font-size: clamp(22px, 2.4vw, 32px); }

/* ---------- stories reel with quote cards ---------- */
.reel .quote-card { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; align-self: center; scroll-snap-align: start; }

/* ---------- MVE42 white room ---------- */
.mve42 .tile { box-shadow: 0 30px 80px rgba(0,0,0,.25); }

/* ---------- visit band ---------- */
.visit-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(96px, 14vw, 200px) 0; background: var(--ink); }
.visit-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: -2; }
.visit-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,11,.95) 20%, rgba(10,10,11,.3)); }
.visit-in { display: grid; gap: 20px; justify-items: start; }
.visit-in .lede { max-width: 30em; }

.foot { border-top: 1px solid var(--line); }

/* ============================================================
   Accelerator + next steps
   ============================================================ */
.acc-hero { position: relative; overflow: hidden; padding: 140px 0 clamp(64px, 8vw, 110px); }
.ghost42 { position: absolute; right: -2vw; top: 60px; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(220px, 34vw, 520px); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.08); pointer-events: none; z-index: 0; user-select: none; }
.acc-hero .wrap { position: relative; z-index: 1; }
.acc-grid .tile { box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.abcd li { background: var(--jet); }
.honest > div { background: var(--jet); }
.honest > div.no { background: transparent; }
.next3 li { background: var(--jet); }
.page-hero { padding-top: 140px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li + li::before { content: ''; width: 6px; height: 6px; border: 1.5px solid currentColor; margin-right: 6px; }
