/* ============================================================
   Arsh Jaiswwal — Spotlight Noir
   Design tokens live here. Change a colour once, it changes everywhere.
   ============================================================ */

:root {
  /* Palette: a dark stage, one spotlight */
  --stage: #0b0b0d;        /* page background */
  --panel: #16161a;        /* cards, episode tiles */
  --panel-2: #1f1f25;      /* raised cards, hover */
  --line: #2a2a31;         /* hairlines on dark */
  --ivory: #f3eee4;        /* headlines, body */
  --dust: #9b968c;         /* secondary text */
  --gold: #c9a45c;         /* the one accent */
  --gold-soft: rgba(201, 164, 92, .14);
  --gold-bright: #e2c27e;  /* gold text on dark at small sizes */
  --signal: #b3261e;       /* the "live" dot only */
  --paper: #f6f2ea;        /* light reading sections */
  --ink: #141317;          /* text on paper */
  --ink-dust: #5f5a52;

  /* Type */
  --f-display: "Anton", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --f-serif: "Playfair Display", "Didot", Georgia, serif;
  --f-text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-code: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Scale */
  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.375rem;
  --t-xl: clamp(1.75rem, 3.2vw, 2.5rem);
  --t-xxl: clamp(2.8rem, 7.5vw, 6rem);
  --t-mega: clamp(5rem, 22vw, 17rem);

  /* Space */
  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: 38rem;
  --wide: 76rem;
  --radius: 10px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--stage);
  color: var(--ivory);
  font-family: var(--f-text);
  font-size: var(--t-m);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold-bright); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--stage); }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--gold); color: var(--stage); padding: .5rem .75rem; z-index: 100; }
.skip:focus { left: .5rem; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-code); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--dust); }
.gold { color: var(--gold); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--stage) 82%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-serif); font-size: 1.15rem; font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
.brand::before {               /* AJ monogram, stands in for the logo */
  content: "AJ"; display: grid; place-items: center;
  width: 2rem; height: 2rem; border: 1px solid var(--gold); border-radius: 50%;
  font-family: var(--f-serif); font-style: italic; font-size: .8rem; color: var(--gold);
}
.brand img { height: 2rem; width: auto; }
.brand:has(img)::before { display: none; }
.nav { display: flex; align-items: center; gap: clamp(.75rem, 2.5vw, 1.75rem); font-size: var(--t-s); }
.nav a { text-decoration: none; color: var(--dust); padding: .25rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); }
.switch-profile { font: inherit; font-size: var(--t-xs); background: none; border: 1px solid var(--line); color: var(--dust); border-radius: 999px; padding: .3rem .7rem; cursor: pointer; }
.switch-profile:hover { color: var(--ivory); border-color: var(--gold); }
@media (max-width: 640px) {
  .site-head .wrap { flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
  .nav { width: 100%; justify-content: space-between; }
  .brand { font-size: 1rem; }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--stage);
  text-decoration: none; font-size: var(--t-s); font-weight: 600;
  padding: .8rem 1.35rem; border-radius: 999px; border: 0; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.button:hover { background: var(--ivory); color: var(--stage); transform: translateY(-1px); }
.button.ghost { background: transparent; color: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); }
.button.ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-bright); }

/* ---------- Headings ---------- */
h1, h2, h3 { margin: 0; }
h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-xxl); line-height: .95; letter-spacing: .005em; text-transform: uppercase; margin: 0 0 2rem; }
h3, h2.h3 { font-family: var(--f-serif); font-weight: 600; font-size: var(--t-xl); line-height: 1.1; letter-spacing: -.01em; text-transform: none; margin: 0 0 .75rem; }
h1.page-title { font-family: var(--f-display); font-weight: 400; font-size: var(--t-xxl); line-height: .95; text-transform: uppercase; margin: 0 0 2rem; }
.eyebrow { font-family: var(--f-code); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: var(--gold); }
em.serif, .serif { font-family: var(--f-serif); font-style: italic; text-transform: none; font-weight: 500; }
p { margin: 0 0 1rem; }
.lede { font-size: var(--t-l); line-height: 1.45; max-width: var(--measure); }
.prose { max-width: var(--measure); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 11vw, 9rem) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

