/* ─────────────────────────────────────────────────────────────────────────
   CRAFT YOUR WIPE — redesign
   5 themes via [data-theme="..."]: editorial / rust / minimal / brutalist / neon
   Tokens drive every component; no hard-coded colors below the theme block.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --shell-w: 1320px;
  --shell-x: clamp(20px, 4vw, 64px);
  --gap: 32px;
  --radius: 0px;
  --radius-card: 0px;
  --transition: 320ms cubic-bezier(.2,.7,.2,1);

  /* density (set via tweaks: tight / regular / spacious) */
  --section-y: 140px;
  --hero-y: 180px;
}

/* ───────── THEME 1 · EDITORIAL DARK ──────────────────────────────────── */
[data-theme="editorial"] {
  --bg:        #0c0b0a;
  --bg-2:      #15130f;
  --bg-3:      #1c1a16;
  --fg:        #f3ede1;
  --fg-dim:    rgba(243,237,225,.62);
  --fg-faint:  rgba(243,237,225,.18);
  --line:      rgba(243,237,225,.10);
  --line-strong: rgba(243,237,225,.28);
  --accent:    oklch(0.74 0.13 55);   /* warm amber */
  --accent-fg: #0c0b0a;
  --hazard:    oklch(0.62 0.16 35);
  --display:   "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --body:      "Space Grotesk", system-ui, sans-serif;
  --mono:      "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 400;
  --display-tracking: -0.02em;
  --display-italic: italic;
  --eyebrow-tracking: 0.18em;
  --eyebrow-transform: uppercase;
  --grain: .08;
  --hero-treat: editorial;
}

/* ───────── THEME 2 · RUST SURVIVAL ──────────────────────────────────── */
/* Palette pulled from the Rust game-logo: saturated terracotta red on near-
   black, with pure-black geometric blocks as the secondary surface. We never
   use the actual logo mark; the visual language echoes its flat, blocky
   industrial character. */
[data-theme="rust"] {
  --bg:        #0e0807;                 /* near-black, faint red undertone */
  --bg-2:      #15100d;
  --bg-3:      #1d1612;
  --fg:        #f1e7d6;
  --fg-dim:    rgba(241,231,214,.62);
  --fg-faint:  rgba(241,231,214,.18);
  --line:      rgba(241,231,214,.10);
  --line-strong: rgba(241,231,214,.28);
  --accent:    oklch(0.58 0.20 32);     /* logo terracotta red */
  --accent-fg: #0a0504;
  --accent-2:  oklch(0.50 0.19 32);     /* deeper variant for layering */
  --hazard:    oklch(0.58 0.20 32);     /* hazard = the same red, owned */
  --display:   "Anton", "Oswald", Impact, sans-serif;
  --body:      "JetBrains Mono", ui-monospace, monospace;
  --mono:      "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 400;
  --display-tracking: 0.01em;
  --display-italic: normal;
  --eyebrow-tracking: 0.22em;
  --eyebrow-transform: uppercase;
  --grain: .12;
  --hero-treat: rust;
}

/* Logo-flavoured details: marquee + featured tier flip to flat red w/ black
   text — the same chromatic move as the source mark. Black geometric
   "blocks" peek into the hero visual to echo the logo's silhouettes. */
[data-theme="rust"] .marquee {
  background: var(--accent);
  color: #0a0504;
  border-color: #0a0504;
}
[data-theme="rust"] .marquee-track .sep { background: #0a0504; }
[data-theme="rust"] .tier.feat {
  background: var(--accent);
  color: #0a0504;
}
[data-theme="rust"] .tier.feat .pitch,
[data-theme="rust"] .tier.feat .from,
[data-theme="rust"] .tier.feat li { color: rgba(10,5,4,.78); }
[data-theme="rust"] .tier.feat li::before { color: #0a0504; }
[data-theme="rust"] .tier.feat::before {
  background: #0a0504; color: var(--accent);
}
[data-theme="rust"] .tier.feat .btn {
  background: #0a0504; color: var(--accent);
  border-color: #0a0504;
}
[data-theme="rust"] .tier.feat .btn .arrow { color: var(--accent); }
[data-theme="rust"] .bigword .accent { color: var(--accent); }
[data-theme="rust"] .hero-visual::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 180px; height: 180px;
  background: #0a0504;
  transform: rotate(45deg);
  opacity: .55;
}

/* hazard-strip rendered as solid red with black diagonal slices — echoes the
   flat-block chroma of the source mark instead of striped tape. */
[data-theme="rust"] .hazard-strip {
  background: var(--accent);
  height: 18px;
  position: relative;
  overflow: hidden;
}
[data-theme="rust"] .hazard-strip::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg,
    transparent 0 32px, #0a0504 32px 36px);
}

[data-theme="rust"] .partner-logo {
  background: var(--accent);
  color: #0a0504;
  border-color: var(--accent);
}

/* ───────── THEME 3 · MINIMAL HOT ────────────────────────────────────── */
[data-theme="minimal"] {
  --bg:        #f7f5f0;
  --bg-2:      #efece6;
  --bg-3:      #e7e3db;
  --fg:        #15130f;
  --fg-dim:    rgba(21,19,15,.62);
  --fg-faint:  rgba(21,19,15,.18);
  --line:      rgba(21,19,15,.10);
  --line-strong: rgba(21,19,15,.28);
  --accent:    oklch(0.62 0.22 25);  /* hot red */
  --accent-fg: #fff7f0;
  --hazard:    oklch(0.62 0.22 25);
  --display:   "Space Grotesk", system-ui, sans-serif;
  --body:      "Space Grotesk", system-ui, sans-serif;
  --mono:      "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 500;
  --display-tracking: -0.04em;
  --display-italic: normal;
  --eyebrow-tracking: 0.14em;
  --eyebrow-transform: uppercase;
  --grain: 0;
  --hero-treat: minimal;
}

/* ───────── THEME 4 · BRUTALIST STENCIL ──────────────────────────────── */
[data-theme="brutalist"] {
  --bg:        #d6d2c8;
  --bg-2:      #c3bfb3;
  --bg-3:      #b1ad9f;
  --fg:        #0e0d0b;
  --fg-dim:    rgba(14,13,11,.66);
  --fg-faint:  rgba(14,13,11,.22);
  --line:      rgba(14,13,11,.18);
  --line-strong: rgba(14,13,11,.55);
  --accent:    oklch(0.62 0.21 35);  /* hazard orange */
  --accent-fg: #0e0d0b;
  --hazard:    oklch(0.78 0.18 90);
  --display:   "Stardos Stencil", "Big Shoulders Stencil Display", Impact, sans-serif;
  --body:      "JetBrains Mono", ui-monospace, monospace;
  --mono:      "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 700;
  --display-tracking: 0.01em;
  --display-italic: normal;
  --eyebrow-tracking: 0.22em;
  --eyebrow-transform: uppercase;
  --grain: .22;
  --hero-treat: brutalist;
}

