:root {
  --void: #0c0e16;
  --deep: #12161f;
  --surface: #1a2030;
  --panel: #222a3c;
  --ink: #fff8e8;
  --muted: #c9b896;
  --yellow: #ffcc00;
  --sun: #ff9a1f;
  --sky: #4a90e2;
  --sky-soft: #7eb6f0;
  --line: rgba(255, 204, 0, 0.22);
  --glass: rgba(12, 14, 22, 0.72);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --spring: 480ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 560px at 92% -8%, rgba(255, 204, 0, 0.2), transparent 55%),
    radial-gradient(740px 500px at -8% 28%, rgba(74, 144, 226, 0.18), transparent 52%),
    radial-gradient(600px 400px at 50% 100%, rgba(255, 154, 31, 0.08), transparent 50%),
    linear-gradient(180deg, #10141c 0%, var(--void) 40%, #090b12 100%);
  min-height: 100svh;
}

body.has-cursor,
body.has-cursor a,
body.has-cursor button {
  cursor: none;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

::selection {
  background: var(--yellow);
  color: #1a1408;
}

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

.wrap {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ---------- chrome ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(2) infinite;
}

.float-stack {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
  animation: twinkle 3.2s ease-in-out infinite;
}

.spark.s1 { top: 18%; left: 12%; animation-delay: 0s; }
.spark.s2 { top: 42%; left: 78%; animation-delay: 0.6s; }
.spark.s3 { top: 68%; left: 22%; animation-delay: 1.1s; }
.spark.s4 { top: 28%; left: 88%; animation-delay: 1.7s; }
.spark.s5 { top: 82%; left: 64%; animation-delay: 2.2s; }

.bubble {
  position: absolute;
  font-size: 1.1rem;
  opacity: 0.35;
  animation: drift 14s ease-in-out infinite;
}

.bubble.b1 { top: 22%; left: 70%; animation-duration: 16s; }
.bubble.b2 { top: 55%; left: 8%; animation-duration: 18s; color: var(--sky-soft); }
.bubble.b3 { top: 75%; left: 82%; animation-duration: 15s; }

.hcursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width var(--fast) var(--ease), height var(--fast) var(--ease), margin var(--fast) var(--ease), opacity var(--fast);
  mix-blend-mode: difference;
}

body.has-cursor .hcursor {
  opacity: 1;
}

.hcursor i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--yellow);
}

.hcursor.is-hot {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--yellow);
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255, 204, 0, 0.55);
  background: linear-gradient(145deg, #7eb6f0, #ffd36a 55%, #ff9a5a);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--muted);
  transition: color var(--fast) var(--ease);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.social {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 232, 0.22);
  background: rgba(255, 255, 255, 0.04);
  transition: transform var(--fast) var(--ease), border-color var(--fast), box-shadow var(--fast);
}

.social:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 204, 0, 0.25);
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  overflow: hidden;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast), border-color var(--fast), filter var(--fast);
}

.btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn-hot {
  background: linear-gradient(135deg, var(--yellow), var(--sun));
  color: #1a1408;
  box-shadow: 0 0 24px rgba(255, 204, 0, 0.28);
}

.btn-hot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: shimmer 3.4s ease-in-out infinite;
}

.btn-hot:hover {
  transform: translateY(-2px) skewX(-6deg);
  filter: saturate(1.08);
  box-shadow: 0 0 32px rgba(255, 204, 0, 0.45);
}

.btn-ghost {
  background: rgba(255, 248, 232, 0.05);
  border-color: rgba(255, 248, 232, 0.22);
  color: var(--ink);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  color: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 204, 0, 0.18);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  min-height: min(92svh, 860px);
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.85fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.mono-crumb,
.mono-kicker,
.card-crumb,
.frame-label,
.portrait-status,
.receipt-type,
.spec span,
.dossier-ca > span {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mono-crumb {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sky-soft);
}

.mono-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sky-soft);
}

