/* ==========================================================================
   PARACOSMIC COLLECTIVE — shared design system
   An Esinnite media-production transmission. Melbourne, AU.
   Dark, cinematic, analog-horror. Blood red on void black.
   ========================================================================== */

/* ---------- tokens ---------- */

:root {
  /* surface */
  --void: #050505;
  --void-2: #0a0a0b;
  --card: #0c0c0d;
  --card-raised: #121214;
  --bezel-dark: #17130f;
  --bezel: #24201c;
  --bezel-light: #443a31;
  --bezel-seam: #0b0906;
  --screen-black: #0a0c0b;

  /* ink */
  --bone: #e8e6e0;        /* primary text */
  --ash: #8f8b84;         /* muted text */
  --ash-dim: #56534e;     /* faint labels */

  /* blood */
  --blood: #e10600;
  --blood-bright: #ff2a1f;
  --blood-dim: #7a0f0c;
  --blood-glow: 225, 6, 0;

  /* phosphor (screen glow, monochrome) */
  --phosphor: #e6e9e4;
  --glow-rgb: 195, 204, 198;

  /* lines */
  --line: #211f1d;
  --line-red: rgba(225, 6, 0, 0.35);

  /* type */
  --f-display: 'Cinzel', 'Times New Roman', serif;
  --f-metal: 'Metal Mania', 'Cinzel', serif;
  --f-body: 'Space Grotesk', system-ui, sans-serif;
  --f-mono: 'Space Mono', ui-monospace, 'Courier New', monospace;

  /* rhythm */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --maxw: 1280px;
  --nav-h: 66px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */

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

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--blood-bright); outline-offset: 3px; }

/* ambient film grain + vignette over the whole document */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 900;
  background: radial-gradient(ellipse at 50% 42%, transparent 46%, rgba(0,0,0,0.55) 100%);
  mix-blend-mode: multiply;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 901;
  opacity: 0.035;
  background-image: repeating-linear-gradient(
    to bottom, #fff 0, #fff 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}

/* ---------- shared type utilities ---------- */

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--blood);
  text-indent: 0.42em;
}

.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.02;
  font-size: clamp(2rem, 5.5vw, 4rem);
  text-transform: uppercase;
}

.lede {
  color: var(--ash);
  max-width: 52ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.mono-label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash-dim);
}

/* ---------- buttons ---------- */

.btn {
  --edge: var(--blood);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.85em 1.6em;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(225,6,0,0.16), rgba(225,6,0,0.04));
  clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 14px) 100%, 0 100%);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .12s var(--ease);
  position: relative;
}
.btn:hover {
  background: linear-gradient(180deg, rgba(225,6,0,0.34), rgba(225,6,0,0.12));
  box-shadow: 0 0 24px rgba(var(--blood-glow), 0.35), inset 0 0 18px rgba(var(--blood-glow), 0.12);
}
.btn:active { transform: translateY(1px); }
.btn--ghost {
  --edge: var(--line);
  background: transparent;
  color: var(--ash);
}
.btn--ghost:hover {
  --edge: var(--blood);
  color: var(--bone);
  background: rgba(225,6,0,0.06);
  box-shadow: none;
}

/* ---------- site chrome: nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 800;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--gutter);
  background: rgba(5,5,5,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
}
.brand__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
}
.brand__sub {
  font-family: var(--f-mono);
  font-size: 0.52rem;
  letter-spacing: 0.5em;
  color: var(--ash);
  text-indent: 0.5em;
}
.brand__logo {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(var(--glow-rgb), 0.25));
  transition: filter .3s var(--ease);
}
.brand:hover .brand__logo { filter: drop-shadow(0 0 14px rgba(var(--glow-rgb), 0.5)); }
.nav-links {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  list-style: none;
}
.nav-links a {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  padding: 0.4em 0;
  position: relative;
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a[aria-current="page"] { color: var(--blood); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--blood);
  box-shadow: 0 0 8px rgba(var(--blood-glow), 0.8);
}
.nav-signal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--blood);
}
.nav-signal__bars { display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.nav-signal__bars span {
  width: 2px;
  background: var(--blood);
  animation: signal-jitter 1.1s steps(3) infinite;
}
.nav-signal__bars span:nth-child(1) { height: 40%; animation-delay: .0s; }
.nav-signal__bars span:nth-child(2) { height: 100%; animation-delay: .15s; }
.nav-signal__bars span:nth-child(3) { height: 65%; animation-delay: .3s; }
.nav-signal__bars span:nth-child(4) { height: 85%; animation-delay: .45s; }
@keyframes signal-jitter { 50% { transform: scaleY(0.5); opacity: 0.6; } }

.nav-toggle { display: none; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) 2rem;
  background: var(--void-2);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}
.socials { display: flex; gap: 0.8rem; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ash);
  transition: all .3s var(--ease);
}
.socials a:hover {
  color: var(--bone);
  border-color: var(--blood);
  box-shadow: 0 0 18px rgba(var(--blood-glow), 0.3);
}
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash-dim);
}
.footer-bottom a { transition: color .25s var(--ease); }
.footer-bottom a:hover { color: var(--bone); }
.footer-legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ==========================================================================
   CRT — the signature set (landing hero)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: var(--void);
}
.hero__glow {
  position: absolute;
  width: min(70vw, 900px);
  height: min(70vw, 900px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow-rgb),0.14), rgba(var(--glow-rgb),0.04) 42%, transparent 70%);
  filter: blur(6px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 0%,100%{opacity:.6;transform:scale(1);} 50%{opacity:1;transform:scale(1.05);} }

.crt {
  position: relative;
  z-index: 1;
  width: clamp(300px, 46vw, 620px);
  filter: drop-shadow(0 0 40px rgba(var(--glow-rgb), 0.14));
}
.crt__antenna { position: absolute; top: -12%; left: 0; width: 100%; height: 14%; pointer-events: none; }
.crt__antenna span {
  position: absolute; bottom: 0; left: 50%; width: 2px; height: 100%;
  background: linear-gradient(to top, var(--bezel-light), var(--bezel-dark));
  transform-origin: bottom center;
}
.crt__antenna span:nth-child(1) { transform: translateX(-5px) rotate(-16deg); }
.crt__antenna span:nth-child(2) { transform: translateX(5px) rotate(23deg); height: 88%; }

.crt__shell {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background: linear-gradient(155deg, var(--bezel-light), var(--bezel) 35%, var(--bezel-dark) 100%);
  border-radius: 7% 7% 6% 6%;
  padding: 5.5% 6% 0;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 2px var(--bezel-seam),
    0 0 1px 1px rgba(var(--blood-glow), 0.25),
    0 40px 90px rgba(0,0,0,0.78),
    inset 0 2px 1px rgba(255,255,255,0.06),
    inset 0 -20px 30px rgba(0,0,0,0.35);
}
.crt__screen {
  position: relative;
  flex: 1;
  background: var(--screen-black);
  border-radius: 5% / 7%;
  overflow: hidden;
  box-shadow: inset 0 0 0 5px #060504, inset 0 0 55px rgba(0,0,0,0.9);
}
.crt__static { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: 0.55; filter: contrast(0.88) brightness(0.8); }
.crt__halo {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 52% 40% at 50% 48%, rgba(var(--glow-rgb),0.45), rgba(var(--glow-rgb),0.1) 55%, transparent 78%);
  mix-blend-mode: screen; filter: blur(2px);
}
.crt__vignette {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 68%, rgba(0,0,0,0.97) 100%);
}

/* the wordmark inside the tube (typographic placeholder for the logo) */
.crt__mark {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5em;
  mix-blend-mode: screen;
  text-align: center;
  padding: 0 6%;
}
.crt__mark-eyebrow {
  font-family: var(--f-mono);
  font-size: clamp(0.4rem, 1.1vw, 0.6rem);
  letter-spacing: 0.4em;
  color: var(--phosphor);
  opacity: 0.85;
  text-indent: 0.4em;
  text-shadow: 0 0 4px rgba(0,0,0,0.9), 0 0 10px rgba(var(--glow-rgb),0.5);
}
.crt__logo {
  font-family: var(--f-metal);
  font-weight: 400;
  font-size: clamp(1.6rem, 7.2vw, 3.6rem);
  line-height: 0.9;
  color: var(--phosphor);
  letter-spacing: 0.02em;
  text-shadow: 0 0 6px rgba(var(--glow-rgb),0.9), 0 0 20px rgba(var(--glow-rgb),0.5), 0 0 48px rgba(var(--glow-rgb),0.3);
  position: relative;
}
.crt__logo[data-text]::before {
  content: attr(data-text);
  position: absolute; inset: 0;
  opacity: 0.28; transform: translateX(-2px); filter: blur(1.4px);
}
/* real logo image inside the tube */
.crt__logo-img {
  width: min(78%, 420px);
  height: auto;
  filter:
    drop-shadow(0 0 6px rgba(var(--glow-rgb), 0.85))
    drop-shadow(0 0 20px rgba(var(--glow-rgb), 0.5))
    drop-shadow(0 0 46px rgba(var(--glow-rgb), 0.3));
}
.crt__logo-img.is-glitching { animation: track-glitch 0.42s steps(2, end); }

