/* ═══════════════════════════════════════════════════════════
   SENDERLAND 2026 — "AFTERBURN" DESIGN SYSTEM
   Desert dusk · ember & dust · steel & send-it.
   Burning Man (playa, fire, art) × Nitro Circus (steel, adrenaline)
   ═══════════════════════════════════════════════════════════ */

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* — Warm neutrals (desert night) — */
  --ink:        #000000;   /* page base — pure black */
  --ink-2:      #050507;   /* faint lift */
  --char:       #0C0D12;   /* card / surface */
  --char-2:     #14151D;   /* raised surface / hover */
  --char-3:     #23252F;   /* highest surface / borders */
  --bone:       #EAFEFF;   /* primary text — warm white */
  --sand:       #A6C2C8;   /* secondary text — warm taupe */
  --dust:       #6F878D;   /* muted / dim text */

  /* — Brand neon — */
  --ember:        #00E5FF; /* PRIMARY — electric cyan */
  --ember-deep:   #06B6D4;
  --flame:        #5CF4FF; /* lighter cyan */
  --amber:        #FF2D95; /* SECONDARY — hot magenta */
  --amber-deep:   #EC4899;
  --rust:         #A855F7; /* violet */

  /* — Atmosphere only (never UI text) — */
  --dusk:       #160A30;   /* indigo */
  --night:      #0A0820;   /* deep indigo */

  /* — Signal — */
  --hot:        #FF4438;   /* danger / sold */

  /* — Hairlines — */
  --line:        rgba(234,254,255, 0.10);
  --line-strong: rgba(234,254,255, 0.20);
  --line-ember:  rgba(0,229,255, 0.28);

  /* — Glows (used surgically) — */
  --glow-ember:        0 0 24px rgba(0,229,255, 0.30);
  --glow-ember-strong: 0 0 28px rgba(0,229,255, 0.45), 0 0 64px rgba(0,229,255, 0.15);
  --glow-amber:        0 0 22px rgba(255,45,149, 0.30);

  /* — Gradients — */
  --grad-fire:    linear-gradient(100deg, var(--ember-deep) 0%, var(--ember) 42%, var(--amber) 100%);
  --grad-fire-h:  linear-gradient(100deg, var(--ember) 0%, var(--flame) 45%, var(--amber) 100%);
  --grad-dusk:    linear-gradient(180deg, #0C0A28 0%, #07061C 35%, var(--ink) 80%);
  --grad-overlay: linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.55) 55%, var(--ink) 100%);
  --heat:         radial-gradient(120% 90% at 50% 118%, rgba(0,229,255,0.22) 0%, rgba(0,229,255,0.06) 32%, transparent 60%);

  /* — Motion — */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);

  /* — Shadows (warm, deep) — */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.35);
  --shadow-md: 0 2px 6px rgba(0,0,0,0.5), 0 16px 40px rgba(0,0,0,0.45);
  --shadow-lg: 0 4px 10px rgba(0,0,0,0.5), 0 32px 70px rgba(0,0,0,0.55);
  --shadow-elevation-sm: var(--shadow-sm);  /* legacy aliases */
  --shadow-elevation-md: var(--shadow-md);
  --shadow-elevation-lg: var(--shadow-lg);

  /* — Geometry — */
  --grid-max: 1240px;
  --gutter: 26px;
  --section-gap: 132px;
  --radius: 6px;
  --radius-sm: 3px;
  --radius-pill: 999px;

  /* — Type — */
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --font-serif:   'Fraunces', Georgia, serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;
  --font-accent:  var(--font-body);     /* legacy alias */
  --fw-regular: 400;
  --fw-bold: 700;
  --ease-out-expo: var(--ease-out);     /* legacy alias */

  /* ── LEGACY VARIABLE REMAP ──────────────────────────────
     Old code/inline-styles reference --cyan/--magenta/--violet/
     --bg etc. Remap them onto the new palette so every page
     transforms without per-element edits. ───────────────── */
  --cyan:        var(--ember);
  --cyan-light:  var(--flame);
  --magenta:     var(--amber);
  --magenta-light: var(--amber-deep);
  --violet:      var(--rust);
  --violet-dark: #7C3AED;
  --bg:          var(--ink);
  --bg-deep:     var(--ink-2);
  --bg-card:     rgba(12,13,18, 0.86);
  --bg-glass:    rgba(10,11,16, 0.62);
  --text:        var(--bone);
  --text-muted:  var(--sand);
  --text-dim:    var(--dust);
  --border-subtle: var(--line);
  --glow-cyan:        var(--glow-ember);
  --glow-cyan-strong: var(--glow-ember-strong);
  --glow-magenta:     var(--glow-amber);
  --glow-magenta-strong: var(--glow-amber);
  --gradient-cta:       var(--grad-fire);
  --gradient-cta-hover: var(--grad-fire-h);
  --gradient-overlay:   var(--grad-overlay);
}

