:root {
  --blue: #0052ff;
  --blue-deep: #0033a8;
  --blue-soft: rgba(0, 82, 255, 0.14);
  --blue-line: rgba(0, 82, 255, 0.35);
  --ink: #04070f;
  --ink-2: #080d1c;
  --panel: #0b1226;
  --paper: #f4f6ff;
  --dim: #8a93b8;
  --faint: #2a3352;
  --mist: #8fb1ff;
  --line: rgba(244, 246, 255, 0.09);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
video,
canvas {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

.site {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.site.is-ready {
  opacity: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 28px;
  transition: padding 0.4s var(--ease), background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.is-tight {
  padding: 10px 20px;
  background: #04070fb8;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.nav-hat {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 18px;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover {
  color: var(--paper);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-buy {
  margin-left: auto;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
}

.nav.is-tight .nav-buy {
  opacity: 1;
  pointer-events: auto;
}

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--line);
}

.nav-burger i {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--paper);
  box-shadow: 0 6px 0 var(--paper);
}

.nav.is-open .nav-burger i {
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-sheet,
.nav-scrim {
  display: none;
}

.buy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--blue);
  padding: 16px 26px 16px 18px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 14px 40px #0052ff80;
}

.buy--sm {
  padding: 12px 18px 12px 14px;
  gap: 8px;
  font-size: 13px;
}

.buy img,
.buy-hat {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.buy-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22), transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4.8s ease-in-out infinite;
}

@keyframes sheen {
  60%,
  100% {
    transform: translateX(120%);
  }
}

/* Hero */
.hero {
  position: relative;
  background: #020616;
  overflow: clip;
}

.hero-frame {
  position: relative;
  height: calc(100svh - 30px);
  min-height: 540px;
  overflow: clip;
}

.hero-film {
  position: absolute;
  inset: 0;
}

.hero-film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 55% at 50% 42%, transparent 36%, rgba(2, 6, 22, 0.55) 100%),
    linear-gradient(180deg, rgba(2, 6, 22, 0.45) 0, transparent 16%, transparent 62%, rgba(2, 6, 22, 0.92));
}

.hero-ring {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(78vmin, 820px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    0 0 0 3px rgba(80, 180, 255, 0.15),
    0 0 80px 20px rgba(0, 82, 255, 0.18);
  animation: ring-pulse 6s ease-in-out infinite;
}

.hero-ring::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 2px solid rgba(110, 200, 255, 0.55);
  filter: blur(0.4px);
}

@keyframes ring-pulse {
  50% {
    transform: scale(1.03);
    opacity: 0.85;
  }
}

.hero-barrel {
  position: absolute;
  width: clamp(72px, 10vw, 140px);
  pointer-events: none;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
  animation: barrel-float 14s ease-in-out infinite;
}

.hero-barrel--1 {
  left: 8%;
  top: 16%;
  animation-delay: -2s;
}

.hero-barrel--2 {
  right: 10%;
  top: 22%;
  width: clamp(64px, 8vw, 110px);
  animation-delay: -6s;
}

.hero-barrel--3 {
  left: 14%;
  bottom: 22%;
  width: clamp(58px, 7vw, 96px);
  animation-delay: -9s;
}

.hero-barrel--4 {
  right: 16%;
  bottom: 18%;
  animation-delay: -4s;
}

@keyframes barrel-float {
  50% {
    transform: translateY(-18px) rotate(8deg);
  }
}

.hero-copy {
  position: absolute;
  left: clamp(20px, 4vw, 64px);
  bottom: clamp(22px, 5vh, 54px);
  z-index: 2;
  max-width: 56vw;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -30%;
  bottom: -18%;
  left: -40%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(70% 70% at 30% 70%, rgba(2, 6, 22, 0.86), rgba(2, 6, 22, 0.5) 45%, transparent 75%);
  filter: blur(10px);
}

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35), 0 12px 44px rgba(0, 0, 0, 0.9);
}

