/* ═══════════════════════════════════════════════════════════
   AURELIA VOSS — liquid chrome
   obsidian / chrome / iridescent violet-cyan / acid telemetry
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #09090b;
  --bg-soft: #101014;
  --ink: #ececf1;
  --ink-dim: #b4b4be;
  --ink-faint: #6b6b76;
  --line: rgba(236, 236, 241, 0.1);
  --acid: #ccff00;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --chrome-grad: linear-gradient(
    165deg,
    #fafafd 0%,
    #c9c9d4 18%,
    #6f6f7c 38%,
    #e8e8f0 52%,
    #83839a 68%,
    #f2f2f8 84%,
    #a5a5b8 100%
  );
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.83, 0, 0.17, 1);
  --pad: clamp(20px, 4vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", "Noto Sans JP", system-ui, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
@media (hover: none), (pointer: coarse) { body { cursor: auto; } }

::selection { background: var(--acid); color: #09090b; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#3a3a44, #6f6f7c);
  border-radius: 5px; border: 2px solid var(--bg);
}

a { color: inherit; text-decoration: none; }
.mono { font-family: "JetBrains Mono", "Noto Sans JP", monospace; font-size: 11px; letter-spacing: 0.08em; }

:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; border-radius: 2px; }

/* ─── chrome text ─── */
.chrome-text {
  background: var(--chrome-grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chromeShift 9s var(--ease-inout) infinite alternate;
}
@keyframes chromeShift {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* ═══ PRELOADER ═══ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease-inout);
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader-core { width: min(420px, 78vw); }
.loader-name {
  font-family: "Unbounded", sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 0.34em;
  color: var(--ink); margin-bottom: 18px;
}
.loader-name sup { color: var(--acid); font-size: 8px; }
.loader-bar {
  height: 1px; background: var(--line);
  margin-bottom: 12px; overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--cyan), #fafafd);
  transition: width 0.2s linear;
}
.loader-row {
  display: flex; justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em; color: var(--ink-faint);
}
.loader-count { color: var(--acid); }

/* ═══ ATMOSPHERE ═══ */
#scene {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100vh; display: block;
}
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 10%, transparent 30%, rgba(9, 9, 11, 0.72) 100%),
    linear-gradient(rgba(9, 9, 11, 0) 0%, rgba(9, 9, 11, var(--veil-a, 0)) 26%, rgba(9, 9, 11, var(--veil-a, 0)) 100%);
}
.grain {
  position: fixed; inset: -60%; z-index: 90; pointer-events: none;
  opacity: 0.055;
  background-repeat: repeat;
  animation: grainJitter 0.9s steps(9) infinite;
}
@keyframes grainJitter {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-5%, -2%); }
  80% { transform: translate(4%, 4%); }
  100% { transform: translate(0, 0); }
}

/* ═══ CURSOR ═══ */
.cursor { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.cursor-dot {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--acid); transform: translate(-50%, -50%);
}
.cursor-ring {
  position: absolute; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(236, 236, 241, 0.5);
  transform: translate(-50%, -50%) scale(1);
  display: grid; place-items: center;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              border-color 0.35s, background-color 0.35s, backdrop-filter 0.35s;
}
.cursor-ring span {
  font-family: "JetBrains Mono", monospace; font-size: 9px;
  letter-spacing: 0.2em; color: #09090b; opacity: 0;
  transition: opacity 0.25s;
}
.cursor.is-view .cursor-ring {
  width: 76px; height: 76px;
  background: var(--acid); border-color: var(--acid);
}
.cursor.is-view .cursor-ring span { opacity: 1; }
.cursor.is-view .cursor-dot { opacity: 0; }
.cursor.is-link .cursor-ring {
  width: 54px; height: 54px;
  border-color: var(--acid); background: rgba(204, 255, 0, 0.08);
}
.cursor.is-down .cursor-ring { transform: translate(-50%, -50%) scale(0.82); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ═══ HEADER ═══ */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad) 26px;
  /* scrim keeps the nav legible over bright photographs */
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.5) 62%, transparent 100%);
}
.brand { display: inline-flex; align-items: baseline; gap: 2px; }
.brand-mark {
  font-family: "Unbounded", sans-serif; font-weight: 900;
  font-size: 20px; letter-spacing: 0.04em; color: #fff;
}
.brand-reg { font-size: 9px; color: var(--acid); }
.head-status {
  display: flex; align-items: center; gap: 8px; color: #fff;
  opacity: 0.75;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--acid);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.head-nav { display: flex; gap: clamp(16px, 3vw, 40px); }
.nav-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; position: relative; padding: 4px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 640px) { .head-status { display: none; } }