.crt__logo.is-glitching { animation: track-glitch 0.42s steps(2, end); }
@keyframes track-glitch {
  0%,100% { clip-path: inset(0 0 0 0); transform: translateX(0); }
  20% { clip-path: inset(8% 0 62% 0); transform: translateX(-6px); }
  45% { clip-path: inset(50% 0 20% 0); transform: translateX(5px); }
  70% { clip-path: inset(24% 0 40% 0); transform: translateX(-4px); }
}
.crt__sub {
  font-family: var(--f-mono);
  font-size: clamp(0.5rem, 1.7vw, 0.85rem);
  letter-spacing: 0.62em;
  color: var(--phosphor);
  opacity: 0.95;
  text-indent: 0.62em;
  text-shadow: 0 0 4px rgba(0,0,0,0.9), 0 0 12px rgba(var(--glow-rgb),0.6);
}
.crt__scanlines {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,0.4) 0, rgba(0,0,0,0.4) 1px, transparent 1px, transparent 3px);
  animation: scan-drift 11s linear infinite; opacity: 0.5; mix-blend-mode: multiply;
}
@keyframes scan-drift { to { background-position: 0 300px; } }
.crt__flicker { position: absolute; inset: 0; z-index: 5; background: #000; opacity: 0; pointer-events: none; }

.crt__fascia { height: 11%; margin-top: 3.5%; padding: 0 4%; display: flex; align-items: center; justify-content: space-between; }
.crt__speaker { display: flex; gap: 5px; height: 52%; }
.crt__speaker span { width: 3px; height: 100%; background: var(--bezel-dark); border-radius: 2px; }
.crt__controls { display: flex; align-items: center; gap: 10px; }
.crt__led { width: 7px; height: 7px; border-radius: 50%; background: var(--blood); box-shadow: 0 0 8px 1px var(--blood); animation: led 3.4s ease-in-out infinite; }
@keyframes led { 0%,100%{opacity:.4;} 50%{opacity:1;} }
.crt__knob { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--bezel-light), var(--bezel-dark) 75%); box-shadow: inset 0 0 2px rgba(0,0,0,0.8); }

/* hero call-to-enter beneath the set */
.hero__enter {
  position: absolute;
  bottom: clamp(1.5rem, 5vh, 3.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}
.hero__hint {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ash-dim);
  text-indent: 0.36em;
}

/* ==========================================================================
   FULLSCREEN STATIC HERO (home)
   ========================================================================== */

.hero-full {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-full__static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  opacity: 0.5;
  filter: contrast(0.95) brightness(0.66);
  z-index: 0;
}
.hero-full__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(74vw, 960px);
  height: min(74vw, 960px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow-rgb),0.1), rgba(var(--glow-rgb),0.03) 42%, transparent 70%);
  z-index: 1;
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-full__scanlines {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,0.4) 0, rgba(0,0,0,0.4) 1.5px, transparent 1.5px, transparent 4px);
  animation: scan-drift 12s linear infinite;
  opacity: 0.45; mix-blend-mode: multiply;
}
.hero-full__vignette {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(0,0,0,0.55) 0%, transparent 34%, transparent 44%, rgba(0,0,0,0.6) 74%, rgba(0,0,0,0.97) 100%);
}
.hero-full .crt__flicker { z-index: 4; }

.hero-full__content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.2rem, 3vh, 2.2rem);
  text-align: center;
  padding: var(--gutter);
}
.hero-full__eyebrow {
  font-family: var(--f-mono);
  font-size: clamp(0.55rem, 1.4vw, 0.72rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--phosphor);
  opacity: 0.85;
  text-indent: 0.5em;
  text-shadow: 0 0 4px rgba(0,0,0,0.9), 0 0 12px rgba(var(--glow-rgb),0.5);
}
.hero-full__logo {
  width: min(72vw, 620px);
  height: auto;
  filter:
    drop-shadow(0 0 8px rgba(var(--glow-rgb), 0.7))
    drop-shadow(0 0 26px rgba(var(--glow-rgb), 0.4))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
.hero-full__enter {
  background: linear-gradient(180deg, rgba(225,6,0,0.32), rgba(35,2,0,0.72));
  border-color: var(--blood-bright);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 24px rgba(var(--blood-glow), 0.28);
}
.hero-full__enter:hover {
  background: linear-gradient(180deg, rgba(255,42,31,0.5), rgba(60,3,0,0.8));
  box-shadow: 0 0 34px rgba(var(--blood-glow), 0.5);
}
.hero-full .hero__hint {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ash);
  text-indent: 0.36em;
  text-shadow: 0 0 6px rgba(0,0,0,0.9);
}

