/* ═══════════════════════════════════════════════════════════
   IRON VAULT — design system
   Black + deep red + subtle white. Everything reads as one
   environment: the 3D stage is the hero, the UI floats on it.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Palette */
  --bg: #050405;
  --bg-2: #0a090b;
  --ink: #f4f4f6;
  --ink-2: #c9c9d0;
  --muted: #8d8d97;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  --red: #e8101f;
  --red-bright: #ff2333;
  --red-deep: #7a0810;
  --red-glow: rgba(232, 16, 31, 0.42);

  --glass: rgba(14, 13, 16, 0.5);
  --glass-2: rgba(20, 19, 23, 0.68);

  /* Type */
  --font-display: 'Anton', 'Archivo Black', 'Arial Narrow', Impact, system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --section-min: 100svh;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* Safe areas (notches) */
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: clamp(0.95rem, 0.35vw + 0.88rem, 1.0625rem);
  line-height: 1.6;
  overflow-x: hidden;            /* hard-stop horizontal scroll */
  overflow-y: scroll;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd, dt, figure { margin: 0; }
ul { list-style: none; padding: 0; }

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

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

/* ── 3D Stage ────────────────────────────────────────────── */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 115%, #170406 0%, #08060a 55%, #050405 100%);
}

#gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
#gl.is-ready { opacity: 1; }

/* Soft red wash that breathes, layered over the canvas */
.stage__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 85% 20%, rgba(232, 16, 31, 0.16), transparent 65%),
    radial-gradient(55% 40% at 10% 80%, rgba(122, 8, 16, 0.14), transparent 70%);
  animation: wash 14s ease-in-out infinite alternate;
}
@keyframes wash {
  from { opacity: 0.55; transform: translate3d(0, 0, 0) scale(1.02); }
  to   { opacity: 1;    transform: translate3d(0, -1.4%, 0) scale(1); }
}

/* Faint machined grid, sells the "engineered environment" feel */
.stage__grid {
  position: absolute; inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 92px 92px, 92px 92px;
  mask-image: radial-gradient(100% 80% at 50% 40%, #000 20%, transparent 88%);
  -webkit-mask-image: radial-gradient(100% 80% at 50% 40%, #000 20%, transparent 88%);
}

/* ── Post-processing overlays ────────────────────────────── */
.post { position: fixed; inset: 0; z-index: 40; pointer-events: none; }

.post__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(122% 96% at 50% 45%, transparent 48%, rgba(0, 0, 0, 0.48) 88%, rgba(0, 0, 0, 0.78) 100%);
}

.post__bloom {
  position: absolute; inset: 0;
  mix-blend-mode: screen;
  opacity: 0.5;
  background:
    radial-gradient(38% 26% at 78% 14%, rgba(232, 16, 31, 0.22), transparent 70%),
    radial-gradient(30% 22% at 18% 88%, rgba(232, 16, 31, 0.14), transparent 72%);
  transition: opacity 0.9s var(--ease);
}

.post__grain {
  position: absolute; inset: -50%;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 3.2s steps(4) infinite;
  will-change: transform;
}
@keyframes grain {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(-2%, 1%, 0); }
  50%  { transform: translate3d(1%, -2%, 0); }
  75%  { transform: translate3d(-1%, -1%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ── Scroll rail ─────────────────────────────────────────── */
.rail {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  z-index: 60;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.rail__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright));
  box-shadow: 0 0 14px 1px var(--red-glow);
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  z-index: 50;
  top: calc(0.7rem + var(--safe-t));
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - clamp(1rem, 4vw, 3rem)));
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.is-stuck {
  background: var(--glass-2);
  border-color: var(--line-2);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.9);
}

.nav__brand { display: flex; align-items: center; gap: 0.6rem; flex: 0 0 auto; }
.nav__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: var(--red-bright);
  border: 1px solid rgba(232, 16, 31, 0.35);
  background: rgba(232, 16, 31, 0.08);
  box-shadow: 0 0 18px -4px var(--red-glow) inset;
}
.nav__mark svg { width: 17px; height: 17px; }
.nav__word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__word em { font-style: normal; color: var(--red-bright); }

.nav__links { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0.28rem;
  width: 0; height: 1px;
  background: var(--red-bright);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
  box-shadow: 0 0 10px var(--red-glow);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 42%; }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { width: 58%; }
.nav__links a.is-active { background: rgba(255, 255, 255, 0.05); }

