/* ─────────────────────────────────────────────────────────────
   MMiT Bonus — Mike Mentzer Tribute
   Adapted from a Claude Design handoff (glass + grain).
   Local font palette (no Anton / Cormorant): Cinzel for the hero
   display name, Iosevka for headlines + mono, Inter for body.
───────────────────────────────────────────────────────────── */

:root {
  --bg-0: oklch(0.14 0.012 30);
  --bg-1: oklch(0.18 0.014 30);
  --bg-2: oklch(0.22 0.016 30);
  --fg:    oklch(0.96 0.005 80);
  --fg-2:  oklch(0.78 0.008 60);
  --fg-3:  oklch(0.58 0.010 50);
  --line:  oklch(1 0 0 / 0.08);
  --line-2: oklch(1 0 0 / 0.14);

  --blood: oklch(0.45 0.18 25);
  --ember: oklch(0.62 0.17 40);
  --gold:  oklch(0.82 0.10 85);

  --glass-bg: color-mix(in oklab, white 4%, transparent);
  --glass-bd: color-mix(in oklab, white 14%, transparent);

  --font-display: 'Cinzel', serif;
  --font-headline: 'Iosevka', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Iosevka', ui-monospace, 'SF Mono', Menlo, monospace;

  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Layered ambience: vignette, drifting spotlight, scan lines, grain */
.bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,
      color-mix(in oklab, var(--blood) 28%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 100% 70% at 80% 100%,
      color-mix(in oklab, var(--ember) 14%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 50%, var(--bg-0));
}
.spotlight {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%),
    color-mix(in oklab, var(--ember) 18%, transparent) 0%, transparent 60%);
  mix-blend-mode: screen;
}
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.10;
  mix-blend-mode: overlay;
}
.scan {
  position: fixed; inset: 0; z-index: 9997; pointer-events: none;
  background: repeating-linear-gradient(180deg,
    transparent 0 3px, rgba(255,255,255,0.012) 3px 4px);
}

::selection { background: var(--blood); color: white; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blood), oklch(0.30 0.10 25));
}

/* ── Typography primitives ─────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px;
  background: var(--ember); display: inline-block;
}
.section-h {
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.9;
  margin-bottom: 1.25rem;
}
.section-lede {
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--fg-2);
  max-width: 60ch;
  margin-bottom: 3.5rem;
  text-wrap: pretty;
  line-height: 1.55;
}
.serif { font-family: var(--font-serif); font-style: italic; }
.mono { font-family: var(--font-mono); }

main { position: relative; }
section {
  padding: 6rem 2rem;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.section-head { display: grid; gap: 1rem; margin-bottom: 4rem; }

/* ── Bonus chip nav — anchors instead of a floating pill ──── */
.bonus-nav {
  position: sticky;
  top: 52px;
  z-index: 50;
  background: color-mix(in oklab, var(--bg-0) 75%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.bonus-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 10px;
  margin: 0 auto;
  max-width: var(--container);
  overflow-x: auto;
}
.bonus-nav a {
  color: var(--fg-2);
  text-decoration: none;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .25s, background .25s;
  position: relative;
}
.bonus-nav a:hover, .bonus-nav a.active {
  color: var(--fg);
  background: color-mix(in oklab, white 6%, transparent);
}
.bonus-nav a.active::before {
  content: ""; position: absolute; left: 8px; top: 50%;
  transform: translateY(-50%); width: 4px; height: 4px;
  background: var(--ember); border-radius: 50%;
  box-shadow: 0 0 8px var(--ember);
}
@media (max-width: 820px) {
  .bonus-nav { top: 46px; }
  .bonus-nav a { font-size: 9.5px; padding: 6px 10px; letter-spacing: 0.14em; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 52px);
  padding: 6rem 2rem 5rem;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.hero-frame {
  position: absolute; inset: 24px;
  border: 1px solid var(--line);
  pointer-events: none;
  border-radius: 4px;
}
.hero-meta, .hero-meta-r {
  position: absolute;
  top: 44px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-meta { left: 44px; }
.hero-meta-r { right: 44px; }
.hero-meta-r::before { content: "● "; color: var(--blood); }
.hero-bottom {
  position: absolute;
  bottom: 44px; left: 44px; right: 44px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.hero-content {
  text-align: center;
  max-width: 1100px;
  position: relative;
  z-index: 2;
}
.hero-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 11vw, 9rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg,
    oklch(0.98 0.005 80) 0%,
    oklch(0.86 0.012 70) 40%,
    oklch(0.72 0.015 60) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 30px 60px color-mix(in oklab, var(--blood) 30%, transparent));
  margin: 1.2rem 0;
}
.hero-tag {
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--gold);
  max-width: 700px;
  margin: 2rem auto 0;
  line-height: 1.45;
  text-wrap: balance;
}
.hero-dates {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--fg-3);
  margin-top: 1.5rem;
  text-transform: uppercase;
}
.hero-dates span { color: var(--fg-2); }
.hero-pulse {
  width: 1px; height: 60px;
  margin: 3rem auto 0;
  background: linear-gradient(180deg, var(--ember), transparent);
  animation: pulseLine 3s ease-in-out infinite;
}
@keyframes pulseLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}
@media (max-width: 720px) {
  .hero-meta, .hero-meta-r { top: 24px; font-size: 9px; }
  .hero-meta { left: 24px; }
  .hero-meta-r { right: 24px; }
  .hero-bottom { left: 24px; right: 24px; bottom: 24px; font-size: 9px; }
  .hero-frame { inset: 12px; }
}