/* ==========================================================================
   PAGE SHELL for inner pages
   ========================================================================== */

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6rem) var(--gutter);
}
.page-head { margin-bottom: clamp(2rem, 5vw, 4rem); }
.page-head .index {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--blood);
  display: block;
  margin-bottom: 1rem;
}
.page-head .section-title { margin: 0.4rem 0 1rem; }

/* ---------- folder menu ---------- */

.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.folder {
  position: relative;
  display: block;
  padding: 2rem 1.5rem 1.5rem;
  margin-top: 1.6rem;
  background: linear-gradient(180deg, var(--card-raised), var(--card));
  border: 1px solid var(--line);
  min-height: 210px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.folder::before { /* the file tab */
  content: attr(data-index);
  position: absolute;
  top: -1.6rem; left: -1px;
  width: auto;
  height: 1.6rem;
  background: var(--card-raised);
  border: 1px solid var(--line);
  border-bottom: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  display: flex; align-items: center;
  padding: 0 1.6rem 0 1rem;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--ash);
  white-space: nowrap;
}
.folder:hover, .folder:focus-visible {
  transform: translateY(-6px);
  border-color: var(--blood);
  box-shadow: 0 0 34px rgba(var(--blood-glow), 0.22);
}
.folder:hover::before, .folder:focus-visible::before { border-color: var(--blood); color: var(--blood); }
.folder__name {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.folder__desc { display: block; color: var(--ash); font-size: 0.9rem; margin-bottom: 1.5rem; }
.folder__access {
  position: absolute;
  bottom: 1.2rem; left: 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blood);
  display: flex; align-items: center; gap: 0.5em;
}

/* ---------- archive grid ---------- */

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.archive-cell {
  position: relative;
  display: block;
  background: linear-gradient(158deg, var(--bezel-light), var(--bezel) 42%, var(--bezel-dark) 100%);
  border: 1px solid var(--bezel-seam);
  border-radius: 16px 16px 11px 11px;
  padding: 16px 16px 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -14px 22px rgba(0,0,0,0.35),
    0 16px 34px rgba(0,0,0,0.55);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.archive-cell:hover, .archive-cell:focus-visible {
  border-color: var(--blood);
  transform: translateY(-5px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 36px rgba(var(--blood-glow), 0.24),
    0 18px 36px rgba(0,0,0,0.6);
}
.archive-cell__screen {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
  border-radius: 9px / 13px;
  box-shadow: inset 0 0 0 4px #050504, inset 0 0 44px rgba(0,0,0,0.9);
}
.archive-cell__screen canvas,
.archive-cell__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.archive-cell__screen::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,0.35) 0, rgba(0,0,0,0.35) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: multiply; pointer-events: none;
}
.archive-cell__screen img { transition: transform .5s var(--ease), filter .4s var(--ease); filter: grayscale(0.35) contrast(1.05); }
.archive-cell:hover .archive-cell__screen img { transform: scale(1.05); filter: grayscale(0) contrast(1.05); }
.archive-cell__label {
  margin-top: 0.85rem;
  padding: 0 3px;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.archive-cell__label::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blood);
  box-shadow: 0 0 7px 1px rgba(var(--blood-glow), 0.8);
  flex: 0 0 auto;
  margin-right: 0.55rem;
  opacity: 0.75;
}
.archive-cell__title { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); margin-right: auto; }
.archive-cell__id { font-family: var(--f-mono); font-size: 0.64rem; color: var(--ash-dim); }
.archive-cell__cat {
  position: absolute; top: 26px; left: 26px; z-index: 1;
  font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bone); background: rgba(225,6,0,0.85); padding: 0.25em 0.6em;
}

/* ---------- gallery + lightbox ---------- */

.gallery-heading {
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--blood); margin: clamp(2.5rem, 6vw, 4rem) 0 1.4rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 0.8rem;
}
.gallery-item {
  position: relative; padding: 0; aspect-ratio: 4/3; overflow: hidden;
  border: 1px solid var(--line); background: #060606;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .4s var(--ease); filter: grayscale(0.25); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); filter: grayscale(0); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,0.28) 0, rgba(0,0,0,0.28) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: multiply;
}

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(2,2,2,0.94);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 90vw; max-height: 86vh; object-fit: contain;
  border: 1px solid var(--line-red);
  box-shadow: 0 0 60px rgba(var(--blood-glow), 0.2);
}
.lightbox__close, .lightbox__nav {
  position: absolute; color: var(--bone); font-size: 1.6rem;
  width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(10,10,10,0.7);
  transition: all .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--blood); color: var(--blood); }
.lightbox__close { top: 4vh; right: 4vw; }
.lightbox__prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* ---------- archive detail ---------- */

.detail-back {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  display: inline-flex;
  gap: 0.5em;
  margin-bottom: 1.5rem;
  transition: color .25s var(--ease);
}
.detail-back:hover { color: var(--blood); }
.detail-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.detail-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: inset 0 0 0 4px #0a0a0a, inset 0 0 60px rgba(0,0,0,0.9);
}
.detail-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.detail-screen video, .detail-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.detail-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,0.22) 0, rgba(0,0,0,0.22) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: multiply;
}
.detail-screen video { z-index: 1; }
.detail-screen--still img { object-fit: cover; }
.detail-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid var(--blood);
  background: rgba(225,6,0,0.12);
  display: grid; place-items: center; z-index: 2;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.detail-play:hover { background: rgba(225,6,0,0.3); box-shadow: 0 0 30px rgba(var(--blood-glow), 0.4); }
.detail-play svg { width: 26px; height: 26px; margin-left: 4px; }
.detail-meta .eyebrow { margin-bottom: 0.8rem; display: block; }
.detail-meta h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.detail-meta p { color: var(--ash); font-size: 0.94rem; margin-bottom: 1.5rem; }
.detail-spec { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ash-dim); text-transform: uppercase; margin-bottom: 0.4rem; }
.detail-spec b { color: var(--bone); font-weight: 400; }
.detail-tabs { display: flex; gap: 0.5rem; margin: 2.5rem 0 1.5rem; flex-wrap: wrap; }
.detail-tab {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5em 1em;
  border: 1px solid var(--line);
  color: var(--ash);
  transition: all .25s var(--ease);
}
.detail-tab[aria-selected="true"], .detail-tab:hover { color: var(--bone); border-color: var(--blood); background: rgba(225,6,0,0.06); }
.detail-stills { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.8rem; }
.detail-still { aspect-ratio: 16/9; border: 1px solid var(--line); position: relative; overflow: hidden; }
.detail-still canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.detail-next { display: flex; justify-content: flex-end; margin-top: 3rem; }