/* ───────── THEME 5 · NEON GAMING ────────────────────────────────────── */
[data-theme="neon"] {
  --bg:        #06070a;
  --bg-2:      #0c0e14;
  --bg-3:      #11141d;
  --fg:        #eaf2ff;
  --fg-dim:    rgba(234,242,255,.62);
  --fg-faint:  rgba(234,242,255,.18);
  --line:      rgba(234,242,255,.10);
  --line-strong: rgba(234,242,255,.30);
  --accent:    oklch(0.85 0.18 195);   /* electric cyan */
  --accent-fg: #06070a;
  --hazard:    oklch(0.72 0.28 330);   /* magenta */
  --display:   "Orbitron", "Russo One", system-ui, sans-serif;
  --body:      "Space Grotesk", system-ui, sans-serif;
  --mono:      "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 700;
  --display-tracking: 0.04em;
  --display-italic: normal;
  --eyebrow-tracking: 0.22em;
  --eyebrow-transform: uppercase;
  --grain: 0;
  --hero-treat: neon;
}

/* ───────── RESET & BASE ─────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); }
body { background: transparent; color: var(--fg); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

/* film-grain overlay tied to --grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><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 1.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  opacity: var(--grain);
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: overlay;
}

/* ───────── TYPE PRIMITIVES ──────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: var(--eyebrow-transform);
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.display {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 0.96;
  text-wrap: balance;
}
.display em { font-style: var(--display-italic); color: var(--accent); }

.label-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.num-mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ───────── LAYOUT ───────────────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 var(--shell-x);
}
.section { padding: var(--section-y) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: var(--gap);
  margin-bottom: 64px;
  align-items: end;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  text-wrap: balance;
}
.section-head .lede {
  color: var(--fg-dim);
  font-size: 17px;
  max-width: 56ch;
}
.section-head .eyebrow { margin-bottom: 18px; }

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ───────── NAV ──────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--shell-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(to bottom, var(--bg) 60%, transparent);
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.brand-mark .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: rec-pulse 1.6s ease-in-out infinite;
}
@keyframes rec-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}
.nav-links {
  display: flex; gap: 28px;
  justify-content: center;
  color: var(--fg-dim);
}
.nav-links a { transition: color var(--transition); }
.nav-links a:hover { color: var(--fg); }
.nav-cta { justify-self: end; }

@media (max-width: 800px) { .nav-links { display: none; } }

/* ───────── BUTTON ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-fg);
  border: 1px solid var(--accent);
  transition: transform var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--fg); }
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

[data-theme="brutalist"] .btn { border-radius: 0; border-width: 2px; }
[data-theme="neon"] .btn {
  text-shadow: 0 0 10px color-mix(in oklab, var(--accent) 60%, transparent);
}
[data-theme="neon"] .btn:not(.ghost) {
  box-shadow: 0 0 24px color-mix(in oklab, var(--accent) 50%, transparent);
}

/* ───────── HERO TIMELINE BACKDROP ───────────────────────────────────── */
.hero { position: relative; }

/* ───────── HERO SLATE BAR ──────────────────────────────────────────── */
.hero-slate {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 14px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255,255,255,.02);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-2, var(--fg-dim));
  text-transform: uppercase;
}
.hero-slate .mono { font-family: var(--mono, ui-monospace, monospace); }
.hero-slate-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #0a0504;
  padding: 4px 8px; border-radius: 2px;
  font-family: var(--mono, ui-monospace, monospace);
  font-weight: 700;
  letter-spacing: .14em;
}
.hero-slate-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #0a0504;
  animation: bayRecBlink 1.4s ease-in-out infinite;
}
.hero-slate-sep { opacity: .3; }
.hero-slate-spacer { flex: 1; }
.hero-slate .dim { opacity: .55; }
@media (max-width: 720px) {
  .hero-slate { font-size: 9px; gap: 10px; padding: 8px 10px; }
  .hero-slate-spacer { display: none; }
}

/* ───────── HERO TIMELINE BACKDROP ───────────────────────────────────── */
.hero-timelines {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 40px 0;
  mask-image: radial-gradient(ellipse at 60% 50%, black 0%, black 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 0%, black 70%, transparent 100%);
  opacity: 0.22;
  filter: saturate(1.3) contrast(1.05);
}
.hero-grid { position: relative; z-index: 1; }
.tl-row {
  height: 120px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.tl-track {
  display: flex;
  gap: 22px;
  height: 100%;
  width: max-content;
  will-change: transform;
}
.tl-track img {
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
  border-radius: 2px;
}
.tl-row-1 .tl-track { animation: tlScroll 90s linear infinite; }
.tl-row-2 .tl-track { animation: tlScrollR 70s linear infinite; }
.tl-row-3 .tl-track { animation: tlScroll 110s linear infinite; }
@keyframes tlScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes tlScrollR {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .tl-track { animation: none !important; }
}
[data-theme="rust"] .hero-timelines { opacity: 0.22; }

/* ───────── ATMOSPHERIC SITE BACKDROP ───────────────────────────────── */
body::before {
  content: "";
  position: fixed; inset: 0;
  background: url('art/dual-revolvers.jpg') center/cover no-repeat;
  filter: saturate(.75) brightness(.32) contrast(1.05) blur(1.5px);
  opacity: .25;
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(0,0,0,.4) 0%, rgba(0,0,0,.85) 60%, rgba(0,0,0,.97) 100%),
    linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.92));
  z-index: -1;
  pointer-events: none;
}

/* hide old hero timelines (now used as marquee strip instead) */
.hero-timelines { display: none !important; }

/* ───────── TIMELINE FILMSTRIP MARQUEE ──────────────────────────────── */
.marquee.tl-marquee {
  padding: 0;
  height: 88px;
  overflow: hidden;
  position: relative;
}
.marquee.tl-marquee::before,
.marquee.tl-marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee.tl-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}
.marquee.tl-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}
.tl-marquee-track {
  display: flex;
  gap: 14px;
  height: 100%;
  width: max-content;
  align-items: center;
  animation: tlMarqueeScroll 80s linear infinite;
  padding: 0 14px;
}
.tl-marquee-track img {
  height: 70px;
  width: auto;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 6px 20px -10px rgba(0,0,0,.6);
}
@keyframes tlMarqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tl-marquee-track { animation: none !important; }
}
/* hide legacy marquee */
.marquee.tl-marquee { display: none !important; }

/* ───────── EDIT BAY · RECENT SESSIONS ──────────────────────────────── */
.bay-section {
  background:
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)),
    var(--bg);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.bay-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(0deg,  rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: .6;
}
.bay-section > .shell { position: relative; z-index: 1; }
.bay-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
}
.bay-subhead {
  max-width: 360px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
  text-align: right;
}
.bay-subhead .dim { opacity: .6; }

.bay {
  margin-top: 36px;
}
.bay.bay-gallery-mode { display: block; }
@media (max-width: 980px) {
  .bay-head { align-items: flex-start; }
  .bay-subhead { text-align: left; }
}

