/* =========================================================
   Tommy Racing & Gaming — Merch
   ========================================================= */

@property --accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #ff7a1a;
}

:root {
  --bg: #05050b;
  --bg-2: #0b0b16;
  --ink: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.62);
  --faint: rgba(244, 241, 234, 0.14);
  --line: rgba(244, 241, 234, 0.12);
  --orange: #f47623;
  --gold: #ebad3c;
  --pink: #ff1f8f;
  --red: #ff2b2b;
  --violet: #5b3bff;
  --accent: #ff7a1a;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  transition: --accent 0.9s var(--ease-out);
}

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

html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--orange); color: #000; }

@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

  /* No visible scrollbars on desktop (wheel, trackpad and keyboard scrolling still work). */
  html, body, .pdp__panel, .cart__body, .pdp__thumbs { scrollbar-width: none; }
  ::-webkit-scrollbar { display: none; width: 0; height: 0; }
}

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #41ff8b;
  box-shadow: 0 0 0 0 rgba(65, 255, 139, 0.6);
  animation: pulse 1.8s infinite;
  display: inline-block;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(65, 255, 139, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(65, 255, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(65, 255, 139, 0); }
}
.blink { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.section-lead { color: var(--muted); margin: 0 auto; max-width: 520px; }

/* Buttons */
.btn {
  --btn-bg: linear-gradient(120deg, var(--orange), #ff4d2e 55%, var(--pink));
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #0a0505;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 40px -10px rgba(244, 118, 35, 0.7);
  transition: box-shadow 0.4s var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { box-shadow: 0 14px 60px -8px rgba(255, 60, 120, 0.85); }
.btn__text, .btn__icon { display: inline-block; pointer-events: none; }
.btn__icon { transition: transform 0.5s var(--ease-spring); }
.btn:hover .btn__icon { transform: translateX(6px); }
.btn--ghost {
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--faint);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 0 40px -10px var(--gold); }
.btn--small { padding: 12px 22px; font-size: 12px; }
.btn--accent {
  background: var(--accent);
  box-shadow: 0 10px 40px -12px var(--accent);
}

/* ---------- Background layers ---------- */
#starfield, #fx {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
#starfield { z-index: 0; }
#fx { z-index: 210; }

.nebula {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  transform: scale(calc(1 + var(--warp, 0) * 0.35));
  filter: brightness(calc(1 + var(--warp, 0) * 0.8));
  transition: transform 0.4s var(--ease-out), filter 0.4s;
}
.nebula__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  mix-blend-mode: screen;
  will-change: transform;
}
.nebula__blob--a {
  width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax;
  background: radial-gradient(circle, var(--violet), transparent 65%);
  animation: drift-a 28s ease-in-out infinite alternate;
}
.nebula__blob--b {
  width: 55vmax; height: 55vmax; right: -20vmax; top: 18vh;
  background: radial-gradient(circle, var(--accent), transparent 62%);
  opacity: 0.24;
  animation: drift-b 34s ease-in-out infinite alternate;
}
.nebula__blob--c {
  width: 48vmax; height: 48vmax; left: 20vw; bottom: -30vmax;
  background: radial-gradient(circle, #ff1f8f, transparent 62%);
  opacity: 0.18;
  animation: drift-c 40s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(12vw, 10vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-14vw, 14vh) scale(0.9); } }
@keyframes drift-c { to { transform: translate(-10vw, -16vh) scale(1.2); } }

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

.flash {
  position: fixed; inset: 0; z-index: 220;
  background: radial-gradient(circle at center, #fff 0%, #ffe3c4 30%, rgba(255, 122, 26, 0.6) 60%, transparent 85%);
  opacity: 0;
  pointer-events: none;
}

main, .footer, .nav { position: relative; z-index: 2; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none; }
}
.cursor__ring, .cursor__dot {
  position: fixed; left: 0; top: 0;
  border-radius: 50%;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.cursor__ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1px solid rgba(244, 241, 234, 0.55);
  display: grid; place-items: center;
  transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out), margin 0.45s var(--ease-out),
              background-color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
/* Reticle: four short ticks crossing the ring (top, bottom, left, right). */
.cursor__ring::before, .cursor__ring::after {
  --tick: rgba(244, 241, 234, 0.7);
  content: ""; position: absolute;
  transition: opacity 0.3s;
}
.cursor__ring::before {
  width: 1px; top: -6px; bottom: -6px; left: calc(50% - 0.5px);
  background: linear-gradient(to bottom, var(--tick) 0 8px, transparent 8px calc(100% - 8px), var(--tick) calc(100% - 8px));
}
.cursor__ring::after {
  height: 1px; left: -6px; right: -6px; top: calc(50% - 0.5px);
  background: linear-gradient(to right, var(--tick) 0 8px, transparent 8px calc(100% - 8px), var(--tick) calc(100% - 8px));
}
.cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}
.cursor__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0505;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s, transform 0.4s var(--ease-spring);
}
.cursor.is-hover .cursor__ring {
  width: 88px; height: 88px; margin: -44px 0 0 -44px;
  background: var(--gold);
  border-color: var(--gold);
}
.cursor.is-hover .cursor__ring::before, .cursor.is-hover .cursor__ring::after { opacity: 0; }
.cursor.is-hover .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
}
.preloader__frame {
  width: min(520px, calc(100vw - 32px));
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--muted);
}
.preloader__top { display: flex; justify-content: space-between; margin-bottom: 18px; }
.preloader__top .blink { color: #41ff8b; }
.preloader__count {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(80px, 22vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: flex; align-items: flex-start;
}
.preloader__pct { font-size: 0.3em; color: var(--orange); margin-top: 0.3em; margin-left: 6px; }
.preloader__bar { height: 2px; background: var(--line); margin: 22px 0 14px; overflow: hidden; }
.preloader__bar span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  transform-origin: left; transform: scaleX(0);
  box-shadow: 0 0 12px var(--orange);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gutter);
  transition: transform 0.6s var(--ease-out), background-color 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgba(5, 5, 11, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand img { width: 64px; height: auto; transition: transform 0.6s var(--ease-spring); }
.nav__brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: background-color 0.3s, color 0.3s;
}
.nav__links a:hover { background: rgba(255,255,255,0.06); }
.nav__idx { font-family: var(--font-mono); font-size: 10px; color: var(--gold); margin-right: 8px; vertical-align: 2px; }
.nav__hud {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: flex; gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 112px;
  justify-content: center;
}
.nav__vel { color: var(--gold); min-width: 34px; text-align: right; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 120px var(--gutter) 120px;
  overflow: hidden;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(50px, 7.6vw, 136px);
  line-height: 0.88;
  white-space: nowrap;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .split, .hero__title .word { display: inline-block; }
.split-word { display: inline-block; white-space: nowrap; }
.char, .word { will-change: transform; transform-origin: 50% 100%; }
.char { display: inline-block; }
.hero__title--grad {
  background: linear-gradient(100deg, var(--gold) 0%, var(--orange) 35%, #ff4d2e 60%, var(--pink) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: grad-shift 6s ease-in-out infinite alternate;
}
@keyframes grad-shift { to { background-position: 100% 0; } }
.hero__sub { max-width: 440px; font-size: 18px; color: var(--muted); margin: 0 0 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__planet {
  position: absolute;
  left: calc(50% - 105vw); bottom: calc(-210vw + 18vh);
  width: 210vw; height: 210vw;
  pointer-events: none;
  z-index: 0;
}
.hero__planet span {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 140, 60, 0.3), transparent 7%),
    radial-gradient(circle at 50% 50%, #07060d 60%, #0d0a14 100%);
  box-shadow:
    0 -2px 0 rgba(255, 190, 120, 0.85),
    0 -10px 40px rgba(255, 122, 26, 0.55),
    0 -40px 140px rgba(255, 60, 100, 0.35),
    inset 0 30px 90px rgba(255, 122, 26, 0.25);
}

/* Orbit */
.orbit {
  position: relative;
  z-index: 1;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  justify-self: center;
}
.orbit__body { position: absolute; inset: 0; perspective: 1200px; }
.orbit__core {
  position: absolute; inset: 22%;
  display: grid; place-items: center;
  animation: bob 6s ease-in-out infinite;
  z-index: 5;
}
@keyframes bob { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.orbit__glow {
  position: absolute; inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 118, 35, 0.45), transparent 62%);
  filter: blur(20px);
  animation: glow 4s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: scale(1.18); opacity: 0.7; } }
.orbit__logo {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)) drop-shadow(0 0 30px rgba(244,118,35,0.35));
}
.orbit__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(235, 173, 60, 0.28);
  transform-style: preserve-3d;
}
.orbit__ring::after {
  content: "";
  position: absolute; top: -3px; left: 50%;
  width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}