.hero h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(3.6rem, 11vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero h1 .word {
  animation: title-pop 0.7s var(--ease) both;
}

.hero h1 .word:nth-child(2) {
  animation-delay: 0.08s;
}

.hero h1 .accent {
  color: var(--yellow);
  text-shadow: 0 0 40px rgba(255, 204, 0, 0.35);
}

.class-tag {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--ink);
}

.tagline {
  margin: 0.55rem 0 0;
  max-width: 28ch;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.ca-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
  margin-top: 1.25rem;
  padding: 0.55rem 0.65rem 0.55rem 0.9rem;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18, 22, 31, 0.72);
  backdrop-filter: blur(14px);
  transition: border-color var(--fast);
}

.ca-pill:hover,
.ca-pill.solid:hover {
  border-color: var(--yellow);
}

.ca-pill.solid {
  background: rgba(34, 42, 60, 0.95);
}

.ca-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--yellow);
}

.ca-pill code,
.ca-line code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
  word-break: break-all;
}

.copy-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 0, 0.4);
  background: rgba(255, 204, 0, 0.12);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--fast), transform var(--fast);
}

.copy-btn:hover {
  background: rgba(255, 204, 0, 0.22);
  transform: translateY(-1px);
}

.scroll-cue {
  display: inline-flex;
  margin-top: 1.75rem;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 204, 0, 0.45);
  border-radius: 999px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.scroll-cue span {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: var(--yellow);
  animation: cue-bob 1.6s ease-in-out infinite;
}

.hero-portrait {
  position: relative;
  justify-self: center;
  width: min(420px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 204, 0, 0.28);
  inset: 8%;
  animation: ring-pulse 5s ease-in-out infinite;
}

.ring.r2 {
  inset: 0;
  border-color: rgba(74, 144, 226, 0.35);
  animation-delay: 0.5s;
}

.ring.r3 {
  inset: 16%;
  border-color: rgba(255, 154, 31, 0.35);
  animation-delay: 1s;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 204, 0, 0.65);
  box-shadow:
    0 0 0 10px rgba(255, 204, 0, 0.08),
    0 0 48px rgba(255, 204, 0, 0.28),
    0 0 80px rgba(74, 144, 226, 0.18);
  background: #0a0d14;
  animation: float-y 7s ease-in-out infinite;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.portrait-status {
  position: absolute;
  bottom: -0.35rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 14, 22, 0.85);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dff8a;
  box-shadow: 0 0 10px #3dff8a;
  animation: blink 1.4s ease-in-out infinite;
}

/* ---------- telemetry ---------- */

.telemetry {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line);
  background: rgba(255, 204, 0, 0.04);
}

.telemetry-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- bands ---------- */

.band {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.band-dark {
  background: rgba(0, 0, 0, 0.22);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}

.section-line {
  margin: 0.7rem 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
}

/* ---------- identity ---------- */

.identity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.7fr);
  gap: 2.5rem;
  align-items: center;
}

.lead {
  margin: 1.1rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--yellow);
  max-width: 36ch;
}

.body-copy {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 600;
}

.body-copy.highlight {
  color: var(--ink);
}

.identity .btn {
  margin-top: 1.4rem;
}

.identity-art {
  justify-self: center;
  padding: 0.7rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(126, 182, 240, 0.45), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(255, 154, 31, 0.4), transparent 50%),
    linear-gradient(145deg, rgba(255, 204, 0, 0.25), rgba(74, 144, 226, 0.2));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  animation: float-y 6.5s ease-in-out infinite;
}

.identity-art img {
  width: min(300px, 68vw);
  object-fit: contain;
  border-radius: 20px;
}

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

.lore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.lore-card {
  padding: 1.25rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 248, 232, 0.1);
  background: rgba(26, 32, 48, 0.8);
  transition: transform var(--fast) var(--ease), border-color var(--fast), box-shadow var(--fast);
}

.lore-card:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
  box-shadow: 0 0 24px rgba(255, 204, 0, 0.12);
}

