/* =====================================================================
   THEME — change these variables to re-skin the whole site
   ===================================================================== */
:root {
  /* palette (soft blue-lavender ground + near-black ink, like the reference) */
  --bg-1: #dee7f1;
  --bg-2: #c9d2e7;
  --bg-3: #e9eef6;
  --bg-dark: #181520;
  --ink: #181520;
  --ink-soft: rgba(24, 21, 32, .62);
  --ink-line: rgba(24, 21, 32, .16);
  --paper: #ffffff;
  --accent: #6c5cff;      /* used sparingly: live dot, highlights */
  --accent-2: #b8ff5c;    /* second accent for the coin / ticker */

  /* hero shader colors (read by js/hero-gl.js) */
  --gl-1: #dee7f1;
  --gl-2: #b7c3e6;
  --gl-3: #efe6ff;
  --gl-4: #c8f0ff;

  /* type */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1520px;
  --radius: 24px;
  --ease: cubic-bezier(.76, 0, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* =====================================================================
   RESET / BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg-1);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none), (pointer: coarse) { body { cursor: auto; } }

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.container {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

/* =====================================================================
   TYPE
   ===================================================================== */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: -.01em;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
}
.display--xl { font-size: clamp(2.4rem, 6.2vw, 5.6rem); letter-spacing: -.02em; }
.display--md { font-size: clamp(1.7rem, 3.4vw, 3rem); }

.label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* split-text masks */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line__inner { display: block; will-change: transform; }
.word { display: inline-block; }

/* =====================================================================
   BUTTONS  (pill with sliding doubled text, like the reference)
   ===================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}
.btn--pill {
  padding: 18px 30px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--sm { padding: 12px 20px; font-size: 11px; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink-line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }

.btn__text {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 1.1;
}
.btn__text::before,
.btn__text::after {
  content: attr(data-text);
  display: block;
  transition: transform .6s var(--ease);
}
.btn__text::after {
  position: absolute;
  inset: 0;
  transform: translateY(110%);
}
.btn:hover .btn__text::before { transform: translateY(-110%); }
.btn:hover .btn__text::after  { transform: translateY(0); }

/* =====================================================================
   PRELOADER
   ===================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-1);
  display: grid;
  place-items: center;
  will-change: transform;
}
.preloader__logo,
.header__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -.04em;
  text-transform: lowercase;
  line-height: 1;
}
.preloader__logo { font-size: clamp(32px, 4vw, 56px); opacity: 0; }
.preloader__logo img, .header__logo img { height: 1em; width: auto; }
.preloader__count {
  position: absolute;
  right: var(--gutter);
  bottom: calc(var(--gutter) - 6px);
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.preloader__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ink-line);
}
.preloader__bar i {
  display: block;
  height: 100%;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(0);
}

/* =====================================================================
   CURTAIN (page transition)
   ===================================================================== */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--bg-dark);
  color: var(--paper);
  display: grid;
  place-items: center;
  transform: translateY(101%);
  pointer-events: none;
}
.curtain__label {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -.02em;
  opacity: 0;
}

/* =====================================================================
   CURSOR
   ===================================================================== */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 990;                /* above every overlay, including the result card */
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, opacity .3s;
  display: grid;
  place-items: center;
}
.cursor.on-dark { background: var(--paper); }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; opacity: .85; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; opacity: 1; }
.cursor.is-hidden { opacity: 0; }
.cursor__label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  transition: opacity .2s;
}
.cursor.on-dark .cursor__label { color: var(--ink); }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =====================================================================
   GRAIN
   ===================================================================== */
.grain {
  position: fixed;
  inset: -20%;
  z-index: 800;
  pointer-events: none;
  opacity: .05;
  will-change: transform;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-5%,-10%); }
  20% { transform: translate(-15%,5%); } 30% { transform: translate(7%,-25%); }
  40% { transform: translate(-5%,25%); } 50% { transform: translate(-15%,10%); }
  60% { transform: translate(15%,0); } 70% { transform: translate(0,15%); }
  80% { transform: translate(3%,35%); } 90% { transform: translate(-10%,10%); }
}