.orbit__ring--1 { transform: rotateX(74deg) rotateY(-12deg); animation: spin-1 18s linear infinite; }
.orbit__ring--2 { inset: -9%; border-color: rgba(255, 31, 143, 0.22); transform: rotateX(70deg) rotateY(18deg); animation: spin-2 26s linear infinite; }
.orbit__ring--2::after { background: var(--pink); box-shadow: 0 0 14px var(--pink); }
.orbit__ring--3 { inset: 9%; border-style: dashed; border-color: rgba(244, 241, 234, 0.12); transform: rotateX(78deg) rotateY(4deg); animation: spin-3 40s linear infinite reverse; }
@keyframes spin-1 { to { transform: rotateX(74deg) rotateY(-12deg) rotateZ(360deg); } }
@keyframes spin-2 { to { transform: rotateX(70deg) rotateY(18deg) rotateZ(360deg); } }
@keyframes spin-3 { to { transform: rotateX(78deg) rotateY(4deg) rotateZ(360deg); } }

.orbit__sats { position: absolute; inset: 0; pointer-events: none; }
.sat {
  position: absolute; left: 50%; top: 50%;
  width: 78px; height: 78px; margin: -39px 0 0 -39px;
  border-radius: 50%;
  background: rgba(10, 10, 20, 0.75);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 0 24px -4px var(--sat-accent);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  pointer-events: auto;
  will-change: transform;
  transition: box-shadow 0.4s;
}
.sat img { width: 70%; height: 70%; object-fit: contain; }
.sat:hover { box-shadow: inset 0 0 0 1px var(--sat-accent), 0 0 40px 0 var(--sat-accent); }