/* Gallery grid */
.bay-gallery { margin-top: 28px; }
.bay-gallery-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: .14em;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  color: var(--text-2, var(--fg-dim));
}
.bay-gallery-wrap { position: relative; }
.bay-scroll-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(10,7,6,.85);
  border: 1px solid var(--line-strong);
  color: var(--text, var(--fg));
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
  backdrop-filter: blur(8px);
}
.bay-scroll-btn:hover { background: var(--accent); color: #0a0504; transform: translateY(-50%) scale(1.05); }
.bay-scroll-btn.prev { left: 12px; }
.bay-scroll-btn.next { right: 12px; }
.bay-gallery-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 50%;
  padding: 28px 50% 28px 50%;
  scrollbar-width: none;
  scroll-behavior: smooth;
  perspective: 1400px;
}
.bay-gallery-grid::-webkit-scrollbar { display: none; }
.bay-gallery-grid .bay-card {
  flex: 0 0 56%;
  max-width: 720px;
  display: flex; flex-direction: column; gap: 10px;
  padding: 0;
  border-bottom: none;
  background: transparent;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition: transform 360ms cubic-bezier(.2,.8,.2,1), opacity 360ms ease, filter 360ms ease;
  transform: scale(.78);
  opacity: .35;
  filter: saturate(.6) blur(.4px);
}
.bay-gallery-grid .bay-card.is-center {
  transform: scale(1);
  opacity: 1;
  filter: none;
}
.bay-gallery-grid .bay-card.is-near {
  transform: scale(.88);
  opacity: .7;
  filter: saturate(.85);
}
@media (max-width: 760px) {
  .bay-gallery-grid .bay-card { flex-basis: 78%; }
}
.bay-gallery-grid .bay-card:hover { background: transparent; }
.bay-gallery-grid .bay-card.is-active { background: transparent; box-shadow: none; }
.bay-gallery-grid .bay-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #050403;
  transition: border-color 200ms ease, box-shadow 360ms ease;
}
.bay-gallery-grid .bay-card.is-center .bay-card-thumb {
  border-color: var(--accent);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(217,65,51,.4);
}
.bay-gallery-grid .bay-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 360ms ease;
}
.bay-gallery-grid .bay-card:hover .bay-card-thumb img { transform: scale(1.04); }
.bay-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.65));
  pointer-events: none;
}
.bay-gallery-grid .bay-card-id {
  position: absolute; top: 8px; left: 8px;
  font-size: 9px; letter-spacing: .1em;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.55);
  padding: 3px 6px;
  border-radius: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.bay-gallery-grid .bay-card.is-active .bay-card-id {
  background: var(--accent);
  color: #0a0504;
}
.bay-gallery-grid .bay-card-tc {
  position: absolute; right: 8px; bottom: 8px;
  font-size: 10px;
  background: rgba(0,0,0,.7);
  padding: 2px 5px;
  border-radius: 1px;
  color: rgba(255,255,255,.92);
  letter-spacing: .04em;
}
.bay-card-foot {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--text-2, var(--fg-dim));
  padding: 0 2px;
}

/* Featured panel */
.bay-feature {
  background: #0a0706;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 18px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.bay-feature::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
}
.bay-feat-head { margin-bottom: 14px; }
.bay-feat-meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 11px; letter-spacing: .08em;
  color: var(--text-2);
  margin-bottom: 10px;
}
.bay-rec {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #0a0504;
  padding: 3px 8px; border-radius: 2px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em;
}
.bay-rec-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #0a0504;
  animation: bayRecBlink 1.4s ease-in-out infinite;
}
@keyframes bayRecBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .25; }
}
.bay-sep { opacity: .35; }
.bay-feat-title {
  font-family: var(--display, var(--font-display, serif));
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}

/* Featured image */
.bay-feat-img {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #050403;
  aspect-ratio: 16 / 6.2;
}
.bay-feat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 180ms ease;
}
.bay-feat-overlay {
  position: absolute; top: 10px; left: 10px; right: 10px;
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: .1em;
  color: rgba(255,255,255,.8);
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  pointer-events: none;
}
.bay-feat-scrub {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; color: rgba(255,255,255,.85);
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.bay-scrub-bar {
  flex: 1; height: 3px; background: rgba(255,255,255,.18);
  position: relative; border-radius: 2px;
}
.bay-scrub-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 38%; background: var(--accent); border-radius: 2px;
}
.bay-scrub-head {
  position: absolute; top: -3px; left: 38%;
  width: 3px; height: 9px; background: #fff;
  transform: translateX(-50%);
}

/* Featured stats */
.bay-feat-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.bay-feat-stats > div {
  padding: 10px 12px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(255,255,255,.015);
}
.bay-feat-stats > div:last-child { border-right: none; }
.bay-feat-stats dt {
  font-size: 9px; letter-spacing: .14em;
  color: var(--text-2); opacity: .65;
  margin: 0;
}
.bay-feat-stats dd {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.005em;
}
@media (max-width: 720px) {
  .bay-feat-stats { grid-template-columns: repeat(3, 1fr); }
  .bay-feat-stats > div:nth-child(3) { border-right: none; }
  .bay-feat-stats > div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

/* Session list */
.bay-list {
  background: #0a0706;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: flex; flex-direction: column;
  min-height: 0;
  max-height: 100%;
}
.bay-list-head, .bay-list-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  font-size: 10px; letter-spacing: .12em;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}
.bay-list-foot {
  border-bottom: none;
  border-top: 1px solid var(--line);
  justify-content: center;
  opacity: .55;
}
.bay-list-head .dim, .bay-list-foot.dim, .dim { opacity: .55; }
.bay-list-track {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  display: flex; flex-direction: column;
}
.bay-list-track::-webkit-scrollbar { width: 6px; }
.bay-list-track::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

.bay-card {
  all: unset;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 160ms ease;
  align-items: center;
}
.bay-card:hover { background: rgba(255,255,255,.03); }
.bay-card.is-active {
  background: rgba(217, 65, 51, 0.08);
  box-shadow: inset 3px 0 0 var(--accent);
}
.bay-card-thumb {
  position: relative;
  display: block;
  width: 90px; aspect-ratio: 16/9;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: #050403;
}
.bay-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.bay-card-tc {
  position: absolute; right: 4px; bottom: 4px;
  font-size: 8px;
  background: rgba(0,0,0,.75);
  padding: 2px 4px;
  border-radius: 1px;
  color: rgba(255,255,255,.9);
  letter-spacing: .04em;
}
.bay-card-meta {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.bay-card-id {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .08em;
}
.bay-card-title {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bay-card-date {
  font-size: 10px;
  letter-spacing: .04em;
}

/* ───────── HERO FEATURED ART ───────────────────────────────────────── */
.hero-visual.has-art .hv-art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}
.hero-visual.has-art .hv-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 60% 45%, transparent 0%, transparent 45%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.0) 55%, rgba(0,0,0,.7) 100%);
  pointer-events: none;
}

/* ───────── ABOUT PORTRAIT ART ──────────────────────────────────────── */
.about-portrait.has-art { position: relative; }
.about-portrait.has-art img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 35% 40%;
  display: block;
  filter: saturate(1.05);
}
.about-portrait-fx {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, transparent 0%, transparent 55%, rgba(0,0,0,.5) 100%),
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55));
  pointer-events: none;
}
.about-portrait-tag {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; justify-content: space-between;
  font-size: 10px;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  z-index: 2;
}