/* =====================================================================
   HEADER
   ===================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 700;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px var(--gutter);
  transition: transform .6s var(--ease), color .4s, padding .4s var(--ease);
  transform: translateY(0);
}
.header.is-hidden { transform: translateY(-110%); }
.header.on-dark { color: var(--paper); }
/* once the page moves (.is-scrolled, set in js/app.js) the bar gets a frosted
   background in the current section colour so the logo and nav never overlap content */
.header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--page-bg, var(--bg-1)) 84%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .4s, background-color .9s;
}
.header.is-scrolled { padding-top: 18px; padding-bottom: 18px; }
.header.is-scrolled::before { opacity: 1; }
.header.on-dark::before { background: color-mix(in srgb, var(--bg-dark) 86%, transparent); border-bottom-color: rgba(255,255,255,.08); }
.header__logo { margin-right: auto; }
.header__nav { display: flex; gap: 28px; }
.header__contract {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 100px; border: 1px solid var(--ink-line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .04em;
  color: inherit; white-space: nowrap; transition: border-color .3s;
}
.header__contract:hover { border-color: currentColor; }
.header__contract span { font-family: var(--font-display); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.header.on-dark .header__contract { border-color: rgba(255,255,255,.3); }
.header.on-dark .header__contract span { color: rgba(255,255,255,.65); }
.header__nav a,
.menu__nav a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  position: relative;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header.on-dark .header__cta { background: var(--paper); color: var(--ink); }
.header__wallet { white-space: nowrap; font-variant-numeric: tabular-nums; }
.header__wallet.is-connected { border-color: var(--accent-2); }
.header__wallet.is-connected .btn__text::before { content: "●  " attr(data-text); }
.header.on-dark .header__wallet { border-color: rgba(255,255,255,.4); color: var(--paper); }
.menu__wallet { flex: 0 0 auto; }
.menu__wallet.is-connected { border: 1px solid var(--accent-2); }

.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
}
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child  { top: 25px; }
.burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.is-open span:last-child  { top: 21px; transform: rotate(-45deg); }

/* =====================================================================
   MOBILE MENU
   ===================================================================== */
.menu {
  position: fixed;
  inset: 0;
  z-index: 650;
  background: var(--bg-dark);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) var(--gutter);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu.is-open { visibility: visible; }
.menu__nav { display: flex; flex-direction: column; gap: 10px; }
.menu__nav a {
  font-size: clamp(2rem, 9vw, 4rem);
  letter-spacing: -.02em;
  line-height: 1.05;
  display: block;
  overflow: hidden;
}
.menu__nav a span { display: block; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; }
.menu__socials { display: flex; gap: 18px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  height: 100svh;              /* the stage is exactly one viewport; ScrollTrigger pins it */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 140px 0 96px;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
/* CSS fallback when WebGL is unavailable, too slow, or motion is reduced */
.hero.no-gl .hero__canvas { display: none; }
.hero.no-gl::before {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: 0;
  background:
    radial-gradient(42% 52% at 28% 30%, var(--gl-3) 0%, transparent 72%),
    radial-gradient(48% 58% at 74% 38%, var(--gl-2) 0%, transparent 72%),
    radial-gradient(52% 62% at 50% 88%, var(--gl-4) 0%, transparent 72%),
    var(--gl-1);
  animation: blobDrift 18s ease-in-out infinite alternate;
}
@keyframes blobDrift {
  from { transform: translate(-2%, -1.5%) rotate(0deg); }
  to   { transform: translate(2%, 1.5%) rotate(5deg); }
}
.hero__inner { position: relative; z-index: 2; }
.hero__top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.hero__eyebrow { font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); }
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--ink-line);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .28);
}
.hero__status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 var(--accent-2);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(184,255,92,.7); }
  70% { box-shadow: 0 0 0 10px rgba(184,255,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,255,92,0); }
}
.hero__status .cd { display: inline-flex; gap: 6px; font-variant-numeric: tabular-nums; }
.hero__status .cd b { font-weight: 500; }
.hero__status .cd i { font-style: normal; opacity: .5; }

