/* ══════════════════════════════════════════════════════════════
   NOLA — The Arbitrum Cat · magic × technology × crypto
   ══════════════════════════════════════════════════════════════ */

:root {
  --ink: #f2f6ff;
  --muted: rgba(226, 235, 255, 0.64);
  --arb: #12aaff;
  --royal: #2b4bff;
  --portal-glow: rgba(74, 125, 255, 0.55);
  --orange: #ff9033;
  --eye: #35e05a;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.14);
  --font-display: 'Archivo', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --pad-x: clamp(20px, 3.4vw, 44px);
  /* one vertical rhythm for every section, head and footer */
  --section-y: clamp(90px, 11vh, 140px);
  --head-gap: clamp(34px, 5vh, 54px);
  /* one full-width grid: nav, hero and every section stretch edge to edge,
     sharing the same side gutters (cashcat-style) */
  --container: 100%;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  /* one seamless black canvas, same as the hero scene — the star field
     (#magic-canvas) is the only ambient effect on top of it */
  background: #000;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* both elements: with overflow-x set on <html>, body's overflow no longer
   propagates to the viewport, so the page would still scroll while locked */
html.locked, body.locked { overflow: hidden; }

::selection { background: rgba(74, 125, 255, 0.35); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── ambient canvas ─────────────────────────────────────────── */
#magic-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}

/* ── scroll progress ────────────────────────────────────────── */
.spell-path {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(255, 255, 255, 0.06); z-index: 90;
}
.spell-path__fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--royal), var(--arb) 60%, var(--orange));
  box-shadow: 0 0 12px var(--portal-glow);
}

/* shared spin/pulse keyframes (portal rings, swirls) */
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-pulse { 0%,100% { opacity: .8; transform: scale(1) } 50% { opacity: 1; transform: scale(1.08) } }

/* ══ INTRO PORTAL ═══════════════════════════════════════════── */
#intro {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  background: #000;
  transition: opacity 550ms ease 80ms, visibility 0s linear 700ms;
}
#intro.gone { opacity: 0; visibility: hidden; pointer-events: none; }

.intro__stars {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.intro__stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #9fb6e8; opacity: .3;
  animation: star-tw 3s ease-in-out infinite;
}
@keyframes star-tw { 0%,100% { opacity:.25; transform:scale(.8)} 50% { opacity:.9; transform:scale(1.15)} }

.intro__door-wrap {
  position: relative;
  /* sized to match the door inside the 16:9 video frame (≈91% of the
     contain-fitted frame height) so the photo→frame cross-fade is seamless */
  height: min(91vh, 51.2vw);
  max-width: 92vw;
  aspect-ratio: 834 / 1050;
  cursor: pointer;
  transform-origin: 50% 56%;
  animation: door-float 5s ease-in-out infinite;
  will-change: transform;
  transition: filter .4s ease;
}
.intro__door-wrap:hover { filter: brightness(1.12); }
@keyframes door-float { 0%,100% { transform: translateY(0)} 50% { transform: translateY(-12px)} }

.intro__door { width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 90px rgba(43, 90, 255, 0.35));
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 52%, #000 60%, transparent 92%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 52%, #000 60%, transparent 92%); }

.intro__swirl {
  position: absolute; left: 50%; top: 56%;
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, transparent 0 40deg, rgba(120, 165, 255, .5) 90deg, transparent 140deg,
     rgba(18, 170, 255, .45) 200deg, transparent 260deg, rgba(160, 190, 255, .4) 320deg, transparent 360deg);
  filter: blur(10px);
  mix-blend-mode: screen;
  animation: orb-spin 6s linear infinite;
  opacity: .6;
  pointer-events: none;
}

/* the instruction sits in the same speech bubble the cat uses elsewhere,
   floating over the lower half of the portal */
.intro__hint {
  position: absolute; left: 50%; top: 63%; z-index: 6;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 12px 20px; border-radius: 16px;
  background: rgba(8, 14, 30, .82);
  border: 1px solid rgba(160, 195, 255, .32);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .6), 0 0 26px rgba(74, 125, 255, .25);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: #eaf1ff; white-space: nowrap;
  animation: hint-float 3.4s ease-in-out infinite;
}
.intro__hint::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; margin-left: -5.5px;
  width: 11px; height: 11px; background: rgba(8, 14, 30, .82);
  border-right: 1px solid rgba(160, 195, 255, .32);
  border-bottom: 1px solid rgba(160, 195, 255, .32);
  transform: rotate(45deg);
}
.intro__hint strong { color: #fff; font-weight: 500; }
.intro__hint span { font-size: 9.5px; letter-spacing: .16em; color: rgba(226, 235, 255, .58); }
@keyframes hint-float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -6px); }
}