/* ── Portrait feature ─────────────────────────────────────── */
.portrait-section { max-width: 1240px; margin: 0 auto; padding: 3rem 2rem; }
.portrait-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--bg-1);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .portrait-wrap { grid-template-columns: 1fr; min-height: auto; } }
.portrait-image { position: relative; overflow: hidden; min-height: 620px; }
@media (max-width: 900px) { .portrait-image { min-height: 420px; } }
.portrait-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(1) contrast(1.15) brightness(0.95);
  transform: scale(var(--zoom, 1.05));
  transition: transform 8s linear;
}
.portrait-grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 40%, var(--bg-1) 100%),
    linear-gradient(180deg, transparent 60%, color-mix(in oklab, var(--blood) 18%, transparent) 100%);
  pointer-events: none;
}
.portrait-bars {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.18) 3px 4px);
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: 0.45;
}
.portrait-overlay {
  position: relative;
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.overlay-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-family: var(--font-mono);
}
.overlay-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
}
.overlay-title {
  font-family: var(--font-headline);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.9;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.overlay-body {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--fg-2);
  line-height: 1.55;
  max-width: 40ch;
}

/* ── Glass cards ──────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-bd);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    color-mix(in oklab, white 30%, transparent),
    transparent 40%, transparent 60%,
    color-mix(in oklab, var(--ember) 25%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.glass-soft {
  background: color-mix(in oklab, white 2.5%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 14px;
}

/* ── Timeline ─────────────────────────────────────────────── */
.timeline { display: grid; gap: 1.25rem; }
.tl-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 1.75rem 2rem;
  align-items: start;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s;
}
.tl-item:hover {
  transform: translateY(-3px);
  background: color-mix(in oklab, white 4%, transparent);
}
.tl-year {
  font-family: var(--font-headline);
  font-size: 2.4rem;
  color: var(--ember);
  line-height: 1;
  letter-spacing: 0.01em;
  position: relative;
}
.tl-year::after {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: var(--blood);
  margin-top: 0.8rem;
}
.tl-year.tag {
  font-family: var(--font-mono);
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.tl-title {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.tl-body { color: var(--fg-2); line-height: 1.7; max-width: 60ch; }
@media (max-width: 720px) {
  .tl-item { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.25rem; }
  .tl-year { font-size: 1.8rem; }
}

/* ── Principle card grids ─────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.cards.cards-2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .cards.cards-2x2 { grid-template-columns: 1fr; max-width: 540px; }
}
.card {
  padding: 2rem;
  position: relative;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.card:hover { transform: translateY(-6px); }
.card .num {
  font-family: var(--font-headline);
  font-size: 4rem;
  line-height: 1;
  color: color-mix(in oklab, var(--ember) 55%, transparent);
  position: absolute;
  top: 1rem; right: 1.5rem;
  pointer-events: none;
}
.card h3 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--gold);
  margin: 1.5rem 0 0.75rem;
  max-width: 75%;
}
.card p { color: var(--fg-2); line-height: 1.7; }

/* ── Pull quotes ──────────────────────────────────────────── */
.quote {
  margin: 4rem 0;
  padding: 2.5rem 2.5rem 2.5rem 3.5rem;
  position: relative;
  border-radius: 16px;
}
.quote::before {
  content: "“";
  font-family: var(--font-serif);
  font-size: 7rem;
  position: absolute;
  top: -1.25rem; left: 1.25rem;
  color: color-mix(in oklab, var(--blood) 40%, transparent);
  line-height: 1;
  font-style: italic;
}
.quote-body {
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.4;
  color: var(--fg);
  text-wrap: pretty;
}
.quote cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--ember);
  font-style: normal;
}

