/* ============================================================
   PHR · EDITORIAL VARIANT
   Black on warm grey. Type, grid, whitespace.
   No red. No noise. No crosshairs.
   #111111  /  #E4E4E4
   ============================================================ */

/* ============================================================
   LOCAL FONTS — GDPR-compliant, no Google CDN
   Upload .woff2 files to /assets/fonts/. Browsers fall back to
   system stack until then.
   ============================================================ */

/* Archivo */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/archivo-400.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/archivo-500.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/archivo-600.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/archivo-700.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/archivo-800.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 900; font-display: swap; src: url('assets/fonts/archivo-900.woff2') format('woff2'); }

/* Inter */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-600.woff2') format('woff2'); }

/* JetBrains Mono */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/jetbrains-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/jetbrains-mono-500.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/jetbrains-mono-600.woff2') format('woff2'); }

* { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0 !important; }

html { font-size: 100%; }
html, body { background: #0a0a0a; color: #f1ede4; }

/* Light variant kept as opt-in via data-theme="light" — currently unused */
html[data-theme="light"], html[data-theme="light"] body {
  background: #E4E4E4;
  color: #111111;
}
html[data-theme="light"] {
  --bg:        #E4E4E4;
  --fg:        #111111;
  --fg-soft:   #5C5C5C;
  --fg-mute:   #8A8A8A;
  --line:      #C9C9C9;
  --line-soft: #D6D6D6;
  --paper:     #E4E4E4;
}

body {
  font-family: "Inter", "Söhne", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01", "ss02", "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ----- Tokens ----- */
:root {
  --bg:        #0a0a0a;
  --fg:        #f1ede4;
  --fg-soft:   #b8b1a3;
  --fg-mute:   #8a8377;
  --line:      #2a2a2a;
  --line-soft: #1c1c1c;
  --paper:     #161616;
  --soul:      #f1ede4;
  --accent:    #f1ede4;

  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-sans:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --col: 1fr;
  --gutter: 24px;
  --pad-x: clamp(20px, 4vw, 48px);
  --max: 1480px;
  --sect-y: clamp(80px, 10vw, 160px);

  /* Spacing scale. Additive — existing clamp() values keep working. */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: clamp(48px, 5vw, 80px);
  --space-2xl: clamp(72px, 8vw, 120px);

  /* Motion. Existing 0.18s / 0.22s / 0.3s transitions keep working. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 400ms;

  /* Borders / radius. */
  --border-thin: 1px solid var(--line);
  --border-strong: 1px solid var(--fg);
  --radius-tight: 2px;

  /* Z-index scale. */
  --z-base: 1;
  --z-sticky: 30;
  --z-fixed: 40;
  --z-modal: 50;

  /* Focus ring. Reused by all interactive elements. */
  --focus-ring: 2px solid var(--fg);
  --focus-offset: 2px;
}

/* ----------------------------------------------------------------
   Print stylesheet. Make long-form content print-friendly.
   Dark background to white. Sans-serif body, mono labels preserved.
   Hide non-content chrome (header, footer, cross-nav, share buttons).
   ---------------------------------------------------------------- */
@media print {
  :root {
    --bg: #ffffff;
    --fg: #111111;
    --fg-soft: #444444;
    --fg-mute: #888888;
    --line: #cccccc;
    --line-soft: #e0e0e0;
    --paper: #ffffff;
  }
  html, body {
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 11pt;
    line-height: 1.5;
  }
  /* Hide site chrome */
  header.topbar,
  .skip-link,
  .mobile-drawer,
  footer,
  .essay-share,
  .essay-share-nav,
  .cross-nav,
  .reading-tools,
  .essay-next-section,
  .hero-cinema-overlay,
  .hero-cinema-video,
  .phr-marquee,
  .klaro,
  .cookie-notice,
  .ix-listen,
  .ix-x-card,
  .live-feed,
  .ix-scale-cta,
  .ix-gal-teaser,
  .topbar,
  nav,
  button,
  .biz-cta,
  .biz-kit-banner,
  .pk-bio-copy {
    display: none !important;
  }
  /* Hero shrinks to a clean letterpress header */
  .hero-cinema,
  .doc-hero {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 0 24pt !important;
    border-bottom: 1px solid #cccccc;
    background: #ffffff !important;
    color: #111111 !important;
  }
  .hero-cinema-title h1,
  .doc-hero h1,
  h1 {
    color: #111111 !important;
    font-size: 28pt !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    page-break-after: avoid;
  }
  .hct-eyebrow,
  .eyebrow,
  .essay-section-num,
  .section-num,
  .biz-eyebrow,
  .pk-eyebrow {
    color: #666666 !important;
    font-size: 8pt !important;
    letter-spacing: 0.18em;
    margin-bottom: 8pt;
  }
  .hct-lede,
  .lede,
  .essay-body p,
  .pk-bio p {
    color: #111111 !important;
    font-size: 11pt !important;
    line-height: 1.55 !important;
    orphans: 3;
    widows: 3;
  }
  h2, h3 {
    color: #111111 !important;
    page-break-after: avoid;
    margin-top: 16pt;
  }
  h2 { font-size: 18pt !important; }
  h3 { font-size: 14pt !important; }
  blockquote {
    color: #111111 !important;
    border-left: 2pt solid #111111 !important;
    margin: 12pt 0;
    padding-left: 14pt;
  }
  a {
    color: #111111 !important;
    text-decoration: underline;
  }
  /* Print URLs after links for citation */
  .essay-body a[href^="http"]:after,
  .essay-body a[href^="https"]:after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #666666;
  }
  /* Page break helpers */
  .essay-final,
  .biz-cta,
  .pk-section {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  /* Footer-style colophon at print end */
  article:after,
  .essay-wrap:after,
  .biz-wrap:after,
  .pk-wrap:after {
    content: "Post-Hype Realism · posthyperealism.com · © BeNΔ$TY";
    display: block;
    margin-top: 24pt;
    padding-top: 12pt;
    border-top: 1px solid #cccccc;
    font-family: monospace;
    font-size: 8pt;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #666666;
  }
}

/* Accessibility. Respect user preference for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Keyboard focus. Additive default — pages can still override. */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* Skip-to-content link. Visible only on keyboard focus. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: var(--z-modal);
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* Ray Medulla — dark blood red accent (page-scoped) */
[data-accent="blood"] {
  --soul:   #7a1414;
  --soul-2: #a02323;
}

/* Reaper Ray — cold iron / asphalt accent (page-scoped) */
[data-accent="iron"] {
  --soul:   #3a3f44;
  --soul-2: #5a6168;
}

/* ----- Editorial type scale ----- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
  font-weight: 500;
}
.eyebrow .accent { color: var(--fg); }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.86;
  font-style: normal;
  font-stretch: 85%;
  text-transform: none;
}

h1.display { font-size: clamp(72px, 13vw, 232px); font-weight: 900; letter-spacing: -0.055em; line-height: 0.82; }
h2.display { font-size: clamp(52px, 8vw, 132px); font-weight: 900; letter-spacing: -0.05em; line-height: 0.88; }
h3.display { font-size: clamp(32px, 3.4vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
.display em { font-style: normal; font-weight: 800; letter-spacing: -0.05em; }

.lede {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 44ch;
}

.body-l { font-size: 18px; line-height: 1.55; max-width: 62ch; }
.body-m { font-size: 16px; line-height: 1.55; max-width: 62ch; }
.body-s { font-size: 14px; line-height: 1.55; color: var(--fg-soft); }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ----- Layout shells ----- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

section {
  padding-top: clamp(80px, 10vw, 160px);
  padding-bottom: clamp(80px, 10vw, 160px);
  position: relative;
}

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

/* ----- Top utility bar ----- */
.utility {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.utility-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.utility-left { color: var(--fg-soft); }
.utility-mid { font-weight: 600; letter-spacing: 0.22em; }
.utility-right {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: var(--fg-soft);
}
.utility-right a { transition: color 200ms; }
.utility-right a:hover { color: var(--fg); }
@media (max-width: 800px) {
  .utility-inner { grid-template-columns: 1fr 1fr; }
  .utility-mid { display: none; }
}

/* ----- Hero ----- */
.hero {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(64px, 8vw, 120px);
}
.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 80px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.hero-meta > div { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-soft); }
.hero-meta > div:nth-child(2) { text-align: center; }
.hero-meta > div:nth-child(3) { text-align: right; }
.hero-meta strong { color: var(--fg); font-weight: 600; }

.hero-title { width: 100%; }
.hero-title .eyebrow { display: block; margin-bottom: 24px; }
.hero-title h1 {
  margin: 0;
}
.hero-title h1 em {
  font-style: normal;
  font-family: var(--font-display);
  letter-spacing: -0.05em;
}

/* Doctrine strip — themes between hero title and figure */
.doctrine-strip {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.doctrine-strip li {
  padding: 4px 18px 4px 0;
  margin-right: 18px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.doctrine-strip li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.doctrine-strip li.accent { color: var(--fg); font-weight: 600; }
.doctrine-strip li::before { content: "// "; opacity: 0.5; }

.hero-figure-row {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: end;
}
.hero-figure {
  grid-column: 1 / span 7;
}
.hero-figure-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper);
}
.hero-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.hero-figure figcaption {
  margin-top: 12px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--fg-soft); text-transform: uppercase;
}
.hero-side {
  grid-column: 9 / span 4;
  display: grid;
  gap: 28px;
  padding-bottom: 12px;
}
.hero-side .lede { max-width: none; }
.hero-side--wide { grid-column: 3 / span 8; }
.hero-figure-row--no-image { grid-template-columns: 1fr; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   INTRO STRIP — bridge from cinema hero to body
   ============================================================ */
.intro-strip {
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 6vw, 80px);
}
.intro-grid {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.intro-eyebrow .eyebrow { display: block; padding-top: 8px; }
.intro-lede {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 24ch;
}
.intro-lede em { font-style: normal; font-weight: 600; }
.intro-lede .hl {
  background: var(--soul);
  color: #0a0a0a;
  padding: 0 0.18em 0.05em;
  font-weight: 700;
}
html[data-theme="dark"] .intro-lede .hl { color: #0a0a0a; }
.intro-sub {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 50ch;
}
.intro-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  padding-top: 8px;
}
.intro-cta .btn { justify-content: space-between; }

.intro-toc {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro-toc li {
  border-right: 1px solid var(--line);
}
.intro-toc li:last-child { border-right: 0; }
.intro-toc li a {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
  padding: 18px 16px 20px;
  height: 100%;
  transition: background 0.2s ease;
}
.intro-toc li a:hover { background: rgba(0,0,0,0.04); }
html[data-theme="dark"] .intro-toc li a:hover { background: rgba(255,255,255,0.04); }
.intro-toc li a > span:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
}
.intro-toc li a > span:nth-child(2) {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fg);
}
.intro-toc li a > em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  line-height: 1.3;
}
.intro-toc li.featured a {
  background: var(--fg);
  color: var(--bg);
}
.intro-toc li.featured a > span:first-child,
.intro-toc li.featured a > em { color: rgba(255,255,255,0.65); }
html[data-theme="dark"] .intro-toc li.featured a > span:first-child,
html[data-theme="dark"] .intro-toc li.featured a > em { color: rgba(0,0,0,0.6); }
.intro-toc li.featured a > span:nth-child(2) { color: var(--soul); }
.intro-toc li.featured a:hover { background: var(--fg); }