.lore-card:hover .card-inner-scale {
  transform: scale(1.03);
}

.card-crumb {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--sky-soft);
}

.lore-card h3 {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.lore-card p:last-child {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

/* ---------- proof receipts (G) ---------- */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.receipt {
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid #303c46;
  background: #171f26;
  transition: transform 150ms var(--ease), border-color 150ms;
}

.receipt:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
}

.receipt-type {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--sky-soft);
}

.receipt h3 {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.receipt-src {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ---------- cinema strip ---------- */

.band-cinema {
  padding: 0;
}

.cinema-frame {
  border-block: 1px solid var(--line);
  background: #0a0d14;
}

.cinema-frame img {
  width: 100%;
  max-height: 360px;
  margin-inline: auto;
  object-fit: contain;
}

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

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 248, 232, 0.12);
  background: var(--surface);
  cursor: zoom-in;
  transition: transform var(--fast) var(--ease), border-color var(--fast), box-shadow var(--fast);
}

.frame:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
  box-shadow: 0 0 24px rgba(255, 204, 0, 0.14);
}

.frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #0a0d14;
  transition: transform var(--spring) var(--ease);
}

.frame:hover img {
  transform: scale(1.03);
}

.frame-portrait {
  grid-column: span 1;
}

.frame-portrait img {
  aspect-ratio: 1;
  object-fit: contain;
  background: linear-gradient(145deg, #7eb6f0, #ffd36a 55%, #ff9a5a);
}

.frame-label {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(12, 14, 22, 0.82);
  border: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- boarding ---------- */

.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.board-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 248, 232, 0.1);
  background: rgba(26, 32, 48, 0.75);
  transition: transform var(--fast), border-color var(--fast);
}

.step:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
}

.step-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 204, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.9), rgba(255, 154, 31, 0.85));
}

.step-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.step p {
  grid-column: 2;
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- dossier ---------- */

.dossier {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(26, 32, 48, 0.85);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.spec {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 248, 232, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.spec span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sky-soft);
}

.spec strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.dossier-ca {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 248, 232, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.dossier-ca > span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sky-soft);
}

.ca-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.45rem;
}

.uplink {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

/* ---------- pack ---------- */

.pack-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 240px at 0% 50%, rgba(255, 204, 0, 0.16), transparent 60%),
    radial-gradient(420px 220px at 100% 50%, rgba(74, 144, 226, 0.14), transparent 55%),
    rgba(26, 32, 48, 0.7);
}

.pack-mascot {
  width: min(170px, 32vw);
  object-fit: contain;
  animation: float-y 6.5s ease-in-out infinite;
}

.pack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

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

.footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255, 204, 0, 0.45);
  background: linear-gradient(145deg, #7eb6f0, #ffd36a);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--yellow);
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--yellow);
}

.disclaimer {
  width: min(1140px, calc(100% - 2rem));
  margin: 1.2rem auto 0;
  color: rgba(201, 184, 150, 0.65);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(6, 8, 14, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 85svh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
}

/* ---------- motion ---------- */

.rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.rise.is-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1%, 1%); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(8deg); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes title-pop {
  from { opacity: 0; transform: translateY(22px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shimmer {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes cue-bob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.03); opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .grain,
  .float-stack {
    display: none;
  }

  .hero h1 .word,
  .portrait-frame,
  .identity-art,
  .pack-mascot,
  .ring,
  .live-dot,
  .scroll-cue span,
  .btn-hot::after {
    animation: none;
  }

  .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .identity-grid,
  .board-layout,
  .pack-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-portrait {
    order: -1;
    width: min(320px, 78vw);
  }

  .lore-grid,
  .proof-grid,
  .archive-grid,
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pack-mascot {
    margin-inline: auto;
  }

  .pack-inner {
    text-align: center;
  }

  .pack-actions {
    justify-content: center;
  }
}

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

  .lore-grid,
  .proof-grid,
  .archive-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .telemetry-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