/* zoom-into-the-portal sequence: sucked in + spun through a spiral tunnel */
#intro.zooming .intro__door-wrap {
  animation: door-suck 2000ms cubic-bezier(.55, 0, .85, .3) forwards;
  cursor: default;
}
@keyframes door-suck {
  0%   { transform: scale(1) rotate(0deg); filter: brightness(1) blur(0); }
  30%  { transform: scale(1.9) rotate(-8deg); filter: brightness(1.05) blur(0); }
  60%  { transform: scale(5.5) rotate(14deg); filter: brightness(1.15) blur(1px); }
  85%  { transform: scale(16) rotate(38deg); filter: brightness(1.4) blur(2.5px); }
  100% { transform: scale(34) rotate(65deg); filter: brightness(1.9) blur(4px); }
}
#intro.zooming .intro__swirl { opacity: 1; animation-duration: .55s; }
/* full-screen spiral wind while being sucked */
.intro__spin {
  position: absolute; inset: -40%; z-index: 4; pointer-events: none; opacity: 0;
  background: conic-gradient(from 0deg,
    transparent 0 30deg, rgba(90, 140, 255, .22) 60deg, transparent 100deg,
    rgba(18, 170, 255, .18) 150deg, transparent 200deg,
    rgba(150, 185, 255, .2) 260deg, transparent 310deg, transparent 360deg);
  filter: blur(12px);
  mix-blend-mode: screen;
}
#intro.zooming .intro__spin { animation: spin-wind 2000ms cubic-bezier(.6,0,.95,.35) forwards; }
@keyframes spin-wind {
  0%   { opacity: 0; transform: rotate(0deg) scale(1); }
  30%  { opacity: .75; }
  100% { opacity: 1; transform: rotate(680deg) scale(2.1); }
}
/* radial warp streaks — the tunnel */
.intro__streaks {
  position: absolute; inset: -25%; z-index: 4; pointer-events: none; opacity: 0;
  background: repeating-conic-gradient(from 8deg,
    transparent 0deg 9deg, rgba(140, 175, 255, .1) 10deg 11.5deg,
    transparent 12.5deg 21deg, rgba(18, 170, 255, .09) 22deg 23deg);
  -webkit-mask-image: radial-gradient(circle at 50% 56%, transparent 8%, #000 42%);
  mask-image: radial-gradient(circle at 50% 56%, transparent 8%, #000 42%);
  mix-blend-mode: screen;
}
#intro.zooming .intro__streaks { animation: streak-warp 2000ms cubic-bezier(.7,0,.95,.4) forwards; }
@keyframes streak-warp {
  0%   { opacity: 0; transform: rotate(0deg) scale(1); }
  40%  { opacity: .9; }
  100% { opacity: 1; transform: rotate(-540deg) scale(3); }
}
#intro.zooming .intro__hint { animation: none; opacity: 0; transition: opacity .3s ease; }

.intro__flash {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  /* fully opaque at peak — it must cover the whole screen so the cut from
     the vortex to the hero scene happens invisibly behind it. It sinks the
     screen into DARKNESS (not light): deep navy center fading to black */
  background: radial-gradient(circle at 50% 56%, #131f47 0%, #070c1d 46%, #02040a 100%);
  opacity: 0;
}
#intro.zooming .intro__flash { animation: flash-pop 2000ms ease forwards; }
@keyframes flash-pop {
  0%, 70% { opacity: 0; }
  92% { opacity: 1; }
  100% { opacity: 1; }
}
/* hero gets "thrown out of the portal" after the flash */

/* the fly-in video, scrubbed frame by frame with the scroll */
.intro__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 3; opacity: 0; transition: opacity .3s ease;
  pointer-events: none; /* taps go through to the door */
}
#intro.scrubbing .intro__canvas { opacity: 1; }
#intro.scrubbing .intro__door-wrap { opacity: 0; pointer-events: none; transition: opacity .35s ease; }
/* canvas-first intro: while JS runs, the photo placeholder is never shown —
   the first decoded video frame IS the opening shot (no size jump). The photo
   only returns as a fallback if the frames fail to load. */
#intro.js .intro__door-wrap { opacity: 0; transition: opacity .4s ease; }
#intro.ready .intro__canvas { opacity: 1; transition: opacity .6s ease; }
#intro.scrubbing .intro__hint { animation: none; opacity: 0; transition: opacity .3s ease; }
#intro.scrubbing .intro__stars { opacity: 0; transition: opacity .4s ease; }
#intro .intro__flash { z-index: 6; }

/* ══ NAVBAR — floating capsule, artificialinu-style ═════════── */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 80;
  width: min(var(--container), calc(100% - 20px));
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 10, 20, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(-50%) translateY(-160%);
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.nav.shown { transform: translateX(-50%) translateY(0); }

.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; padding-left: 4px; }
.nav__logo img { width: 36px; height: auto; filter: drop-shadow(0 2px 8px rgba(74,125,255,.5)); }
.nav__logo { flex: none; }
.nav__logo span { white-space: nowrap; }   /* the tagline never wraps under the name */
/* the wordmark is bigger now, so on a narrower desktop the tagline steps
   aside before it can crowd the status chip */
@media (max-width: 1300px) { .nav__logo em { display: none; } }
.nav__logo em { font-style: normal; font-family: var(--font-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }


.nav__links {
  display: flex; gap: 4px; margin-left: auto; margin-right: auto;
  padding: 4px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.nav__links a {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: .03em;
  padding: 9px 16px; border-radius: 999px;
  color: rgba(240, 245, 255, .72);
  transition: color .25s, background .25s;
}
.nav__links a:hover { color: #fff; }
.nav__links a.active { background: rgba(74, 125, 255, 0.2); color: #fff; }

.nav__links-foot { display: none; }

.nav__icon {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05);
  font-size: 15px; transition: background .25s, transform .25s;
}
.nav__icon:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-1px); }

.nav__cta { white-space: nowrap; cursor: pointer; font: inherit; }

/* ── buy popup: the Find $NOLA section, reachable from anywhere ──
   It lives outside <header> on purpose — the nav's backdrop-filter makes it a
   containing block, which would anchor a fixed child to the nav instead of
   the viewport. */
.buy-pop { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
/* an author `display` beats the browser's [hidden] rule, so say it here */
.buy-pop[hidden] { display: none; }
.buy-pop__scrim {
  position: absolute; inset: 0; background: rgba(2, 4, 10, .74);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: pop-fade .25s ease-out;
}
@keyframes pop-fade { from { opacity: 0 } to { opacity: 1 } }
.buy-pop__panel {
  position: relative; width: min(400px, 100%); max-height: calc(100vh - 40px);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 7px;
  padding: 26px 22px 20px;
  border: 1px solid var(--line); border-radius: 24px;
  background: rgba(9, 12, 22, 0.96);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .13);
  animation: pop-in .3s cubic-bezier(.2, .7, .2, 1);
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.buy-pop__close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; line-height: 1; font-size: 20px;
  display: grid; place-items: center; cursor: pointer;
  color: var(--muted); background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line); border-radius: 50%;
  transition: color .2s, background .2s;
}
.buy-pop__close:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.buy-pop__label {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em; color: var(--arb);
}
.buy-pop__title {
  font-family: var(--font-display); font-weight: 800; font-size: 30px;
  letter-spacing: -.02em; margin: 2px 0 4px;
}
.contract-chip--mini { margin: 4px 0 8px; padding: 5px 5px 5px 12px; gap: 8px; width: 100%; }
.contract-chip--mini code { font-size: 10.5px; max-width: none; flex: 1; min-width: 0; }
.contract-chip--mini .contract-chip__copy { font-size: 10px; padding: 7px 12px; }
.buy-pop__row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 14px;
  border: 1px solid transparent;
  transition: background .22s, border-color .22s, transform .22s;
}
.buy-pop__row img { width: 30px; height: 30px; border-radius: 9px; object-fit: contain;
  background: rgba(255, 255, 255, .05); }