.hero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}
.scroll-cue { display: flex; align-items: center; gap: 14px; }
.scroll-cue__line { width: 1px; height: 46px; background: var(--faint); position: relative; overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--gold);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { to { top: 110%; } }
kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 7px;
  border: 1px solid var(--faint);
  border-bottom-width: 2px;
  border-radius: 5px;
  color: var(--ink);
  margin-right: 6px;
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding: 38px 0 46px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(5,5,11,0.4), rgba(11,11,22,0.75));
  backdrop-filter: blur(4px);
}
.marquee__row { overflow: hidden; white-space: nowrap; }
.marquee__inner { display: inline-flex; will-change: transform; }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 84px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  /* Extra room on top so accents above capitals (the dots on "Ä") aren't clipped by the row. */
  padding: 0.16em 0.5em 0.02em 0;
  display: inline-flex; align-items: center; gap: 0.5em;
}
.marquee__item::after { content: "✦"; font-size: 0.45em; color: var(--orange); }
.marquee__row--alt .marquee__item { color: transparent; -webkit-text-stroke: 1px rgba(244, 241, 234, 0.4); }
.marquee__row--alt .marquee__item::after { color: var(--pink); -webkit-text-stroke: 0; }

/* ---------- Drops (horizontal) ---------- */
.drops { position: relative; overflow: hidden; }
.drops__track {
  display: flex;
  height: 100vh;
  height: 100svh;
  width: max-content;
  will-change: transform;
}
.drops__intro {
  width: 62vw;
  flex: none;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
}
.drops__heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 6.4vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.drops__heading--out { color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.drops__lead { max-width: 460px; color: var(--muted); margin: 0 0 40px; }
.drops__arrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.drops__arrow span {
  width: 80px; height: 1px; background: var(--faint); position: relative; overflow: hidden;
}
.drops__arrow span::after {
  content: ""; position: absolute; top: 0; left: -40%; height: 100%; width: 40%;
  background: var(--gold);
  animation: arrow 1.6s var(--ease-out) infinite;
}
@keyframes arrow { to { left: 110%; } }

.panel {
  --p-accent: #ff7a1a;
  position: relative;
  width: 100vw;
  flex: none;
  height: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 4vw;
  padding: 100px var(--gutter) 60px;
  overflow: hidden;
}
.panel__bgtext {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24vw;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--p-accent) 35%, transparent);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.panel__art {
  position: relative;
  z-index: 1;
  height: min(76vh, 760px);
  display: grid; place-items: center;
  cursor: zoom-in;
  perspective: 1400px;
}
.panel__art-inner {
  position: relative;
  height: 100%;
  aspect-ratio: 1 / 1.1;
  display: grid; place-items: center;
  transform-style: preserve-3d;
  will-change: transform;
}
.panel__art img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 32px color-mix(in srgb, var(--p-accent) 45%, transparent));
}
.panel__halo {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--p-accent) 30%, transparent), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}
.hud-corners { position: absolute; inset: -14px; pointer-events: none; }
.hud-corners::before, .hud-corners::after,
.hud-corners span::before, .hud-corners span::after {
  content: ""; position: absolute; width: 28px; height: 28px;
  border-color: color-mix(in srgb, var(--p-accent) 80%, white);
  border-style: solid; border-width: 0;
}
.hud-corners::before { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.hud-corners::after { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.hud-corners span::before { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.hud-corners span::after { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.scanline {
  position: absolute; left: -14px; right: -14px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--p-accent), transparent);
  box-shadow: 0 0 18px var(--p-accent);
  top: 0;
  animation: scan 4.2s ease-in-out infinite;
  opacity: 0.8;
  pointer-events: none;
}
@keyframes scan { 0%, 100% { top: 2%; } 50% { top: 96%; } }

.panel__info { position: relative; z-index: 1; max-width: 600px; }
.panel__meta {
  display: flex; gap: 18px; align-items: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.panel__meta b { color: var(--p-accent); font-weight: 600; }
.panel__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.4vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.panel__sub {
  font-family: var(--font-mono);
  color: var(--p-accent);
  font-size: 15px;
  letter-spacing: 0.12em;
  margin: 0 0 24px;
}
.panel__desc { color: var(--muted); margin: 0 0 26px; font-size: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; padding: 0; list-style: none; }
.tags li {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,0.03);
}
.panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.panel__price { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-right: 8px; }
.panel .btn--accent { --accent-btn: var(--p-accent); background: var(--p-accent); box-shadow: 0 12px 44px -12px var(--p-accent); }

.drops__progress {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  height: 2px; background: var(--line);
  z-index: 3;
}
.drops__progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transform-origin: left; transform: scaleX(0);
  box-shadow: 0 0 10px var(--accent);
}

/* ---------- Hangar ---------- */
.hangar { padding: 160px var(--gutter) 140px; }
.hangar__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  max-width: 1400px;
  margin: 0 auto;
  perspective: 1400px;
}
.card {
  --c-accent: #ff7a1a;
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03) 40%, color-mix(in srgb, var(--c-accent) 50%, transparent));
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  will-change: transform;
}
.card.is-tilting { transition: transform 0.12s linear, box-shadow 0.6s var(--ease-out); }
.card:hover { box-shadow: 0 30px 80px -30px var(--c-accent); }
.card__inner {
  position: relative;
  border-radius: 23px;
  background: linear-gradient(180deg, #0d0d18, #08080f);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
}
.card__stage {
  position: relative;
  aspect-ratio: 1 / 1.08;
  display: grid; place-items: center;
  overflow: hidden;
  cursor: zoom-in;
}
.card__stage::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--c-accent) 28%, transparent), transparent 60%);
  transition: transform 0.8s var(--ease-out), opacity 0.6s;
}
.card:hover .card__stage::before { transform: scale(1.25); }
.tee {
  position: relative;
  width: 82%;
  transform: translateZ(40px);
  transition: transform 0.8s var(--ease-out);
}
.card:hover .tee { transform: translateZ(70px) scale(1.04); }
.tee svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 30px rgba(0,0,0,0.6)); }
.tee__print {
  position: absolute;
  left: 50%; top: 26%;
  width: 38%;
  transform: translateX(-50%);
  transition: transform 0.8s var(--ease-out);
}
.tee__print img { width: 100%; }
.card[data-id="star-girl"] .tee__print { top: 22%; width: 42%; }
.card[data-id="the-pilot"] .tee__print { width: 44%; top: 24%; }