/* ── BASE ───────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  color: var(--bone);
  background: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Film-grain / dust overlay — site-wide, non-blocking */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(0,229,255, 0.30); color: var(--bone); }

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

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--char-3); border-radius: 999px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--rust); }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--bone);
}

h1 { font-size: clamp(2.8rem, 7.5vw, 6.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 700; }
h4 { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; }

p { max-width: 66ch; }
strong, b { font-weight: 700; color: var(--bone); }

/* Eyebrow / kicker — the mono "ticket-stub" label used above headings */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--ember);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--plain::before { display: none; }

/* Text-colour utilities (remapped) */
.text-cyan    { color: var(--ember); }
.text-magenta { color: var(--amber); }
.text-violet  { color: var(--rust); }
.text-muted   { color: var(--sand); }
.text-dim     { color: var(--dust); }
.text-center  { text-align: center; }
.mono         { font-family: var(--font-mono); }

/* Headline emphasis (was heavy neon glow — now a tasteful ember treatment) */
.glow-headline {
  color: var(--bone);
  text-shadow: 0 0 1px rgba(0,229,255,0.0);
}
.glow-headline { background: none; }
.glow-headline-magenta { color: var(--bone); }

/* A fire-filled headline treatment used where we want maximum heat */
.headline-fire {
  background: var(--grad-fire-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--ember);
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--wide { max-width: 1480px; }
.container--narrow { max-width: 860px; }

.section { padding: var(--section-gap) 0; position: relative; }
.section--tight { padding: 84px 0; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

/* Section header block (eyebrow + title + lead) */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__title { margin: 16px 0 0; }
.section-head__lead { color: var(--sand); font-size: 1.05rem; margin-top: 18px; }

/* A hairline rule with a dot — used as a divider */
.rule {
  height: 1px;
  background: var(--line);
  position: relative;
}
.rule::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 64px; height: 1px;
  background: var(--ember);
  transform: translateY(-50%);
}

/* ── ATMOSPHERE / PARALLAX ──────────────────────────────── */
.parallax-scene { position: relative; overflow: hidden; }

.parallax-layer {
  position: absolute;
  inset: -100px;
  will-change: transform;
  pointer-events: none;
}
.parallax-layer--bg { z-index: 0; }
.parallax-layer--mid {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-layer--mid img,
.parallax-layer--mid svg {
  width: 80%;
  max-width: 760px;
  height: auto;
  opacity: 0.10;
  color: var(--ember);
}
.parallax-layer--particles { z-index: 2; }
.parallax-content { position: relative; z-index: 10; }

/* Embers / floating sparks (generated by JS as .particle) */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--amber);
  border-radius: 50%;
  opacity: 0.5;
  box-shadow: 0 0 6px 1px rgba(92,244,255, 0.6);
}
.particle--lg { width: 4px; height: 4px; box-shadow: 0 0 9px 2px rgba(92,244,255, 0.55); }
.particle--magenta { background: var(--ember); box-shadow: 0 0 8px 1px rgba(0,229,255, 0.7); }

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding 0.4s var(--ease), transform 0.45s var(--ease);
  background: transparent;
}
.nav--scrolled { padding: 11px 0; }
.nav--hidden { transform: translateY(-130%); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  border: 1px solid transparent;
  border-radius: 4px;
  transition:
    max-width 0.55s var(--ease),
    width 0.55s var(--ease),
    padding 0.45s var(--ease),
    background 0.4s ease,
    border-color 0.4s ease,
    border-radius 0.55s var(--ease),
    box-shadow 0.45s ease;
}

/* Scrolled → morph into a floating, frosted, ember-rimmed pill */
.nav--scrolled .nav__inner {
  width: calc(100% - 36px);
  max-width: 880px;
  padding: 7px 10px 7px 20px;
  background: rgba(10,11,18, 0.70);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-color: rgba(0,229,255, 0.22);
  border-radius: var(--radius-pill);
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0,229,255, 0.05),
    0 0 24px rgba(0,229,255, 0.10),
    inset 0 1px 0 rgba(234,254,255, 0.06);
}
.nav--scrolled .nav__logo-circle { width: 38px; height: 38px; font-size: 14px; }
.nav--scrolled .nav__links { gap: 24px; }