.buy-pop__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.buy-pop__tag {
  margin-left: auto; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .16em; color: var(--muted);
}
.buy-pop__row:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(130, 175, 255, .38);
  transform: translateX(3px);
}
.buy-pop__row:hover .buy-pop__tag { color: var(--arb); }
.buy-pop__all {
  margin-top: 6px; padding-top: 14px; text-align: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  border-top: 1px solid var(--line);
  transition: color .22s;
}
.buy-pop__all:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .buy-pop__scrim, .buy-pop__panel { animation: none; }
}
.nav__burger { display: none; }

/* ── buttons & badges ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 13.5px;
  padding: 11px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .3s, box-shadow .3s, background .3s, border-color .3s;
}
.btn .chev { font-size: 16px; line-height: 1; transition: transform .3s; }
/* inline SVG arrows: segmented HUD glyph, crisp on every platform */
svg.chev { width: 1.05em; height: 1.05em; vertical-align: -.16em; }
.btn:hover .chev { transform: translateX(3px); }

.btn--solid {
  background: linear-gradient(135deg, var(--arb), var(--royal));
  color: #fff;
  box-shadow: 0 6px 24px rgba(43, 75, 255, 0.4);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(43, 75, 255, 0.55); }

.btn--ghost {
  background: rgba(16, 24, 48, 0.55); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn--ghost:hover { background: var(--glass-2); transform: translateY(-2px); }

/* badge = a terminal line booting up: thin rule → panel slides open →
   label types itself in → cursor keeps blinking */
.badge {
  position: relative; display: inline-block;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(240, 246, 255, .92);
  background: transparent;
  padding: 7px 12px 7px 14px; margin-bottom: 22px;
}
/* 1 · the rule draws itself down on the left */
.badge::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--arb); box-shadow: 0 0 10px rgba(18, 170, 255, .8);
  transform: scaleY(0); transform-origin: top center;
  transition: transform .26s ease-out;
}
.badge.typed::before { transform: scaleY(1); }
/* 2 · the translucent panel slides open out of that rule — arcane glass
   over a faint circuit scanline, with a spark sweep once it lands */
.badge__plate {
  position: absolute; left: 2px; right: 0; top: 0; bottom: 0; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, rgba(74, 125, 255, .26), rgba(18, 170, 255, .10) 62%, rgba(255, 144, 51, .07));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .34s cubic-bezier(.2, .7, .2, 1) .14s, box-shadow .5s ease .34s;
}
.badge__plate::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(180, 215, 255, .45), transparent);
  transform: translateX(-140%);
}
.badge.typed .badge__plate { transform: scaleX(1); box-shadow: 0 0 16px rgba(74, 125, 255, .22); }
.badge.typed .badge__plate::after { animation: badge-sweep .85s ease-out .46s 1; }
@keyframes badge-sweep {
  from { transform: translateX(-140%); }
  to { transform: translateX(320%); }
}
/* 3 · the label types itself in */
.badge__txt {
  position: relative; display: inline-block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .4s steps(20) .42s;
}
.badge.typed .badge__txt { clip-path: inset(0 0 0 0); }

/* ══ HERO ═══════════════════════════════════════════════════── */
main { position: relative; z-index: 10; }

.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 108px 0 56px;
  overflow: hidden;
}
/* hero copy rides the same rails as the nav capsule and every section */
.hero__bottom {
  width: min(var(--container), calc(100% - 2 * var(--pad-x)));
  margin-left: auto; margin-right: auto;
}