/* ── Stats counters ───────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 3rem 0 4rem;
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 2.25rem 1.5rem;
  background: var(--bg-1);
  text-align: center;
}
.stat-n {
  font-family: var(--font-headline);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--fg);
  letter-spacing: 0.01em;
}
.stat-n .unit { font-size: 0.4em; color: var(--fg-3); margin-left: 0.2em; }
.stat-l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 0.75rem;
}

/* ── Footage grid ─────────────────────────────────────────── */
.footage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 820px) {
  .footage-grid { grid-template-columns: 1fr; max-width: 540px; }
}
.vid {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  background: var(--bg-2);
  text-decoration: none;
  color: inherit;
}
.vid:visited { color: inherit; }
.vid-poster {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  transition: opacity .4s;
  background-size: cover;
  background-position: center;
}
.vid-poster::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.vid-play {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--bg-0) 60%, transparent);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  transition: transform .3s, background .3s;
  z-index: 2;
}
.vid:hover .vid-play {
  transform: scale(1.08);
  background: color-mix(in oklab, var(--blood) 60%, transparent);
}
.vid-play::before {
  content: "";
  display: block;
  width: 0; height: 0;
  border-left: 22px solid var(--fg);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.vid-meta {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-2);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}
.vid-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 6px;
}
.vid-runtime {
  color: var(--ember);
  transition: color .25s;
}
.vid:hover .vid-runtime { color: var(--gold); }

.footage-credit {
  margin: 2.5rem auto 0;
  max-width: 900px;
  padding: 1.75rem 2rem;
  border-radius: 12px;
  background: color-mix(in oklab, white 2%, transparent);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 720px) { .footage-credit { grid-template-columns: 1fr; gap: .5rem; } }
.footage-credit .mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ember);
}
.footage-credit p { color: var(--fg-3); font-size: 0.92rem; line-height: 1.7; }
.footage-credit a {
  color: var(--fg-2);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--ember) 50%, transparent);
  transition: color .2s, border-color .2s;
}
.footage-credit a:hover { color: var(--ember); border-bottom-color: var(--ember); }

/* ── Two-up feature photo ─────────────────────────────────── */
.feature-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin: 4rem 0;
}
.feature-photo.reverse { direction: rtl; }
.feature-photo.reverse > * { direction: ltr; }
@media (max-width: 820px) {
  .feature-photo, .feature-photo.reverse { grid-template-columns: 1fr; direction: ltr; }
}
.feature-photo-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.feature-photo-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.08) brightness(0.92);
  transition: filter .6s;
}
.feature-photo-img:hover img { filter: grayscale(0) contrast(1.05) brightness(1); }
.feature-photo-img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.45) 100%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.10) 3px 4px);
  pointer-events: none;
}
.feature-photo-img .caption {
  position: absolute;
  left: 18px; bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
}
.feature-photo-img .caption::before {
  content: ""; width: 18px; height: 1px; background: var(--ember);
}
.feature-photo-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.feature-photo-body .eyebrow { margin-bottom: .5rem; }
.feature-photo-body h3 {
  font-family: var(--font-headline);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--fg);
}
.feature-photo-body p {
  color: var(--fg-2);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
}

/* ── 1980 Olympia container ───────────────────────────────── */
.olympia {
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%,
      color-mix(in oklab, var(--blood) 30%, transparent), transparent 65%),
    linear-gradient(180deg, var(--bg-0), color-mix(in oklab, var(--blood) 8%, var(--bg-0)));
  border-radius: 24px;
  padding: 4rem 2.25rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}
.olympia::after {
  content: "1980";
  position: absolute;
  bottom: -3rem;
  right: -1rem;
  font-family: var(--font-headline);
  font-size: clamp(8rem, 22vw, 20rem);
  line-height: 0.8;
  color: color-mix(in oklab, var(--blood) 18%, transparent);
  pointer-events: none;
}

