/* COGE — Gold Seal Theater */
:root {
  --ink: #0a0805;
  --ink-2: #14100a;
  --ink-3: #1e1810;
  --gold: #f5c84a;
  --gold-2: #ffe08a;
  --gold-3: #c9a227;
  --gold-dim: #a88428;
  --cream: #fff6e4;
  --mute: #d4c4a0;
  --red: #ff2d36;
  --red-hot: #ff5555;
  --line: rgba(245, 200, 74, 0.32);
  --frost: rgba(10, 8, 5, 0.82);
  --surface: #241c12;
  --surface-2: #2e2418;
  --shadow: 4px 4px 0 #000;
  --radius: 18px;
  --nav-h: 68px;
  --font-display: 'Anton', 'Black Ops One', Impact, sans-serif;
  --font-ops: 'Black Ops One', 'Anton', sans-serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
code { font-family: var(--font-mono); font-size: 0.9em; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #000; padding: 8px 12px; z-index: 9999;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.accent { color: var(--red); text-shadow: 3px 3px 0 #000; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow .ico { color: var(--gold-2); }

.sec-head { margin-bottom: 40px; max-width: 720px; position: relative; z-index: 1; }
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.95; letter-spacing: 0.02em;
  text-transform: uppercase; margin: 0 0 12px;
  color: var(--cream);
  text-shadow: 4px 4px 0 #000, 0 0 40px rgba(245,200,74,0.25);
}
.sec-sub { color: var(--mute); margin: 0; font-size: 1.08rem; max-width: 52ch; font-weight: 500; }

.section {
  padding: 100px 0; position: relative; overflow: hidden;
  background: var(--ink-2);
}
.section::before {
  content: '';
  position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  z-index: 1;
}
.section::after {
  content: '';
  position: absolute; pointer-events: none; z-index: 0;
  width: 70%; height: 70%;
  left: -10%; top: -20%;
  background: radial-gradient(ellipse at center, rgba(245,200,74,0.14), transparent 65%);
}
.section > .wrap { position: relative; z-index: 1; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 22px;
  background: var(--frost);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-seal {
  width: 40px; height: 40px; border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(240,193,75,0.45));
  animation: sealPulse 3.5s ease-in-out infinite;
}
@keyframes sealPulse {
  0%,100% { filter: drop-shadow(0 0 8px rgba(240,193,75,0.35)); }
  50% { filter: drop-shadow(0 0 18px rgba(240,193,75,0.7)); }
}
.nav-word { display: flex; flex-direction: column; line-height: 1.05; }
.nav-word b { font-family: var(--font-display); letter-spacing: 0.04em; font-size: 15px; color: var(--cream); }
.nav-word em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--gold); }

.nav-links { display: flex; gap: 18px; margin-left: 18px; }
.nav-links a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mute); transition: color .2s;
}
.nav-links a:hover { color: var(--gold-2); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; padding: 8px; color: var(--gold); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  background: var(--ink-3); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px;
  transition: border-color .2s, transform .15s;
}
.chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px var(--gold);
  animation: blink 1.6s infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }
.chip-label { color: var(--mute); }
.chip code { color: var(--gold-2); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip.live .chip-dot { background: #2dff8a; box-shadow: 0 0 8px #2dff8a; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 12px;
  font-family: var(--font-display); letter-spacing: 0.04em; text-transform: uppercase;
  font-size: 15px; border: 2px solid #000;
  box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
.btn-primary, .btn-buy {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #120e05;
}
.btn-buy { padding: 10px 14px; font-size: 14px; }
.pump-icon {
  width: 18px; height: 18px; flex: none; display: block;
  background: #15161b; border-radius: 5px; padding: 1px;
}
.btn-buy .pump-icon { width: 16px; height: 16px; }
.btn-tag {
  background: var(--red); color: #fff; font-family: var(--font-mono);
  font-size: 10px; padding: 2px 6px; border-radius: 6px; letter-spacing: 0.06em;
  box-shadow: 1px 1px 0 #000;
}
.btn-ghost {
  background: transparent; color: var(--cream);
  border-color: var(--gold-dim); box-shadow: 3px 3px 0 rgba(0,0,0,0.6);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(240,193,75,0.08); }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* ===== MARQUEES ===== */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--ink-2); padding: 10px 0;
}
.marquee-a { background: linear-gradient(90deg, #1a1206, #0e0b07 40%, #1a1206); }
.marquee-b { background: var(--red); border-color: #000; }
.marquee-b .marquee-track { color: #fff; font-size: 13px; }
.marquee-track {
  display: flex; gap: 18px; width: max-content;
  font-family: var(--font-display); letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 14px; color: var(--gold);
  animation: marquee 32s linear infinite;
}
.marquee-track.reverse { animation-direction: reverse; animation-duration: 38s; color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - 42px);
  display: grid; place-items: center;
  padding: 40px 20px 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(240,193,75,0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(230,35,44,0.08), transparent 50%),
    var(--ink);
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(7,6,4,0.55) 75%, rgba(7,6,4,0.92) 100%),
    linear-gradient(180deg, transparent 60%, var(--ink) 100%);
}
.hero-sparks {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,217,120,0.9), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 70% 15%, rgba(240,193,75,0.85), transparent),
    radial-gradient(1px 1px at 85% 45%, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 50% 80%, rgba(255,217,120,0.7), transparent),
    radial-gradient(1px 1px at 15% 85%, rgba(240,193,75,0.6), transparent),
    radial-gradient(1px 1px at 92% 75%, rgba(255,255,255,0.5), transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: 0.55; } }