.hero-kick {
  display: flex;
  align-items: flex-end;
  gap: 0.3em;
  font-size: clamp(16px, 2.1vw, 32px);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.hero-base {
  display: flex;
  align-items: center;
  gap: 0.18em;
  font-size: clamp(44px, 7.6vw, 112px);
  margin-top: 0.02em;
}

.base-sq {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  background: var(--blue);
  border-radius: 0.16em;
  box-shadow: 0 0 26px rgba(0, 82, 255, 0.55);
  flex: none;
}

.hero-sub {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
}

.hero-hang {
  position: absolute;
  right: 28px;
  top: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-chain {
  width: 2px;
  height: 72px;
  background: linear-gradient(#8fb1ff, #b8c0d8);
  box-shadow: 0 0 8px rgba(0, 82, 255, 0.4);
}

.hero-hang .buy {
  animation: hang-sway 5.5s ease-in-out infinite;
  transform-origin: 50% -72px;
}

@keyframes hang-sway {
  50% {
    transform: rotate(-3deg);
  }
}

/* Tape */
.tape {
  position: relative;
  height: 30px;
  overflow: hidden;
  background: repeating-linear-gradient(-45deg, var(--blue) 0 22px, #fff 22px 44px);
  box-shadow: 0 10px 30px #0000008c;
}

.tape-run {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  white-space: nowrap;
  animation: tape-crawl 40s linear infinite;
}

.tape-run span {
  display: inline-block;
  padding: 0 0.5em;
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.28em;
  line-height: 30px;
  color: #04070f;
  text-transform: uppercase;
}

@keyframes tape-crawl {
  to {
    transform: translateX(-50%);
  }
}

/* Lore */
.lore {
  position: relative;
  background: var(--ink);
  padding: clamp(72px, 10vh, 120px) 0 clamp(48px, 7vh, 80px);
}

.lore-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}

.lore-head h2 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue);
}

.lore-counter {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--display);
  font-weight: 800;
}

.lore-counter b {
  font-size: 26px;
  color: var(--blue);
}

.lore-counter span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--dim);
}

.lore-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.lore-side,
.lore-main {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--blue-line);
  background: #070c1c;
}

.lore-side {
  aspect-ratio: 4 / 3;
  opacity: 0.72;
}

.lore-main {
  aspect-ratio: 16 / 10;
  box-shadow: 0 30px 80px #0052ff2e;
}

.lore-side img,
.lore-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lore-main::after,
.lore-side::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(0, 82, 255, 0.25);
  pointer-events: none;
}

.lore-cap {
  margin-top: 28px;
  text-align: center;
}

.lore-cap p {
  display: inline-block;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(16px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  padding: 12px 22px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 20px 60px #0052ff73;
}

.lore-hint {
  margin-top: 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.lore-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.lore-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--blue-line);
  color: var(--paper);
}

.lore-nav button:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

/* Evidence */
.ev {
  position: relative;
  padding: clamp(60px, 8vh, 96px) 0;
  overflow: clip;
}

.ev-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.16;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
}

.ev-film {
  position: relative;
  border-left: 28px solid #07101f;
  border-right: 28px solid #07101f;
  background:
    repeating-linear-gradient(#07101f 0 10px, transparent 10px 28px) 0 0 / 18px 100% no-repeat,
    repeating-linear-gradient(#07101f 0 10px, transparent 10px 28px) 100% 0 / 18px 100% no-repeat;
  padding: 28px 8px 36px;
}

.ev-film::before,
.ev-film::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  background: repeating-linear-gradient(#0052ff 0 10px, #07101f 10px 22px);
  opacity: 0.9;
}

.ev-film::before {
  left: -28px;
}

.ev-film::after {
  right: -28px;
}

.ev-k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
}

.ev-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 48px);
  letter-spacing: -0.03em;
  margin: 8px 0 22px;
}

.ev-yard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ev-card {
  position: relative;
  background: var(--panel);
  border: 2px solid var(--blue);
  padding: 10px 10px 12px;
  box-shadow: 0 30px 60px #0009;
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.ev-card:hover,
.ev-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 0 0 5px #0052ff33, 0 40px 90px #0052ff59;
}

.ev-card:nth-child(5) {
  grid-column: 1;
}

.ev-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #070c1c;
  margin-bottom: 10px;
}

.ev-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ev-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}

.ev-headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.01em;
  margin-top: 4px;
  line-height: 1.25;
}

.ev-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--dim);
}