.hero__title { max-width: 16ch; }
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero__sub { max-width: 44ch; font-size: 17px; color: var(--ink-soft); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* the coin lives at the stage centre; js/app.js offsets it per scene (hero: upper right) */
.hero__visual {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 46%;
  width: clamp(220px, 26vw, 400px);
  aspect-ratio: 1;
  perspective: 1200px;
  pointer-events: none;
}
.hero__visual img { width: 100%; height: 100%; object-fit: contain; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__scroll i {
  width: 8px; height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  animation: bob 1.6s infinite var(--ease);
}
@keyframes bob { 0%,100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(6px) rotate(45deg); } }

/* --- CSS coin --- */
.coin {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: coinFloat 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes coinFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -18px; } }
.coin__face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  backface-visibility: hidden;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0%, transparent 38%),
    radial-gradient(circle at 70% 75%, var(--accent-2) 0%, transparent 46%),
    linear-gradient(135deg, #f4f7ff 0%, #c9d2e7 55%, #a9b6dc 100%);
  box-shadow:
    inset 0 0 0 10px rgba(255,255,255,.55),
    inset 0 0 0 12px rgba(24,21,32,.08),
    0 40px 80px -30px rgba(24,21,32,.45);
}
.coin__face--front { transform: translateZ(6px); }
.coin__face--back { transform: rotateY(180deg) translateZ(6px); }
.coin__ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(24,21,32,.35);
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.coin__ticker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -.04em;
  color: var(--ink);
}
/* the rim: 11 thin discs stacked along Z between the two faces */
.coin__edge { position: absolute; inset: 0; transform-style: preserve-3d; }
.coin__edge i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #9aa8d0;
  box-shadow: 0 0 0 1px rgba(24,21,32,.1);
}
.coin__edge i:nth-child(1)  { transform: translateZ(-5px); }
.coin__edge i:nth-child(2)  { transform: translateZ(-4px); }
.coin__edge i:nth-child(3)  { transform: translateZ(-3px); }
.coin__edge i:nth-child(4)  { transform: translateZ(-2px); }
.coin__edge i:nth-child(5)  { transform: translateZ(-1px); }
.coin__edge i:nth-child(6)  { transform: translateZ(0px); }
.coin__edge i:nth-child(7)  { transform: translateZ(1px); }
.coin__edge i:nth-child(8)  { transform: translateZ(2px); }
.coin__edge i:nth-child(9)  { transform: translateZ(3px); }
.coin__edge i:nth-child(10) { transform: translateZ(4px); }
.coin__edge i:nth-child(11) { transform: translateZ(5px); }

/* =====================================================================
   TICKER
   ===================================================================== */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding: 18px 0;
  position: relative;
  z-index: 2;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__item::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
section { position: relative; }

.intro { padding: clamp(120px, 18vh, 220px) 0 clamp(80px, 10vh, 140px); }
.intro .display { max-width: 24ch; }
.intro__second { margin-top: clamp(64px, 10vh, 140px); margin-left: auto; text-align: right; }

.about { padding: clamp(80px, 12vh, 160px) 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.about__lead { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; max-width: 48ch; }
.list { margin-top: 18px; }
.list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 15px;
  transition: padding-left .5s var(--ease);
}
.list li:hover { padding-left: 10px; }
.about__emote {
  font-size: 18px;
  padding: 18px 0;
  color: var(--ink-soft);
  letter-spacing: .1em;
}

.manifesto { padding: clamp(100px, 14vh, 180px) 0; }
.manifesto__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
}
.manifesto__p { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-soft); max-width: 44ch; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(64px, 8vh, 120px);
  border-top: 1px solid var(--ink-line);
}
.stat { padding-top: 24px; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 10px; }