/* ============================================================
   HOME
   ============================================================ */
.home main { display: flex; flex-direction: column; }
.home main > * { order: 0; }
.home #hero { order: -10; }

/* 1. Intro (plays once, under 2 s) */
.intro {
  position: fixed; inset: 0; z-index: 90; background: #000;
  display: grid; place-items: center; text-align: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.intro .who { font-family: var(--f-serif); font-size: clamp(2.4rem, 8vw, 5rem); letter-spacing: -.02em; opacity: 0; transform: scale(.96); animation: intro-in 1.1s var(--ease) .15s forwards; }
.intro .who span { color: var(--gold); font-style: italic; }
.intro .bar { width: 8rem; height: 1px; margin: 1.2rem auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); animation: bar-in 1s var(--ease) .5s forwards; }
.intro.is-done { opacity: 0; visibility: hidden; }
.intro[hidden] { display: none; }
@keyframes intro-in { to { opacity: 1; transform: none; } }
@keyframes bar-in { to { transform: none; } }

/* 2. Who's watching? */
.chooser {
  position: fixed; inset: 0; z-index: 80; background: radial-gradient(60% 50% at 50% 35%, #1b1a20 0%, #060607 70%);
  display: grid; place-items: center; padding: var(--gutter);
  transition: opacity .5s var(--ease), visibility .5s;
}
.chooser[hidden] { display: none; }
.chooser.is-leaving { opacity: 0; visibility: hidden; }
.chooser h2 { font-family: var(--f-serif); text-transform: none; font-weight: 500; font-size: clamp(2rem, 5vw, 3.25rem); text-align: center; margin-bottom: 2.5rem; }
.profiles { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 3vw, 2rem); list-style: none; margin: 0; padding: 0; }
.profile { all: unset; cursor: pointer; display: grid; justify-items: center; gap: .9rem; width: clamp(7.5rem, 22vw, 10rem); text-align: center; }
.profile .tile {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: clamp(2.2rem, 6vw, 3.2rem); color: var(--stage);
  border: 3px solid transparent; transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.profiles li:nth-child(1) .tile { background: linear-gradient(140deg, #e2c27e, #8f6d2e); }
.profiles li:nth-child(2) .tile { background: linear-gradient(140deg, #d9d2c3, #6f695e); }
.profiles li:nth-child(3) .tile { background: linear-gradient(140deg, #c45a3a, #5e1f14); color: var(--ivory); }
.profile .name { color: var(--dust); font-size: var(--t-s); }
.profile .hint { color: var(--dust); font-size: var(--t-xs); opacity: .8; margin-top: -.6rem; }
.profile:hover .tile, .profile:focus-visible .tile { transform: scale(1.05); border-color: var(--ivory); }
.profile:hover .name, .profile:focus-visible .name { color: var(--ivory); }
.profile:focus-visible { outline: none; }
.chooser .skip-choice { all: unset; cursor: pointer; display: block; margin: 2.5rem auto 0; color: var(--dust); font-size: var(--t-s); border-bottom: 1px solid var(--line); }
.chooser .skip-choice:hover { color: var(--ivory); }

/* 3. Hero */
.hero {
  position: relative; min-height: calc(100svh - 3.75rem); overflow: hidden;
  display: grid; align-items: end; padding: clamp(2rem, 6vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(38% 60% at 62% 0%, rgba(226, 194, 126, .22) 0%, rgba(226, 194, 126, .06) 45%, transparent 70%),
    radial-gradient(70% 50% at 50% 110%, #17151a 0%, transparent 70%),
    var(--stage);
}
.hero::after { /* floor glow under the spotlight */
  content: ""; position: absolute; left: 50%; bottom: 8%; width: 46vw; height: 6vw; translate: -38% 0;
  background: radial-gradient(closest-side, rgba(226, 194, 126, .16), transparent); pointer-events: none;
}
.hero .mega {
  position: absolute; right: clamp(-2rem, 1vw, 2rem); top: 52%; translate: 0 -50%;
  font-family: var(--f-serif); font-weight: 800; font-size: var(--t-mega); line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(243, 238, 228, .16);
  background: linear-gradient(180deg, rgba(243, 238, 228, .14), rgba(243, 238, 228, 0) 85%); -webkit-background-clip: text; background-clip: text;
  white-space: nowrap; user-select: none; pointer-events: none; z-index: 0;
}
.hero .portrait-slot {
  position: absolute; right: clamp(1rem, 10vw, 12rem); bottom: 0; z-index: 1;
  width: clamp(14rem, 30vw, 26rem); aspect-ratio: 3 / 4;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(226, 194, 126, .10), rgba(11, 11, 13, .2) 60%, var(--stage)), #121216;
  border: 1px solid rgba(226, 194, 126, .18); border-bottom: 0;
  display: grid; place-items: center; text-align: center; color: var(--dust); font-size: var(--t-xs);
}
.hero .portrait-slot .mono-mark { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(5rem, 11vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(226, 194, 126, .45); }
.hero .portrait-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: inherit; }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero h1 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.2rem, 10vw, 8.5rem); line-height: .88; letter-spacing: .005em; max-width: 9ch; margin: 0 0 1.5rem; }
.hero h1 .serif { display: block; color: var(--gold); font-size: .62em; line-height: 1; margin-top: .1em; letter-spacing: -.01em; }
.hero .logline { max-width: 30rem; font-size: var(--t-l); line-height: 1.4; margin: 0 0 2rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .signature { position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 2; font-family: var(--f-serif); font-style: italic; font-size: 1.6rem; color: var(--gold); opacity: .85; }
@media (max-width: 820px) {
  .hero { display: block; min-height: 0; padding-top: 1.5rem; }
  .hero .portrait-slot { position: relative; right: auto; margin: 0 auto 1.75rem; width: min(62vw, 18rem); }
  .hero .mega { right: auto; left: 50%; top: 9rem; translate: -50% 0; font-size: 34vw; }
  .hero .signature { display: none; }
  .hero::after { display: none; }
}
@media (max-width: 640px) { .switch-profile { display: none; } }

/* 4. Impact strip */
.impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.impact figure { margin: 0; padding: clamp(1.5rem, 3vw, 2.5rem) clamp(.75rem, 2vw, 1.5rem); }
.impact figure + figure { border-left: 1px solid var(--line); }
.impact .n { display: block; font-family: var(--f-display); font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.impact figcaption { font-size: var(--t-s); color: var(--dust); margin-top: .6rem; max-width: 15rem; }
@media (max-width: 820px) {
  .impact { grid-template-columns: 1fr 1fr; }
  .impact figure:nth-child(3) { border-left: 0; }
  .impact figure:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* 5. Statement */
.statement { text-align: left; }
.statement .small { font-family: var(--f-display); font-size: clamp(1.4rem, 3.2vw, 2.4rem); text-transform: uppercase; color: var(--dust); margin: 0; }
.statement .big { font-family: var(--f-serif); font-weight: 800; font-size: clamp(4.5rem, 16vw, 12rem); line-height: .9; letter-spacing: -.03em; margin: .1em 0 .15em; }
.statement .big span { color: var(--gold); }
.statement .turn { font-family: var(--f-display); font-size: clamp(1.6rem, 4vw, 3rem); text-transform: uppercase; line-height: 1.05; color: var(--gold); max-width: 22ch; margin: 0; }
.statement .aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: var(--gutter); align-items: end; }
.statement .aside p.serif { font-size: var(--t-l); color: var(--ivory); margin: 0; }
@media (max-width: 820px) { .statement .aside { grid-template-columns: 1fr; } }
.js .slam > * { opacity: 0; transform: translateY(1.2rem) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .slam.is-in > * { opacity: 1; transform: none; }
.js .slam.is-in > :nth-child(2) { transition-delay: .25s; }
.js .slam.is-in > :nth-child(3) { transition-delay: .55s; }
.js .slam.is-in > :nth-child(4) { transition-delay: .8s; }

/* 6. Seasons row */
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.row-head h2 { margin: 0; }
.row-head a { font-size: var(--t-s); color: var(--dust); white-space: nowrap; }
.seasons { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15.5rem, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem 0 1.25rem; list-style: none; margin: 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.seasons li { scroll-snap-align: start; }
.ep {
  position: relative; display: flex; flex-direction: column; justify-content: end; height: 100%; min-height: 19rem;
  padding: 1.25rem; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, .85)), var(--tint, var(--panel));
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.ep:hover, .ep:focus-visible { transform: translateY(-4px) rotate(-.4deg); border-color: var(--gold); color: inherit; }
.ep .num { position: absolute; top: .4rem; right: .9rem; font-family: var(--f-display); font-size: 5.5rem; line-height: 1; color: rgba(243, 238, 228, .08); }
.ep .tag { font-family: var(--f-code); font-size: var(--t-xs); letter-spacing: .1em; color: var(--gold-bright); }
.ep .title { font-family: var(--f-display); font-size: 1.9rem; text-transform: uppercase; line-height: 1; margin: .35rem 0 .5rem; }
.ep .meta { font-size: var(--t-s); color: var(--dust); margin: 0; }
.ep.s1 { --tint: linear-gradient(150deg, #2b3a4a, #121821); }
.ep.s2 { --tint: linear-gradient(150deg, #5b2a1e, #1c0f0c); }
.ep.s3 { --tint: linear-gradient(150deg, #3a2f52, #141020); }
.ep.s4 { --tint: linear-gradient(150deg, #6b5426, #1e180c); }
.ep.s5 { --tint: linear-gradient(150deg, #1f4a40, #0c1a17); }
.ep.s6 { --tint: repeating-linear-gradient(135deg, #141417 0 14px, #18181c 14px 28px); border-style: dashed; }
.ep.s6 .title { color: var(--gold); }
.ep .live { display: inline-flex; align-items: center; gap: .4rem; }
.ep .live::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(179, 38, 30, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 .5rem rgba(179, 38, 30, 0); } 100% { box-shadow: 0 0 0 0 rgba(179, 38, 30, 0); } }

/* 7. Top moments */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.moment { position: relative; padding: 1.75rem 1.25rem 1.5rem; border-radius: var(--radius); background: linear-gradient(180deg, var(--gold-soft), transparent 70%), var(--panel); border: 1px solid rgba(201, 164, 92, .28); text-align: center; }
.moment svg { width: 4.5rem; height: auto; margin: 0 auto .5rem; color: var(--gold); }
.moment .rank { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--gold-bright); }
.moment .what { font-family: var(--f-serif); font-size: 1.15rem; font-weight: 600; margin: .35rem 0 .35rem; }
.moment .when { font-family: var(--f-code); font-size: var(--t-xs); color: var(--dust); letter-spacing: .06em; margin: 0; }
@media (max-width: 960px) { .moments { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .moments { grid-template-columns: 1fr; } }

/* 8. What I can do (accordion) */
.caps { border-top: 1px solid var(--line); }
.caps details { border-bottom: 1px solid var(--line); }
.caps summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 3.5rem 1fr auto; align-items: center; gap: 1rem; padding: 1.4rem 0; }
.caps summary::-webkit-details-marker { display: none; }
.caps .i { font-family: var(--f-code); font-size: var(--t-xs); color: var(--gold); }
.caps .t { font-family: var(--f-display); font-size: clamp(1.6rem, 4vw, 2.8rem); text-transform: uppercase; line-height: 1; }
.caps summary::after { content: "+"; font-size: 1.8rem; line-height: 1; color: var(--dust); transition: transform .3s var(--ease); }
.caps details[open] summary::after { transform: rotate(45deg); color: var(--gold); }
.caps summary:hover .t { color: var(--gold-bright); }
.caps .body { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; padding: 0 0 1.75rem; }
.caps .body p { grid-column: 2; color: var(--dust); margin: 0; }
.caps .body ul { grid-column: 3; margin: 0; padding: 0; list-style: none; font-size: var(--t-s); }
.caps .body li { padding: .3rem 0; border-bottom: 1px dashed var(--line); }
@media (max-width: 720px) {
  .caps summary { grid-template-columns: 2.25rem 1fr auto; }
  .caps .body { grid-template-columns: 2.25rem 1fr; }
  .caps .body ul { grid-column: 2; }
}

/* 9. Case files */
.files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.file {
  display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; min-height: 17rem;
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.file:hover, .file:focus-visible { border-color: var(--gold); background: var(--panel-2); transform: translateY(-3px); color: inherit; }
.file .kind { font-family: var(--f-code); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-bright); margin: 0; }
.file .h { font-family: var(--f-serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; margin: 0; }
.file .result { margin-top: auto; font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--gold); }
.file .result small { display: block; font-family: var(--f-text); font-size: var(--t-xs); color: var(--dust); margin-top: .3rem; }
@media (max-width: 1040px) { .files { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .files { grid-template-columns: 1fr; } }

/* 10. Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote { margin: 0; padding: 1.75rem; border-radius: var(--radius); border: 1px dashed var(--line); background: var(--panel); }
.quote blockquote { margin: 0 0 1.25rem; font-family: var(--f-serif); font-size: 1.15rem; line-height: 1.45; }
.quote figcaption { font-size: var(--t-s); color: var(--dust); }
.quote.pending blockquote { color: var(--dust); font-style: italic; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* 11. To be continued */
.finale { text-align: center; padding-bottom: clamp(3rem, 8vw, 6rem); }
.finale h2 { font-family: var(--f-display); font-size: clamp(3rem, 11vw, 9rem); margin-bottom: 1rem; }
.finale .next { font-family: var(--f-serif); font-style: italic; font-size: var(--t-xl); color: var(--gold); margin: 0 0 2.5rem; }
.finale .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* Per-visitor order (set by the "Who's watching?" choice) */
[data-viewer="recruiter"] #impact { order: -9; }
[data-viewer="recruiter"] #seasons { order: -8; }
[data-viewer="recruiter"] #moments { order: -7; }
[data-viewer="founder"] #statement { order: -9; }
[data-viewer="founder"] #files { order: -8; }
[data-viewer="founder"] #seasons { order: -7; }
[data-viewer="brand"] #reel { order: -9; }
[data-viewer="brand"] #caps { order: -8; }
.for-recruiter, .for-founder, .for-brand { display: none; }
body:not([data-viewer]) .for-recruiter,
[data-viewer="recruiter"] .for-recruiter,
[data-viewer="founder"] .for-founder,
[data-viewer="brand"] .for-brand { display: inline-flex; }

/* ---------- Placeholder footage (until the shoot) ---------- */
.footage {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 255, 255, .025) 22px 23px), radial-gradient(60% 80% at 50% 0%, rgba(226, 194, 126, .10), transparent 70%), var(--panel);
  border: 1px solid var(--line);
  color: var(--dust); display: grid; place-items: center; text-align: center; font-size: var(--t-s); padding: 1.5rem;
}
.footage strong { display: block; color: var(--ivory); font-weight: 600; margin-bottom: .25rem; }
a.footage { text-decoration: none; transition: border-color .3s var(--ease); }
a.footage:hover, a.footage:focus-visible { border-color: var(--gold); color: var(--gold-bright); }
.reelstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.reelstrip > * { scroll-snap-align: start; }

/* ---------- Numbers (inner pages) ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); border-top: 1px solid var(--line); padding-top: 1.5rem; }
.numbers figure { margin: 0; }
.numbers .n { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1; color: var(--gold); display: block; }
.numbers figcaption { font-size: var(--t-s); color: var(--dust); margin-top: .5rem; max-width: 16rem; }
@media (max-width: 720px) { .numbers { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   JOURNEY (seasons)
   ============================================================ */
.journey-head { padding: clamp(3.5rem, 9vw, 7rem) 0 2rem; background: radial-gradient(50% 80% at 70% 0%, rgba(226, 194, 126, .12), transparent 70%); }
.route { font-family: var(--f-code); font-size: var(--t-xs); color: var(--dust); display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin-top: 1.5rem; letter-spacing: .04em; }
.route span[aria-hidden] { color: var(--gold); }
.route .here { color: var(--ivory); }
.season-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.season-jump a { font-family: var(--f-code); font-size: var(--t-xs); text-decoration: none; padding: .35rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--dust); }
.season-jump a:hover { border-color: var(--gold); color: var(--gold-bright); }

.act { padding: clamp(3rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); transition: opacity .6s var(--ease); }
.js .act:not(.is-active) { opacity: .5; }
@media (prefers-reduced-motion: reduce) { .js .act:not(.is-active) { opacity: 1; } }
.act-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.act-head .roman { display: block; font-family: var(--f-code); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.act-head h2 { margin: 0; }
.act-head .when { font-family: var(--f-code); font-size: var(--t-xs); color: var(--dust); text-align: right; }
.act-intro { max-width: var(--measure); margin: 0 0 2rem; font-family: var(--f-serif); font-style: italic; font-size: var(--t-l); color: var(--ivory); }
.scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--gutter); padding: 2rem; margin-bottom: 1rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.scene .role { font-family: var(--f-serif); font-weight: 600; font-size: var(--t-l); line-height: 1.2; margin: 0 0 .25rem; }
.scene .org { color: var(--dust); font-size: var(--t-s); margin: 0 0 1rem; }
.scene ul { margin: 0; padding: 0 0 0 1.1rem; }
.scene li { margin-bottom: .5rem; }
.scene li::marker { color: var(--gold); }
.scene .skills { font-family: var(--f-code); font-size: var(--t-xs); letter-spacing: .04em; color: var(--gold-bright); margin-top: 1.25rem; }
.scene:not(:has(> :nth-child(2))) { grid-template-columns: 1fr; }
@media (max-width: 820px) { .scene { grid-template-columns: 1fr; padding: 1.5rem; } }
@media (max-width: 640px) { .act-head { grid-template-columns: 1fr; align-items: start; gap: .75rem; } .act-head .when { text-align: left; } }
.interlude { padding: 2rem 0; border-top: 1px solid var(--line); background: repeating-linear-gradient(135deg, #0d0d10 0 14px, #101014 14px 28px); }
.interlude p { margin: 0; }
.interlude .mono { color: var(--gold); margin-right: .75rem; }

/* "Now playing" badge (journey) */
.timecode { position: fixed; right: .75rem; bottom: .75rem; z-index: 30; font-family: var(--f-code); font-size: var(--t-xs); font-variant-numeric: tabular-nums; color: var(--dust); display: flex; align-items: center; gap: .5rem; pointer-events: none; background: color-mix(in srgb, var(--stage) 88%, transparent); border: 1px solid var(--line); padding: .35rem .7rem; border-radius: 999px; }
.timecode .dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--signal); }
.timecode .reel { color: var(--ivory); }
@media (max-width: 1100px) { .timecode { display: none; } }

/* ============================================================
   WORK, CASE STUDIES, ABOUT, CONTACT
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filters button { font: inherit; font-size: var(--t-s); background: transparent; color: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1.05rem; cursor: pointer; }
.filters button:hover { border-color: var(--gold); }
.filters button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--stage); }
.work-list { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.case { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gutter); align-items: start; }
.case[hidden] { display: none; }
.case .kind, .casestudy .kind { font-family: var(--f-code); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: .75rem; }
.casestudy .kind a { color: inherit; }
.case dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 1.25rem 0 0; font-size: var(--t-s); }
.case dt { color: var(--dust); }
.case dd { margin: 0; }
.case .h3 a { text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .4s var(--ease); }
.case .h3 a:hover, .case .h3 a:focus-visible { background-size: 100% 1px; color: inherit; }
@media (max-width: 820px) { .case { grid-template-columns: 1fr; } }

/* Case studies read on the light "paper" stage */
.casestudy { background: var(--paper); color: var(--ink); }
.casestudy a:hover { color: #8a6a24; }
.casestudy .kind { color: #8a6a24; }
.casestudy .lede { color: var(--ink); }
.casestudy .footage { background: radial-gradient(60% 80% at 50% 0%, rgba(201, 164, 92, .25), transparent 70%), #1a191d; color: var(--dust); border: 0; }
.casestudy .button { background: var(--ink); color: var(--paper); }
.casestudy .button:hover { background: var(--gold); color: var(--ink); }
.casestudy .button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cs-facts { display: grid; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .35rem 2rem; margin: 2.5rem 0; padding: 1.25rem 0; border-top: 1px solid #d9d3c7; border-bottom: 1px solid #d9d3c7; }
.cs-facts dt { font-family: var(--f-code); font-size: var(--t-xs); color: var(--ink-dust); text-transform: uppercase; letter-spacing: .08em; }
.cs-facts dd { margin: 0; }
@media (max-width: 640px) { .cs-facts { grid-template-rows: none; grid-auto-flow: row; grid-template-columns: max-content 1fr; gap: .6rem 1.25rem; } }
.cs-body { max-width: var(--measure); }
.cs-h { font-family: var(--f-serif); text-transform: none; font-weight: 600; font-size: var(--t-xl); line-height: 1.15; margin: 3rem 0 1rem; }
.cs-body ul { padding-left: 1.1rem; }
.cs-body li { margin: .5rem 0; }
.casestudy .reelstrip { padding: 0; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--gutter); }
.portrait { aspect-ratio: 4 / 5; position: sticky; top: 5rem; }
.how { padding-left: 1.2rem; }
.how li { margin: .4rem 0; }
.how li::marker { color: var(--gold); }
.skill-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.5rem 2rem; }
.skill-cols .mono { margin-bottom: .5rem; color: var(--gold); }
.index { padding: 0; list-style: none; font-size: var(--t-s); margin: 0; }
.index li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .portrait { position: static; } }

.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.routes article { padding: 1.75rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.routes article:target { border-color: var(--gold); }
.route-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
@media (max-width: 820px) { .routes { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 3rem 0 0; font-size: var(--t-s); color: var(--dust); overflow: hidden; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-foot a { color: var(--ivory); }
.site-foot a:hover { color: var(--gold-bright); }
.site-foot .end { font-family: var(--f-serif); font-style: italic; font-size: var(--t-l); color: var(--ivory); }
.footname { font-family: var(--f-display); font-size: clamp(4rem, 19vw, 18rem); line-height: .8; text-align: center; letter-spacing: .01em; margin: 2.5rem 0 -0.06em; color: transparent; background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 164, 92, .15) 90%); -webkit-background-clip: text; background-clip: text; user-select: none; white-space: nowrap; }

/* ---------- Reveal on scroll ---------- */
.js .rise { opacity: 0; transform: translateY(1.25rem); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .slam > * { opacity: 1; transform: none; transition: none; }
  .intro { display: none; }
  .ep, .file, .button { transition: none; }
  .ep .live::before { animation: none; }
}