.hero-copy {
  position: relative; z-index: 2;
  width: min(640px, 100%);
  text-align: left;
  margin-right: auto;
  margin-left: clamp(0px, 4vw, 60px);
  padding: 18px 20px 18px 16px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 100% 90% at 15% 40%, rgba(10,8,5,0.72), rgba(10,8,5,0.2) 55%, transparent 75%),
    linear-gradient(90deg, rgba(20,14,6,0.55), transparent 85%);
  box-shadow: 0 0 80px rgba(245,200,74,0.08);
}
.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 92px);
  line-height: 0.9; letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff8ec;
}
.h-line { display: block; text-shadow: 5px 5px 0 #000, 0 0 28px rgba(245,200,74,0.35); }
.h-outline {
  -webkit-text-stroke: 1.5px var(--gold-2);
  color: rgba(255,248,236,0.08);
  text-shadow: none;
  filter: drop-shadow(4px 4px 0 #000) drop-shadow(0 0 18px rgba(245,200,74,0.35));
}
.lede {
  color: #e8dcc4; font-size: 1.1rem; max-width: 42ch; margin: 0 0 26px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.lede strong { color: #fff8ec; }
.lede em { color: var(--gold-2); font-style: italic; font-family: var(--font-serif); font-size: 1.15em; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.meta-pill {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(36,28,18,0.88); border: 1px solid rgba(245,200,74,0.4);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.meta-pill span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--mute); }
.meta-pill b { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.04em; color: var(--gold-2); }
.meta-pill.sealed b { color: var(--red-hot); }

.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--gold-dim); animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ===== MANIFESTO ===== */
.manifesto {
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(245,200,74,0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(255,45,54,0.08), transparent 50%),
    linear-gradient(180deg, #1a140c 0%, #100c08 100%);
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px 36px;
  align-items: start;
  margin-bottom: 28px;
}
.about-layout .sec-head { margin-bottom: 0; }
.about-layout .sec-sub + .sec-sub { margin-top: 10px; }
.beats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.beat {
  position: relative;
  padding: 28px 22px;
  background: linear-gradient(165deg, #3a2e1c 0%, #221a10 55%, #18120c 100%);
  border: 1px solid rgba(245,200,74,0.4);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,224,138,0.12);
  transition: transform .25s, border-color .25s;
}
.beat:hover { transform: translateY(-6px) rotate(-0.5deg); border-color: var(--gold-2); }
.beat-num {
  font-family: var(--font-ops); font-size: 28px; color: var(--red-hot);
  text-shadow: 2px 2px 0 #000; display: block; margin-bottom: 12px;
}
.beat h3 {
  font-family: var(--font-display); font-size: 22px; margin: 0 0 10px;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--cream);
}
.beat p { margin: 0; color: var(--mute); font-size: 0.98rem; }

/* ===== GALLERY BENTO ===== */
.gallery {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(245,200,74,0.12), transparent 55%),
    linear-gradient(180deg, #120e08, #0a0805 40%, #120e08);
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 14px;
}
.card {
  position: relative;
  grid-column: span 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  transform: perspective(800px) rotateX(0) rotateY(0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s;
  cursor: pointer;
}
.card:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.card:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.card:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.card:nth-child(4) { grid-column: span 3; }
.card:nth-child(5) { grid-column: span 4; }
.card:nth-child(6) { grid-column: span 5; }
.card:nth-child(7) { grid-column: span 6; }
.card:nth-child(8) { grid-column: span 6; }

.card:hover {
  transform: perspective(800px) rotateX(2deg) rotateY(-3deg) translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 24px 50px rgba(240,193,75,0.15), 0 16px 40px rgba(0,0,0,0.5);
  z-index: 2;
}
.card img {
  width: 100%; height: 100%; object-fit: cover; min-height: 200px;
  transition: transform .5s ease;
}
.card:hover img { transform: scale(1.05); }
.card-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.card-overlay h3 {
  margin: 0; font-family: var(--font-display); font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.03em; text-transform: uppercase; color: #fff8ec;
  text-shadow: 2px 2px 0 #000, 0 0 12px rgba(245,200,74,0.35);
}
.card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.card-actions a, .card-actions button {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(240,193,75,0.15); border: 1px solid var(--line);
  color: var(--gold-2); transition: background .2s;
}
.card-actions a:hover, .card-actions button:hover { background: var(--gold); color: #000; }

/* ===== STAMP TOY ===== */
.stamp-toy {
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(245,200,74,0.18), transparent 60%),
    linear-gradient(180deg, #1c140c, #120c08);
}
.stamp-toy .toy-copy h2 { color: var(--cream); }
.stamp-toy .toy-copy p { color: var(--mute); }
.toy-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
}
.toy-stage {
  position: relative; min-height: 340px;
  border-radius: 24px; border: 1px dashed var(--gold-dim);
  background:
    radial-gradient(circle at 50% 40%, rgba(245,200,74,0.22), transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(245,200,74,0.07) 25px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(245,200,74,0.07) 25px),
    #1a140c;
  display: grid; place-items: center; overflow: hidden;
}
.toy-seal {
  filter: drop-shadow(0 10px 30px rgba(240,193,75,0.35));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-10px); } }
.toy-hint { position: absolute; bottom: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--mute); letter-spacing: 0.1em; }
.toy-note { margin-top: 16px; color: var(--mute); font-family: var(--font-mono); font-size: 13px; }
.stamp-mark {
  position: absolute; width: 110px; height: 110px; pointer-events: none;
  opacity: 0; transform: scale(1.4) rotate(-12deg);
  animation: stampIn .45s cubic-bezier(.2,1.4,.3,1) forwards;
}
@keyframes stampIn {
  40% { opacity: 1; transform: scale(0.92) rotate(-8deg); }
  100% { opacity: 0.85; transform: scale(1) rotate(-6deg); }
}