@media (max-width: 1100px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-cta { flex-direction: row; flex-wrap: wrap; }
  .intro-toc { grid-template-columns: repeat(2, 1fr); }
  .intro-toc li { border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-toc li:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ============================================================
   SHADOW WORK — emotional anchor section
   ============================================================ */
.shadow-section {
  padding: clamp(80px, 10vw, 160px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.shadow-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.shadow-side {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.shadow-side .eyebrow { display: block; }
.shadow-marks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.shadow-marks strong { color: var(--fg); font-weight: 600; }

.shadow-h {
  margin: 0 0 clamp(24px, 3vw, 40px);
  max-width: 12ch;
}
.shadow-h .soul {
  color: var(--soul);
  font-weight: 900;
  font-style: normal;
  font-family: var(--font-display);
}
.shadow-lede {
  max-width: 52ch;
  margin-bottom: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.shadow-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
  max-width: 64ch;
}
.shadow-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: baseline;
}
.shadow-row .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  font-size: 28px;
  color: var(--fg-mute);
  letter-spacing: -0.02em;
}
.shadow-row .t h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 1.8vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--fg);
}
.shadow-row .t p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 52ch;
}

.shadow-next {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  width: 100%;
  max-width: 52ch;
}
.shadow-next .arrow {
  margin-left: auto;
  font-size: 18px;
  transition: transform 0.3s ease;
}
.shadow-next:hover .arrow { transform: translateY(4px); }