.nav__end { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 50%; width: 17px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav__burger span:nth-child(1) { top: 17px; transform: translateX(-50%); }
.nav__burger span:nth-child(2) { top: 23px; transform: translateX(-50%); }
.nav__burger[aria-expanded='true'] span:nth-child(1) { top: 20px; transform: translateX(-50%) rotate(45deg); }
.nav__burger[aria-expanded='true'] span:nth-child(2) { top: 20px; transform: translateX(-50%) rotate(-45deg); }

/* ── Mobile drawer ───────────────────────────────────────── */
.drawer {
  position: fixed;
  z-index: 45;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: calc(5.5rem + var(--safe-t)) var(--pad-x) calc(2rem + var(--safe-b));
  background: linear-gradient(180deg, rgba(5, 4, 5, 0.94), rgba(10, 3, 5, 0.97));
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5%);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), visibility 0.45s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.drawer__links { display: flex; flex-direction: column; }
.drawer__links a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 8vw, 2.4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease);
}
.drawer.is-open .drawer__links a { opacity: 1; transform: none; }
.drawer.is-open .drawer__links a:nth-child(1) { transition-delay: 0.06s; }
.drawer.is-open .drawer__links a:nth-child(2) { transition-delay: 0.11s; }
.drawer.is-open .drawer__links a:nth-child(3) { transition-delay: 0.16s; }
.drawer.is-open .drawer__links a:nth-child(4) { transition-delay: 0.21s; }
.drawer.is-open .drawer__links a:nth-child(5) { transition-delay: 0.26s; }
.drawer.is-open .drawer__links a:nth-child(6) { transition-delay: 0.31s; }
.drawer__links a span {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--red-bright);
}
.drawer__links a:active { color: var(--red-bright); }

.drawer__foot { display: grid; gap: 1rem; justify-items: start; }
.drawer__meta {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Layout / sections ───────────────────────────────────── */
main { position: relative; z-index: 10; }

.section {
  position: relative;
  min-height: var(--section-min);
  display: flex;
  align-items: center;
  padding-block: clamp(6rem, 16vh, 11rem);
  padding-inline: calc(var(--pad-x) + var(--safe-l)) calc(var(--pad-x) + var(--safe-r));
  overflow: hidden;              /* keeps decorative bleed contained */
}

/* The column is sized for the *headings*, not for body copy — readability of
   the short supporting lines is handled by .lede's own measure. Capping this
   any tighter would clip the huge single-word lines. */
.section__inner {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  display: grid;
  justify-items: start;
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
}
.section__inner--hero { max-width: min(1240px, 1080px); }
.section__inner--center { justify-items: center; text-align: center; max-width: min(900px, 100%); }

/* Readability scrim: takes the edge off the bright metal directly behind text
   without dimming the whole frame. Deliberately soft — headline legibility is
   carried by text-shadow so the 3D stays visible. */
.section__inner::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -14% -18%;
  background: radial-gradient(60% 60% at 30% 50%, rgba(3, 3, 4, 0.6), rgba(3, 3, 4, 0.26) 55%, transparent 78%);
  pointer-events: none;
}
.section__inner--center::before {
  background: radial-gradient(58% 62% at 50% 50%, rgba(3, 3, 4, 0.62), rgba(3, 3, 4, 0.28) 58%, transparent 80%);
}

.section--right .section__inner { margin-left: auto; }
.section--center { justify-content: center; }

.section--final {
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 6vh, 4rem);
}
.section--final .section__inner { max-width: min(900px, 100%); }

/* ── Typography ──────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.008em;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8.4vw, 6.6rem);
  max-width: 18ch;
  /* Two-layer shadow: a tight one for edge crispness, a wide one to separate
     the headline from lit equipment behind it. */
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85), 0 20px 58px rgba(0, 0, 0, 0.8);
}
.section__inner--center .display { max-width: 20ch; }

.display--xl { font-size: clamp(3.1rem, 12.5vw, 10rem); }

/* "UNSTOPPABLE." carries the brand red. A solid colour on purpose: the old
   gradient used background-clip:text with color:transparent, which renders the
   word completely invisible wherever the clip isn't applied. */
.display .accent { color: var(--red-bright); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}
.eyebrow i {
  width: 26px; height: 1px;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-glow);
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  font-weight: 300;
  color: #dcdce4;
  max-width: 40ch;
  text-wrap: balance;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.92), 0 0 34px rgba(0, 0, 0, 0.72);
}