/* ───────── CINEMATIC ART BAND ──────────────────────────────────────── */
.art-band {
  position: relative;
  height: clamp(420px, 70vh, 720px);
  overflow: hidden;
  isolation: isolate;
  margin: 80px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.art-band-img {
  position: absolute; inset: -8% -2%;
  background-size: cover;
  background-position: center 40%;
  filter: saturate(1.08) contrast(1.04);
  transform: translateZ(0);
  z-index: 0;
}
.art-band-grade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, transparent 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.7) 100%),
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 25%, transparent 70%, rgba(0,0,0,.6) 100%);
  z-index: 1;
}
.art-band-grain {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}
.art-band-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  align-items: center;
  color: #fff;
}
.art-band-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  padding-top: 28px;
  position: absolute; top: 0; left: 0; right: 0;
  width: 100%;
  padding-left: clamp(20px, 6vw, 80px);
  padding-right: clamp(20px, 6vw, 80px);
}
.art-band-bars { display: inline-flex; gap: 4px; }
.art-band-bars i {
  display: block; width: 14px; height: 8px;
  background: rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.5);
}
.art-band-bars i:first-child { background: var(--accent, #d3411a); border-color: var(--accent, #d3411a); }
.art-band-headline {
  max-width: 720px;
}
.art-band-headline .label-mono {
  display: block;
  margin-bottom: 18px;
  color: rgba(255,255,255,.85);
}
.art-band-headline h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: .98;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0,0,0,.55);
  margin: 0;
}
.art-band-headline em {
  font-style: italic;
  color: var(--accent, #d3411a);
}
.art-band-foot {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 clamp(20px, 6vw, 80px) 28px;
  display: flex; align-items: center; gap: 18px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,.78);
}
.art-band-strip {
  flex: 1; height: 2px;
  background:
    linear-gradient(90deg, var(--accent, #d3411a) 0 38%, rgba(255,255,255,.25) 38% 100%);
}
@media (max-width: 720px) {
  .art-band { height: 520px; margin: 56px 0; }
  .art-band-headline h2 { font-size: 40px; }
}
[data-theme="minimal"] .hero-timelines { opacity: 0.10; filter: saturate(0) contrast(.9); }
[data-theme="brutalist"] .hero-timelines { opacity: 0.12; filter: saturate(0); }
[data-theme="neon"] .hero-timelines { opacity: 0.28; filter: saturate(1.6) hue-rotate(-12deg); }

.hero {
  padding-top: calc(var(--hero-y) + 60px);
  padding-bottom: calc(var(--hero-y) - 20px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
/* When hero has no visuals column, let text fill comfortably */
.hero-grid:not(:has(.hero-visuals)) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
}

/* ───────── HERO LATEST DROP ───────────────────────────────────────── */
.hero-latest {
  align-self: stretch;
  display: block;
  width: 100%;
}
.latest-frame {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 580px;
}
.latest-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.latest-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
}
.latest-tag i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: latestPulse 1.8s ease-out infinite;
}
@keyframes latestPulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 70%, transparent); }
  100% { box-shadow: 0 0 0 12px color-mix(in oklab, var(--accent) 0%, transparent); }
}
.latest-video {
  position: relative;
  background: #000;
  overflow: hidden;
  border: 1px solid var(--line);
  flex: 1 1 auto;
  min-height: 520px;
  width: 100%;
}
.latest-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 920px) {
  .latest-video { aspect-ratio: 9/16; min-height: 0; max-height: 70vh; }
}


.hero-headline {
  font-size: clamp(44px, 5.6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero-headline .accent { color: var(--accent); }
.hero-sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--fg-dim);
  max-width: 48ch;
}
.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 40px;
}
.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero-meta .label-mono { display: block; margin-bottom: 6px; }
.hero-meta .v {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 26px;
  letter-spacing: var(--display-tracking);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-visuals {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 460px;
  margin-left: auto;
  gap: 18px;
  align-self: stretch;
}
.hero-visuals .hero-visual { aspect-ratio: 16/9; }
.hero-visual .ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, var(--line) 22px 23px),
    var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-dim);
}
.hero-visual .ph span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--bg);
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
}
.hero-visual .timecode {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 11px;
  background: rgba(0,0,0,.6); color: #fff;
  padding: 4px 8px; letter-spacing: 0.1em;
  border: 1px solid rgba(255,255,255,.15);
}
.hero-visual .rec-tag {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-fg);
  padding: 4px 8px; display: flex; align-items: center; gap: 6px;
}
.hero-visual .rec-tag i {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: rec-pulse 1.4s ease-in-out infinite;
}
.hero-visual .scrub {
  position: absolute; left: 16px; right: 16px; bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; color: rgba(255,255,255,.7);
}
.hero-visual .scrub-bar {
  flex: 1; height: 2px; background: rgba(255,255,255,.15); position: relative;
}
.hero-visual .scrub-bar::after {
  content: ""; position: absolute; top: 0; left: 0; height: 100%;
  width: 38%; background: var(--accent);
}

[data-theme="rust"] .hero-visual::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 12px;
  background: repeating-linear-gradient(135deg,
    var(--hazard) 0 14px, transparent 14px 28px);
  z-index: 1;
}
[data-theme="brutalist"] .hero-visual {
  border-width: 2px;
  border-color: var(--line-strong);
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visuals { grid-template-columns: 1fr; gap: 14px; }
  .hero-visuals .hero-visual { aspect-ratio: 16/9; }
  .hero-visual { aspect-ratio: 16/10; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
}

/* ───────── SHORTS CAROUSEL ──────────────────────────────────────────── */
.shorts-carousel {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.shorts-head {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 3; pointer-events: none;
}
.shorts-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--accent);
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  padding: 4px 8px; border: 1px solid rgba(255,255,255,.15);
  display: inline-flex; align-items: center; gap: 6px;
}
.shorts-tag i {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  animation: rec-pulse 1.4s ease-in-out infinite;
}
.shorts-counter {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  padding: 4px 10px; border: 1px solid rgba(255,255,255,.15);
}
.shorts-counter .sep { opacity: .5; padding: 0 4px; }
.shorts-viewport {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 38px 14% 56px;
  overflow: hidden;
}
.shorts-track {
  position: relative;
  width: 100%; height: 100%;
  display: grid;
}
.short-slide {
  grid-area: 1 / 1;
  position: relative;
  aspect-ratio: 9/16;
  height: 100%;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  background: #0a0908;
  overflow: hidden;
  opacity: 0;
  transform: translateX(28px) scale(.96);
  transition: opacity .42s ease, transform .42s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.short-slide.is-active {
  opacity: 1; transform: translateX(0) scale(1);
  pointer-events: auto;
}
.short-slide.is-leaving-left { transform: translateX(-28px) scale(.96); }
.short-slide .yt-frame {
  position: absolute; inset: 0;
  background: #000;
}
.short-slide .yt-frame iframe {
  position: absolute;
  /* Crop YouTube Shorts player chrome (logo overlay etc.) by oversizing */
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  display: block;
}
.short-slide .ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.03) 14px 15px),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 60%);
  display: grid; place-items: center;
  color: var(--fg-dim);
}
.short-slide .ph span {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 10px;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.15);
  text-align: center;
  max-width: 80%;
}
.short-meta {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
}
.short-title {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: 15px; line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.short-sub {
  margin-top: 4px;
  font-size: 10px; letter-spacing: 0.12em;
  color: rgba(255,255,255,.65);
}
.shorts-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  color: #fff; border: 1px solid rgba(255,255,255,.18);
  cursor: pointer; z-index: 4;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.shorts-nav:hover { background: var(--accent); color: var(--accent-on); border-color: var(--accent); transform: translateY(-50%) scale(1.05); }
.shorts-nav.prev { left: 14px; }
.shorts-nav.next { right: 14px; }
.shorts-dots {
  position: absolute; bottom: 18px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 3;
}
.shorts-dot {
  width: 18px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.25); border: 0; padding: 0;
  cursor: pointer; transition: background .2s ease, width .2s ease;
}
.shorts-dot.is-on { background: var(--accent); width: 28px; }