@media (max-width: 900px) {
  .shadow-grid { grid-template-columns: 1fr; }
  .shadow-side { position: static; }
}

.hero-cinema {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.hero-cinema-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: contrast(1.05) saturate(0.92);
}
.hero-cinema-vignette {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 32%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.78) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

.hero-cinema-meta {
  position: absolute;
  top: clamp(24px, 4vw, 56px);
  left: var(--pad-x); right: var(--pad-x);
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero-cinema-meta > div:nth-child(2) { text-align: center; }
.hero-cinema-meta > div:nth-child(3) { text-align: right; }
.hero-cinema-meta strong { color: #fff; font-weight: 600; }

.hero-cinema-title {
  position: absolute;
  left: var(--pad-x); right: var(--pad-x);
  bottom: clamp(180px, 22vh, 260px);
  z-index: 3;
  color: #fff;
}
.hero-cinema-title .eyebrow {
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 28px;
}
.hero-cinema-title .eyebrow .accent { color: var(--soul); }
.hero-cinema-display {
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 32px rgba(0,0,0,0.5);
}
.hero-cinema-display .soul {
  color: var(--soul);
  font-style: normal;
  font-weight: 900;
  font-family: var(--font-display);
  letter-spacing: -0.055em;
  /* gentle glow so it lifts off video */
  text-shadow:
    0 0 24px rgba(0,255,136,0.35),
    0 2px 32px rgba(0,0,0,0.5);
}

.hero-cinema-bottom {
  position: absolute;
  left: var(--pad-x); right: var(--pad-x);
  bottom: clamp(20px, 3vw, 36px);
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.doctrine-strip--inverted {
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.55);
  margin: 0;
  flex: 1;
  max-width: 960px;
  font-size: 10px;
}
.doctrine-strip--inverted li { border-right-color: rgba(255,255,255,0.15); }
.doctrine-strip--inverted li.accent { color: var(--soul); }
.doctrine-strip--inverted li::before { color: rgba(255,255,255,0.4); }

.hero-cinema-scroll {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-cinema-scroll .arrow-down {
  font-size: 18px;
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

@media (max-width: 800px) {
  .hero-cinema { min-height: 560px; height: 90vh; }
  .hero-cinema-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cinema-meta { grid-template-columns: 1fr; gap: 6px; }
  .hero-cinema-meta > div:nth-child(2),
  .hero-cinema-meta > div:nth-child(3) { text-align: left; }
}

@media (max-width: 1000px) {
  .hero-figure { grid-column: 1 / -1; }
  .hero-side { grid-column: 1 / -1; margin-top: 32px; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--fg-mute, #7a7a7a);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 200ms, color 200ms;
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn--solid {
  background: var(--fg);
  color: var(--bg);
}
.btn--solid:hover { background: transparent; color: var(--fg); }
.btn .arrow { transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(4px); }

/* ----- Section header ----- */
.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-bottom: clamp(48px, 6vw, 80px);
  margin-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.sec-head .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.sec-head h2 { margin-top: 8px; max-width: 18ch; }

/* ----- Manifest list as editorial index ----- */
.manifest-index {
  display: grid;
  grid-template-columns: 1fr;
}
.manifest-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.manifest-row:first-child { border-top: 1px solid var(--line); }
.manifest-row .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg-soft);
  font-weight: 500;
}
.manifest-row .title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: none;
}
.manifest-row .desc {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  text-transform: uppercase;
  text-align: right;
  max-width: 36ch;
  line-height: 1.5;
}
@media (max-width: 800px) {
  .manifest-row { grid-template-columns: 1fr; gap: 8px; }
  .manifest-row .desc { text-align: left; max-width: none; }
}

/* ----- Identity essay ----- */
.essay {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.essay-figure {
  grid-column: 1 / span 5;
  position: sticky;
  top: 100px;
  align-self: start;
}
.essay-figure-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
}
.essay-figure-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.essay-figure figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
  text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.essay-body {
  grid-column: 7 / span 6;
  display: grid;
  gap: 56px;
}
.essay-block .eyebrow { display: block; margin-bottom: 16px; }
.essay-block h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.essay-block p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  max-width: 56ch;
}
.essay-block p + p { margin-top: 14px; }
.essay-block em { font-family: var(--font-display); font-style: normal; }
.essay-block strong { font-weight: 600; }

@media (max-width: 1000px) {
  .essay-figure { grid-column: 1 / -1; position: static; max-width: 480px; margin-bottom: 56px; }
  .essay-body { grid-column: 1 / -1; }
}

/* ----- Duo strip ----- */
.duo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  margin-top: clamp(80px, 8vw, 120px);
}
.duo-strip > div {
  padding: clamp(36px, 4vw, 56px);
}
.duo-strip > div + div { border-left: 1px solid var(--line); }
.duo-strip h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 88px);
  letter-spacing: -0.05em;
  line-height: 0.88;
  margin: 24px 0;
}
.duo-strip .stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
  text-transform: uppercase;
}
.duo-strip .stat strong { color: var(--fg); font-weight: 600; display: block; margin-bottom: 4px; }
@media (max-width: 800px) {
  .duo-strip { grid-template-columns: 1fr; }
  .duo-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* ----- Gallery — strict editorial grid ----- */
.gallery-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  margin-bottom: clamp(48px, 6vw, 80px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.gallery-head .row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.gallery-head h2 {
  grid-column: 1 / span 8;
  margin-top: 16px;
  max-width: 14ch;
}
.gallery-head .lede {
  grid-column: 9 / span 4;
  align-self: end;
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--fg-soft);
  line-height: 1.55;
}
@media (max-width: 1000px) {
  .gallery-head h2 { grid-column: 1 / -1; }
  .gallery-head .lede { grid-column: 1 / -1; margin-top: 24px; }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(40px, 4vw, 72px) var(--gutter);
}
.work {
  display: block;
  position: relative;
}
.work .img {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 3 / 4;
}
.work .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1), filter 600ms ease;
  filter: grayscale(1) contrast(1.02);
}
.work:hover .img img { transform: scale(1.04); filter: grayscale(0) contrast(1.05); }
.work .meta-row {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.work .title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.6vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1;
}