.hero__media { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1s ease; }
.hero__media.on { opacity: 1; }
/* contain, never crop the gate or the cat — the video's own black bg blends in.
   The footage is framed tight (the arch touches the top edge), so we pull the
   camera back: scale down and settle the scene slightly below the fixed nav. */
.hero__media video,
.hero__media canvas {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center center;
  transform: scale(.72);
  transform-origin: 50% 58%;
}
@media (max-width: 768px) {
  .hero__media video,
  .hero__media canvas { transform: scale(.94); transform-origin: 50% 52%; }
}

/* fallback video path: feather the frame edges so its rectangle never shows
   (the canvas path feathers at draw time) */
.hero__media video {
  -webkit-mask-image: radial-gradient(ellipse 62% 56% at 50% 50%, #000 52%, transparent 88%);
  mask-image: radial-gradient(ellipse 62% 56% at 50% 50%, #000 52%, transparent 88%);
}

/* pinned hero: the page scroll scrubs Nola's landing frame by frame */
.hero__media canvas { position: absolute; inset: 0; display: none; }
.hero__media.scrub canvas { display: block; }
.hero__media.scrub video { display: none; }
body.hero-scrub .hero-stage { height: calc(100vh + 120vh); height: calc(100svh + 120vh); }
body.hero-scrub .hero { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
/* full-screen underground blackout: everything goes DARK as Nola (and the
   camera) sink through the floor, then clears into Lore — scroll-driven */
.dive-flash {
  position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 60%, #131f47 0%, #070c1d 48%, #02040a 100%);
}

/* third act (assets/dive): extra scroll room — Nola presses low and drops
   through the floor, straight toward the founder's post below */
body.hero-scrub.hero-dive .hero-stage { height: calc(100vh + 195vh); height: calc(100svh + 195vh); }
.hero__bottom { transition: opacity .45s ease; }
.hero.diving .hero__bottom,
.hero.diving .hero__scrollhint,
.hero.diving .hero__bubble { opacity: 0; pointer-events: none; }
.hero.dove .hero__media { opacity: 0; }
.hero__media-shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.16) 38%, rgba(0,0,0,.22) 70%, rgba(0,0,0,.85) 100%); }


.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; position: relative; z-index: 2; }

.hero__title { display: flex; flex-direction: column; line-height: 1; }
.hero__title-big {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(64px, 14vw, 168px);
  letter-spacing: -.045em;
  background: linear-gradient(120deg, #ffffff 15%, #a9c6ff 45%, var(--arb) 75%, var(--orange) 105%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 40px rgba(43, 75, 255, 0.45));
}
.hero__title-sub {
  margin-top: 12px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(15px, 2.4vw, 26px); letter-spacing: .32em; text-transform: uppercase;
  color: rgba(240, 246, 255, .9);
}

.hero__claim { margin-top: 16px; max-width: 460px; font-size: 15.5px; line-height: 1.6;
  color: var(--muted); text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* centred with insets, not a transform — .reveal animates transform and
   would otherwise cancel the centring */
.hero__scrollhint { position: absolute; left: 0; right: 0; bottom: 20px;
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .24em; color: var(--muted); }
.hero__scrollhint-paw {
  width: 24px; height: 24px;
  fill: none; stroke: var(--arb); stroke-width: .9;
  filter: drop-shadow(0 0 6px rgba(18, 170, 255, .7));
  animation: paw-drop 1.8s ease-in-out infinite;
}
@keyframes paw-drop { 0%,100% { transform: translateY(0); opacity:.5 } 50% { transform: translateY(7px); opacity:1 } }

/* ══ SECTIONS ═══════════════════════════════════════════════── */
.section {
  position: relative;
  width: min(var(--container), calc(100% - 2 * var(--pad-x)));
  margin: 0 auto;
  padding: var(--section-y) 0;
}

.section__head { max-width: 720px; margin-bottom: var(--head-gap); }
.section__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -.035em;
  text-shadow: 0 6px 40px rgba(43, 75, 255, 0.3);
}
.section__lead { margin-top: 20px; font-size: clamp(15px, 1.5vw, 17.5px); line-height: 1.7; color: var(--muted); max-width: 560px; }

/* ── lore: cinematic tilted fly-by text, then the post dead-center ── */
.lore-cine {
  min-height: 42vh;
  display: grid; place-items: center;
  perspective: 420px;
  margin-bottom: 2vh;
}
/* the lore text meets you right as you surface from the dive */
/* lore follows the dive blackout, so it opens a touch tighter */
#lore { padding-top: calc(var(--section-y) * .55); }
.lore-cine__inner {
  max-width: 1040px; text-align: center; padding: 0 8px;
  transform: rotateX(24deg) translateY(60px) translateZ(15px);
  opacity: 0;
  will-change: transform, opacity;
}
.lore-cine__text {
  font-size: clamp(30px, 5.2vw, 72px);
  line-height: 1.2; letter-spacing: -0.022em;
  font-family: var(--font-display); font-weight: 600;
  color: rgba(240, 246, 255, .95);
}
.lore-cine__text strong { color: var(--arb); font-weight: 600; }
/* words start half-transparent and light up one by one with the scroll */
.lore-cine__text .w { display: inline-block; max-width: 100%; opacity: .22; transition: opacity .3s ease; }
.lore-cine__text .w.lit { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .lore-cine__inner { transform: none !important; opacity: 1 !important; }
}
/* the post rises into place only once the lore line has been read */
.lore-post {
  position: relative; max-width: 540px; margin: 0 auto 24px;
  opacity: 0; transform: translateY(80px);
  transition: opacity .8s ease-out, transform .95s cubic-bezier(.2, .7, .2, 1);
}
.lore-post.risen { opacity: 1; transform: translateY(0); }

/* the community's answer, mono, right under the post */
.lore-echo { margin-top: 28px; text-align: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  color: var(--muted); }

/* ── NOLA chase: the scroll scrubs her coin chase frame by frame; the
   canvas feathers its edges into the black page — no visible rectangle ── */
.chase-stage { position: relative; height: 180vh; margin-top: var(--head-gap); pointer-events: none; }
.chase-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; }
.chase-pin canvas { width: min(86vw, 1300px); aspect-ratio: 16 / 9; }
@media (max-width: 720px) { .chase-pin canvas { width: 92vw; } }