.nav__logo { display: flex; align-items: center; gap: 10px; z-index: 1001; }

.nav__logo-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--ember);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--ember);
  background: rgba(0,229,255, 0.06);
  transition: box-shadow 0.35s ease, transform 0.35s var(--ease-spring), background 0.35s ease, color 0.3s ease;
}
.nav__logo:hover .nav__logo-circle {
  box-shadow: var(--glow-ember);
  transform: rotate(-6deg) scale(1.05);
  background: var(--ember);
  color: var(--ink);
}

/* — Brand logo mark (image) — nav + footer — */
.nav__logo-mark {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 50%;
  transition: box-shadow 0.35s ease, transform 0.35s var(--ease-spring);
}
.nav--scrolled .nav__logo-mark { width: 38px; height: 38px; }
.nav__logo:hover .nav__logo-mark {
  box-shadow: var(--glow-ember);
  transform: rotate(-6deg) scale(1.05);
}
.footer__logo-mark { width: 40px; height: 40px; display: block; border-radius: 50%; }

.nav__links { display: flex; gap: 30px; align-items: center; }

.nav__link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--sand);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--ember);
  transition: width 0.32s var(--ease);
}
.nav__link:hover, .nav__link--active { color: var(--bone); }
.nav__link--active { color: var(--ember); }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }

.nav__ig { display: flex; align-items: center; color: var(--sand); transition: color 0.3s ease, transform 0.3s ease; }
.nav__ig:hover { color: var(--ember); transform: translateY(-1px); }
.nav__ig svg { width: 22px; height: 22px; }

/* Hamburger */
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.nav__hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--bone);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}
.nav__hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--ember); }
.nav__hamburger--open span:nth-child(2) { opacity: 0; }
.nav__hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--ember); }

/* Mobile overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(2,2,4, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav__mobile--open { opacity: 1; pointer-events: all; }
.nav__mobile-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.nav__mobile-bg img { width: 78%; opacity: 0.07; color: var(--ember); }

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--bone);
  letter-spacing: 0.01em;
  position: relative;
  transform: translateX(40px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s ease, color 0.3s ease;
}
.nav__mobile--open .nav__mobile-link { transform: translateX(0); opacity: 1; }
.nav__mobile-link:hover { color: var(--ember); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--grad-dusk);
}
/* heat horizon glow at the foot of every hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--heat);
  z-index: 1;
  pointer-events: none;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg video, .hero__bg img, .hero__bg-gradient { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: var(--grad-overlay); z-index: 1; }
.hero__sacred { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; pointer-events: none; }
.hero__sacred img { width: 72%; max-width: 640px; opacity: 0.10; color: var(--ember); }
.hero__content { position: relative; z-index: 10; padding: 0 var(--gutter); width: 100%; }

.hero__title { color: var(--bone); margin-bottom: 18px; letter-spacing: 0.005em; text-wrap: balance; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.hero__title--glow { animation: emberFlicker 6s ease-in-out infinite; }

.hero__subtitle {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  max-width: none;
  margin: 0 auto 38px;
}

.hero__kicker { justify-content: center; margin-bottom: 26px; color: var(--ember); }
.hero__lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: var(--sand);
  max-width: 56ch;
  margin: 0 auto 40px;
}
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }

.hero__scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounceDown 2.2s ease-in-out infinite;
  color: var(--dust);
}
.hero__scroll-cue svg { width: 26px; height: 26px; }

/* Sub-hero for interior pages */
.hero--sub { min-height: 58vh; min-height: 58svh; padding-top: 120px; padding-bottom: 40px; }
.hero--sub .hero__title { margin-bottom: 14px; }
.hero--sub .hero__subtitle { margin-bottom: 0; }
.hero--airy { background: var(--grad-dusk); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  padding: 15px 30px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  backface-visibility: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease), border-color 0.3s ease, background 0.35s ease, color 0.3s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); transition-duration: 0.1s; }

/* Primary — fire */
.btn--gradient {
  background: var(--grad-fire);
  color: var(--ink);
  box-shadow: var(--shadow-sm), 0 0 26px rgba(0,229,255, 0.28);
  font-weight: 700;
}
.btn--gradient::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.45) 50%, transparent 80%);
  transition: left 0.7s var(--ease);
  z-index: 1; pointer-events: none;
}
.btn--gradient:hover::before { left: 140%; }
.btn--gradient:hover {
  background: var(--grad-fire-h);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-md), var(--glow-ember-strong);
}