/* gallery sizing pattern: editorial (varying widths) */
.work.s4 { grid-column: span 4; }
.work.s5 { grid-column: span 5; }
.work.s6 { grid-column: span 6; }
.work.s7 { grid-column: span 7; }
.work.s8 { grid-column: span 8; }
.work.s12 { grid-column: span 12; }
.work.tall .img { aspect-ratio: 3 / 4; }
.work.wide .img { aspect-ratio: 16 / 10; }
.work.sq .img   { aspect-ratio: 1 / 1; }

@media (max-width: 900px) {
  .work.s4, .work.s5, .work.s7, .work.s8 { grid-column: span 6; }
  .work.s6 { grid-column: span 12; }
}
@media (max-width: 600px) {
  .gallery { gap: 40px var(--gutter); }
  .work.s4, .work.s5, .work.s6, .work.s7, .work.s8 { grid-column: span 12; }
}

/* ----- Universe (3 cards, tall, editorial) ----- */
.universe {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.uni {
  display: block;
}
.uni .img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper);
}
.uni .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 500ms ease;
}
.uni:hover .img img { transform: scale(1.05); filter: grayscale(0); }
.uni .meta {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.uni h3.display {
  margin-top: 12px;
  font-size: clamp(32px, 3vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.uni p { margin-top: 12px; max-width: 32ch; color: var(--fg-soft); font-size: 15px; line-height: 1.55; }
.uni .read {
  margin-top: 20px;
  display: inline-flex; gap: 10px; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 6px;
}
.uni:hover .read { gap: 14px; }
@media (max-width: 900px) {
  .universe { grid-template-columns: 1fr; }
}

/* ----- Music (two articles, editorial) ----- */
.music {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 5vw, 80px);
}
.track {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
}
.track .cover {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper);
}
.track .cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.track .info { display: grid; gap: 14px; }
.track h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3vw, 52px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.track p { color: var(--fg-soft); font-size: 15px; line-height: 1.55; max-width: 36ch; }
.track .listen {
  margin-top: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1px solid var(--fg); padding-bottom: 6px;
  display: inline-flex; align-self: start; gap: 10px;
}
@media (max-width: 1100px) { .music { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .track { grid-template-columns: 1fr; } .track .cover { max-width: 220px; } }

/* ----- Tools (table) ----- */
.tools-table {
  border-top: 1px solid var(--line);
}
.tool-row {
  display: grid;
  grid-template-columns: 80px 220px 1fr 120px;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.tool-row .idx { font-family: var(--font-mono); font-size: 11px; color: var(--fg-soft); letter-spacing: 0.14em; }
.tool-row .name { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.025em; }
.tool-row .desc { color: var(--fg-soft); font-size: 14px; }
.tool-row .status {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-align: right; color: var(--fg-soft);
}
.tool-row .status.active { color: var(--fg); font-weight: 600; }
@media (max-width: 800px) {
  .tool-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tool-row .idx { display: none; }
  .tool-row .desc { grid-column: 1 / -1; }
  .tool-row .status { text-align: left; }
}

/* ----- Connect (huge link list) ----- */
.connect-list {
  border-top: 1px solid var(--line);
}
.connect-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: padding 240ms;
}
.connect-list a:hover { padding-left: 16px; }
.connect-list a .label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-soft); font-weight: 500;
}
.connect-list a .arrow { font-family: var(--font-sans); font-weight: 500; font-size: 22px; transition: transform 240ms; }
.connect-list a:hover .arrow { transform: translateX(8px); }