@media (max-width: 720px) {
  .detail-hero { grid-template-columns: 1fr; }
}

/* ---------- lore ---------- */

.lore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2rem;
}
.lore-col h3 {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 1rem;
}
.lore-col p { color: var(--ash); font-size: 0.94rem; }
.lore-cta { margin-top: clamp(2.5rem, 6vw, 4rem); text-align: center; }

.transmission-log {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid var(--line-red);
  background: rgba(225,6,0,0.03);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.transmission-log h3 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 1.2rem;
}
.log-table { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 0.74rem; }
.log-table td { padding: 0.5rem 0.5rem; border-bottom: 1px solid var(--line); letter-spacing: 0.08em; color: var(--ash); }
.log-table tr td:first-child { color: var(--blood); }
.log-table tr td:last-child { color: var(--bone); text-align: right; }

/* ---------- contact / send signal ---------- */

.signal-form {
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid var(--line-red);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background: rgba(225,6,0,0.03);
  box-shadow: 0 0 60px rgba(var(--blood-glow), 0.08) inset;
}
.field { margin-bottom: 1rem; }
.field label { display: block; }
.field .mono-label { display: block; margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #060606;
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blood);
  box-shadow: 0 0 18px rgba(var(--blood-glow), 0.2);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { margin-top: 0.8rem; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--ash-dim); }
.form-status { margin-top: 1rem; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.12em; min-height: 1.2em; }
.form-status.ok { color: #7CFFB2; }
.form-status.err { color: var(--blood-bright); }

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   VIDEO LANDING (home)
   ========================================================================== */

.hero-video {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-video__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 42%, rgba(0,0,0,0.35) 100%),
    linear-gradient(to bottom, transparent 52%, rgba(0,0,0,0.9) 100%);
}
.hero-video__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  padding-bottom: clamp(3rem, 13vh, 8rem);
  text-align: center;
}
.hero-video__enter {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  background: linear-gradient(180deg, rgba(225,6,0,0.34), rgba(35,2,0,0.72));
  border-color: var(--blood-bright);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 24px rgba(var(--blood-glow), 0.3);
}
.hero-video__enter:hover {
  background: linear-gradient(180deg, rgba(255,42,31,0.5), rgba(60,3,0,0.8));
  box-shadow: 0 0 36px rgba(var(--blood-glow), 0.55);
}
.hero-video.is-ready .hero-video__enter { opacity: 1; transform: none; }
.hero-video__hint {
  font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--ash); text-indent: 0.36em;
  opacity: 0; transition: opacity 1.1s var(--ease) 0.25s;
  text-shadow: 0 0 6px rgba(0,0,0,0.9);
}
.hero-video.is-ready .hero-video__hint { opacity: 1; }

/* ==========================================================================
   ONE-PAGE SECTIONS
   ========================================================================== */

html { scroll-padding-top: var(--nav-h); }
.section { position: relative; scroll-margin-top: var(--nav-h); }
.section + .section { border-top: 1px solid var(--line); }
.section--artchive { background: linear-gradient(180deg, var(--void) 0%, #070707 50%, var(--void) 100%); }

/* ==========================================================================
   ARTCHIVE — wall of vintage televisions
   ========================================================================== */

.tv-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
}
.tv {
  position: relative;
  display: block;
  background: linear-gradient(150deg, #2b2419 0%, #1c1712 26%, #100c08 60%, #070505 100%);
  border: 1px solid #000;
  border-radius: 14px 14px 12px 12px;
  padding: clamp(12px, 1.6vw, 20px) clamp(12px, 1.6vw, 20px) 0;
  box-shadow:
    inset 0 2px 1px rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(120,90,60,0.08),
    inset 0 -40px 50px rgba(0,0,0,0.55),
    0 24px 44px rgba(0,0,0,0.6);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.tv:hover, .tv:focus-visible {
  transform: translateY(-6px);
  border-color: var(--blood);
  box-shadow:
    inset 0 2px 1px rgba(255,255,255,0.07),
    0 0 46px rgba(var(--blood-glow), 0.26),
    0 26px 48px rgba(0,0,0,0.65);
}
.tv__cat {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: 0.5rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bone); background: var(--blood); padding: 0.22em 0.7em;
  border-radius: 0 0 4px 4px; z-index: 4;
}
.tv__frame {
  position: relative;
  background: #050403;
  border-radius: 12px;
  padding: clamp(8px, 1vw, 12px);
  box-shadow: inset 0 0 0 2px #2a2016, inset 0 0 0 4px #0a0806, inset 0 0 14px rgba(0,0,0,0.8);
}
.tv__screen {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22% / 30%;
  background: #000;
  box-shadow: inset 0 0 26px 7px rgba(0,0,0,0.92);
}
.tv__screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.06) brightness(0.94);
  transition: filter .4s var(--ease), transform .5s var(--ease);
}
.tv:hover .tv__screen img { filter: saturate(1.1) contrast(1.06) brightness(1.02); transform: scale(1.09); }
.tv__scan {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,0.34) 0, rgba(0,0,0,0.34) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: multiply;
}
.tv__glass {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 26% 16%, rgba(255,255,255,0.18), rgba(255,255,255,0.05) 28%, transparent 52%),
    radial-gradient(150% 130% at 50% 50%, transparent 52%, rgba(0,0,0,0.55) 100%);
}
.tv__chyron {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.55rem 0.75rem 0.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4) 60%, transparent);
}
.tv__title { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); }
.tv__id { font-family: var(--f-mono); font-size: 0.58rem; color: var(--blood); flex: 0 0 auto; }
.tv__panel {
  height: clamp(28px, 3.6vw, 42px);
  display: flex; align-items: center; gap: clamp(8px, 1vw, 13px);
  padding: 0 6px;
}
.tv__panel::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blood); box-shadow: 0 0 5px 1px rgba(var(--blood-glow), 0.8);
  opacity: 0.7; flex: 0 0 auto;
}
.tv__grille {
  flex: 1; height: 50%;
  background: repeating-linear-gradient(90deg, #050403 0, #050403 2px, #2c2118 2px, #2c2118 4px);
  border-radius: 2px;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.9);
  opacity: 0.85;
}
.tv__dials { display: flex; gap: 8px; flex: 0 0 auto; }
.tv__dials i {
  width: 14px; height: 14px; border-radius: 50%; display: block;
  background: radial-gradient(circle at 35% 30%, #6f5d45, #191209 78%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.7), inset 0 0 2px rgba(0,0,0,0.85);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) { .tv-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tv-wall { grid-template-columns: 1fr; } }


@media (max-width: 760px) {
  .nav-links, .nav-signal { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5,5,5,0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1rem;
  }
  .nav-links.open li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 4px;
    padding: 8px; width: 40px; height: 40px; justify-content: center;
  }
  .nav-toggle span { height: 2px; background: var(--bone); display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__glow, .crt__scanlines, .crt__led, .nav-signal__bars span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .crt__logo.is-glitching { animation: none; }
}

/* ==========================================================================
   V2 — video landing, scroll-scrub hero, hunt-lore, VHS wall, photo fan
   ========================================================================== */

/* ---------- video landing + black-hole ---------- */
.landing { position: relative; width: 100%; min-height: 100dvh; overflow: hidden; background: #000; display: flex; align-items: flex-end; justify-content: center; }
.landing__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.landing__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 42%, transparent 42%, rgba(0,0,0,.4) 100%), linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.92) 100%); }
.landing__grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .06; background-image: repeating-linear-gradient(to bottom, #fff 0, #fff 1px, transparent 1px, transparent 3px); mix-blend-mode: overlay; }
.landing__content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding-bottom: clamp(3rem, 13vh, 8rem); text-align: center; }
.landing__enter { opacity: 0; transform: translateY(14px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease); background: linear-gradient(180deg, rgba(225,6,0,.34), rgba(35,2,0,.72)); border-color: var(--blood-bright); backdrop-filter: blur(2px); box-shadow: 0 0 24px rgba(var(--blood-glow), .3); }
.landing__enter:hover { background: linear-gradient(180deg, rgba(255,42,31,.5), rgba(60,3,0,.8)); box-shadow: 0 0 36px rgba(var(--blood-glow), .55); }
.landing.is-ready .landing__enter { opacity: 1; transform: none; }
.landing__hint { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .36em; text-transform: uppercase; color: var(--ash); text-indent: .36em; opacity: 0; transition: opacity 1.1s var(--ease) .25s; text-shadow: 0 0 6px rgba(0,0,0,.9); }
.landing.is-ready .landing__hint { opacity: 1; }