.ev-hint {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.ev-zoom {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(4, 7, 15, 0.78);
  display: grid;
  place-items: center;
  padding: 24px;
}

.ev-zoom[hidden] {
  display: none;
}

.ev-zoom-card {
  width: min(720px, 100%);
  background: var(--panel);
  border: 2px solid var(--blue);
  padding: 14px;
  position: relative;
}

.ev-zoom-x {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 36px;
  height: 36px;
  font-size: 22px;
}

.ev-zoom-media img {
  width: 100%;
  height: auto;
}

.ev-zoom-head {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 800;
}

/* Lab */
.lab {
  position: relative;
  padding: clamp(66px, 8.4vh, 104px) 0 clamp(34px, 4.6vh, 64px);
  background: radial-gradient(60% 50% at 50% 0%, rgba(0, 82, 255, 0.14), transparent 70%), var(--ink);
  overflow: clip;
}

.lab-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.12;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.lab-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
}

.lab-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(24px, 2.9vw, 42px);
  letter-spacing: -0.03em;
}

.lab-ver {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--blue);
}

.lab-sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}

.lab-tool {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 300px;
  gap: 14px;
  margin-top: clamp(10px, 1.6vh, 18px);
  align-items: stretch;
}

.lab-panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--blue-line);
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lab-panel::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 2px;
  background: var(--blue);
}

.lab-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
}

.lab-drop {
  border: 1px dashed var(--blue-line);
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  color: var(--dim);
  font-size: 13px;
  cursor: pointer;
}

.lab-drop.is-over {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.lab-drop input {
  display: none;
}

.lab-drop[data-wall-drop] {
  position: relative;
  overflow: hidden;
  min-height: 148px;
}

.lab-drop[data-wall-drop] img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: none;
}

.lab-drop.has-file {
  padding: 0;
  border-style: solid;
  border-color: var(--blue);
}

.lab-drop.has-file [data-wall-drop-label] {
  display: none;
}

.lab-drop.has-file img {
  display: block;
}

.lab-drop.has-file::after {
  content: "Photo ready";
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  background: #0052ffe6;
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#wall-x.is-next {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #0052ff33;
}

.lab-note {
  font-size: 12px;
  color: var(--dim);
}

.lab-samples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lab-sample {
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
}

.lab-sample img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}

.lab-stage {
  position: relative;
  aspect-ratio: 1;
  background: #0a1230;
  border: 1px solid var(--blue);
  overflow: hidden;
  touch-action: none;
  user-select: none;
  box-shadow: 0 30px 90px #0052ff2e;
  width: 100%;
  max-width: min(560px, 58svh);
  justify-self: center;
  align-self: center;
}

.lab-stage.has-img {
  cursor: grab;
}

.lab-stage.is-drag {
  cursor: grabbing;
}

.lab-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.lab-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 10% 10%;
}

.lab-here {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8fb1ff;
  pointer-events: none;
}

.lab-silhouette {
  position: absolute;
  inset: 16% 18% 12%;
  pointer-events: none;
  opacity: 0.55;
}

.lab-range {
  display: grid;
  grid-template-columns: 54px 1fr 48px;
  gap: 8px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.lab-range input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.lab-btn {
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--blue);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.lab-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lab-btn--ghost {
  background: transparent;
  border: 1px solid var(--blue-line);
  color: var(--paper);
}

.lab-tip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 8px;
}

/* Wall */
.wall {
  position: relative;
  padding: clamp(60px, 7.6vh, 92px) 0 clamp(24px, 3vh, 44px);
  background: radial-gradient(70% 50% at 50% 0%, rgba(0, 82, 255, 0.14), transparent 70%), var(--ink-2);
  overflow: clip;
}

.wall-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 35%, #000 75%, transparent);
}

.wall-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.wall-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 38px);
  letter-spacing: -0.03em;
  margin-top: 6px;
  line-height: 0.98;
}

.wall-sub {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}

.wall-head-r {
  text-align: right;
}

.wall-count {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.wall-count-k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
}

.wall-body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 320px;
  gap: 16px;
}

.wall-grid {
  position: relative;
  padding: 9px;
  background: #070c1c;
  border: 1px solid var(--blue-line);
  overflow: hidden;
  min-height: 220px;
}