/* ═══ HERO ═══ */
main { position: relative; z-index: 2; }

.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  position: relative; padding: 0 var(--pad);
}
.hud { position: absolute; inset: 0; pointer-events: none; }
.hud-item {
  position: absolute; display: flex; flex-direction: column; gap: 3px;
  color: var(--ink-faint); font-size: 10px; letter-spacing: 0.12em;
}
.hud-item span:first-child { color: var(--ink-dim); }
.hud-tl { top: 86px; left: var(--pad); }
.hud-tr { top: 86px; right: var(--pad); text-align: right; }
.hud-bl { bottom: 40px; left: var(--pad); }
.hud-br { bottom: 40px; right: var(--pad); text-align: right; }
#fps { color: var(--acid); }
@media (max-width: 760px) {
  .hud-tl, .hud-tr, .hud-br { display: none; }
  .hud-bl { bottom: 36px; }
}

.hero-title {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: clamp(46px, 11.5vw, 164px);
  line-height: 0.98;
  text-align: center;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  user-select: none;
}
.hero-title .line { display: block; overflow: hidden; padding: 0.05em 0.1em; }
.hero-title .word {
  display: inline-block;
  transform: translateY(120%) rotate(2deg);
  transition: transform 1.2s var(--ease-out);
}
.hero-title .line-2 { margin-top: -0.06em; }
body.loaded .hero-title .word { transform: translateY(0) rotate(0); }
body.loaded .line-2 .word { transition-delay: 0.12s; }

.hero-role {
  margin-top: clamp(20px, 3vh, 36px);
  max-width: 430px; text-align: center;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.65; color: var(--ink-dim);
}
.hero-role em { font-style: normal; color: var(--ink); }
[data-intro-fade] {
  opacity: 0; transform: translateY(14px);
  transition: opacity 1s var(--ease-out) 0.7s, transform 1s var(--ease-out) 0.7s;
}
body.loaded [data-intro-fade] { opacity: 1; transform: none; }

.scroll-cue {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-faint); font-size: 10px; letter-spacing: 0.22em;
}
.cue-line {
  width: 44px; height: 1px; background: var(--ink-faint);
  position: relative; overflow: hidden;
}
.cue-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--acid);
  animation: cueSweep 2s var(--ease-inout) infinite;
}
@keyframes cueSweep {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ═══ MARQUEE ═══ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0; overflow: hidden;
  background: rgba(9, 9, 11, 0.4);
  backdrop-filter: blur(6px);
}
.marquee-track { display: flex; white-space: nowrap; will-change: transform; }
.mq {
  font-family: "Unbounded", sans-serif;
  font-weight: 500; font-size: clamp(14px, 2vw, 22px);
  letter-spacing: 0.14em; color: var(--ink);
}
.mq i {
  font-style: normal; color: var(--acid);
  margin: 0 18px; font-size: 0.7em; vertical-align: middle;
}

/* ═══ SECTIONS SHARED ═══ */
section, .footer { padding: clamp(90px, 14vh, 170px) var(--pad); position: relative; }
.sec-head { margin-bottom: clamp(40px, 7vh, 80px); }
.sec-index {
  display: inline-block; color: var(--acid);
  margin-bottom: 18px; letter-spacing: 0.22em;
}
.sec-title {
  font-family: "Unbounded", sans-serif;
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 6vw, 76px); line-height: 1.02;
  letter-spacing: -0.01em;
}
.sec-title em {
  font-style: normal;
  background: var(--chrome-grad);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: chromeShift 9s var(--ease-inout) infinite alternate;
}

/* ═══ WORKS ═══ */
.works { max-width: 1500px; margin: 0 auto; }
.work-list { list-style: none; border-top: 1px solid var(--line); }
.work-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center; gap: 24px;
  padding: clamp(26px, 4vh, 44px) 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.5s var(--ease-out), background 0.5s;
}
.work-row::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--acid));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}
.work-row:hover::before { transform: scaleX(1); }
.work-row:hover { padding-left: 26px; }
.work-no { color: var(--ink-faint); font-size: 12px; }
.work-name {
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 3.6vw, 46px);
  letter-spacing: 0.005em;
  transition: color 0.4s, letter-spacing 0.6s var(--ease-out);
}
.work-row:hover .work-name { letter-spacing: 0.025em; color: #fff; }
.work-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
}
.work-tag { color: var(--ink-faint); font-size: 10px; letter-spacing: 0.16em; }
.work-year { color: var(--ink-dim); font-size: 12px; }
.row-thumb { display: none; }