/* ── Buttons ─────────────────────────────────────────────── */
.actions { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.actions--wrap { gap: 0.7rem; }
.section__inner--center .actions { justify-content: center; }

.btn {
  --btn-h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: var(--btn-h);
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.4s var(--ease),
              background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn:active { transform: translateY(1px) scale(0.985); }

.btn--sm { --btn-h: 40px; padding: 0.55rem 1.15rem; font-size: 0.72rem; }
.btn--lg { --btn-h: 60px; padding: 1.05rem 2.4rem; font-size: 0.86rem; }

.btn--solid {
  color: #fff;
  background: linear-gradient(180deg, var(--red-bright), var(--red) 55%, var(--red-deep));
  box-shadow: 0 12px 34px -12px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px -14px rgba(232, 16, 31, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Sweeping highlight on solid buttons */
.btn--solid::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
  z-index: -1;
}
.btn--solid:hover::after { transform: translateX(130%); }

.btn--line {
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--line:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 16, 31, 0.6);
  background: rgba(232, 16, 31, 0.1);
  box-shadow: 0 16px 40px -20px var(--red-glow);
}
.btn--line svg { transition: transform 0.4s var(--ease); }
.btn--line:hover svg { transform: translateY(2px); }

.btn--ghost {
  color: var(--ink);
  border: 1px solid rgba(232, 16, 31, 0.42);
  background: rgba(232, 16, 31, 0.1);
}
.btn--ghost:hover { background: rgba(232, 16, 31, 0.22); transform: translateY(-1px); }

/* ── Hero extras ─────────────────────────────────────────── */
.section--hero { align-items: center; }
.section--hero .display { font-size: clamp(2.9rem, 11.4vw, 9rem); max-width: 15ch; }

.scrollcue {
  position: absolute;
  left: 50%;
  bottom: calc(1.8rem + var(--safe-b));
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.scrollcue i {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--red-bright), transparent);
  animation: cue 2.6s var(--ease-io) infinite;
  transform-origin: top;
}
@keyframes cue {
  0%   { transform: scaleY(0.15); opacity: 0; }
  40%  { transform: scaleY(1);    opacity: 1; }
  100% { transform: scaleY(0.15); opacity: 0; }
}

/* ── Chips / specs ───────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.chips li:hover { border-color: rgba(232, 16, 31, 0.55); color: #fff; transform: translateY(-2px); }

.specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.5rem;
  max-width: 54ch;
}
.specs li {
  padding: 0.42rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(8, 8, 10, 0.5);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.specs li:hover {
  color: #fff;
  border-color: rgba(232, 16, 31, 0.5);
  box-shadow: 0 0 24px -8px var(--red-glow);
}

/* ── Training zones ──────────────────────────────────────── */
.zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: 720px;
  margin-top: 0.6rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.zone {
  padding: clamp(0.9rem, 2vw, 1.4rem);
  background: rgba(9, 8, 10, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.zone:hover { background: rgba(232, 16, 31, 0.09); }
.zone__n {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red-bright);
  margin-bottom: 0.55rem;
}
.zone h3 {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.zone p { font-size: 0.78rem; color: var(--muted); line-height: 1.45; }

/* ── Membership tiers ────────────────────────────────────── */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.6vw, 1.1rem);
  width: 100%;
  max-width: 780px;
  margin-top: 0.5rem;
}
.tier {
  position: relative;
  display: grid;
  gap: 0.4rem;
  padding: clamp(1.1rem, 2.6vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(22, 21, 25, 0.66), rgba(8, 7, 9, 0.72));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.tier::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.6;
}
.tier h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tier p { font-size: 0.82rem; color: var(--ink-2); }
.tier__rule { height: 1px; background: var(--line); margin: 0.7rem 0 0.55rem; }
.tier__tag {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tier--feature {
  border-color: rgba(232, 16, 31, 0.45);
  box-shadow: 0 26px 60px -30px var(--red-glow), inset 0 0 40px -22px var(--red-glow);
}
.tier--feature .tier__tag { color: var(--red-bright); }
.tier--feature:hover { border-color: var(--red-bright); }

/* ── Trainers ────────────────────────────────────────────── */
.coaches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.6vw, 1.1rem);
  width: 100%;
  max-width: 760px;
  margin-top: 0.5rem;
}
.coach {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(9, 8, 10, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.coach__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.coach__media svg { width: 100%; height: 100%; transition: transform 0.9s var(--ease); }
.coach__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 50% at 80% 12%, rgba(232, 16, 31, 0.34), transparent 62%),
    linear-gradient(180deg, transparent 45%, rgba(5, 4, 5, 0.92) 100%);
}
.coach__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(0.8rem, 1.8vw, 1.1rem);
  display: grid;
  gap: 0.15rem;
}
.coach__body h3 {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.6vw, 1.24rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.coach__body p {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.coach:hover { transform: translateY(-5px); border-color: var(--line-2); }
.coach:hover .coach__media svg { transform: scale(1.05); }
.coach:hover { box-shadow: 0 30px 60px -34px var(--red-glow); }

/* ── Results "film" panel ────────────────────────────────── */
.film {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 16 / 7;
  margin-top: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 9, 11, 0.5), rgba(4, 4, 5, 0.85)),
    radial-gradient(90% 120% at 82% 8%, rgba(232, 16, 31, 0.3), transparent 62%);
}
.film__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 42%, rgba(232, 16, 31, 0.3) 50%, transparent 58%);
  transform: translateX(-120%);
  animation: sweep 6.5s var(--ease-io) infinite;
}
@keyframes sweep {
  0%   { transform: translateX(-120%); }
  55%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
.film__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 22px);
  mix-blend-mode: overlay;
}