/* ----- Footer ----- */
footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px 56px;
  align-items: start;
}
@media (max-width: 1200px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px 40px; }
}
.foot-grid h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 14px;
  font-weight: 500;
}
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid a { font-size: 14px; color: var(--fg); }
.foot-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Site-Column: 2-spaltige Linkliste */
.foot-col-site-list { grid-template-columns: 1fr 1fr; column-gap: 24px; }

.foot-mark .display {
  font-size: clamp(56px, 8vw, 128px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.055em;
  text-transform: none;
}
.foot-mark .body-s { margin-top: 16px; max-width: 30ch; }

.foot-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-mark { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; gap: 12px; }
}

/* ----- Pull quote ----- */
.pullquote {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.pullquote blockquote {
  grid-column: 2 / span 10;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-indent: -0.4em;
}
.pullquote blockquote::before { content: "\201C"; opacity: 0.4; }
.pullquote blockquote::after { content: "\201D"; opacity: 0.4; }
.pullquote cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--fg-soft);
}
@media (max-width: 800px) {
  .pullquote blockquote { grid-column: 1 / -1; }
}

/* ----- Mark / wordmark ----- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
}
.wordmark::before {
  content: "";
  width: 14px; height: 14px;
  background: var(--fg);
  display: inline-block;
}

/* ============================================================
   RAY MEDULLA · INTRO LAYOUT
   ============================================================ */