.work-preview {
  position: fixed; z-index: 60;
  width: 300px; height: 372px;
  pointer-events: none;
  opacity: 0; transform: scale(0.86) rotate(-3deg);
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out);
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.work-preview.on { opacity: 1; transform: scale(1) rotate(0deg); }
.work-preview canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) {
  .work-preview { display: none; }
  .work-row { grid-template-columns: 54px 1fr auto; gap: 14px; }
  .row-thumb {
    display: block; grid-column: 1 / -1;
    width: 100%; height: 150px; object-fit: cover;
    border-radius: 4px; margin-top: 4px;
  }
}

/* ═══ STUDIO ═══ */
.studio { max-width: 1200px; margin: 0 auto; }
.manifesto {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 4.4vw, 58px);
  line-height: 1.28; letter-spacing: -0.015em;
  max-width: 20ch;
  margin-top: 8px;
}
.manifesto .w { opacity: 0.13; transition: opacity 0.35s linear; }
.manifesto .w.lit { opacity: 1; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: clamp(56px, 9vh, 110px);
  border-top: 1px solid var(--line); padding-top: 40px;
}
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat-num {
  font-family: "Unbounded", sans-serif; font-weight: 700;
  font-size: clamp(34px, 5vw, 64px);
  background: linear-gradient(160deg, #ffffff 0%, #c9c9d4 30%, #8f8fa3 52%, #f2f2f8 74%, #b9b9cc 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.35));
}
.stat-label { color: var(--ink-faint); letter-spacing: 0.18em; font-size: 10px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ═══ SERVICES ═══ */
.services { max-width: 1500px; margin: 0 auto; }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--bg);
  padding: clamp(28px, 4vw, 48px);
  position: relative; overflow: hidden;
  transition: background 0.5s;
}
.service::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--acid));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.service:hover { background: var(--bg-soft); }
.service:hover::after { transform: scaleX(1); }
.service-no { color: var(--acid); font-size: 10px; letter-spacing: 0.2em; }
.service h3 {
  font-family: "Unbounded", sans-serif; font-weight: 500;
  font-size: clamp(18px, 1.9vw, 24px);
  margin: 18px 0 14px; letter-spacing: 0.01em;
}
.service p { color: var(--ink-dim); font-size: 15px; line-height: 1.7; max-width: 34ch; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }

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

/* ═══ STILLS GALLERIES ═══ */
.stills { max-width: 1500px; margin: 0 auto; }
.gallery { margin-bottom: clamp(60px, 9vh, 110px); }
.gallery:last-child { margin-bottom: 0; }
.g-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px; flex-wrap: wrap;
  color: var(--ink-dim);
  font-size: 11px; letter-spacing: 0.22em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: clamp(22px, 3vh, 34px);
  scroll-margin-top: 90px;
}
.g-head span:first-child { color: var(--acid); }
.gallery { scroll-margin-top: 80px; }
/* justified rows — reading order, left to right like a contact sheet */
.g-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.still {
  display: block;
  position: relative;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-soft);
}
.still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* rack-focus reveal — frames resolve out of bokeh, like the hero */
  opacity: 0;
  filter: blur(14px);
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease-out), filter 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.still img.ld { opacity: 1; filter: blur(0); transform: scale(1.001); }
.still:hover img.ld { transform: scale(1.035); filter: brightness(1.08); }
/* frame number chip on hover */
.still::before {
  content: attr(data-no);
  position: absolute;
  left: 10px; bottom: 10px;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink);
  background: rgba(9, 9, 11, 0.78);
  padding: 4px 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
  pointer-events: none;
}
.still:hover::before { opacity: 1; transform: none; }
.g-more {
  display: block;
  margin: 20px auto 0;
  padding: 12px 26px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 10px;
  letter-spacing: 0.24em;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.g-more:hover {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}
.still::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s;
  pointer-events: none;
}
.still:hover::after { border-color: rgba(139, 92, 246, 0.55); }