/* ── Contact facts ───────────────────────────────────────── */
.facts {
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 560px;
  margin-top: 0.4rem;
  border-top: 1px solid var(--line);
}
.fact {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.fact dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact dd { font-size: 0.95rem; color: var(--ink); }
.fact dd a { border-bottom: 1px solid rgba(232, 16, 31, 0.5); transition: color 0.3s var(--ease); }
.fact dd a:hover { color: var(--red-bright); }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--red-bright); }

.fallback {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  padding: 0.8rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  background: var(--red-deep);
  color: #fff;
}

/* ── Reveal animations ───────────────────────────────────────
   Content is VISIBLE BY DEFAULT. The hidden start-state is opt-in via `.anim`,
   which an inline <head> script sets before first paint. That way the page's
   text can never be stranded at opacity 0 by a script that fails to load —
   which is exactly what a plain `.reveal { opacity: 0 }` would do.
   No will-change here: permanently promoting 38 elements to their own layers
   costs far more on mobile than it buys a one-shot transition. */
.reveal {
  transition: opacity 0.85s var(--ease), transform 0.95s var(--ease);
  transition-delay: var(--d, 0ms);
}
.anim .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}
.anim .reveal.is-visible { opacity: 1; transform: none; }

/* Staggered children for grouped reveals */
.zones.reveal.is-visible .zone { transition-delay: 0s; }

/* ═══════════ RESPONSIVE ═══════════ */

/* Tablet */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__end .btn { display: none; }
  .nav { padding: 0.5rem 0.5rem 0.5rem 0.9rem; }

  .section--right .section__inner { margin-left: 0; }
}

/* Small tablet / large phone */
@media (max-width: 760px) {
  :root { --section-min: 100svh; }

  .section { padding-block: clamp(5rem, 12vh, 7rem); }

  .display { max-width: 100%; }
  .lede { max-width: 34ch; }

  .zones, .tiers, .coaches { grid-template-columns: 1fr; }
  .zones { gap: 1px; }
  .coaches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coaches .coach:last-child { grid-column: 1 / -1; }
  .coaches .coach:last-child .coach__media { aspect-ratio: 16 / 9; }

  .film { aspect-ratio: 16 / 9; }

  .fact { grid-template-columns: 1fr; gap: 0.2rem; padding: 0.7rem 0; }

  .scrollcue { display: none; }

  /* Buttons stay comfortably tappable */
  .btn { --btn-h: 50px; }
  .actions { width: 100%; }
  .actions .btn { flex: 1 1 auto; }
  .section__inner--center .actions .btn { flex: 0 1 auto; }
}

/* Phones */
@media (max-width: 480px) {
  .display { font-size: clamp(2.4rem, 13vw, 3.6rem); }
  .display--xl { font-size: clamp(2.8rem, 16vw, 4.4rem); }
  .section--hero .display { font-size: clamp(2.6rem, 14.5vw, 4rem); }

  .lede { font-size: 0.98rem; }
  .nav__word { font-size: 0.95rem; }
  .eyebrow { font-size: 0.64rem; letter-spacing: 0.2em; }

  .tier, .zone { padding: 1rem; }
  .coaches { grid-template-columns: 1fr; }
  .coaches .coach:last-child .coach__media { aspect-ratio: 4 / 5; }

  .footer { flex-wrap: wrap; justify-content: center; row-gap: 0.4rem; }
}

/* Short landscape phones — keep everything inside the frame */
@media (max-height: 560px) and (orientation: landscape) {
  .section { min-height: auto; padding-block: 5rem; }
  .section--final { min-height: 100svh; }
  .scrollcue { display: none; }
}

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

/* ── Print: quiet, no decoration ─────────────────────────── */
@media print {
  .stage, .post, .rail, .nav, .drawer { display: none !important; }
  body { background: #fff; color: #000; }
}