[data-theme="brutalist"] .shorts-carousel,
[data-theme="brutalist"] .short-slide { border-width: 2px; border-radius: 0; }
[data-theme="brutalist"] .shorts-tag,
[data-theme="brutalist"] .shorts-counter,
[data-theme="brutalist"] .shorts-nav { border-radius: 0; }
[data-theme="rust"] .shorts-carousel::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 12px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 18px, #000 18px 36px);
  z-index: 2;
}
[data-theme="rust"] .shorts-head { top: 22px; }

/* ───────── MARQUEE ──────────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 28px;
  letter-spacing: var(--display-tracking);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track .sep {
  display: inline-block; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ───────── SHOWREEL ─────────────────────────────────────────────────── */
.showreel {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.showreel .ph {
  position: absolute; inset: 0;
  background:
    /* dark vignette so the theme overlay stays moody */
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.75) 100%),
    /* faint diagonal "film" lines on top of the photo */
    repeating-linear-gradient(135deg, transparent 0 24px, rgba(255,255,255,.04) 24px 25px),
    /* the b/w art */
    url("uploads/Final3-89a1a336.jpg") center/cover no-repeat,
    var(--bg-3);
  filter: grayscale(1) contrast(1.05) brightness(.85);
}
.showreel .play {
  position: absolute; inset: 0; margin: auto;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--accent); color: var(--accent-fg);
  display: grid; place-items: center;
  font-size: 32px;
  transition: transform var(--transition);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent);
  animation: pulse 2.4s ease-out infinite;
}
.showreel:hover .play { transform: scale(1.06); }
.showreel.is-playing .ph,
.showreel.is-playing .play,
.showreel.is-playing .meta { display: none; }
.showreel { cursor: pointer; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); }
  100% { box-shadow: 0 0 0 36px color-mix(in oklab, var(--accent) 0%, transparent); }
}
.showreel .meta {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.85);
}
.showreel .meta .title {
  font-family: var(--display);
  font-size: 28px; font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  color: #fff;
}

/* ───────── STATS ────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .v {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1;
  color: var(--fg);
}
.stat .v sup {
  font-size: 0.4em; vertical-align: super; color: var(--accent);
  margin-left: 4px;
}
.stat .l {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-dim);
}

@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ───────── TRUSTED BY ──────────────────────────────────────────────── */
.trusted-section .shell {
  border-top: 1px solid var(--line);
  padding-top: 56px;
}
.trusted-head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.trusted-head .label-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.trusted-title {
  font-family: var(--display);
  font-weight: var(--display-weight, 700);
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}
.trusted-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 12px;
  align-items: stretch;
}
.client {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  text-decoration: none;
  color: var(--fg);
  min-width: 0;
}
a.client { transition: background var(--transition), border-color var(--transition), transform var(--transition); }
a.client:hover {
  background: var(--bg-3);
  border-color: var(--line-strong, rgba(241,231,214,.28));
  transform: translateY(-2px);
}
.client img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--bg);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.client-name {
  font-family: var(--display);
  font-weight: var(--display-weight, 700);
  font-size: 20px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.client-ghost {
  border-style: dashed;
  background: transparent;
  color: var(--fg-dim);
}
.client-ghost:hover {
  color: var(--fg);
  background: transparent;
}
.client-plus {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px dashed var(--line-strong, rgba(241,231,214,.28));
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 22px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .client { flex: 1 1 calc(50% - 6px); padding: 12px 14px; }
  .client img, .client-plus { width: 40px; height: 40px; }
  .client-name { font-size: 16px; }
}
/* ───────── EDITS TIMELINE ───────────────────────────────────────────── */
.edits {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.edit-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 220px) minmax(0, 1fr) auto auto;
  gap: 32px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background var(--transition);
}
.edit-row:hover { background: var(--bg-2); }
.edit-row .idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
}
.edit-row .thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-3);
  overflow: hidden;
  border: 1px solid var(--line);
}
.edit-row .thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.edit-row.is-hidden { display: none; }
.edits-more { display: flex; justify-content: center; margin-top: 28px; }
.edit-row .thumb::before {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: repeating-linear-gradient(135deg, transparent 0 18px, var(--line) 18px 19px);
}
.edit-row .thumb .dur {
  position: absolute; right: 6px; bottom: 6px; z-index: 3;
  font-family: var(--mono); font-size: 10px;
  background: rgba(0,0,0,.7); color: #fff;
  padding: 2px 5px;
}
.edit-row .thumb .play {
  position: absolute; inset: 0; margin: auto; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--accent-fg);
  display: grid; place-items: center; font-size: 14px;
  opacity: 0; transition: opacity var(--transition);
}
.edit-row:hover .thumb .play { opacity: 1; }
.edit-row .title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 28px;
  line-height: 1.1;
  color: var(--fg);
  text-wrap: balance;
}
.edit-row .tags {
  display: flex; gap: 6px; margin-top: 8px;
}
.edit-row .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border: 1px solid var(--line);
  padding: 3px 8px;
}
.edit-row .creator {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  white-space: nowrap;
}
.edit-row .arrow-cell {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--fg-dim);
  transition: color var(--transition), transform var(--transition);
}
.edit-row:hover .arrow-cell {
  color: var(--accent);
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .edit-row {
    grid-template-columns: 50px 140px minmax(0, 1fr);
    gap: 16px;
  }
  .edit-row .creator, .edit-row .arrow-cell { display: none; }
  .edit-row .title { font-size: 19px; }
}