/* authentic X-embed look: white card on the dark page */
.xpost {
  display: block; position: relative; z-index: 1;
  background: #fff;
  color: #0f1419;
  border: 1px solid #e3e8ee;
  border-radius: 20px;
  padding: 20px 22px 16px;
  text-decoration: none;
  font-family: var(--font-body);
  box-shadow: 0 24px 70px rgba(3, 6, 18, .6), 0 0 70px rgba(43, 75, 255, .25);
  transition: transform .45s cubic-bezier(.215, .61, .355, 1), box-shadow .3s ease;
}
.xpost:hover { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(3, 6, 18, .65), 0 0 90px rgba(43, 75, 255, .4); }
.xpost__head { display: flex; align-items: center; gap: 11px; }
.xpost__ava { width: 46px; height: 46px; border-radius: 50%; flex: none; object-fit: cover; }
.xpost__names { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.xpost__names strong { display: flex; align-items: center; gap: 4px; color: #0f1419; font-size: 15px; font-weight: 700; }
.xpost__check { width: 17px; height: 17px; flex: none; }
.xpost__names > span { color: #536471; font-size: 14px; }
.xpost__logo { margin-left: auto; align-self: flex-start; width: 21px; height: 21px; color: #0f1419; flex: none; }
.xpost__text { margin-top: 12px; color: #0f1419; font-size: 15px; line-height: 1.55; }
.xpost__mention { color: #1d9bf0; }
.xpost__photo {
  display: block; position: relative; margin-top: 12px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid #e3e8ee;
  /* trims ~17% of empty floor top and bottom; the cat spans 14–84% of the
     source height, so she is never clipped */
  aspect-ratio: 9 / 10;
}
.xpost__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.xpost__time { display: block; margin-top: 12px; color: #536471; font-size: 14px; }
.xpost__stats {
  display: flex; align-items: center; gap: 18px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid #eff3f4;
  color: #536471; font-size: 13.5px; font-weight: 500;
}
.xpost__stat { display: inline-flex; align-items: center; gap: 6px; }
.xpost__stat svg { width: 17px; height: 17px; }
.xpost__stat--like svg { color: #f91880; }
.xpost__open { margin-left: auto; color: #1d9bf0; font-weight: 600; }
.xpost:hover .xpost__open { text-decoration: underline; }

/* ── journey: the portal-walk scene ── */
.section__lead strong { color: var(--arb); font-weight: 600; }
.section--chapter .chase-stage { margin-top: 0; }

/* ── token: title + compact CA chip + two big venue tiles ───── */
.contract-chip {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 24px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 8px 8px 16px; max-width: 100%;
  background: rgba(255, 255, 255, 0.04);
}
.contract-chip__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--arb); }
.contract-chip code { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(50vw, 420px); }
.contract-chip__copy {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; white-space: nowrap;
  border: 0; cursor: pointer; color: #fff; padding: 9px 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--arb), var(--royal));
  transition: transform .25s;
}
.contract-chip__copy:hover { transform: translateY(-1px); }
.contract-chip__copy.copied { background: linear-gradient(135deg, #29c76f, #12a252); }

/* all four venues stand in one row across the grid */
.venues { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.venue {
  position: relative; display: block; overflow: hidden;
  padding: clamp(20px, 1.9vw, 30px);
}
/* each partner keeps its own mark — the box normalises the mixed backgrounds */
.venue__logo {
  display: block; width: 44px; height: 44px; margin-bottom: 20px;
  border-radius: 12px; object-fit: contain;
  background: rgba(255, 255, 255, .05);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.venue__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--muted); }
.venue h3 { margin: 12px 0 24px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(19px, 1.75vw, 30px); letter-spacing: -.02em; line-height: 1.05; }
.venue__cta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .13em; color: var(--arb); white-space: nowrap; }
.venue__cta .chev { display: inline-block; transition: transform .3s; }
.venue::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(90% 90% at 85% 12%, rgba(18, 170, 255, .18), transparent 60%);
  transition: opacity .35s;
}
/* a hint of each brand's own colour on hover */
.venue--odys::after { background: radial-gradient(90% 90% at 85% 12%, rgba(106, 164, 255, .20), transparent 60%); }
.venue--uni::after  { background: radial-gradient(90% 90% at 85% 12%, rgba(255, 0, 122, .16), transparent 60%); }
.venue--dex::after  { background: radial-gradient(90% 90% at 85% 12%, rgba(255, 144, 51, .16), transparent 60%); }
.venue--uni .venue__cta { color: #ff4fa3; }
.venue--dex .venue__cta { color: var(--orange); }
.venue:hover { transform: translateY(-4px); border-color: rgba(74, 125, 255, .55); }
.venue--uni:hover { border-color: rgba(255, 0, 122, .45); }
.venue--dex:hover { border-color: rgba(255, 144, 51, .5); }
.venue:hover::after { opacity: 1; }
.venue:hover .venue__logo { transform: scale(1.06) rotate(-3deg); }
.venue:hover .venue__cta .chev { transform: translate(4px, -4px); }
.token-note { margin-top: 20px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .1em; color: rgba(226, 235, 255, .42); }

/* ── community: one giant X link (no cards, no banner) ──────── */
.community-x {
  display: block; margin-top: var(--head-gap);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(30px, 5vw, 60px) 0;
}
.community-x__big {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 9vw, 128px); letter-spacing: -.02em; line-height: 1.02;
  transition: color .3s;
}
.community-x__big .chev { display: inline-block; transition: transform .3s; }
.community-x__sub {
  display: block; margin-top: 16px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; color: var(--muted);
}
/* her tracks walk off after the arrow, one paw at a time */
/* the tracks run off toward the edge of the screen, faint and unhurried */
.community-x__big { display: flex; align-items: center; flex-wrap: nowrap; }
.community-x__label { flex: none; white-space: nowrap; }
.pawtrail {
  flex: 1 1 auto; min-width: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: .3em;
  margin-left: 1.1em;
  /* the offset paws sit below the line — padding keeps them out of the clip */
  padding: .26em 0 .3em;
}
.pawtrail svg {
  width: .5em; height: .5em; flex: none;
  fill: none; stroke: var(--arb); stroke-width: .9;
  filter: drop-shadow(0 0 4px rgba(18, 170, 255, .35));
  opacity: 0;
  animation: paw-step 4.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .13s);
}
.pawtrail svg:nth-child(even) { position: relative; top: .1em; }
@keyframes paw-step {
  0%   { opacity: 0; transform: translateY(.05em) scale(.85); }
  8%   { opacity: .38; transform: translateY(0) scale(1); }
  55%  { opacity: .38; }
  72%, 100% { opacity: 0; }
}

.community-x:hover .community-x__big { color: var(--arb); }
.community-x:hover .chev { transform: translate(8px, -8px); }

/* ── stats ──────────────────────────────────────────────────── */
/* three across, then the last two centred underneath — six tracks give the
   half-column offset that a three-column grid cannot */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.stat { grid-column: span 2; padding: 30px 24px; text-align: center; }
.stat:nth-child(4) { grid-column: 2 / span 2; }
.stat:nth-child(5) { grid-column: 4 / span 2; }
.stat:hover { transform: translateY(-6px); }
.stat__value { display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2.9vw, 38px);
  background-image: linear-gradient(120deg, #fff, var(--arb)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__value.ticked { animation: stat-tick .45s ease-out; }
@keyframes stat-tick {
  from { opacity: .3; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.stat__label { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
/* live status bar under the grid */
.stats__note {
  margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(226, 235, 255, .45);
}
.stats__live { display: inline-flex; align-items: center; gap: 7px; color: var(--eye); }
.stats__live i {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: live-pulse 1.9s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: .3; transform: scale(.78); }
  50% { opacity: 1; transform: scale(1.12); }
}
.stats__note.is-stale .stats__live { color: var(--orange); }
.stats__note.is-stale .stats__live i { animation: none; opacity: .8; }
.stats__note a { color: var(--arb); display: inline-flex; align-items: center; gap: 5px; }
.stats__note a .chev { width: 12px; height: 12px; }
.stats__note a:hover { color: #fff; }

/* ── belly rubs: hover her belly — she melts with pleasure ──── */
.belly { position: relative; padding: var(--section-y) 0; }
.belly__wrap { position: relative; width: min(1200px, calc(100% - 2 * var(--pad-x))); margin: 0 auto; }
/* nothing is cropped: the full frame shows, only its edges melt into the
   black page — soft rectangular fade instead of a hard ellipse */
.belly__wrap video {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
/* the invisible "pet me" zone over her belly */
.belly__hotspot { position: absolute; left: 30%; top: 32%; width: 40%; height: 46%;
  border-radius: 50%; cursor: grab; z-index: 2; }

/* darker bottom corners → the meadow ends on an arc, not a straight edge */
.belly__arc {
  position: absolute; inset: 0; pointer-events: none;
  background:
    /* bottom corners pulled down into an arc */
    radial-gradient(56% 64% at 0% 106%, #000 18%, transparent 62%),
    radial-gradient(56% 64% at 100% 106%, #000 18%, transparent 62%),
    /* vignette: the core stays bright, only the rim falls off */
    radial-gradient(80% 92% at 50% 46%, transparent 56%, rgba(0, 0, 0, .6) 100%);
}

/* speech bubbles — one language for the whole site */
.bubble, .belly__bubble {
  position: absolute; z-index: 3; pointer-events: none; white-space: nowrap;
  padding: 11px 16px; border-radius: 16px 16px 16px 5px;
  background: rgba(12, 20, 40, .74);
  border: 1px solid rgba(160, 195, 255, .3);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .55), 0 0 24px rgba(74, 125, 255, .2);
  font-family: var(--font-mono); font-size: clamp(10px, 1.05vw, 13px);
  letter-spacing: .18em; color: #eaf1ff;
}
.bubble::after, .belly__bubble::after {
  content: ''; position: absolute; bottom: -6px; left: 16px; width: 11px; height: 11px;
  background: rgba(12, 20, 40, .74);
  border-right: 1px solid rgba(160, 195, 255, .3);
  border-bottom: 1px solid rgba(160, 195, 255, .3);
  transform: rotate(45deg);
}
.belly__bubble { left: 57%; top: 12%; animation: bubble-float 3.6s ease-in-out infinite; }

/* hero: she lands and greets the traveler */
.hero__bubble { left: 56%; top: 25%; }
.hero__bubble.on { animation: bubble-float 3.6s ease-in-out infinite; }

/* portal walk: she calls you along the circuit path */
.chase-bubble { left: 50%; top: 13%; transform: translateX(-50%);
  animation: bubble-float-c 3.9s ease-in-out infinite; }
@keyframes bubble-float-c {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -7px); }
}
@keyframes bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.belly__bubble-purr { display: none; }
.belly__hotspot:hover + .belly__bubble .belly__bubble-idle { display: none; }
.belly__hotspot:hover + .belly__bubble .belly__bubble-purr { display: inline; }
.belly__hotspot:hover + .belly__bubble { border-color: rgba(160, 195, 255, .6); }

/* ── faq: terminal / diff style ─────────────────────────────── */
/* heading parks on the left, the questions fill the rest of the width */
.faq-grid { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-head { margin-bottom: 0; position: sticky; top: 104px; }
.faq { display: flex; flex-direction: column; gap: 12px; counter-reset: faq; }
.faq__item { overflow: hidden; }
.faq__item[open] { border-color: rgba(120, 170, 255, 0.45); }
.faq__item summary {
  display: flex; align-items: center; gap: 16px;
  list-style: none; cursor: pointer;
  padding: 18px 22px; font-weight: 600; font-size: 15px;
}
.faq__item summary::before {
  counter-increment: faq; content: '0' counter(faq);
  font-family: var(--font-mono); font-weight: 400; font-size: 11px;
  letter-spacing: .12em; color: var(--arb); flex: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__body { overflow: hidden; }
.faq__mark { margin-left: auto; flex: none; font-family: var(--font-mono); font-size: 13px;
  color: var(--arb); transition: color .25s ease; }
.faq__item[open] .faq__mark { color: #fff; }
.faq__mark::before { content: '[+]'; }
.faq__item[open] .faq__mark::before { content: '[-]'; }
.faq__item p {
  margin: 0 22px 20px 22px; padding: 2px 0 2px 16px;
  border-left: 2px solid rgba(74, 125, 255, .4);
  font-size: 14px; line-height: 1.7; color: var(--muted);
}

/* ── footer: minimal single row, same black as the page ─────── */
.footer { border-top: 1px solid var(--line); background: #000; padding: var(--head-gap) 0 34px; }
.footer__inner { width: min(var(--container), calc(100% - 2 * var(--pad-x))); margin: 0 auto; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); }
.footer__brand img { width: 26px; filter: drop-shadow(0 2px 6px rgba(74, 125, 255, .4)); }
.footer__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; }
.footer__links a { color: var(--muted); transition: color .25s; }
.footer__links a:hover { color: #fff; }
.footer__sep { color: rgba(226, 235, 255, .25); }
.footer__disclaimer { margin-top: 18px; font-family: var(--font-mono); font-size: 11px;
  line-height: 1.8; color: rgba(226, 235, 255, .35); max-width: 920px; }

/* ── reveal animation ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .55s ease-out, transform .55s ease-out; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* ── flick mode ──────────────────────────────────────────────
   A hard flick leaves a section on screen for ~150ms, while the staged
   entrance needs close to a second. At speed the whole choreography
   collapses into one short fade so the block is fully readable on the way
   past; it returns as soon as the reader slows down. */
html.fast .reveal { transition-duration: .16s, .16s; transition-delay: 0ms !important; }
html.fast .lore-post { transition-duration: .22s, .22s; }
html.fast .badge__plate { transition-delay: 0s; transition-duration: .16s; }
html.fast .badge__txt { transition-delay: 0s; transition-duration: .18s; }
html.fast .badge.typed .badge__plate::after { animation: none; }

/* ── responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-head { position: static; }
  /* two per row; the odd one out spans the full width rather than sitting
     alone in half of it */
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat:nth-child(4) { grid-column: auto; }
  .stat:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav { gap: 10px; padding: 8px 10px; }
  .nav__icon { display: none; }
  /* mobile menu: glass panel, numbered display-size rows, staggered entrance */
  .nav__links {
    display: none;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 6px 6px;
    border: 1px solid rgba(255, 255, 255, .1); border-radius: 26px;
    background: linear-gradient(165deg, rgba(22, 30, 52, .82), rgba(6, 9, 18, .95));
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
    counter-reset: navi;
  }
  .nav.open .nav__links { display: flex; animation: nav-panel .34s cubic-bezier(.2, .7, .2, 1); }
  @keyframes nav-panel { from { opacity: 0; transform: translateY(-12px) scale(.97); } }

  .nav__links > a {
    display: flex; align-items: center; gap: 14px;
    padding: 15px 14px; border-radius: 0; background: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-family: var(--font-display); font-weight: 700; font-size: 26px;
    letter-spacing: -.03em; color: rgba(255, 255, 255, .9);
  }
  .nav__links > a:last-of-type { border-bottom: 0; }
  .nav__links > a::before {
    counter-increment: navi; content: '0' counter(navi);
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
    color: var(--arb); opacity: .85; width: 20px;
  }
  .nav__links > a::after {
    content: ''; margin-left: auto; width: 7px; height: 7px; transform: rotate(45deg);
    border-right: 1.5px solid rgba(255, 255, 255, .3);
    border-top: 1.5px solid rgba(255, 255, 255, .3);
  }
  /* active row: a thin accent stroke, no filled rectangle */
  .nav__links > a.active {
    color: #fff;
    background-color: transparent;
    background-image: linear-gradient(var(--arb), var(--arb));
    background-repeat: no-repeat;
    background-size: 2px 46%;
    background-position: left center;
  }
  .nav__links > a.active::before { opacity: 1; }
  .nav__links > a.active::after { border-color: var(--arb); }
  .nav.open .nav__links > a { animation: nav-item .4s cubic-bezier(.2, .7, .2, 1) backwards; }
  .nav.open .nav__links > a:nth-child(1) { animation-delay: .05s; }
  .nav.open .nav__links > a:nth-child(2) { animation-delay: .08s; }
  .nav.open .nav__links > a:nth-child(3) { animation-delay: .11s; }
  .nav.open .nav__links > a:nth-child(4) { animation-delay: .14s; }
  .nav.open .nav__links > a:nth-child(5) { animation-delay: .17s; }
  .nav.open .nav__links > a:nth-child(6) { animation-delay: .20s; }
  @keyframes nav-item { from { opacity: 0; transform: translateX(-12px); } }

  .nav__links-foot { display: flex; gap: 8px; padding: 12px 8px 6px; }
  .nav.open .nav__links-foot { animation: nav-item .4s cubic-bezier(.2, .7, .2, 1) .23s backwards; }
  .nav__links-foot a {
    flex: 1; text-align: center; padding: 13px 10px;
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em;
    color: rgba(255, 255, 255, .8);
  }
  .nav__cta { margin-left: auto; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 40px; height: 40px; padding: 9px;
    background: var(--glass); border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .nav__burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav.open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 96px; padding-bottom: 108px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .venues { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* a price like $0.0001724 has to fit a half-width tile */
  .stat { padding: 22px 12px; }
  .stat__value { font-size: clamp(17px, 5.2vw, 24px); }
  .stat__label { font-size: 9.5px; letter-spacing: .12em; }
  .community-x__sub { font-size: 10px; letter-spacing: .1em; }
  .contract-chip { width: 100%; padding-left: 12px; gap: 8px; }
  .contract-chip code { flex: 1; min-width: 0; max-width: none; font-size: 11px; }
  .contract-chip__copy { padding: 9px 12px; }
  /* portrait phones: turn the portal walk 90° — the portals stack top and
     bottom, so she travels down the screen with the scroll */
  .chase-pin { overflow: hidden; position: sticky; }
  .chase-pin canvas {
    position: absolute; left: 50%; top: 50%;
    aspect-ratio: auto;
    height: min(94vw, 52vh);
    width: calc(min(94vw, 52vh) * 16 / 9);
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .lore-cine__text { font-size: clamp(25px, 7.2vw, 40px); }
  .lore-cine__inner { padding: 0 4px; }
  .lore-echo { font-size: 11px; letter-spacing: .05em; }
  .badge { font-size: 10px; letter-spacing: .14em; }
  /* two compact chips per row — the longest name (DexScreener) sets the size */
  .venue { padding: 16px; }
  .venue h3 { font-size: clamp(16px, 4.4vw, 22px); margin: 10px 0 16px; }
  .venue__logo { width: 34px; height: 34px; margin-bottom: 14px; }
  .venue__tag { font-size: 9.5px; letter-spacing: .14em; }
  .venue__cta { font-size: 10px; letter-spacing: .1em; }
}

/* ══ TECHNO KIT: HUD corners, terminal cursor ═══════════════── */
/* blinking terminal cursor after every badge label */
@keyframes cursor-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
/* 4 · …and only then the cursor starts blinking */
.badge::after { content: '_'; position: relative; margin-left: 3px; color: var(--arb); opacity: 0; }
.badge.typed::after { animation: cursor-blink 1.1s steps(1) 1.2s infinite; }

/* modern glass panels: frosted translucent surface, hairline edge,
   inner top highlight and a soft lift on hover */
.venue, .stat, .faq__item {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 20px;
  background: linear-gradient(158deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .022));
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.venue:hover, .stat:hover {
  transform: translateY(-4px);
  border-color: rgba(130, 175, 255, .45);
  box-shadow: 0 28px 60px rgba(24, 60, 160, .32), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.venue--dex:hover {
  border-color: rgba(255, 175, 110, .45);
  box-shadow: 0 28px 60px rgba(160, 80, 20, .3), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.venue--uni:hover {
  border-color: rgba(255, 120, 185, .42);
  box-shadow: 0 28px 60px rgba(150, 20, 80, .3), inset 0 1px 0 rgba(255, 255, 255, .22);
}

/* ── reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal, .lore-post { opacity: 1; transform: none; }
}