/* Glass / ghost */
.btn--glass {
  background: rgba(234,254,255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  color: var(--bone);
  box-shadow: var(--shadow-sm);
}
.btn--glass:hover {
  background: rgba(0,229,255, 0.10);
  border-color: var(--line-ember);
  color: var(--bone);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-md), 0 0 22px rgba(0,229,255, 0.12);
}

/* Outline */
.btn--outline {
  border: 1px solid var(--line-ember);
  color: var(--ember);
  font-size: 12px;
  padding: 11px 22px;
  background: transparent;
}
.btn--outline::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: rgba(0,229,255, 0.08);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn--outline:hover::before { transform: scaleX(1); }
.btn--outline:hover { border-color: var(--ember); transform: translateY(-2px); }

.btn--sm { font-size: 11px; padding: 10px 18px; }

.btn--disabled {
  background: rgba(234,254,255, 0.05);
  color: var(--dust);
  cursor: not-allowed;
  box-shadow: none;
  border: 1px solid var(--line);
}
.btn--disabled:hover { transform: none; box-shadow: none; }
.btn--disabled::before { display: none; }

/* ── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.4s ease;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: linear-gradient(160deg, rgba(0,229,255, 0.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--line-ember);
  border-color: var(--line-ember);
}
.card:hover::after { opacity: 1; }

.card__image { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--ink-2); }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .card__image img { transform: scale(1.06); }

.card__body { padding: 22px; position: relative; z-index: 2; }
.card__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; line-height: 1; margin-bottom: 6px; }
.card__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
}
.card__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.98rem;
  color: var(--sand);
  margin: 12px 0 18px;
  line-height: 1.65;
}

.card--glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
}

/* ── COUNTDOWN ──────────────────────────────────────────── */
.countdown { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.countdown__card {
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  min-width: 116px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--ease);
}
.countdown__card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--grad-fire);
  transform: scaleX(0.2);
  opacity: 0.5;
  transition: transform 0.4s var(--ease), opacity 0.4s ease;
}
.countdown__card:hover { border-color: var(--line-ember); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.countdown__card:hover::before { transform: scaleX(1); opacity: 1; }
.countdown__card--pulse { border-color: var(--line-ember); box-shadow: 0 0 22px rgba(0,229,255, 0.18); }
.countdown__card--pulse::before { transform: scaleX(1); opacity: 1; }

.countdown__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--bone);
  line-height: 1;
  display: inline-block;
  font-variant-numeric: tabular-nums;
  perspective: 400px;
}
.countdown__number--flip { animation: flipNumber 0.4s var(--ease); }
.countdown__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dust);
  margin-top: 12px;
}

/* ── CHIPS / FILTERS ────────────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  color: var(--sand);
  background: transparent;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  cursor: pointer;
}
.chip:hover { color: var(--bone); border-color: var(--line-ember); background: rgba(0,229,255, 0.06); transform: translateY(-1px); }
.chip:active { transform: translateY(0) scale(0.97); transition-duration: 0.1s; }
.chip--active {
  background: var(--grad-fire);
  color: var(--ink);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0,229,255, 0.25);
}
.chip--active:hover { background: var(--grad-fire-h); color: var(--ink); transform: translateY(-1px); }

/* ── CAROUSEL ───────────────────────────────────────────── */
.carousel { position: relative; padding: 40px 0; }
/* Drag/scroll coverflow — keep in sync with the inline <style> in events.html. */
.carousel__track {
  --card-w: 390px;
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* NOT center: on a scroll container, center hides the first cards */
  gap: 24px;
  perspective: 1600px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding: 48px calc(50% - (var(--card-w) / 2));   /* lead/trail so first & last can center */
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__slide {
  flex: 0 0 auto;
  width: var(--card-w);
  scroll-snap-align: center;
}
/* JS applies the focus transform/opacity/brightness to the inner .card (not the slide),
   so the slide keeps full width and every card stays reachable. */
.carousel__slide .card {
  transform-origin: center center;
  will-change: transform, opacity;
  height: 100%;
  user-select: none;
}
.carousel__slide--active { z-index: 5; }
.carousel__slide--active .card { box-shadow: var(--shadow-lg), 0 0 0 1px var(--line-ember), 0 0 50px rgba(0,229,255,0.12); border-color: var(--line-ember); }

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;   /* above every card (slides are flex items & honor z-index) */
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(10,11,16, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  color: var(--ember);
  transition: border-color 0.35s ease, box-shadow 0.35s var(--ease), background 0.35s ease, transform 0.35s var(--ease-spring);
  box-shadow: var(--shadow-sm);
}
.carousel__arrow:hover { border-color: var(--ember); background: rgba(0,229,255, 0.10); box-shadow: var(--shadow-md), 0 0 18px rgba(0,229,255,0.18); }
.carousel__arrow--prev { left: 18px; }
.carousel__arrow--next { right: 18px; }
.carousel__arrow--prev:hover { transform: translateY(-50%) scale(1.08) translateX(-2px); }
.carousel__arrow--next:hover { transform: translateY(-50%) scale(1.08) translateX(2px); }
.carousel__arrow:active { transform: translateY(-50%) scale(0.93); transition-duration: 0.1s; }
.carousel__arrow svg { width: 20px; height: 20px; }
/* At the first / last event the matching arrow dims so "you can't go further" is visible, not silent. */
.carousel__arrow[disabled] { opacity: 0.28; pointer-events: none; box-shadow: var(--shadow-sm); }
.carousel__arrow[disabled]:hover { border-color: var(--line-strong); background: rgba(10,11,16, 0.75); transform: translateY(-50%); box-shadow: var(--shadow-sm); }

.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.carousel__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--char-3); border: none; transition: all 0.4s var(--ease); padding: 0; cursor: pointer; }
.carousel__dot:hover { background: var(--dust); transform: scale(1.2); }
.carousel__dot--active { background: var(--ember); box-shadow: var(--glow-ember); width: 26px; }