.voidwarp { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0; }
.landing.is-warping .voidwarp { opacity: 1; }
.landing.is-warping .landing__video,
.landing.is-warping .landing__content,
.landing.is-warping .landing__scrim,
.landing.is-warping .landing__grain {
  transition: transform 1.15s cubic-bezier(.6,0,.9,.25), opacity 1.15s ease-in, filter 1.15s ease-in;
  transform: scale(.02) rotate(340deg); transform-origin: 50% 50%; opacity: 0; filter: blur(8px);
}
.voidwarp__core { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, #000 34%, rgba(225,6,0,.55) 46%, #000 62%); box-shadow: 0 0 60px 24px rgba(225,6,0,.4), inset 0 0 20px #000; }
.landing.is-warping .voidwarp__core { animation: blackhole 1.15s ease-in forwards; }
@keyframes blackhole {
  0% { width: 8px; height: 8px; }
  55% { width: 220px; height: 220px; box-shadow: 0 0 90px 40px rgba(225,6,0,.5), inset 0 0 40px #000; }
  100% { width: 3400px; height: 3400px; background: #000; box-shadow: none; }
}

/* ---------- translucent nav over hero ---------- */
.site-nav--overlay { background: linear-gradient(to bottom, rgba(5,5,5,.74), rgba(5,5,5,0)); backdrop-filter: blur(6px); border-bottom-color: transparent; }

/* ---------- scroll-scrub hero ---------- */
.scrollhero { position: relative; height: 300vh; background: #000; }
.scrollhero__track { height: 100%; }
.scrollhero__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scrollhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrollhero__scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 52%, rgba(0,0,0,.5) 100%), linear-gradient(to bottom, rgba(0,0,0,.35), transparent 26%, transparent 74%, rgba(0,0,0,.88)); }
.scrollhero__cue { position: absolute; bottom: 8vh; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ash); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.scrollhero__cue b { font-size: 1.1rem; animation: cuebob 1.8s ease-in-out infinite; }
@keyframes cuebob { 50% { transform: translateY(6px); opacity: .5; } }

/* ---------- lore: hunt by hover ---------- */
.lore-hunt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; color: var(--blood); margin-top: 1.1rem; opacity: .85; animation: huntpulse 3.5s ease-in-out infinite; }
@keyframes huntpulse { 50% { opacity: .45; } }
.section--lore .lore-grid { min-height: 220px; }
.lore-hidden { position: relative; opacity: .06; filter: blur(3px) saturate(0); transition: opacity .12s linear, filter .12s linear; cursor: crosshair; }
.lore-hidden::before { content: ""; position: absolute; inset: -10px; z-index: 1; pointer-events: none; opacity: .5; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0, rgba(255,255,255,.06) 1px, transparent 1px, transparent 3px); transition: opacity .2s; }
.lore-hidden:hover, .lore-hidden:focus-within { opacity: 1; filter: none; animation: loreglitch .4s steps(2, end); }
.lore-hidden:hover::before, .lore-hidden:focus-within::before { opacity: 0; }
@keyframes loreglitch {
  0% { clip-path: inset(0 0 0 0); transform: translateX(0); }
  20% { clip-path: inset(10% 0 60% 0); transform: translateX(-6px); }
  45% { clip-path: inset(55% 0 20% 0); transform: translateX(5px); }
  70% { clip-path: inset(25% 0 45% 0); transform: translateX(-3px); }
  100% { clip-path: inset(0 0 0 0); transform: none; }
}

/* ---------- wide container ---------- */
.page-wide { max-width: 1560px; margin: 0 auto; padding: clamp(2.5rem, 7vw, 6rem) var(--gutter); }