/* ===== HOWTO ===== */
.howto {
  background:
    radial-gradient(ellipse 70% 55% at 20% 10%, rgba(245,200,74,0.15), transparent 55%),
    linear-gradient(180deg, #16110a, #0e0b07);
}
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 22px; border-radius: var(--radius);
  background: linear-gradient(135deg, #342818, #1e1810);
  border: 1px solid rgba(245,200,74,0.38);
  box-shadow: inset 0 1px 0 rgba(255,224,138,0.1);
  transition: border-color .2s, transform .2s;
}
.step:hover { border-color: var(--gold-2); transform: translateX(4px); }
.step-n {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-ops); font-size: 22px; color: #120e05;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 3px 3px 0 #000; border: 2px solid #000;
}
.step h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 22px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--cream); }
.step p { margin: 0; color: var(--mute); }
.howto-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== CHART ===== */
.chart {
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(245,200,74,0.14), transparent 60%),
    linear-gradient(180deg, #1a140c, #100c08);
}
.chart-frame {
  border-radius: 20px; border: 1px solid rgba(245,200,74,0.4); overflow: hidden;
  background: linear-gradient(180deg, #2a2116, #16110a); min-height: 420px;
  box-shadow: 0 0 60px rgba(245,200,74,0.08);
}
.chart-frame iframe { width: 100%; height: 480px; border: 0; display: block; }
.chart-placeholder {
  min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 40px;
  background: radial-gradient(circle at 50% 40%, rgba(245,200,74,0.18), transparent 55%);
}
.chart-placeholder img { filter: drop-shadow(0 0 28px rgba(245,200,74,0.55)); }
.chart-placeholder h3 { margin: 0; font-family: var(--font-display); font-size: 32px; letter-spacing: 0.04em; color: var(--cream); text-shadow: 3px 3px 0 #000; }
.chart-placeholder p { margin: 0; color: var(--mute); max-width: 36ch; }
.badge {
  margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--red);
  color: var(--red-hot); background: rgba(255,45,54,0.18);
}

/* ===== COMMUNITY ===== */
.tweet-view { margin: 0; }
.tweet-frame {
  max-width: 550px;
  min-height: 280px;
  border-radius: 16px;
  border: 1px solid rgba(245,200,74,0.28);
  background: #0e0c09;
  overflow: hidden;
}
.tweet-frame .twitter-tweet { margin: 0 !important; }
.community {
  background:
    radial-gradient(ellipse 55% 45% at 80% 20%, rgba(255,45,54,0.1), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(245,200,74,0.12), transparent 55%),
    linear-gradient(180deg, #14100a, #0c0a06);
}
.community-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start;
}
.community h2 { color: var(--cream); }
.socials { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.social {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(135deg, #342818, #1e1810);
  border: 1px solid rgba(245,200,74,0.38);
  font-family: var(--font-display); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--cream);
  transition: border-color .2s, transform .15s;
}
.social:hover { border-color: var(--gold-2); transform: translateX(4px); }
.social[aria-disabled="true"] { opacity: 0.7; pointer-events: none; }
.disclaimer-card {
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, #3a2018, #1a100c);
  border: 1px solid rgba(255,45,54,0.5);
  box-shadow: 0 0 40px rgba(255,45,54,0.08);
}
.disclaimer-card h3 {
  margin: 0 0 12px; font-family: var(--font-display); color: var(--red-hot);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.disclaimer-card p { margin: 0; color: #e8dcc4; font-size: 0.95rem; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(245,200,74,0.45);
  padding: 48px 0 60px;
  background:
    radial-gradient(ellipse 80% 90% at 40% 20%, rgba(245,200,74,0.2), transparent 55%),
    linear-gradient(180deg, #1e1810, #12100a);
}
.footer-inner {
  padding: 28px 28px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(52,40,24,0.85), rgba(30,24,16,0.7));
  border: 1px solid rgba(245,200,74,0.35);
  box-shadow: inset 0 1px 0 rgba(255,224,138,0.1);
}
.footer-inner { display: grid; gap: 16px; justify-items: start; /* surface set above */ }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { filter: drop-shadow(0 0 14px rgba(245,200,74,0.55)); }
.footer-brand b { display: block; font-family: var(--font-display); letter-spacing: 0.05em; color: var(--cream); }
.footer-brand span { font-family: var(--font-mono); font-size: 12px; color: var(--gold-2); }
.footer-note { margin: 0; color: var(--mute); max-width: 50ch; }
.footer-copy { margin: 0; font-family: var(--font-mono); font-size: 12px; color: #b8a478; }

/* ===== LIGHTBOX ===== */
.lightbox {
  border: 0; padding: 0; max-width: min(920px, 94vw);
  background: #0a0805; color: var(--cream);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px var(--line);
}
.lightbox::backdrop { background: rgba(0,0,0,0.8); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 70vh; object-fit: contain; background: #000; }
.lb-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: #fff; display: grid; place-items: center;
}
.lb-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; border-top: 1px solid var(--line);
}
.lb-bar p { margin: 0; font-family: var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; }
.lb-actions { display: flex; gap: 8px; }

/* ===== MOBILE DRAWER ===== */
.mobile-drawer {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 20px 24px;
  background: rgba(7,6,4,0.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.mobile-drawer[hidden] { display: none !important; }
.mobile-drawer a {
  padding: 12px 8px; font-family: var(--font-display); letter-spacing: 0.05em;
  text-transform: uppercase; border-bottom: 1px solid var(--line);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .about-layout { grid-template-columns: 1fr; }
  .beats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .card, .card:nth-child(n) { grid-column: span 3; grid-row: span 1; }
  .card:nth-child(1) { grid-column: span 6; }
  .toy-grid, .community-grid { grid-template-columns: 1fr; }
  .hero-copy { margin-left: 0; text-align: center; }
  .hero-cta, .hero-meta { justify-content: center; }
  .lede { margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .ca-chip { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-actions { margin-left: 0; }
  .beats { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .card, .card:nth-child(n) { grid-column: span 1; }
  .section { padding: 72px 0; }
  .hero {
    min-height: auto;
    padding: 0 16px 72px;
    display: flex; flex-direction: column; align-items: center;
  }
  #heroCanvas {
    position: relative; inset: auto;
    width: 100%; height: 42vh; min-height: 280px; max-height: 380px;
    order: -1;
  }
  .hero-vignette, .hero-sparks {
    position: absolute; inset: 0; height: 48%;
  }
  .hero-copy {
    position: relative; z-index: 2;
    margin: -24px 0 0; padding-top: 8px;
    text-align: center;
  }
  .scroll-cue { position: relative; left: auto; transform: none; margin-top: 28px; animation: none; }
  .h-outline { -webkit-text-stroke-width: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-seal, .toy-seal, .scroll-cue, .hero-sparks { animation: none !important; }
  .card:hover, .beat:hover { transform: none; }
}