/* ───────── SERVICES & PRICING ──────────────────────────────────────── */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.tier {
  padding: 36px 30px 30px;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line);
  position: relative;
}
.tier:last-child { border-right: 0; }
.tier.feat {
  background: var(--bg-2);
}
.tier.feat::before {
  content: "MOST BOOKED";
  position: absolute; top: 10px; left: 30px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em;
  background: var(--accent); color: var(--accent-fg);
  padding: 4px 10px;
}
.tier .name {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 32px;
  line-height: 1;
}
.tier .pitch {
  margin-top: 10px;
  color: var(--fg-dim);
  font-size: 14px;
  min-height: 3.4em;
}
.tier .price {
  margin: 28px 0 8px;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 56px;
  letter-spacing: var(--display-tracking);
  line-height: 1;
}
.tier .price small {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  margin-left: 4px;
  letter-spacing: 0.06em;
}
.tier .from {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-dim);
}
.tier ul {
  list-style: none;
  margin: 24px 0 28px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.tier li {
  font-size: 14px;
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--fg);
}
.tier li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--mono);
  flex-shrink: 0;
}
.tier .btn { width: 100%; justify-content: center; }

/* Starter-tier mascot — the primitive Rust survivor */
.tier.has-char { overflow: hidden; isolation: isolate; }
.tier.has-char > *:not(.tier-char) { position: relative; z-index: 2; }
.tier.has-char ul,
.tier.has-char .pitch,
.tier.has-char .tier-note { max-width: 100%; }
.tier-char {
  position: absolute;
  right: -30px;
  bottom: 0;
  height: 80%;
  width: auto;
  max-width: 45%;
  object-fit: contain;
  object-position: right bottom;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  filter: grayscale(0.55) contrast(1.05) brightness(0.92);
  mix-blend-mode: luminosity;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 22%, #000 100%),
    linear-gradient(270deg, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(180deg, transparent 0%, #000 22%, #000 100%),
    linear-gradient(270deg, #000 55%, transparent 100%);
          mask-composite: intersect;
  transition: opacity 600ms ease, transform 600ms ease, filter 600ms ease;
}
.tier.has-char:hover .tier-char {
  opacity: 0.55;
  filter: grayscale(0) contrast(1.05) brightness(1);
  transform: translateY(-6px);
}
[data-theme="rust"] .tier-char { mix-blend-mode: normal; opacity: 0.34; }
[data-theme="rust"] .tier.has-char:hover .tier-char { opacity: 0.7; }

/* Portrait-style character (head/bust only, no full body) — sits up top */
.tier.has-char-portrait .tier-char {
  right: -40px;
  top: -20px;
  bottom: auto;
  height: auto;
  width: 65%;
  max-width: 65%;
  object-position: center center;
  -webkit-mask-image:
    radial-gradient(ellipse at 70% 35%, #000 35%, transparent 75%);
          mask-image:
    radial-gradient(ellipse at 70% 35%, #000 35%, transparent 75%);
}
.tier.has-char-portrait ul,
.tier.has-char-portrait .pitch,
.tier.has-char-portrait .tier-note { max-width: 100%; }
.tier.has-char-portrait .name,
.tier.has-char-portrait .pitch { max-width: 60%; }

@media (max-width: 900px) {
  .tier.has-char ul,
  .tier.has-char .pitch,
  .tier.has-char .tier-note { max-width: 100%; }
  .tier-char {
    right: -20px;
    bottom: -10px;
    height: 55%;
    max-width: 35%;
    opacity: 0.18;
  }
  .tier.has-char-portrait .tier-char {
    top: -10px;
    right: -30px;
    width: 55%;
    max-width: 55%;
    height: auto;
  }
  [data-theme="rust"] .tier-char { opacity: 0.22; }
}
.tier li.muted { color: var(--fg-faint, rgba(241,231,214,.42)); text-decoration: line-through; }
.tier li.muted::before { content: "✕"; color: var(--fg-faint, rgba(241,231,214,.42)); }
.tier .tier-note {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--fg-dim);
  letter-spacing: 0.02em;
}
.tier .tier-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 500;
}
[data-theme="rust"] .tier.feat li.muted { color: rgba(10,5,4,.42); }
[data-theme="rust"] .tier.feat li.muted::before { color: rgba(10,5,4,.42); }
[data-theme="rust"] .tier.feat .tier-note { color: rgba(10,5,4,.62); }

@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .tier { border-right: 0; border-bottom: 1px solid var(--line); }
  .tier:last-child { border-bottom: 0; }
}

/* ───────── PROCESS ──────────────────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: 0; }
.step .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 24px;
}
.step h3 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 28px;
  line-height: 1.05;
}
.step p {
  margin-top: 12px;
  color: var(--fg-dim);
  font-size: 14px;
}
.step .dur {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ───────── TESTIMONIALS ─────────────────────────────────────────────── */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.quote {
  padding: 32px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 24px;
}
.quote:last-child { border-right: 0; }
.quote .body {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 22px;
  line-height: 1.25;
  text-wrap: balance;
  flex: 1;
}
.quote .body::before { content: "“"; color: var(--accent); margin-right: 4px; }
.quote .body::after  { content: "”"; color: var(--accent); margin-left: 2px; }
.quote .who {
  display: flex; align-items: center; gap: 12px;
}
.quote .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-dim);
}
.quote .name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.quote .role { color: var(--fg-dim); font-size: 11px; }

@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr; }
  .quote { border-right: 0; border-bottom: 1px solid var(--line); }
  .quote:last-child { border-bottom: 0; }
}

/* ───────── ABOUT ────────────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
.about-portrait {
  aspect-ratio: 4/5;
  background: var(--bg-3);
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}
.about-portrait .ph {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 22px, var(--line) 22px 23px);
  display: grid; place-items: center;
}
.about-portrait .ph span {
  background: var(--bg);
  padding: 6px 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dim);
  border: 1px solid var(--line-strong);
}
.about-text h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  text-wrap: balance;
}
.about-text p {
  margin-top: 22px;
  font-size: 17px;
  color: var(--fg-dim);
  max-width: 56ch;
}
.about-text p strong { color: var(--fg); font-weight: 500; }
.about-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.about-list dt {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 4px;
}
.about-list dd {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 22px;
  line-height: 1.1;
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
}

/* ───────── PARTNERS ─────────────────────────────────────────────────── */
.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.partner {
  padding: 48px 32px;
  display: flex; align-items: center; gap: 22px;
  border-right: 1px solid var(--line);
  transition: background var(--transition);
}
.partner:last-child { border-right: 0; }
.partner:hover { background: var(--bg-2); }
.partner-logo {
  width: 64px; height: 64px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
}
.partner-name {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 26px;
  line-height: 1;
}
.partner-meta {
  margin-top: 4px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}

@media (max-width: 900px) {
  .partners { grid-template-columns: 1fr; }
  .partner { border-right: 0; border-bottom: 1px solid var(--line); }
  .partner:last-child { border-bottom: 0; }
}