/* --- stage scenes: one per launch, layered over the pinned hero --- */
.scenes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.scene__index {
  position: absolute;
  left: 0; right: 0;
  top: 104px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.scene__word {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 16vw, 15rem);
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--ink);
}
.scene__word .ch { display: inline-block; will-change: transform; }
.scene__img {
  position: absolute;
  z-index: 1;
  width: clamp(140px, 19vw, 300px);
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(24,21,32,.45);
  background: var(--bg-2);
}
.scene__img img { width: 100%; height: 100%; object-fit: cover; }
.scene__img--left  { left: 10%; top: 20%; }
.scene__img--right { right: 10%; top: 24%; }
.scene__meta {
  position: absolute;
  left: var(--gutter);
  bottom: 11vh;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  pointer-events: auto;
}
.scene__tag {
  padding: 6px 12px;
  border: 1px solid var(--ink-line);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.scene__info {
  position: absolute;
  right: var(--gutter);
  bottom: 9vh;
  z-index: 4;
  max-width: 30ch;
  pointer-events: auto;
}
.scene__title { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.scene__desc { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.scene__cta-wrap {
  position: absolute;
  left: 0; right: 0;
  bottom: 9vh;
  z-index: 4;
  display: flex;
  justify-content: center;
  pointer-events: auto;
}

/* --- record: accordion tables --- */
.record { padding: clamp(100px, 14vh, 180px) 0; }
.record__head { max-width: 22ch; margin-bottom: clamp(48px, 6vh, 80px); }
.acc { border-top: 1px solid var(--ink-line); }
.acc__item { border-bottom: 1px solid var(--ink-line); }
.acc__head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.acc__count { font-size: 14px; color: var(--ink-soft); letter-spacing: .1em; }
.acc__icon {
  position: relative;
  width: 36px; height: 36px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  transition: background .4s, border-color .4s;
}
.acc__icon::before, .acc__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .5s var(--ease);
}
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__icon { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.acc__item.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__body { height: 0; overflow: hidden; }
.acc__table { width: 100%; border-collapse: collapse; margin-bottom: 26px; font-size: 15px; }
.acc__table th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 0 12px;
}
.acc__table td { padding: 12px 0; border-top: 1px solid var(--ink-line); vertical-align: top; }
.acc__table td:last-child, .acc__table th:last-child { text-align: right; white-space: nowrap; }
.acc__table td:nth-child(2) { color: var(--ink-soft); }
.record__more {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* --- updates --- */
.updates { padding: clamp(100px, 14vh, 180px) 0; }
.updates__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.updates__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-line);
  overflow: hidden;
  transition: border-color .4s;
}
.post:hover { border-color: var(--ink); }
.post__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s var(--ease), scale 1.2s var(--ease);
  scale: 1.08;
  pointer-events: none;
}
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post:hover .post__img { opacity: 1; scale: 1; }
.post__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24,21,32,.85), rgba(24,21,32,.1));
}
.post > * { position: relative; z-index: 1; }
.post__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.post__tags span {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid var(--ink-line);
  transition: border-color .4s, color .4s;
}
.post__read {
  margin-top: auto;
  padding-top: 48px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.post__read::after {
  content: "→";
  transition: transform .5s var(--ease);
}
.post:hover .post__read::after { transform: translateX(6px); }
.post__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.2;
  margin-top: 12px;
  transition: color .4s;
}
.post__meta { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; color: var(--ink-soft); transition: color .4s; }
.post:hover .post__title, .post:hover .post__read { color: var(--paper); }
.post:hover .post__meta { color: rgba(255,255,255,.7); }
.post:hover .post__tags span { border-color: rgba(255,255,255,.4); color: var(--paper); }
.post.no-img:hover .post__title, .post.no-img:hover .post__read { color: var(--ink); }
.post.no-img:hover .post__meta { color: var(--ink-soft); }
.post.no-img:hover .post__tags span { border-color: var(--ink); color: var(--ink); }

/* --- closer --- */
.closer { padding: clamp(120px, 20vh, 240px) 0; }
.closer__text { max-width: 30ch; }
.closer__text .w { opacity: .12; }