/* ── MARQUEE ────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0,229,255,0.05), rgba(255,45,149,0.03));
}
.marquee__track { display: flex; gap: 44px; animation: marqueeScroll 32s linear infinite; width: max-content; }
.marquee__item {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone);
  white-space: nowrap;
  display: flex; align-items: center; gap: 14px;
}
.marquee__item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--ember); }

/* ── MAP ────────────────────────────────────────────────── */
.map-container {
  position: relative;
  border: 1px solid var(--line-ember);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 40px rgba(0,229,255, 0.08);
  background: var(--ink-2);
}
.map-container img { width: 100%; display: block; }

.map-pin {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, opacity 0.3s ease;
  z-index: 5;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.6), 0 0 10px 1px currentColor;
}
.map-pin::after {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.map-pin:hover, .map-pin--active { transform: translate(-50%, -50%) scale(1.25); }
.map-pin:hover::after, .map-pin--active::after { opacity: 0.7; }
.map-pin--dimmed { opacity: 0.18; }

.map-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--char-2);
  border: 1px solid var(--line-ember);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 20;
  box-shadow: var(--shadow-md);
}
.map-pin:hover .map-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
.map-tooltip__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.95rem; color: var(--bone); margin-bottom: 2px; }
.map-tooltip__desc { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--sand); }

.pin-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pin-legend__item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--sand);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-spring), color 0.3s ease;
}
.pin-legend__item:hover { border-color: var(--line-ember); background: rgba(0,229,255,0.05); transform: translateY(-1px); color: var(--bone); }
.pin-legend__dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 8px currentColor; }

/* ── PRODUCT GRID ───────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }

.product-card {
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.4s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-ember); }

.product-card__images { position: relative; aspect-ratio: 1; background: var(--ink-2); overflow: hidden; }
.product-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s ease, transform 1.2s var(--ease-out); }
.product-card__img--alt { opacity: 0; }
.product-card:hover .product-card__img--primary { opacity: 0; }
.product-card:hover .product-card__img--alt { opacity: 1; }

.product-card__ribbon {
  position: absolute;
  top: 18px; right: -34px;
  background: var(--grad-fire);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 40px;
  transform: rotate(45deg);
  z-index: 5;
  box-shadow: var(--shadow-sm);
}
.product-card__body { padding: 18px; }
.product-card__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; line-height: 1; margin-bottom: 8px; }
.product-card__price { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; color: var(--ember); margin-bottom: 12px; }
.product-card__price--sold { color: var(--hot); text-decoration: line-through; font-size: 0.85rem; }

.size-chips { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.size-chip {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 700;
  color: var(--sand);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease-spring);
  cursor: pointer;
}
.size-chip:hover, .size-chip--active { border-color: var(--ember); color: var(--ember); background: rgba(0,229,255, 0.08); transform: scale(1.08); }
.size-chip:active { transform: scale(0.95); transition-duration: 0.1s; }

.filter-bar {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: rgba(0,0,0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

/* ── LOGO GRIDS (sponsors / partners) ───────────────────── */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--gutter); }
.logo-card {
  aspect-ratio: 1;
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  transition: transform 0.45s var(--ease), border-color 0.4s ease, box-shadow 0.45s var(--ease);
}
.logo-card:hover { transform: translateY(-6px); border-color: var(--line-ember); box-shadow: var(--shadow-md); }
.logo-card img { filter: grayscale(1) brightness(0.75) sepia(0.2); transition: filter 0.4s ease; max-width: 80%; }
.logo-card:hover img { filter: grayscale(0) brightness(1); }