/* ---------- VHS wall ---------- */
.tvwall { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px); }
.vhs { position: relative; }
.vhs__cab { position: relative; background: linear-gradient(150deg, #2b2419, #1c1712 26%, #100c08 60%, #070505); border: 1px solid #000; border-radius: 12px 12px 10px 10px; padding: clamp(8px,1vw,14px) clamp(8px,1vw,14px) 0; box-shadow: inset 0 2px 1px rgba(255,255,255,.06), inset 0 -30px 40px rgba(0,0,0,.5), 0 18px 34px rgba(0,0,0,.55); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.vhs:hover { z-index: 3; }
.vhs:hover .vhs__cab { transform: translateY(-4px) scale(1.025); box-shadow: 0 0 44px rgba(var(--glow-rgb), .2), 0 22px 42px rgba(0,0,0,.62); }
.vhs[data-video]:hover .vhs__cab { box-shadow: 0 0 46px rgba(var(--blood-glow), .28), 0 22px 42px rgba(0,0,0,.62); }
.vhs__screen { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 20% / 28%; background: #000; box-shadow: inset 0 0 24px 6px rgba(0,0,0,.92); }
.vhs__static, .vhs__vid { position: absolute; inset: 0; width: 100%; height: 100%; }
.vhs__static { image-rendering: pixelated; opacity: .8; filter: contrast(.9) brightness(.78); transition: opacity .35s var(--ease); }
.vhs__vid { object-fit: cover; opacity: 0; transition: opacity .4s var(--ease); }
.vhs.is-live .vhs__vid { opacity: 1; }
.vhs.is-live .vhs__static { opacity: 0; }
.vhs:not([data-video]):hover .vhs__static { opacity: 1; filter: contrast(1) brightness(1); }
.vhs__scan { position: absolute; inset: 0; z-index: 3; pointer-events: none; background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,.32) 0, rgba(0,0,0,.32) 1px, transparent 1px, transparent 3px); mix-blend-mode: multiply; }
.vhs__glass { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(120% 90% at 26% 16%, rgba(255,255,255,.16), rgba(255,255,255,.04) 28%, transparent 52%), radial-gradient(150% 130% at 50% 50%, transparent 52%, rgba(0,0,0,.5) 100%); }
.vhs__panel { height: clamp(22px, 2.6vw, 34px); display: flex; align-items: center; gap: 10px; padding: 0 5px; }
.vhs__panel::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blood); box-shadow: 0 0 5px 1px rgba(var(--blood-glow), .8); opacity: .5; flex: 0 0 auto; }
.vhs[data-video] .vhs__panel::before { opacity: .95; }
.vhs__grille { flex: 1; height: 48%; background: repeating-linear-gradient(90deg, #050403 0, #050403 2px, #2c2118 2px, #2c2118 4px); border-radius: 2px; opacity: .8; }
.vhs__dials { display: flex; gap: 7px; flex: 0 0 auto; }
.vhs__dials i { width: 12px; height: 12px; border-radius: 50%; display: block; background: radial-gradient(circle at 35% 30%, #6f5d45, #191209 78%); box-shadow: inset 0 0 2px rgba(0,0,0,.85); }
.vhs[data-video] { cursor: pointer; }

/* ---------- photography: floating 3D fan ---------- */
.section--photo .page-head { max-width: 1560px; margin-left: auto; margin-right: auto; }
.fan { position: relative; height: clamp(360px, 56vw, 640px); margin: 2.5rem auto 0; perspective: 1700px; max-width: 1560px; }
.fan__stage { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; touch-action: pan-y; cursor: grab; }
.fan__stage:active { cursor: grabbing; }
.fan__card { position: absolute; top: 50%; left: 50%; width: clamp(280px, 46vw, 760px); aspect-ratio: 3 / 2; margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #0a0a0a; box-shadow: 0 34px 66px rgba(0,0,0,.62); transform: translate(-50%, -50%); transform-origin: center center; transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s var(--ease); will-change: transform, opacity; backface-visibility: hidden; opacity: 0; pointer-events: none; }
.fan__card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: floaty 6.5s ease-in-out infinite; }
.fan__card:nth-child(2n) img { animation-duration: 7.5s; animation-delay: -1.5s; }
.fan__card:nth-child(3n) img { animation-duration: 8.2s; animation-delay: -3s; }
.fan__card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 46px rgba(0,0,0,.45); pointer-events: none; }
.fan__card.is-active { pointer-events: auto; }
@keyframes floaty { 0%,100% { transform: scale(1.06) translateY(0); } 50% { transform: scale(1.06) translateY(-1.6%); } }
.fan__nav { position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: -0.5rem; display: flex; align-items: center; gap: 1rem; z-index: 10; }
.fan__btn { width: 46px; height: 46px; border: 1px solid var(--line); background: rgba(10,10,10,.6); color: var(--bone); font-size: 1.4rem; display: grid; place-items: center; transition: all .25s var(--ease); }
.fan__btn:hover { border-color: var(--blood); color: var(--blood); box-shadow: 0 0 16px rgba(var(--blood-glow), .3); }
.fan__count { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; color: var(--ash); min-width: 62px; text-align: center; }
.fan__count b { color: var(--bone); }

/* ---------- footer follow ---------- */
.follow { display: flex; flex-direction: column; align-items: flex-end; gap: .85rem; }
.follow__text { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }

/* ---------- V2 responsive ---------- */
@media (max-width: 1000px) { .tvwall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) {
  .tvwall { grid-template-columns: repeat(2, 1fr); }
  .follow { align-items: center; }
  .fan__nav { right: 50%; transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .fan__card img { animation: none; }
  .scrollhero__cue b, .lore-hunt { animation: none; }
  .landing.is-warping .voidwarp__core { animation: none; }
  .lore-hidden { opacity: 1; filter: none; }
}

/* ==========================================================================
   V3 — persistent nav, TV pyramid, warp glitch, loading page
   ========================================================================== */

/* nav always visible while scrolling */
.site-nav--overlay {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(6,6,8,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.site-nav--overlay.is-scrolled { background: rgba(6,6,8,.94); }

/* Artchive — staggered TV pyramid (reference layout) */
.tvwall {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(6px, 0.9vw, 14px);
  position: relative;
}
.tvwall::before {
  content: ""; position: absolute; top: 48%; left: 50%; transform: translate(-50%,-50%);
  width: 74%; height: 88%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(var(--glow-rgb),.09), transparent 68%);
}
.tvrow { display: flex; justify-content: center; gap: clamp(6px, 0.9vw, 14px); position: relative; z-index: 1; }
.tvrow .vhs { width: clamp(148px, 21vw, 300px); flex: 0 0 auto; }
.tvrow:nth-child(2) { transform: translateX(-2.5%); }
.tvrow:nth-child(4) { transform: translateX(2.5%); }
@media (max-width: 520px) {
  .tvrow .vhs { width: clamp(130px, 42vw, 190px); }
}

/* warp glitch on ENTER click */
.landing.is-warping { animation: warpglitch .45s steps(2, end) 1; }
@keyframes warpglitch {
  0% { filter: none; }
  20% { filter: contrast(1.5) hue-rotate(-10deg); }
  40% { filter: invert(.12) contrast(1.7); }
  60% { filter: contrast(1.35) saturate(1.4); }
  100% { filter: none; }
}
.landing.is-warping::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: #fff; opacity: 0; animation: warpflash .5s ease-out 1;
}
@keyframes warpflash {
  0%,100% { opacity: 0; } 8% { opacity: .55; } 24% { opacity: 0; } 46% { opacity: .25; } 66% { opacity: 0; }
}

/* loading page (between landing and the main scroll page) */
.loading { position: fixed; inset: 0; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.loading .hero-full__static { opacity: .34; filter: contrast(.9) brightness(.55); z-index: 0; }
.loading__scrim { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, transparent 38%, rgba(0,0,0,.92) 100%); }
.loading__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.7rem; text-align: center; padding: var(--gutter); }
.loading__logo { width: min(52vw, 380px); height: auto; filter: drop-shadow(0 0 12px rgba(var(--glow-rgb),.5)); animation: loadflick 2s steps(2) infinite; }
.loading__bar { width: min(62vw, 340px); height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.loading__bar span { display: block; height: 100%; width: 0; background: var(--blood); box-shadow: 0 0 10px var(--blood); animation: loadbar 2.1s ease-in-out forwards; }
.loading__text { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .42em; text-transform: uppercase; color: var(--ash); text-indent: .42em; animation: huntpulse 1.4s ease-in-out infinite; }
@keyframes loadbar { 0% { width: 0; } 100% { width: 100%; } }
@keyframes loadflick { 0%,100% { opacity: 1; } 50% { opacity: .82; } }

@media (prefers-reduced-motion: reduce) {
  .landing.is-warping { animation: none; }
  .landing.is-warping::after { animation: none; }
  .loading__logo, .loading__text { animation: none; }
  .loading__bar span { animation-duration: .8s; }
}

/* ==========================================================================
   V3.2 — landscape TV cluster, alive photos, secret ping, terminal
   ========================================================================== */

/* Artchive: fit the whole cluster in one frame (center hero + side stacks) */
.section--artchive { min-height: 100vh; display: flex; align-items: center; }
.section--artchive .page-wide { width: 100%; padding-top: calc(var(--nav-h) + 2vh); padding-bottom: 3vh; }
.section--artchive .page-head { margin-bottom: clamp(1rem, 3vh, 2.2rem); }
.tvwall {
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  gap: clamp(8px, 1.4vw, 22px); flex-wrap: nowrap;
}
.tvcol { display: flex; flex-direction: column; gap: clamp(6px, 0.9vw, 12px); align-items: center; }
.tvcol--side .vhs { width: clamp(100px, 13vw, 212px); }
.tvcol--left  { transform: translateY(-3%); }
.tvcol--right { transform: translateY(3%); }
.vhs--hero { width: clamp(216px, 28vw, 440px); }
.vhs--hero .vhs__static { opacity: 1; filter: brightness(1.16) contrast(1.04); }
.vhs--hero .vhs__cab { box-shadow: inset 0 2px 1px rgba(255,255,255,.07), inset 0 -30px 40px rgba(0,0,0,.5), 0 0 60px rgba(var(--glow-rgb),.16), 0 22px 44px rgba(0,0,0,.6); }
@media (max-width: 820px) {
  .tvwall { flex-wrap: wrap; gap: 10px; }
  .tvcol { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .tvcol--side .vhs, .vhs--hero { width: clamp(120px, 40vw, 190px); }
  .tvcol--left, .tvcol--right { transform: none; }
  .section--artchive { min-height: 0; }
}

/* Photography: cards float / breathe like they're alive */
@keyframes floaty {
  0%   { transform: scale(1.06) translate(0, 0) rotate(0deg); }
  25%  { transform: scale(1.06) translate(0.7%, -1.5%) rotate(0.5deg); }
  50%  { transform: scale(1.06) translate(0, -2.4%) rotate(0deg); }
  75%  { transform: scale(1.06) translate(-0.7%, -1.3%) rotate(-0.5deg); }
  100% { transform: scale(1.06) translate(0, 0) rotate(0deg); }
}
.fan__card img { animation-duration: 6.5s; }
.fan__card.is-active img { animation-duration: 5s; }
.fan.is-swiping .fan__card img { animation-play-state: paused; }

/* secret notification ping */
.secret-ping {
  position: fixed; right: clamp(1rem, 3vw, 2.2rem); bottom: clamp(1rem, 3vw, 2.2rem);
  z-index: 820;
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1.1rem;
  background: linear-gradient(180deg, rgba(14,14,16,.96), rgba(8,8,10,.96));
  border: 1px solid var(--line-red);
  box-shadow: 0 0 30px rgba(var(--blood-glow), .25), 0 14px 30px rgba(0,0,0,.6);
  clip-path: polygon(0 0, 100% 0, 100% 72%, calc(100% - 12px) 100%, 0 100%);
  opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.secret-ping.show { opacity: 1; transform: none; pointer-events: auto; }
.secret-ping:hover { border-color: var(--blood); box-shadow: 0 0 40px rgba(var(--blood-glow), .4), 0 14px 30px rgba(0,0,0,.6); }
.secret-ping__led { width: 9px; height: 9px; border-radius: 50%; background: var(--blood); box-shadow: 0 0 8px 2px rgba(var(--blood-glow), .9); animation: pingblink 1.1s steps(2) infinite; flex: 0 0 auto; }
@keyframes pingblink { 50% { opacity: .25; } }
.secret-ping__body { display: flex; flex-direction: column; gap: .15rem; }
.secret-ping__title { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); }
.secret-ping__sub { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; color: var(--ash); }

/* secret page: hacked-computer terminal */
.terminal {
  min-height: 100dvh; background: #070101; color: #ff5347;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 4vh) var(--gutter) 6vh; position: relative; overflow: hidden;
}
.terminal__scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .5;
  background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,.35) 0, rgba(0,0,0,.35) 1px, transparent 1px, transparent 3px);
}
.terminal::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.75) 100%);
}
.terminal__window {
  position: relative; z-index: 2; width: min(860px, 100%);
  border: 1px solid rgba(255,74,64,.25); background: rgba(3,10,6,.6);
  box-shadow: 0 0 60px rgba(255,74,64,.12), inset 0 0 60px rgba(0,0,0,.6);
}
.terminal__bar { display: flex; align-items: center; gap: 1rem; padding: .6rem 1rem; border-bottom: 1px solid rgba(255,74,64,.2); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; color: rgba(255,74,64,.6); }
.terminal__dots { display: flex; gap: 6px; }
.terminal__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,74,64,.4); display: block; }
.terminal__out {
  margin: 0; padding: clamp(1.4rem, 4vw, 2.8rem);
  font-family: var(--f-mono); font-size: clamp(.82rem, 1.6vw, 1rem); line-height: 1.9;
  white-space: pre-wrap; word-break: break-word;
  text-shadow: 0 0 8px rgba(255,74,64,.5); min-height: 40vh;
}
.terminal__out b { color: #ffb1a9; font-weight: 700; letter-spacing: .1em; }
.terminal__cursor { display: inline-block; width: .6em; height: 1.05em; background: #ff5347; margin-left: 2px; vertical-align: text-bottom; box-shadow: 0 0 8px rgba(255,74,64,.7); animation: termcursor 1s steps(2) infinite; }
@keyframes termcursor { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .secret-ping__led { animation: none; }
  .terminal__cursor { animation: none; }
}

/* ==========================================================================
   V3.3 — uniform Artchive grid + play-through hero with hyperlapse handoff
   ========================================================================== */

/* Artchive: uniform equal-size screens, centered grid (see everything clearly) */
.tvwall {
  display: flex; flex-direction: row; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(8px, 1.2vw, 18px);
  max-width: 1180px; margin: 0 auto;
}
.tvwall .vhs, .tvwall .vhs--hero { width: clamp(150px, 22vw, 252px); flex: 0 0 auto; }
.vhs--hero .vhs__static { opacity: .8; filter: contrast(.9) brightness(.78); } /* no longer a hero */

/* Hero: play once, full screen, then hand off to Lore */
.scrollhero { height: 100vh; }
.scrollhero__track { height: 100%; }
.scrollhero__pin { position: relative; height: 100vh; }
.scrollhero__end {
  position: absolute; inset: 0; z-index: 6; background: #000;
  opacity: 0; pointer-events: none; transition: opacity .6s ease;
}
.scrollhero.is-ending .scrollhero__end { opacity: 1; }
.scrollhero.is-ending .scrollhero__video {
  transform: scale(1.12); filter: brightness(1.35);
  transition: transform .7s cubic-bezier(.5,0,.9,.3), filter .7s ease-in;
}
@media (prefers-reduced-motion: reduce) {
  .scrollhero.is-ending .scrollhero__video { transform: none; filter: none; transition: none; }
}

/* ---------- audio mute toggle ---------- */
.audio-toggle {
  position: fixed; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 830; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(8,8,10,.82); backdrop-filter: blur(8px);
  color: var(--ash); display: grid; place-items: center;
  transition: color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.audio-toggle:hover { color: var(--bone); border-color: var(--blood); box-shadow: 0 0 16px rgba(var(--blood-glow), .3); }
.audio-toggle svg { width: 19px; height: 19px; }
.audio-toggle.is-muted { color: var(--ash-dim); }

/* ---------- landing "begin with sound" gate ---------- */
.landing__gate {
  position: absolute; inset: 0; z-index: 40; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  background: rgba(2,2,3,.72); backdrop-filter: blur(3px);
  transition: opacity .7s var(--ease);
}
.landing__gate.is-dismissed { opacity: 0; pointer-events: none; }
.landing__gate-icon {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--blood); color: var(--bone);
  background: linear-gradient(180deg, rgba(225,6,0,.28), rgba(35,2,0,.6));
  box-shadow: 0 0 30px rgba(var(--blood-glow), .35);
  animation: gatepulse 2.4s ease-in-out infinite;
}
.landing__gate-icon svg { width: 24px; height: 24px; margin-left: 4px; }
@keyframes gatepulse { 50% { box-shadow: 0 0 46px rgba(var(--blood-glow), .6); transform: scale(1.05); } }
.landing__gate-prompt { font-family: var(--f-mono); font-size: .82rem; letter-spacing: .34em; text-transform: uppercase; color: var(--bone); text-indent: .34em; }
.landing__gate-sub { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ash); text-indent: .28em; }
@media (prefers-reduced-motion: reduce) { .landing__gate-icon { animation: none; } }

/* ==========================================================================
   V3.6 — mobile: safe areas (notch), no-crop hero, touch fixes
   ========================================================================== */

/* fixed nav clears the iPhone notch / status bar (env() is 0 on desktop -> no change) */
.site-nav {
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
}
html { scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
.section { scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }

/* fixed controls clear the home indicator */
.audio-toggle { bottom: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-bottom, 0px)); }
.secret-ping  { bottom: calc(clamp(1rem, 3vw, 2.2rem) + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 760px) {
  /* dropdown menu opens below the (now taller) nav */
  .nav-links.open { top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
}

/* hero videos keep object-fit:cover on all sizes (desktop unchanged);
   the landing swaps to a portrait mobile cut via JS so it fills phones cleanly. */

/* ==========================================================================
   V3.7 — mobile nav visibility, one-line hint, lore-on-touch, honeypot
   ========================================================================== */

/* honeypot (spam trap) — hidden from people, present for bots */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
  /* make the bar + hamburger clearly visible and tappable at all times */
  .site-nav--overlay { background: rgba(6,6,8,.92); }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 44px; height: 40px; padding: 9px 8px;
    border: 1px solid var(--line-red); border-radius: 8px;
    background: rgba(20,6,6,.5);
  }
  .nav-toggle span { display: block; width: 100%; height: 2px; background: var(--bone); border-radius: 2px; }
  .nav-toggle[aria-expanded="true"] { border-color: var(--blood); box-shadow: 0 0 14px rgba(var(--blood-glow), .4); }

  /* landing hint: keep "An Esinnite transmission · Melbourne AU" on ONE line */
  .landing__hint { font-size: .5rem; letter-spacing: .2em; white-space: nowrap; text-indent: .2em; }

  /* Lore on touch: all text visible; it glitches in as you scroll to it */
  .lore-hidden { opacity: 1; filter: none; cursor: default; }
  .lore-hidden::before { display: none; }
  .lore-hidden.glitch-in { animation: loreglitch .55s steps(2, end); }
}

/* mobile-only / desktop-only text swap (Artchive lede: Hover vs Tap) */
.only-mobile { display: none; }
@media (max-width: 760px) {
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
}

/* ==========================================================================
   V4.1 — MOBILE PERFORMANCE (desktop untouched)
   Strip the GPU-heavy effects that cause jank on phones.
   ========================================================================== */
@media (max-width: 768px) {
  /* backdrop blur is recomputed every scroll frame on mobile — drop it */
  .site-nav--overlay,
  .site-nav--overlay.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6,6,8,.95); }
  .audio-toggle,
  .secret-ping,
  .landing__gate,
  .landing__enter,
  .hero-video__enter { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* full-screen blended overlays are expensive to composite — lighten them */
  body::after { display: none; }              /* film grain */
  body::before { mix-blend-mode: normal; }    /* vignette without per-frame blend */

  /* stop continuous compositing work */
  .fan__card img { animation: none; }
  .fan__card { will-change: auto; }
}