.card__sheen {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx) var(--my), rgba(255,255,255,0.14), transparent 40%),
    linear-gradient(115deg, transparent 30%, rgba(255, 31, 143, 0.12) 45%, rgba(94, 231, 255, 0.12) 52%, rgba(235, 173, 60, 0.12) 60%, transparent 72%);
  background-size: 100% 100%, 250% 250%;
  background-position: 0 0, var(--mx) var(--my);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 3;
}
.card:hover .card__sheen { opacity: 1; }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__code { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--c-accent); }
.card__name {
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  text-transform: uppercase; letter-spacing: -0.02em; margin: 0;
}
.card__sub { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin: 0; }
.card__row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }
.card__price { font-family: var(--font-display); font-weight: 700; }
.card .btn { padding: 12px 20px; font-size: 12px; background: var(--c-accent); box-shadow: 0 10px 30px -12px var(--c-accent); }

/* ---------- Pilot ---------- */
.pilot {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
  padding: 120px var(--gutter) 160px;
  max-width: 1400px;
  margin: 0 auto;
}
.pilot__radar { display: grid; place-items: center; }
.radar {
  position: relative;
  width: min(460px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65, 255, 139, 0.06), rgba(5,5,11,0.8) 70%);
  box-shadow: inset 0 0 0 1px rgba(65, 255, 139, 0.25), 0 0 80px -20px rgba(65, 255, 139, 0.25);
  overflow: hidden;
  display: grid; place-items: center;
}
.radar__sweep {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(65, 255, 139, 0.45), rgba(65, 255, 139, 0) 22%, transparent 100%);
  animation: sweep 4s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(65, 255, 139, 0.18); }
.radar__ring:nth-of-type(2) { inset: 16%; }
.radar__ring:nth-of-type(3) { inset: 32%; }
.radar__ring:nth-of-type(4) { inset: 0; background: linear-gradient(rgba(65,255,139,0.15), rgba(65,255,139,0.15)) center/1px 100% no-repeat, linear-gradient(rgba(65,255,139,0.15), rgba(65,255,139,0.15)) center/100% 1px no-repeat; }
.radar__blip {
  position: absolute; left: var(--x); top: var(--y);
  width: 8px; height: 8px; border-radius: 50%;
  background: #41ff8b; box-shadow: 0 0 12px #41ff8b;
  animation: blip 4s ease-out infinite;
}
.radar__blip:nth-of-type(6) { animation-delay: 1.3s; }
.radar__blip:nth-of-type(7) { animation-delay: 2.6s; }
@keyframes blip { 0% { opacity: 1; transform: scale(1.4); } 60%, 100% { opacity: 0.1; transform: scale(1); } }
.radar__logo { position: relative; width: 52%; z-index: 2; filter: drop-shadow(0 0 30px rgba(0,0,0,0.8)); }

.pilot__bio { font-size: 19px; color: var(--muted); margin: 0 0 36px; max-width: 560px; }
.pilot__stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 32px;
}
.pilot__stats div { background: rgba(8, 8, 16, 0.85); padding: 18px 20px; }
.pilot__stats dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.pilot__stats dd { margin: 0; font-weight: 500; display: flex; align-items: center; gap: 10px; }

.pilot__tx, .pilot__comms { grid-column: 1 / -1; }