.logo-card--placeholder {
  border-style: dashed;
  border-color: var(--line-ember);
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.logo-card--placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(0,229,255, 0.06) 50%, transparent 60%);
  background-size: 200% 200%;
  animation: shimmer 3.5s ease-in-out infinite;
}
.logo-card--placeholder svg { width: 30px; height: 30px; color: var(--ember); opacity: 0.7; }
.logo-card--placeholder span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--sand); text-align: center; }

/* 3D flip card */
.flip-card { perspective: 900px; aspect-ratio: 1; }
.flip-card__inner { position: relative; width: 100%; height: 100%; transition: transform 0.65s var(--ease); transform-style: preserve-3d; }
.flip-card:hover .flip-card__inner, .flip-card:focus-within .flip-card__inner { transform: rotateY(180deg); }
.flip-card__front, .flip-card__back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.flip-card__front { background: var(--char); }
.flip-card__back {
  background: var(--char-2);
  transform: rotateY(180deg);
  flex-direction: column;
  gap: 8px;
  text-align: center;
  border-color: var(--line-ember);
}
.flip-card__back-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; color: var(--ember); }
.flip-card__back-desc { font-size: 0.85rem; color: var(--sand); line-height: 1.5; }

/* ── COUNTER CARDS ──────────────────────────────────────── */
.counter-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.counter-card {
  text-align: center;
  padding: 44px 24px;
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.counter-card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-fire);
  opacity: 0.85;
}
.counter-card__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--bone);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.counter-card__label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember); margin-top: 12px; }

/* ── TIERS ──────────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); align-items: stretch; }
.tier {
  padding: 36px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--char);
  text-align: center;
  transition: transform 0.45s var(--ease), border-color 0.4s ease, box-shadow 0.45s var(--ease);
  position: relative;
}
.tier:hover { border-color: var(--line-ember); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tier__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; color: var(--bone); margin-bottom: 8px; }
.tier--highlight { border-color: var(--ember); background: linear-gradient(180deg, rgba(0,229,255,0.08), var(--char) 60%); }
.tier--highlight .tier__name { color: var(--ember); }
.tier__features { text-align: left; margin-top: 20px; }
.tier__feature { font-family: var(--font-body); font-size: 0.9rem; color: var(--sand); padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.tier__feature svg { width: 15px; height: 15px; color: var(--ember); flex-shrink: 0; }

/* ── VENDOR GRID ────────────────────────────────────────── */
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--gutter); }
.vendor-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--char);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.4s ease;
}
.vendor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-ember); }
.vendor-card__image { aspect-ratio: 4/3; background: var(--ink-2); overflow: hidden; }
.vendor-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.vendor-card:hover .vendor-card__image img { transform: scale(1.05); }
.vendor-card__body { padding: 18px; }
.vendor-card__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.vendor-card:hover .vendor-card__overlay { opacity: 1; }

/* ── MANIFESTO (editorial serif) ────────────────────────── */
.manifesto { position: relative; text-align: center; max-width: 920px; margin: 0 auto; padding: 40px 24px; }
.manifesto__quote-mark {
  font-family: var(--font-serif);
  font-size: 16rem;
  line-height: 0.5;
  color: var(--ember);
  opacity: 0.10;
  position: absolute;
  font-weight: 600;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.manifesto:hover .manifesto__quote-mark { opacity: 0.18; }
.manifesto__quote-mark--open { top: 6px; left: -8px; }
.manifesto__quote-mark--close { bottom: -64px; right: -8px; transform: rotate(180deg); }

.manifesto__text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.3vw, 2.5rem);
  line-height: 1.45;
  color: var(--bone);
  letter-spacing: -0.01em;
  max-width: none;
}
.manifesto__highlight {
  position: relative;
  display: inline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08em;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ember);
}
.manifesto__highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0;
  width: 0; height: 3px;
  background: var(--grad-fire);
  transition: width 0.8s var(--ease);
}
.manifesto__highlight--visible::after { width: 100%; }
.manifesto__payoff {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 44px;
  letter-spacing: 0.01em;
}