/* ── Callout / postscript ─────────────────────────────────── */
.callout { padding: 2.25rem; border-radius: 16px; margin: 2.5rem 0; position: relative; }
.callout h3 {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
}
.callout p { color: var(--fg-2); line-height: 1.75; margin-bottom: 0.75rem; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--gold); font-weight: 500; }
.callout em { color: var(--gold); font-style: italic; }
.callout .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blood);
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid color-mix(in oklab, var(--blood) 60%, transparent);
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ── Impact grid ──────────────────────────────────────────── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.impact-item {
  padding: 2rem;
  background: var(--bg-1);
  transition: background .3s;
}
.impact-item:hover { background: var(--bg-2); }
.impact-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1.25rem;
}
.impact-item h3 {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.impact-item p { color: var(--fg-2); font-size: 0.95rem; line-height: 1.7; }

/* ── Bonus footer (in-article — not the site footer) ──────── */
.bonus-foot {
  padding: 5rem 2rem 3rem;
  max-width: var(--container);
  margin: 4rem auto 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.foot-quote {
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: var(--fg-2);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}
.foot-credit {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.foot-credit .hd {
  display: block;
  font-family: var(--font-headline);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--blood);
  margin-top: 1.25rem;
  text-transform: uppercase;
  text-shadow: 0 0 30px color-mix(in oklab, var(--blood) 70%, transparent);
}

/* ── Reveal-on-scroll ─────────────────────────────────────── */
/* Only opt into the hidden state once JS has fired, so that if the
   script fails or is blocked the content still renders. */
.reveal { transition: opacity .9s cubic-bezier(.2,.8,.2,1),
                      transform .9s cubic-bezier(.2,.8,.2,1); }
html.js-ready .reveal { opacity: 0; transform: translateY(24px); }
html.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* Section transition rule */
.rule {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, var(--line-2) 30%, var(--line-2) 70%, transparent);
}

/* Scroll progress ticker */
.progress {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
@media (max-width: 820px) { .progress { display: none; } }
.progress .pct {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-3);
}
.progress .bar {
  width: 80px; height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.progress .bar::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ember);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* ── Side dock (this page doesn't load global style.css) ────
   Same structural rules as style.css but tinted with the tribute's
   blood / ember / gold palette so the dock reads as part of this page. */
.side-dock {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(6, 2, 5, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid color-mix(in oklab, var(--blood) 35%, transparent);
  border-radius: 18px;
  padding: 0.65rem 0.5rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 40px color-mix(in oklab, var(--blood) 14%, transparent);
}
.dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(139, 160, 180, 0.65);
  transform-origin: right center;
  transition: color 0.22s ease, background 0.22s ease,
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease;
  outline: none;
  touch-action: manipulation;
}
.dock-item::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 12px;
  background: radial-gradient(ellipse at center,
    color-mix(in oklab, var(--gold) 32%, transparent) 0%, transparent 72%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.dock-item:hover::before,
.dock-item.active::before { opacity: 1; }
.dock-item:hover {
  color: var(--gold);
  background: color-mix(in oklab, var(--gold) 10%, transparent);
  transform: scale(1.18);
  box-shadow:
    0 0 22px color-mix(in oklab, var(--gold) 45%, transparent),
    0 0 9px color-mix(in oklab, var(--gold) 28%, transparent),
    0 4px 14px rgba(0, 0, 0, 0.35);
}
.dock-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.dock-item.active {
  color: var(--gold);
  background: color-mix(in oklab, var(--gold) 8%, transparent);
  box-shadow: 0 0 12px color-mix(in oklab, var(--gold) 22%, transparent);
}
.dock-item.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 3px;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 7px color-mix(in oklab, var(--gold) 90%, transparent);
}
.dock-icon { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.dock-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(4, 6, 14, 0.94);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.26rem 0.62rem;
  border-radius: 6px;
  border: 1px solid color-mix(in oklab, var(--blood) 32%, transparent);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.38);
}
.dock-item:hover .dock-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 768px) {
  .side-dock {
    right: 0.55rem;
    padding: 0.5rem 0.35rem;
    gap: 0.3rem;
    border-radius: 14px;
  }
  .dock-item { width: 36px; height: 36px; border-radius: 10px; }
  .dock-item:hover { transform: scale(1.1); }
  .dock-icon { width: 17px; height: 17px; }
  .dock-label { display: none; }
  .dock-item.active::after { width: 3px; height: 3px; bottom: 2px; }
}

/* Grain shouldn't smother the dock or sticky nav clickability.
   pointer-events:none keeps it inert, but it visually sits on top of
   everything — lower its z-index below the dock + sticky nav. */
.grain { z-index: 30; }
.scan  { z-index: 29; }

/* ── Site footer (this page doesn't load global style.css) ── */
footer {
  width: 100%;
  background: oklch(0.10 0.012 30);
  border-top: 1px solid var(--line);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-logo-img {
  width: 44px; height: auto;
  margin: 0 auto 0.6rem;
  display: block;
  opacity: 0.8;
  filter: drop-shadow(0 0 6px color-mix(in oklab, var(--gold) 30%, transparent));
}
.footer-logo {
  font-size: 1.3rem; font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.4rem;
}
.footer-logo span { color: var(--gold); }
.footer-tagline {
  font-size: 0.78rem;
  color: var(--fg-3);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex; gap: 1.5rem;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-links a {
  color: var(--fg-3);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  font-size: 0.7rem;
  color: var(--fg-3);
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-pulse, .portrait-image img, .feature-photo-img img,
  .vid-play, .tl-item, .card { transition: none; animation: none; }
}