/* Transmissions: weekly stream days + next/live status */
.tx { display: flex; flex-direction: column; gap: 14px; align-items: stretch !important; }
.tx__week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.tx__week li {
  position: relative;
  padding: 8px 0 10px;
  border-radius: 10px;
  text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(244, 241, 234, 0.3);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tx__week li::after {
  content: "";
  position: absolute; left: 50%; bottom: 4px;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%;
  background: transparent;
}
.tx__week li.is-on { color: var(--ink); }
.tx__week li.is-on::after { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.tx__week li.is-today { box-shadow: inset 0 0 0 1px rgba(244, 241, 234, 0.35); }
.tx__week li.is-next {
  color: #0a0505;
  background: linear-gradient(140deg, var(--gold), var(--orange));
  box-shadow: 0 0 24px -6px var(--orange);
}
.tx__week li.is-next::after { background: #0a0505; box-shadow: none; }
.tx__status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 500; width: fit-content; }
a.tx__status[href]:hover .tx__text { color: var(--gold); }
.tx__text { transition: color 0.3s; }
.tx__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); flex: none; }
.tx__count { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--gold); }
.tx.is-live .tx__dot { background: #ff2b4a; animation: live-pulse 1.4s infinite; }
.tx.is-live .tx__text { color: #ff6b80; }
.tx.is-live .tx__week li.is-today { color: #fff; background: linear-gradient(140deg, #ff2b4a, var(--pink)); box-shadow: 0 0 24px -4px #ff2b4a; }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 43, 74, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 43, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 43, 74, 0); }
}

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  transition: border-color 0.3s, background-color 0.3s;
}
.socials a:hover { border-color: var(--gold); background: rgba(235, 173, 60, 0.08); }

/* ---------- Launch ---------- */
.launch {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px var(--gutter);
  overflow: hidden;
}
.launch__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.launch__rings span {
  position: absolute;
  width: 30vmin; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(244, 118, 35, 0.35);
  animation: ripple 6s linear infinite;
  opacity: 0;
}
.launch__rings span:nth-child(2) { animation-delay: 1.5s; }
.launch__rings span:nth-child(3) { animation-delay: 3s; }
.launch__rings span:nth-child(4) { animation-delay: 4.5s; }
@keyframes ripple { 0% { transform: scale(0.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(4.5); opacity: 0; } }
.launch__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 11vw, 190px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin: 0 0 56px;
  display: flex; flex-direction: column;
}
.launch__title--grad {
  background: linear-gradient(100deg, var(--gold), var(--orange) 40%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.launch__btn {
  position: relative;
  width: 168px; height: 168px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb15c, var(--orange) 45%, #c2410c 100%);
  box-shadow: 0 0 0 10px rgba(244, 118, 35, 0.12), 0 0 80px -6px var(--orange), inset 0 -10px 30px rgba(0,0,0,0.35);
  display: grid; place-items: center;
  color: #160700;
  font-family: var(--font-display); font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.15;
  transition: box-shadow 0.4s;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.launch__btn:hover { box-shadow: 0 0 0 16px rgba(244, 118, 35, 0.16), 0 0 120px 0 var(--orange), inset 0 -10px 30px rgba(0,0,0,0.35); }
.launch__btn-text { pointer-events: none; }
.launch__progress {
  position: absolute; inset: -14px;
  width: calc(100% + 28px); height: calc(100% + 28px);
  transform: rotate(-90deg);
  pointer-events: none;
}
.launch__progress circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 352;
  stroke-dashoffset: 352;
  filter: drop-shadow(0 0 6px var(--gold));
}
.launch__hint { margin-top: 36px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  display: flex; align-items: center; gap: 28px;
  padding: 40px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 11, 0.7);
  backdrop-filter: blur(8px);
}
.footer__logo { width: 84px; height: auto; opacity: 0.9; }
.footer__meta p { margin: 0; }
.footer__small { color: var(--muted); font-size: 14px; }
.footer__coords {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px !important;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(244, 241, 234, 0.38);
}
.cz {
  width: 15px; height: 10px; border-radius: 2px; flex: none;
  background:
    linear-gradient(to top right, #11457e 50%, transparent 52%) left top / 7.5px 5px no-repeat,
    linear-gradient(to bottom right, #11457e 50%, transparent 52%) left bottom / 7.5px 5px no-repeat,
    linear-gradient(#f4f1ea 50%, #d7141a 50%);
  opacity: 0.75;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; }
.footer__links a { color: var(--muted); transition: color 0.3s; }
.footer__links a:hover { color: var(--gold); }
.footer__top {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color 0.3s;
}
.footer__top:hover { border-color: var(--gold); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: 60px 16px;
  background: rgba(3, 3, 8, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(92vw, 1100px); max-height: 82vh; object-fit: contain; filter: drop-shadow(0 0 40px var(--accent)); }
.lightbox__caption { position: absolute; bottom: 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0; }
.lightbox__close {
  position: absolute; top: 18px; right: 18px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--faint);
  font-size: 18px;
  transition: transform 0.5s var(--ease-spring), border-color 0.3s;
}
.lightbox__close:hover { transform: rotate(90deg); border-color: var(--gold); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 260;
  transform: translate(-50%, 140%);
  padding: 14px 22px;
  border-radius: 14px;
  background: rgba(14, 14, 26, 0.9);
  border: 1px solid var(--faint);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em;
  max-width: calc(100vw - 32px);
  text-align: center;
  transition: transform 0.6s var(--ease-spring), visibility 0s 0.6s;
  pointer-events: none;
  visibility: hidden;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform 0.6s var(--ease-spring); }

/* =========================================================
   Store
   ========================================================= */
body.is-locked { overflow: hidden; }
.link { color: var(--gold); border-bottom: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); transition: border-color 0.3s; word-break: break-word; }
.link:hover { border-color: var(--gold); }
.is-busy { pointer-events: none; opacity: 0.7; }

/* Nav cart */
.nav__cart {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--faint);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.4s var(--ease-out);
}
.nav__cart[hidden] { display: none; }
.nav__cart:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 0 30px -8px var(--gold); }
.nav__cart svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.nav__count {
  position: absolute; top: -3px; right: -3px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--orange), var(--pink));
  color: #0a0505;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; line-height: 20px; text-align: center;
  transform: scale(0);
  transition: transform 0.5s var(--ease-spring);
  pointer-events: none;
}
.nav__cart.has-items .nav__count { transform: scale(1); }

/* Line cards (home Hangar + "other lines") */
a.card { display: block; }
.card__art {
  position: relative;
  width: 78%; height: 86%;
  transform: translateZ(40px);
  transition: transform 0.9s var(--ease-out);
}
.card__art img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--c-accent) 45%, transparent)) drop-shadow(0 30px 30px rgba(0, 0, 0, 0.6));
}
.card--line:hover .card__art { transform: translateZ(80px) scale(1.06) rotate(-1.5deg); }
.card--line .card__row { border-top: 1px solid var(--line); padding-top: 16px; }
.card__enter { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.card__arrow {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-accent); color: #0a0505; font-weight: 700;
  box-shadow: 0 10px 30px -10px var(--c-accent);
  transition: transform 0.5s var(--ease-spring);
}
.card--line:hover .card__enter { color: var(--ink); }
.card--line:hover .card__arrow { transform: translateX(6px) rotate(-12deg); }