/* ── TIMELINE (Four Days) ───────────────────────────────── */
.timeline { position: relative; overflow: hidden; }
.timeline__track { display: flex; transition: transform 0.6s var(--ease); }
.timeline__day { flex: 0 0 100%; min-height: 56vh; display: flex; align-items: center; padding: 0 var(--gutter); }
.timeline__day-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: var(--grid-max);
  margin: 0 auto;
  width: 100%;
}
.timeline__day-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  position: relative;
}
.timeline__day-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4));
  pointer-events: none;
}
.timeline__day-image img { width: 100%; height: 100%; object-fit: cover; }
.timeline__day-content { padding: 24px 0; }
.timeline__day-date {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: 0.9;
  margin-bottom: 10px;
  color: var(--ember);
}
.timeline__day-label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
}
.timeline__day-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--sand);
  max-width: 52ch;
}
.timeline__nav { display: flex; justify-content: center; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.timeline__nav-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--sand);
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease, transform 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}
.timeline__nav-btn--active { border-color: var(--ember); color: var(--ember); background: rgba(0,229,255, 0.07); }
.timeline__nav-btn:hover { border-color: var(--line-ember); color: var(--bone); transform: translateY(-1px); }
.timeline__nav-btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.1s; }

/* ── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: var(--grad-fire);
  background-size: 180% 180%;
  animation: gradientShift 14s ease-in-out infinite;
  padding: 76px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 120% at 50% -20%, rgba(255,255,255,0.18), transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4.5vw, 3.4rem); color: var(--ink); margin-bottom: 12px; line-height: 0.95; }
.cta-band__sub { font-family: var(--font-body); font-weight: 500; color: rgba(0,0,0, 0.72); font-size: 1.1rem; margin: 0 auto 28px; max-width: 56ch; }
.cta-band .btn { background: var(--ink); color: var(--bone); box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.3); }
.cta-band .btn::before { background: linear-gradient(105deg, transparent 20%, rgba(92,244,255,0.4) 50%, transparent 80%); }
.cta-band .btn:hover { background: #000000; box-shadow: var(--shadow-lg); transform: translateY(-3px) scale(1.02); color: var(--bone); }
.cta-band__stats {
  display: flex; justify-content: center; gap: 36px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0, 0.62);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 80px 0 0; background: var(--ink-2); position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.6fr; gap: 52px; padding-bottom: 48px; }
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer__tagline { font-family: var(--font-body); font-weight: 400; font-size: 0.98rem; color: var(--sand); margin-bottom: 18px; }
.footer__ig-link { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ember); transition: color 0.3s ease, transform 0.3s var(--ease); }
.footer__ig-link:hover { color: var(--flame); transform: translateX(3px); }
.footer__heading { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dust); margin-bottom: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link { font-family: var(--font-body); font-size: 0.92rem; color: var(--sand); transition: color 0.3s ease, transform 0.3s var(--ease); display: inline-block; width: fit-content; }
.footer__link:hover { color: var(--ember); transform: translateX(4px); }
.footer__founder { margin-bottom: 16px; }
.footer__founder-role { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dust); margin-bottom: 4px; }
.footer__founder-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; line-height: 1; }
.footer__founder-name a { color: var(--ember); transition: color 0.3s ease; }
.footer__founder-name a:hover { color: var(--flame); }
.footer__founder-email { font-size: 0.82rem; color: var(--dust); margin-top: 3px; }
.footer__founder-email a { color: var(--sand); transition: color 0.3s ease; }
.footer__founder-email a:hover { color: var(--ember); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--dust);
}
.footer__ribbon { background: var(--ink); border-top: 1px solid var(--line); padding: 14px 0; text-align: center; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--dust); }
.footer__ribbon a { color: var(--ember); }
.footer__ribbon-powered { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--sand); }

/* ── ICON CARDS ─────────────────────────────────────────── */
.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.icon-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--char);
  transition: transform 0.45s var(--ease), border-color 0.4s ease, box-shadow 0.45s var(--ease);
}
.icon-card:hover { border-color: var(--line-ember); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.icon-card__icon {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  color: var(--ember);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-ember);
  border-radius: var(--radius);
  background: rgba(0,229,255,0.06);
}
.icon-card__icon svg { width: 26px; height: 26px; }
.icon-card__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; margin-bottom: 10px; }
.icon-card__desc { font-family: var(--font-body); font-weight: 400; font-size: 0.95rem; line-height: 1.65; color: var(--sand); }