.rv-intro {
  display: grid;
  grid-template-columns: 1fr 380px;
  grid-template-rows: auto auto;
  column-gap: clamp(40px, 5vw, 80px);
  row-gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.rv-intro-head { grid-column: 1; grid-row: 1; }
.rv-intro-body { grid-column: 1; grid-row: 2; max-width: 560px; }
.rv-toc {
  grid-column: 2;
  grid-row: 1 / span 2;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-self: start;
  margin-top: 64px;
}
.rv-toc li { border-bottom: 1px solid var(--line); }
.rv-toc li:last-child { border-bottom: 0; }
.rv-toc a {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 4px;
  align-items: center;
  text-decoration: none;
  color: var(--fg);
  transition: padding-left 0.2s ease, background 0.2s ease;
}
.rv-toc a:hover { padding-left: 16px; background: rgba(0,0,0,0.04); }
html[data-theme="dark"] .rv-toc a:hover { background: rgba(255,255,255,0.04); }
.rv-toc .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
}
.rv-toc .lbl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.rv-intro-title {
  font-size: clamp(64px, 9vw, 140px) !important;
  letter-spacing: -0.05em;
  line-height: 0.86;
  margin: 28px 0 0;
  font-weight: 900;
}
.rv-intro-body .lede { margin-top: 0; max-width: 52ch; }

@media (max-width: 1000px) {
  .rv-intro { grid-template-columns: 1fr; }
  .rv-intro-head, .rv-intro-body { grid-column: 1; }
  .rv-toc { grid-column: 1; grid-row: auto; margin-top: 24px; }
}

/* Ray Medulla · 9:16 archive grid */
.rv-archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 40px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(56px, 7vw, 96px);
}
.rv-archive-cell {
  background: transparent;
  position: relative;
  cursor: pointer;
}
.rv-vid {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #000;
  filter: grayscale(0.6) brightness(0.7);
  transition: filter 0.4s ease;
}
.rv-vid.is-active {
  filter: grayscale(0) brightness(1);
}
.rv-archive-meta {
  padding: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border-top: 0;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
.rv-archive-cell:has(.rv-vid.is-active) .rv-archive-meta {
  opacity: 1;
}
.rv-archive-title {
  font-size: clamp(56px, 7vw, 110px) !important;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-weight: 900;
  margin-top: 16px;
}
.rv-archive-lede {
  max-width: 60ch;
  margin-top: 22px;
  color: var(--fg-soft);
  font-size: 17px;
  line-height: 1.6;
}
@media (max-width: 1100px) {
  .rv-archive { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .rv-archive { grid-template-columns: 1fr; }
}