/* Live product cards: names show exactly as entered in Fourthwall (no forced capitals) */
.card[hidden] { display: none; }
.card--live .card__name { text-transform: none; letter-spacing: -0.01em; font-size: 20px; line-height: 1.2; }
.card__stage--photo { width: 100%; padding: 0; cursor: pointer; aspect-ratio: 4 / 5; }
body.has-cursor .card__stage--photo { cursor: none; }
.card__stage--photo img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translateZ(30px) scale(1.001);
  transition: transform 0.9s var(--ease-out);
}
.card:hover .card__stage--photo img { transform: translateZ(50px) scale(1.06); }
.card.is-sold-out .card__stage--photo img { filter: grayscale(0.7) brightness(0.7); }
.card__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(5, 5, 11, 0.8);
  border: 1px solid var(--faint);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.card__opts { display: flex; align-items: center; gap: 6px; min-height: 18px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; background: #444; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.swatch-more, .card__sizes { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.card__sizes { margin-left: auto; }

.card--skeleton .card__stage, .sk {
  background: linear-gradient(100deg, rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.03) 70%);
  background-size: 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
.sk { display: block; border-radius: 8px; height: 14px; }
.sk--title { width: 60%; height: 22px; }
.sk--line { width: 40%; }
.sk--btn { width: 110px; height: 40px; border-radius: 999px; margin-top: 12px; margin-left: auto; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Quantity stepper */
.qty {
  display: inline-flex; align-items: center;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--faint);
  height: 54px;
}
.qty__btn { width: 46px; height: 100%; font-size: 20px; color: var(--ink); border-radius: 999px; transition: color 0.2s, background-color 0.2s; }
.qty__btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.06); }
.qty__btn:disabled { opacity: 0.3; cursor: default; }
.qty__val { min-width: 28px; text-align: center; font-family: var(--font-mono); }
.qty--small { height: 36px; align-self: flex-start; }
.qty--small .qty__btn { width: 34px; font-size: 16px; }