/* ── CART FAB ───────────────────────────────────────────── */
.cart-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 100;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--grad-fire);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md), var(--glow-ember);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease);
}
.cart-fab:hover { transform: scale(1.1) translateY(-2px); box-shadow: var(--shadow-lg), var(--glow-ember-strong); }
.cart-fab:active { transform: scale(0.93); transition-duration: 0.1s; }
.cart-fab svg { width: 24px; height: 24px; color: var(--ink); }
.cart-fab__badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 21px; height: 21px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--ember);
  border: 1.5px solid var(--ember);
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
}
.cart-fab__badge--bounce { animation: badgeBounce 0.4s var(--ease); }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal { opacity: 1; transform: translateY(0); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js-ready .reveal { opacity: 0; transform: translateY(28px); }
html.js-ready .reveal--visible, .reveal--visible { opacity: 1; transform: translateY(0); }

.reveal-letter { display: inline-block; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
html.js-ready .reveal-letter { opacity: 0; transform: translateY(0.4em) rotate(3deg); }
html.js-ready .reveal-letter--visible, .reveal-letter--visible { opacity: 1; transform: translateY(0) rotate(0); }
.reveal-letter--space { width: 0.28em; }

/* ── PROSE ACCENT (legacy util — now solid & readable) ──── */
.prose-accent { font-family: var(--font-body); font-weight: 400; line-height: 1.7; color: var(--sand); }
.prose-accent--lg { font-size: clamp(1.05rem, 1.8vw, 1.3rem); }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes emberFlicker {
  0%, 100% { text-shadow: 0 0 18px rgba(0,229,255, 0.30), 0 0 60px rgba(0,229,255, 0.10); }
  45%      { text-shadow: 0 0 26px rgba(0,229,255, 0.45), 0 0 90px rgba(92,244,255, 0.18); }
  60%      { text-shadow: 0 0 14px rgba(0,229,255, 0.26), 0 0 50px rgba(0,229,255, 0.08); }
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}
@keyframes flipNumber {
  0%   { transform: rotateX(0); }
  50%  { transform: rotateX(-90deg); opacity: 0.4; }
  100% { transform: rotateX(0); }
}
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes badgeBounce { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes particleDrift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(14px, -26px); }
  50%  { transform: translate(-8px, -52px); }
  75%  { transform: translate(18px, -78px); }
  100% { transform: translate(0, -104px); }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-gap: 96px; }
  .nav__links { display: none; }
  .nav__ig.desktop-only { display: none; }
  .nav__hamburger { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .counter-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tiers { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .icon-cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .carousel__track { --card-w: 320px; }
  .timeline__day-inner { grid-template-columns: 1fr; gap: 28px; }
  .timeline__day-image { max-height: 320px; }
}
@media (max-width: 768px) {
  :root { --section-gap: 76px; --gutter: 18px; }
  h1 { font-size: clamp(2rem, 11vw, 3.4rem); }
  .hero--sub .hero__title { font-size: clamp(1.9rem, 9.5vw, 3rem); }
  .product-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .counter-row { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel__track { --card-w: 84vw; gap: 14px; padding: 40px calc(50% - (var(--card-w) / 2)); }
  .carousel__arrow { width: 44px; height: 44px; }
  .carousel__arrow--prev { left: 6px; }
  .carousel__arrow--next { right: 6px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-band__stats { flex-direction: column; gap: 8px; }
  .hero__ctas { gap: 12px; }
  .hero__ctas .btn { width: 100%; max-width: 340px; }
  .countdown { gap: 10px; }
  .countdown__card { min-width: 72px; padding: 18px 12px; }
  .pin-legend { grid-template-columns: 1fr; }
  .manifesto__quote-mark { font-size: 9rem; }
  .manifesto__quote-mark--close { bottom: -36px; }
}
@media (max-width: 480px) {
  .countdown__card { min-width: 64px; padding: 14px 8px; }
  .countdown__number { font-size: 2rem; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
}

/* ── ACCESSIBILITY ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .parallax-layer { transform: none !important; }
  .reveal, .reveal-letter { opacity: 1 !important; transform: none !important; }
  .hero__title--glow { animation: none; text-shadow: 0 0 18px rgba(0,229,255, 0.30); }
  .marquee__track, .cta-band { animation: none; }
  html { scroll-behavior: auto; }
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.desktop-only { }
@media (max-width: 1024px) { .desktop-only { display: none !important; } }