/* --- contact --- */
.contact {
  background: var(--bg-dark);
  color: var(--paper);
  padding: clamp(100px, 14vh, 180px) 0;
  --ink-line: rgba(255,255,255,.18);
  --ink-soft: rgba(255,255,255,.6);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__sub { margin-top: 24px; font-size: 18px; color: var(--ink-soft); }
.form { position: relative; display: flex; flex-direction: column; gap: 28px; }
.form__budget { display: flex; flex-direction: column; gap: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 12px 18px;
  border-radius: 100px;
  border: 1px solid var(--ink-line);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.pill:hover { border-color: var(--paper); }
.pill.is-active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink-line);
  color: inherit;
  font: inherit;
  font-size: 18px;
  padding: 14px 0;
  outline: none;
  resize: none;
  transition: border-color .4s;
}
.field input:focus, .field textarea:focus { border-color: var(--paper); }
.field label {
  position: absolute;
  left: 0; top: 14px;
  font-size: 18px;
  color: var(--ink-soft);
  pointer-events: none;
  transition: transform .4s var(--ease), font-size .4s var(--ease), color .4s;
  transform-origin: left;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-22px);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.field.is-error input, .field.is-error textarea { border-color: #ff6a5c; }
.form__submit { align-self: flex-start; margin-top: 8px; }
.form__thanks {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
}
.form.is-sent > *:not(.form__thanks) { opacity: 0; pointer-events: none; }
.form.is-sent .form__thanks { opacity: 1; }

/* --- footer --- */
.footer {
  position: relative;
  padding: clamp(80px, 12vh, 140px) 0 0;
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr 1.2fr;
  gap: 40px;
}
.footer__grid > *, .contact__grid > *, .about__grid > *, .manifesto__grid > *, .updates__grid > * { min-width: 0; }
.footer__links, .footer__socials { display: flex; flex-direction: column; gap: 8px; }
.footer__links a, .footer__socials a { font-size: 16px; width: fit-content; position: relative; }
.footer__links a::after, .footer__socials a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.footer__links a:hover::after, .footer__socials a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__email { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.8rem); letter-spacing: -.01em; }
.footer__coffee { margin-top: 18px; font-size: 16px; }
.footer__loc { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.footer__contract { display: flex; flex-direction: column; gap: 12px; }
.contract {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;   /* the address truncates instead of widening its parent */
  align-items: center;
  gap: 16px;
  min-width: 0;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  text-align: left;
  transition: border-color .4s;
}
.contract:hover { border-color: var(--ink); }
.contract code { font-size: 13px; min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contract__copy {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.footer__top { font-family: var(--font-display); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; color: var(--ink); }
.footer__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 24vw, 30rem);
  line-height: .78;
  letter-spacing: -.05em;
  text-align: center;
  color: var(--ink);
  opacity: .06;
  user-select: none;
  transform: translateY(14%);
}

/* =====================================================================
   REVEAL HELPERS
   ===================================================================== */
[data-reveal] { opacity: 0; transform: translateY(30px); }
.is-ready [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__lead { grid-column: 1 / -1; }
  .updates__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .header__nav, .header__cta, .header__contract, .header__wallet { display: none; }
  .burger { display: block; }
  .hero { padding: 120px 0 80px; }
  .hero__visual { width: clamp(160px, 40vw, 260px); top: 40%; }
  .manifesto__grid, .contact__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .scene__word { font-size: clamp(3rem, 21vw, 8rem); top: 38%; }
  .scene__index { top: 84px; }
  .scene__meta { top: 112px; bottom: auto; flex-wrap: wrap; right: var(--gutter); }
  .scene__info { left: var(--gutter); right: var(--gutter); bottom: 13vh; max-width: none; }
  .scene__cta-wrap { bottom: 4vh; }
  .scene__img { width: clamp(110px, 28vw, 160px); }
  .scene__img--left  { left: 6%; top: auto; bottom: 34vh; }
  .scene__img--right { right: 6%; top: auto; bottom: 34vh; }
}
@media (max-width: 640px) {
  .about__grid, .updates__grid, .footer__grid { grid-template-columns: 1fr; }
  .intro__second { text-align: left; }
  .acc__head { grid-template-columns: 1fr auto; }
  .acc__count { grid-column: 1; }
  .acc__table td:nth-child(2) { display: block; padding-top: 0; border: 0; }
  .acc__table th:nth-child(2) { display: none; }
  .updates__head { flex-direction: column; align-items: flex-start; }
  .hero__ctas .btn { padding: 16px 22px; }
}

/* =====================================================================
   LITE MODE — set by js/app.js when the machine can't hold ~24fps:
   native scrolling, no custom cursor, no grain, static hero gradient.
   ===================================================================== */
html.lite body { cursor: auto; }
html.lite button { cursor: pointer; }
html.lite .cursor, html.lite .grain { display: none; }
html.lite .hero.no-gl::before { animation: none; }
html.lite .coin { animation: none; }
html.lite .coin__ring { animation: none; }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}

/* anchor targets stop below the fixed header (native jumps; JS scrolls pass the same offset) */
section[id], #odds, #top { scroll-margin-top: 88px; }