.wall-course {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.wall-brick {
  aspect-ratio: 1;
  overflow: hidden;
  background: #0a1230;
  border: 1px solid var(--line);
}

.wall-brick img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wall-brick.is-empty {
  border-style: dashed;
  border-color: var(--blue-line);
}

.wall-empty {
  grid-column: 1 / -1;
  padding: 42px 12px;
  text-align: center;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wall-form {
  background: var(--panel);
  border: 1px solid var(--blue-line);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wall-form label,
.wall-form .lab-k {
  display: block;
}

.wall-form input[type="text"] {
  width: 100%;
  background: #04070f;
  border: 1px solid var(--blue-line);
  color: var(--paper);
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 13px;
}

.wall-form textarea {
  display: none;
}

.wall-foot {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Desk / office */
.desk {
  position: relative;
  padding: clamp(60px, 7.6vh, 98px) 0 clamp(38px, 4.8vh, 66px);
  background: radial-gradient(70% 50% at 50% 0%, rgba(0, 82, 255, 0.16), transparent 70%), var(--ink);
  overflow: clip;
}

.desk-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 72%, transparent);
}

.desk-pins {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.desk-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 44px);
  letter-spacing: -0.03em;
}

.desk-title img {
  width: 34px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.7));
}

.desk-loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(12px, 1.4vw, 16px);
}

.desk-loop b {
  color: var(--paper);
}

.desk-loop span {
  color: var(--blue);
}

.desk-live {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.desk-ca {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: clamp(14px, 2vh, 22px);
  padding: 12px 14px;
  background: #04070f99;
  border: 1px dashed var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.desk-ca-k {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
}

.desk-ca code {
  color: var(--paper);
  word-break: break-all;
  flex: 1;
  min-width: 200px;
}

.desk-ca-copy {
  padding: 6px 10px;
  border: 1px solid var(--blue-line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}

.desk-ca-copy:hover,
.desk-ca-copy.is-ok {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.desk-origin {
  margin-top: 22px;
  padding: 22px;
  background: var(--blue);
  color: #fff;
}

.desk-origin h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 40px);
  letter-spacing: -0.03em;
}

.desk-origin p {
  margin-top: 8px;
  max-width: 62ch;
}

.desk-origin a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.desk-safe {
  margin-top: 18px;
  font-size: 13px;
  color: var(--dim);
  max-width: 70ch;
}

.desk-doors {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.desk-door {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--blue-line);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.desk-door:hover {
  border-color: var(--blue);
  box-shadow: 0 18px 40px #0052ff2e;
}

.desk-door-s {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--dim);
  font-weight: 500;
  text-transform: none;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 34px 0 40px;
  background: var(--ink);
}

.foot-in {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
}

.foot-brand img {
  width: 30px;
  height: auto;
}

.foot-line {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.foot-links {
  margin-left: auto;
  display: flex;
  gap: 12px;
}

.foot-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s;
}

.foot-links a:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.foot-links svg {
  width: 18px;
  height: 18px;
}

.foot-made {
  width: 100%;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

/* 404 */
.lost {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px;
  text-align: center;
}

.lost h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: -0.03em;
}

.lost p {
  margin: 12px auto 24px;
  max-width: 42ch;
  color: var(--dim);
}

.lost-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page 404 nav offset */
.page-404 .nav {
  background: #04070fb8;
}

@media (max-width: 980px) {
  .nav-links,
  .hero-hang {
    display: none;
  }

  .nav-buy {
    display: none;
    opacity: 0;
  }

  .nav-burger,
  .nav.is-open .nav-sheet,
  .nav.is-open .nav-scrim {
    display: grid;
  }

  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 15, 0.55);
    z-index: 91;
  }

  .nav-sheet {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: #080d1c;
    z-index: 92;
    padding: 72px 22px 24px;
    gap: 8px;
    align-content: start;
  }

  .nav-sheet a {
    display: block;
    padding: 12px 0;
    font-family: var(--mono);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
  }

  .hero-copy {
    max-width: 88vw;
  }

  .lore-stage {
    grid-template-columns: 1fr;
  }

  .lore-side {
    display: none;
  }

  .ev-film {
    border-left-width: 16px;
    border-right-width: 16px;
  }

  .ev-yard {
    grid-template-columns: 1fr 1fr;
  }

  .lab-tool,
  .wall-body,
  .desk-doors {
    grid-template-columns: 1fr;
  }

  .wall-course {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1240px, 100% - 28px);
  }

  .ev-yard {
    grid-template-columns: 1fr;
  }

  .hero-barrel {
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .tape-run,
  .hero-barrel,
  .hero-ring,
  .hero-hang .buy,
  .buy-sheen {
    animation: none;
  }

  .site {
    opacity: 1;
  }
}