/* ═══ MOTION — THREE FILMS ═══ */
.motion-sec { max-width: 1240px; margin: 0 auto; }
.film-list { display: grid; gap: clamp(22px, 3.4vw, 40px); }
.film-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3.4vw, 40px);
}
@media (max-width: 820px) { .film-pair { grid-template-columns: 1fr; } }
.film { position: relative; }
.film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #000;
  padding: clamp(8px, 1.1vw, 14px);
}
.film-frame::before {
  content: "";
  position: absolute; inset: -1px;
  background: linear-gradient(120deg, var(--violet), transparent 30%, transparent 70%, var(--cyan));
  opacity: 0.35;
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}
.film-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.film figcaption {
  padding: 14px 6px 4px;
  color: var(--ink-dim);
  font-size: 10px;
  letter-spacing: 0.2em;
  display: block;
  text-align: center;
}
/* click-to-play poster cards */
.film-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--line);
  background: #000;
  cursor: pointer;
  overflow: hidden;
}
.film-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.82;
  transform: scale(1.001);
  transition: transform 0.8s var(--ease-out), opacity 0.5s;
}
.film-card:hover img { transform: scale(1.04); opacity: 1; }
.play-ring {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px;
  border: 1px solid rgba(236, 236, 241, 0.85);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(9, 9, 11, 0.35);
  backdrop-filter: blur(4px);
  transition: transform 0.45s var(--ease-out), background 0.35s, border-color 0.35s;
}
.play-ring i {
  display: block;
  margin-left: 5px;
  border-left: 17px solid var(--ink);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  transition: border-left-color 0.35s;
}
.film-card:hover .play-ring {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(139, 92, 246, 0.28);
  border-color: var(--ink);
}
.film-no {
  position: absolute;
  left: 12px; top: 12px;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink);
  background: rgba(9, 9, 11, 0.78);
  padding: 4px 9px;
}

/* ═══ LIGHTBOX ═══ */
.lb {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 9, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lb.on { display: flex; }
.lb img {
  max-width: min(92vw, 1500px);
  max-height: 84vh;
  display: block;
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  opacity: 0;
  filter: blur(16px);
  transform: scale(0.985);
  transition: opacity 0.45s var(--ease-out), filter 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.lb img.ld { opacity: 1; filter: blur(0); transform: none; }
.lb-x {
  position: absolute;
  top: 20px; right: clamp(16px, 3vw, 40px);
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 10px 16px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.lb-x:hover { color: var(--ink); border-color: var(--ink); }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(9, 9, 11, 0.6);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
  z-index: 2;
}
.lb-prev { left: clamp(10px, 2.5vw, 36px); }
.lb-next { right: clamp(10px, 2.5vw, 36px); }
.lb-nav:hover { background: rgba(139, 92, 246, 0.3); border-color: var(--ink); transform: translateY(-50%) scale(1.08); }
.lb-cap {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-dim);
  font-size: 10px;
  letter-spacing: 0.24em;
  background: rgba(9, 9, 11, 0.7);
  padding: 8px 14px;
}
@media (max-width: 640px) {
  .lb-nav { width: 42px; height: 42px; font-size: 15px; }
  .lb img { max-width: 96vw; max-height: 78vh; }
}

/* ═══ FOOTER ═══ */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(rgba(16, 16, 20, 0), rgba(16, 16, 20, 0.9));
}
.footer-cta {
  display: block; text-align: center;
  font-family: "Unbounded", sans-serif; font-weight: 900;
  font-size: clamp(40px, 10vw, 150px);
  line-height: 1.02; text-transform: uppercase;
  margin: clamp(30px, 6vh, 70px) 0 clamp(50px, 9vh, 100px);
}
.footer-cta span { display: block; }
.footer-cta .footer-cta-2 { animation-delay: -4.5s; }
.footer-cta:hover span { animation-duration: 2.5s; }
.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; max-width: 1100px; margin: 0 auto;
  padding-top: 44px; border-top: 1px solid var(--line);
}
.f-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.f-label { color: var(--ink-faint); letter-spacing: 0.2em; font-size: 10px; margin-bottom: 6px; }
.f-link {
  font-size: 15px; color: var(--ink-dim); position: relative; padding: 2px 0;
  transition: color 0.3s;
}
.f-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--acid); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.f-link:hover { color: var(--ink); }
.f-link:hover::after { transform: scaleX(1); transform-origin: left; }
.f-text { font-size: 15px; color: var(--ink-dim); line-height: 1.7; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
  max-width: 1100px; margin: 60px auto 0;
  color: var(--ink-faint); font-size: 10px; letter-spacing: 0.14em;
}
.f-credit { color: var(--ink-dim); }
.f-top {
  background: none; border: 1px solid var(--line);
  color: var(--ink); font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.18em;
  padding: 10px 18px; border-radius: 99px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.f-top:hover { border-color: var(--acid); color: var(--acid); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ═══ WEBGL FALLBACK ═══ */
body.no-webgl #scene { display: none; }
body.no-webgl .veil {
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(45% 40% at 62% 55%, rgba(34, 211, 238, 0.12), transparent 70%),
    radial-gradient(120% 90% at 50% 10%, transparent 30%, rgba(9, 9, 11, 0.72) 100%);
}

/* hero grab affordance */
.hero { cursor: grab; user-select: none; -webkit-user-select: none; }
.hero.dragging { cursor: grabbing; }

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .hero-title .word { transform: none; }
  [data-intro-fade] { opacity: 1; transform: none; }
  .manifesto .w { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .grain { display: none; }
}