/* ───────── FAQ ─────────────────────────────────────────────────────── */
.faq {
  border-top: 1px solid var(--line);
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  transition: color var(--transition);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa summary .plus {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--fg-dim);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.qa[open] summary .plus { transform: rotate(45deg); color: var(--accent); }
.qa .answer {
  padding: 0 0 28px;
  max-width: 70ch;
  color: var(--fg-dim);
  font-size: 16px;
}

/* ───────── CONTACT ──────────────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
}
.contact-pitch h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.98;
}
.contact-pitch h2 em {
  font-style: var(--display-italic);
  color: var(--accent);
}
.contact-pitch p {
  margin-top: 22px;
  color: var(--fg-dim);
  font-size: 17px;
  max-width: 36ch;
}
.contact-pitch .channels {
  margin-top: 36px;
  display: flex; flex-direction: column;
  gap: 14px;
  font-family: var(--mono);
  font-size: 13px;
}
.contact-pitch .channels a {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  letter-spacing: 0.04em;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.contact-pitch .channels a:hover {
  border-color: var(--accent); color: var(--accent);
}

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 40px;
}
.contact-form h3 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 26px;
  margin-bottom: 8px;
}
.contact-form .help {
  color: var(--fg-dim); font-size: 13px;
  margin-bottom: 28px;
}
.field {
  display: block;
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 13px;
  border-radius: 0;
  outline: none;
  color: var(--fg);
  transition: border-color var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-meta {
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
  margin-top: 28px;
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
}

.form-success {
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  border: 1px solid var(--accent);
  padding: 22px;
  font-family: var(--mono); font-size: 13px;
  display: none;
}
.form-success.on { display: block; }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 28px; }
}

/* ───────── FOOTER ───────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer .brand-mark { color: var(--fg); font-size: 14px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ───────── HUGE FOOTER WORD ─────────────────────────────────────────── */
.bigword {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(120px, 22vw, 360px);
  line-height: 0.85;
  text-align: center;
  color: var(--fg);
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
}
.bigword .accent { color: var(--accent); }

/* ───────── HAZARD STRIP (rust theme detail) ─────────────────────────── */
.hazard-strip {
  height: 14px;
  background: repeating-linear-gradient(135deg,
    var(--hazard) 0 18px, transparent 18px 36px);
  display: none;
}
[data-theme="rust"] .hazard-strip,
[data-theme="brutalist"] .hazard-strip { display: block; }

/* ───────── REVEAL ANIMATION ─────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(.2,.7,.2,1),
              transform 800ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ───────── INTRO (cinematic) ────────────────────────────────────────── */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  background: #000; color: #fff;
  display: grid; place-items: center;
  pointer-events: all;
  overflow: hidden;
}
.intro.hidden { display: none; }
.intro.fade {
  animation: introFade 700ms cubic-bezier(.7,0,.84,0) forwards;
}
@keyframes introFade {
  to { opacity: 0; transform: scale(1.04); }
}
.intro-corners {
  position: absolute; inset: 28px;
  pointer-events: none;
}
.intro-corners::before,
.intro-corners::after,
.intro-corners > i,
.intro-corners > b {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,.6);
}
.intro-corners::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.intro-corners::after  { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.intro-corners > i     { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.intro-corners > b     { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.intro-tc {
  position: absolute; top: 28px; left: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; letter-spacing: 0.12em;
  color: rgba(255,255,255,.7);
}
.intro-tc i {
  display: inline-block;
  width: 8px; height: 8px;
  background: oklch(0.66 0.18 42);
  border-radius: 50%;
  margin-right: 10px;
  animation: rec-pulse 1s ease-in-out infinite;
  vertical-align: middle;
}
.intro-skip {
  position: absolute; top: 28px; right: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
}
.intro-skip:hover { color: #fff; border-color: #fff; }
.intro-progress {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  height: 1px; background: rgba(255,255,255,.15);
  overflow: hidden;
}
.intro-progress::after {
  content: ""; display: block; height: 100%;
  background: oklch(0.66 0.18 42);
  width: 0%;
  animation: introProg 2.4s linear forwards;
}
@keyframes introProg { to { width: 100%; } }

.intro-stage {
  width: min(72vw, 920px);
  aspect-ratio: 16/9;
  position: relative;
  background: #0a0908;
  border: 1px solid rgba(255,255,255,.18);
  overflow: hidden;
}
.intro-stage .frame {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.08) 22px 23px);
  opacity: 0;
}
.intro-stage .frame.f1 { animation: flash 0.4s 0.3s steps(1) forwards; }
.intro-stage .frame.f2 { animation: flash 0.4s 0.7s steps(1) forwards; background-color: rgba(120, 60, 30, .4); }
.intro-stage .frame.f3 { animation: flash 0.4s 1.1s steps(1) forwards; }
@keyframes flash { 0%, 60%, 100% { opacity: 0; } 10%, 50% { opacity: 1; } }

.intro-mark {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(48px, 8vw, 124px);
  letter-spacing: -0.02em;
  color: #f3ede1;
  line-height: 0.95;
  text-align: center;
  opacity: 0;
  animation: markIn 1.2s 1.4s cubic-bezier(.2,.7,.2,1) forwards;
}
.intro-mark .l1 {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: oklch(0.66 0.18 42);
  text-transform: uppercase;
  margin-bottom: 18px;
}
@keyframes markIn {
  0% { opacity: 0; transform: translateY(14px); filter: blur(8px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

/* hide while intro running */
body.intro-active { overflow: hidden; }
body.intro-active .nav { opacity: 0; }
body.intro-active .hero { opacity: 0; transform: translateY(20px); }

/* hero scroll-driven entrance once intro fades */
.hero { transition: opacity 1.2s 0ms ease-out, transform 1.2s 0ms cubic-bezier(.2,.7,.2,1); }
.nav  { transition: opacity 600ms 0ms ease-out, background var(--transition), backdrop-filter var(--transition); }


/* ───────── DISCORD PROFILE CARD ──────────────────────────────────── */
.discord-card {
  margin-top: 22px;
  background: #1e1f22;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  color: #dbdee1;
  font-family: var(--mono);
  max-width: 440px;
}
.discord-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #232428;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.discord-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b5bac1;
  font-weight: 600;
}
.discord-card-tag svg { color: #5865f2; }
.discord-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a3a6aa;
  font-size: 10px;
  font-weight: 500;
}
.discord-card-status i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #23a55a;
  box-shadow: 0 0 0 0 #23a55a;
  animation: discordPulse 2s ease-out infinite;
}
@keyframes discordPulse {
  0%   { box-shadow: 0 0 0 0 rgba(35,165,90,0.55); }
  100% { box-shadow: 0 0 0 8px rgba(35,165,90,0); }
}
.discord-card-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}
.discord-avatar {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}
.discord-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #2b2d31;
}
.discord-presence {
  position: absolute;
  bottom: 0; right: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #23a55a;
  border: 3px solid #1e1f22;
}
.discord-id { flex: 1; min-width: 0; }
.discord-display {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #f2f3f5;
  line-height: 1.1;
  text-transform: none;
}
.discord-handle {
  font-family: var(--mono);
  font-size: 12px;
  color: #b5bac1;
  margin-top: 2px;
  text-transform: none;
  letter-spacing: 0;
}
.discord-activity {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  color: #dbdee1;
}
.discord-activity-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5865f2;
}
.discord-activity-label { text-transform: none; letter-spacing: 0; }
.discord-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #5865f2;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 180ms ease, transform 180ms ease;
}
.discord-copy:hover { background: #4752c4; }
.discord-copy:active { transform: scale(0.97); }
.discord-copy.is-copied { background: #23a55a; }
.discord-copy.is-copied svg { display: none; }


/* ─────────────────────────────────────────────────────────────────
   SHOWCASE — EDIT BAY (cinematic NLE-style two-panel showcase)
   ───────────────────────────────────────────────────────────────── */
.showcase-section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}
.showcase-section .shell { position: relative; }

/* Top titlebar — looks like a deck slate */
.bay-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line));
  background: linear-gradient(180deg, color-mix(in oklab, var(--bg-2) 90%, var(--accent) 10%), var(--bg-2));
  font-family: var(--mono);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.bay-titlebar::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -7px; height: 6px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 22px, transparent 22px 44px, #0a0504 44px 66px, transparent 66px 88px);
  opacity: .9;
}
.bay-titlebar-left, .bay-titlebar-right {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.bay-rec {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-fg, #0a0504);
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.bay-rec i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-fg, #0a0504);
  animation: bayRecBlink 1.2s ease-in-out infinite;
}
.bay-tc {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}
.bay-stat {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 2px 12px;
  border-left: 1px solid var(--line);
}
.bay-stat:first-child { border-left: 0; }
.bay-stat b {
  font-family: var(--display);
  font-weight: var(--display-weight, 700);
  font-size: 26px;
  line-height: 1;
  color: var(--fg);
}
.bay-stat span {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* Big section header */
.bay-header {
  margin: 56px 0 36px;
  display: grid;
  gap: 14px;
  max-width: 1000px;
}
.bay-header .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.bay-title {
  font-family: var(--display);
  font-weight: var(--display-weight, 700);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.bay-subtitle {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 64ch;
}
.bay-subtitle em {
  color: var(--fg);
  font-style: normal;
  background: linear-gradient(180deg, transparent 70%, color-mix(in oklab, var(--accent) 35%, transparent) 70%);
  padding: 0 2px;
}

/* Two panels side by side */
.bay-panels {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: 28px;
  align-items: stretch;
}

/* Generic panel chrome */
.bay-panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.bay-panel::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(255,255,255,.02) 1px, transparent 1px) 0 0/100% 8px,
    radial-gradient(ellipse at 50% 0%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%);
  pointer-events: none;
  opacity: .5;
}
.bay-panel-chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: #15100d;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.bay-panel-chrome-l {
  display: inline-flex; align-items: center; gap: 8px;
}
.bay-dot {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,.4);
}
.bay-dot--red    { background: #ff5f57; }
.bay-dot--amber  { background: #f5a623; }
.bay-dot--green  { background: #28c840; }
.bay-panel-name {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.bay-panel-chrome-r {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-faint, rgba(241,231,214,.55));
}
.bay-panel-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #15100d;
  position: relative;
  z-index: 2;
}
.bay-panel-foot .mono {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
}

/* LEFT — preview monitor */
.bay-panel--monitor .bay-monitor-stage {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.bay-monitor-tc-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  background: #0a0504;
  border: 1px solid var(--line);
}
.bay-monitor-tc-top .mono {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  display: inline-flex; align-items: center; gap: 6px;
}
.bay-monitor-tc-top .mono:first-child { color: var(--accent); font-weight: 700; }
.bay-rec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: bayRecBlink 1.2s ease-in-out infinite;
}
.bay-monitor-screen {
  position: relative;
  background: #000;
  border: 1px solid var(--line);
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 16px;
}
.bay-monitor-screen .shorts-carousel {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.bay-monitor-scrub {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  background: #0a0504;
  border: 1px solid var(--line);
}
.bay-monitor-scrub .mono {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
}
.bay-scrub-bar {
  position: relative;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.bay-scrub-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 38%;
  background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 60%, #fff));
}

/* RIGHT — timeline bay */
.bay-panel--timeline .bay-tl-stage {
  padding: 14px;
  background: #0a0504;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
}
.bay-panel--timeline .tl-gallery {
  width: 100%;
}
.bay-panel--timeline .tl-stage {
  border: 1px solid color-mix(in oklab, var(--accent) 25%, var(--line));
}
.bay-tl-tracks, .bay-tl-audio {
  display: flex;
  flex-direction: column;
  background: #15100d;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.bay-tl-audio {
  border-bottom: 0;
  border-top: 1px solid var(--line);
}
.bay-track-row {
  display: flex; align-items: center; gap: 12px;
  padding: 5px 14px;
  border-bottom: 1px solid rgba(241,231,214,.04);
}
.bay-track-row:last-child { border-bottom: 0; }
.bay-track-row b {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  min-width: 22px;
  font-weight: 700;
}
.bay-track-row i {
  flex: 1;
  height: 8px;
  display: block;
  background-image:
    repeating-linear-gradient(90deg,
      color-mix(in oklab, var(--accent) 60%, transparent) 0 4px,
      transparent 4px 6px,
      color-mix(in oklab, var(--accent) 30%, transparent) 6px 14px,
      transparent 14px 18px,
      color-mix(in oklab, #4ec1ff 50%, transparent) 18px 26px,
      transparent 26px 32px,
      color-mix(in oklab, #b9f267 40%, transparent) 32px 40px,
      transparent 40px 48px);
  background-size: 200% 100%;
  background-position: var(--bg-shift, 0%) 0;
  opacity: .7;
  border-radius: 1px;
  animation: bayTrackShift 18s linear infinite;
}
.bay-track-row:nth-child(2) i { animation-duration: 22s; animation-direction: reverse; opacity: .55; }
.bay-track-row:nth-child(3) i { animation-duration: 26s; opacity: .45; }
.bay-track-row:nth-child(4) i { animation-duration: 30s; animation-direction: reverse; opacity: .35; }
.bay-tl-audio .bay-track-row i {
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.18) 0 2px, transparent 2px 4px,
      rgba(255,255,255,.28) 4px 8px, transparent 8px 12px,
      rgba(255,255,255,.14) 12px 18px, transparent 18px 22px);
  height: 14px;
  background-size: 240% 100%;
}
@keyframes bayTrackShift {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* Bottom statusbar */
.bay-statusbar {
  margin-top: 28px;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 18px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.bay-statusbar span { display: inline-flex; align-items: center; gap: 8px; }
.bay-statusbar span:first-child { color: var(--accent); font-weight: 700; }
.bay-statusbar span + span { border-left: 1px solid var(--line); padding-left: 18px; }

/* Pulse keyframe (reused) */
@keyframes bayRecBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .25; }
}

@media (max-width: 1100px) {
  .bay-panels { grid-template-columns: 1fr; gap: 36px; }
  .bay-titlebar-right { flex-basis: 100%; justify-content: flex-start; margin-top: 8px; }
  .bay-monitor-screen .shorts-carousel { max-width: 100%; }
}
@media (max-width: 700px) {
  .bay-titlebar { padding: 10px 12px; }
  .bay-titlebar-left { flex-basis: 100%; }
  .bay-stat b { font-size: 20px; }
  .bay-header { margin: 36px 0 28px; }
  .bay-tl-tracks .bay-track-row, .bay-tl-audio .bay-track-row { padding: 4px 10px; }
  .bay-statusbar { gap: 10px; font-size: 9px; }
  .bay-statusbar span + span { border-left: 0; padding-left: 0; }
}