/* Product quick view */
.pdp { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 24px; }
.pdp[hidden] { display: none; }
.pdp__backdrop { position: absolute; inset: 0; background: rgba(3, 3, 8, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.pdp__panel {
  --pdp-accent: var(--accent);
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: none;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border-radius: 28px;
  background: linear-gradient(160deg, #10101c, #07070d 70%);
  box-shadow: 0 0 0 1px var(--line), 0 40px 120px -30px color-mix(in srgb, var(--accent) 50%, transparent);
  transform-origin: 50% 100%;
}
.pdp__close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(5, 5, 11, 0.6);
  box-shadow: inset 0 0 0 1px var(--faint);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.3s;
}
.pdp__close:hover { transform: rotate(90deg); box-shadow: inset 0 0 0 1px var(--gold); }
.pdp__media { position: relative; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.pdp__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: calc(100vh - 160px);
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 22%, #12121c), #0a0a12 70%);
}
.pdp__img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 901px) {
  .pdp__media { position: sticky; top: 0; align-self: start; }
}
.pdp__thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.pdp__thumb { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); opacity: 0.6; transition: opacity 0.3s, box-shadow 0.3s; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active, .pdp__thumb:hover { opacity: 1; box-shadow: inset 0 0 0 2px var(--accent); }
.pdp__info { padding: 44px 40px 36px 20px; display: flex; flex-direction: column; }
.pdp__code { margin-bottom: 12px; }
.pdp__name {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.pdp__price { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 26px; }
.pdp__price s { color: var(--muted); font-weight: 400; font-size: 0.75em; margin-left: 8px; }
.opt { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.opt legend { display: flex; align-items: baseline; width: 100%; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; padding: 0; }
.opt legend b { color: var(--ink); font-weight: 400; margin-left: 8px; letter-spacing: 0.08em; }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__swatch {
  width: 36px; height: 36px; border-radius: 50%;
  background: #444;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 0 0 var(--accent);
  transition: box-shadow 0.3s, transform 0.4s var(--ease-spring);
}
.opt__swatch:hover { transform: scale(1.1); }
.opt__swatch.is-active { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.opt__swatch.is-out { opacity: 0.35; }
.opt__size {
  min-width: 54px; height: 44px; padding: 0 14px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-mono); font-size: 13px;
  transition: box-shadow 0.3s, background-color 0.3s, color 0.3s;
}
.opt__size:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); }
.opt__size.is-active { background: var(--ink); color: var(--bg); }
.opt__size:disabled { opacity: 0.3; text-decoration: line-through; cursor: not-allowed; }
.pdp__buy { display: flex; gap: 12px; margin: 6px 0 14px; }
.pdp__add { flex: 1; justify-content: center; background: var(--accent); box-shadow: 0 12px 44px -12px var(--accent); }
.pdp__add:disabled { background: rgba(255, 255, 255, 0.08); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.pdp__note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 26px; }
.pdp__desc { color: var(--muted); font-size: 15px; }
.pdp__desc > :first-child { margin-top: 0; }
.pdp__desc a, .pdp__details a { color: var(--gold); text-decoration: underline; }
.pdp__details { border-top: 1px solid var(--line); padding: 14px 0; font-size: 14px; color: var(--muted); }
.pdp__details:last-of-type { border-bottom: 1px solid var(--line); }
.pdp__details summary { cursor: pointer; color: var(--ink); font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.pdp__details summary::after { content: "+"; font-family: var(--font-mono); transition: transform 0.3s; }
.pdp__details[open] summary::after { transform: rotate(45deg); }
.pdp__details summary::-webkit-details-marker { display: none; }
.pdp__guide { display: inline-block; margin-top: 16px; }

/* Size guide: toggle beside the size options + panel with Fourthwall's guide */
.opt__guide {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.opt__guide:hover, .opt__guide[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); }
.pdp__sizeguide {
  overflow: hidden;
  margin: -6px 0 22px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pdp__sizeguide[hidden] { display: none; }
.pdp__sizeguide-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pdp__sizeguide-head b { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.pdp__sizeguide-close { width: 28px; height: 28px; border-radius: 50%; font-size: 12px; box-shadow: inset 0 0 0 1px var(--faint); transition: transform 0.5s var(--ease-spring); }
.pdp__sizeguide-close:hover { transform: rotate(90deg); }
.pdp__sizeguide-img { display: block; margin-bottom: 12px; border-radius: 10px; overflow: hidden; background: #fff; }
.pdp__sizeguide-img img { width: 100%; height: auto; }
.pdp__sizeguide-text { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.pdp__sizeguide-text > :first-child { margin-top: 0; }
.pdp__sizeguide-text table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pdp__sizeguide-text th, .pdp__sizeguide-text td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.pdp__sizeguide-file { font-size: 13px; }
.sizechart { margin-bottom: 16px; }
.sizechart__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sizechart__note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.sizechart__units { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.sizechart__units button {
  min-width: 40px; padding: 5px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  transition: background-color 0.3s, color 0.3s;
}
.sizechart__units button.is-active { background: var(--accent); color: #0a0505; }
.sizechart__table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.sizechart__table th, .sizechart__table td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.sizechart__table thead th { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.sizechart__table tbody th { font-weight: 600; color: var(--ink); }
.sizechart__table td { color: var(--muted); }
.sizechart__table tr { transition: background-color 0.3s; }
.sizechart__table tbody tr.is-current { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.sizechart__table tbody tr.is-current td { color: var(--ink); }

.fly-ghost { position: fixed; z-index: 280; pointer-events: none; object-fit: cover; border-radius: 20px; box-shadow: 0 0 40px var(--accent); }

/* Cart drawer */
.cart { position: fixed; inset: 0; z-index: 150; }
.cart[hidden] { display: none; }
.cart__backdrop { position: absolute; inset: 0; background: rgba(3, 3, 8, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(460px, 100vw);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0f0f1b, #07070d);
  box-shadow: -1px 0 0 var(--line), -40px 0 120px -40px color-mix(in srgb, var(--accent) 45%, transparent);
}
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart__head h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: -0.01em; }
.cart__count { color: var(--gold); font-family: var(--font-mono); font-size: 14px; font-weight: 400; }
.cart__close { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--faint); transition: transform 0.5s var(--ease-spring), box-shadow 0.3s; }
.cart__close:hover { transform: rotate(90deg); box-shadow: inset 0 0 0 1px var(--gold); }
.cart__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px; }
.cart__items { list-style: none; margin: 0; padding: 0; }
.cart__empty { display: none; text-align: center; padding: 60px 0; color: var(--muted); }
.cart.is-empty .cart__empty { display: block; }
.cart.is-busy .cart__body, .cart.is-busy .cart__foot { pointer-events: none; opacity: 0.6; transition: opacity 0.2s; }
.cline { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.cline__img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: #12121c; }
.cline__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cline__name { margin: 0; font-weight: 500; line-height: 1.25; }
.cline__var { margin: 0 0 6px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.cline__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cline__price { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.cline__remove { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.cline__remove:hover { color: var(--pink); }
.cart__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: rgba(5, 5, 11, 0.6); }
.cart__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.cart__row b { font-family: var(--font-display); }
.cart__note { margin: 4px 0 16px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.cart__checkout { width: 100%; justify-content: center; padding-block: 20px; }
.cart__checkout:disabled { opacity: 0.4; cursor: not-allowed; }
.cart__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.cart__meta label { display: inline-flex; align-items: center; gap: 8px; }
.cart__currency {
  font: inherit; color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 8px;
}
.cart__currency option { background: #0f0f1b; }

/* Privacy notice */
.notice {
  position: fixed; left: 20px; bottom: 20px; z-index: 250;
  width: min(380px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(14, 14, 26, 0.92);
  border: 1px solid var(--faint);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; line-height: 1.45; color: var(--muted);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.7s var(--ease-spring), opacity 0.4s;
}
.notice.is-visible { transform: none; opacity: 1; }
.notice p { margin: 0; }
.notice b { color: var(--ink); font-weight: 500; }
.notice a { color: var(--gold); text-decoration: underline; }
.notice__ok {
  flex: none;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- Line page ---------- */
.lhero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4vw;
  padding: 110px var(--gutter) 60px;
  overflow: hidden;
  --p-accent: var(--accent);
}
.lhero__bgtext {
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-display); font-weight: 900;
  font-size: 22vw; line-height: 1; letter-spacing: -0.05em; text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 30%, transparent);
  pointer-events: none;
  z-index: 0;
}
.lhero__art {
  position: relative; z-index: 1;
  height: min(74vh, 720px);
  aspect-ratio: 1 / 1.1;
  justify-self: center;
}
.lhero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 32px color-mix(in srgb, var(--accent) 45%, transparent));
}
.lhero__copy { position: relative; z-index: 1; max-width: 600px; }
.lhero__back {
  display: block;
  width: fit-content;
  margin-bottom: 28px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s, transform 0.4s var(--ease-spring);
}
.lhero__back:hover { color: var(--gold); transform: translateX(-4px); }
.lhero__name {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(44px, 6vw, 104px); line-height: 0.9; letter-spacing: -0.045em; text-transform: uppercase;
  margin: 0 0 12px;
}
.lhero__sub { font-family: var(--font-mono); color: var(--accent); font-size: 15px; letter-spacing: 0.12em; margin: 0 0 22px; }
.lhero__desc { color: var(--muted); font-size: 18px; margin: 0 0 24px; }

.loadout { padding: 100px var(--gutter) 80px; }
.loadout__head {
  max-width: 1400px; margin: 0 auto 36px;
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.loadout__head .eyebrow { margin: 0; }
.loadout__count { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.line__empty { text-align: center; padding: 40px 0 20px; color: var(--muted); }
.line__empty[hidden] { display: none; }

.others { padding: 60px var(--gutter) 140px; text-align: center; }
.others__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  max-width: 900px; margin: 18px auto 0;
  perspective: 1400px;
  text-align: left;
}
.card--mini .card__stage { aspect-ratio: 16 / 10; }

/* ---------- Legal pages ---------- */
.legal-page .footer { justify-content: center; text-align: center; }
.legal-page .footer__links { justify-content: center; }
.legal-nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
}
.legal {
  position: relative; z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px var(--gutter) 120px;
  font-size: 16px;
}
.legal h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(36px, 6vw, 72px); line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase;
  margin: 0 0 12px;
}
.legal__date { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 48px; }
.legal section { margin-bottom: 44px; }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 14px; }
.legal h3 { font-size: 16px; margin: 22px 0 6px; color: var(--gold); font-weight: 500; }
.legal p, .legal li { color: var(--muted); }
.legal b { color: var(--ink); font-weight: 500; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal__summary {
  padding: 24px 28px;
  margin-bottom: 52px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
}
.legal__summary ul { margin: 0; }
.legal__address { font-style: normal; line-height: 1.7; margin-bottom: 14px; }
.legal__table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
.legal__table th, .legal__table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.legal__table th { color: var(--gold); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; }
.legal code { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.lost { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 80px; }
.lost p { max-width: 460px; margin: 0 0 32px; }
/* Placeholders that must be filled in before launch */
.todo { background: rgba(255, 31, 143, 0.18); color: #ffb3d9; padding: 0 4px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__hud { display: none; }
  .hangar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { gap: 12px; padding-block: 12px; }
  .nav__links { display: none; }
  .nav .btn--small { margin-left: auto; }
  .nav__brand img { width: 54px; }

  .hero { grid-template-columns: 1fr; padding-top: 96px; padding-bottom: 110px; gap: 8px; text-align: left; }
  .orbit { width: min(78vw, 400px); order: -1; margin: 0 auto -10px; }
  .sat { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .hero__sub { font-size: 16px; }
  .hero__eyebrow { font-size: 10px; letter-spacing: 0.16em; }
  .hero__foot .warp-hint { display: none; }

  /* Drops become a vertical stack on small screens */
  .drops__track { flex-direction: column; height: auto; width: 100%; }
  .drops__intro { width: 100%; padding: 110px var(--gutter) 40px; }
  .panel { width: 100%; grid-template-columns: 1fr; padding: 60px var(--gutter); gap: 32px; }
  .panel__art { height: auto; }
  .panel__art-inner { height: auto; width: 100%; max-width: 480px; margin: 0 auto; }
  .panel__bgtext { font-size: 34vw; top: 30%; }
  .drops__progress { display: none; }

  .hangar { padding-top: 110px; padding-bottom: 100px; }
  .section-head { margin-bottom: 40px; }
  .hangar__grid { grid-template-columns: 1fr; max-width: 480px; }

  .pilot { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 100px; }
  .pilot__stats { grid-template-columns: 1fr 1fr; }

  .launch { min-height: 85vh; }
  .footer { flex-wrap: wrap; gap: 16px; }
  .footer__top { margin-left: 0; }

  .nav__cart { width: 42px; height: 42px; }
  .lhero { grid-template-columns: 1fr; padding-top: 100px; gap: 24px; min-height: 0; }
  .lhero__art { height: auto; width: min(80vw, 420px); margin: 0 auto; }
  .lhero__bgtext { font-size: 34vw; top: 26%; }
  .loadout { padding-top: 60px; }
  .others__grid { grid-template-columns: 1fr; max-width: 480px; }
  .pdp { padding: 0; align-items: flex-end; }
  .pdp__panel { grid-template-columns: minmax(0, 1fr); max-height: 94vh; max-height: 94svh; border-radius: 24px 24px 0 0; }
  .pdp__media { padding: 14px 14px 0; }
  .pdp__info { padding: 22px 20px 32px; }
  .pdp__close { top: 22px; right: 22px; }
  .pdp__add { white-space: nowrap; padding-inline: 18px; font-size: 13px; }
  .pdp__add .btn__icon { display: none; }
  .notice { left: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .pilot__stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .grain { display: none; }
}
