:root {
  --ink: #f3f1e7;
  --muted: #b8b9aa;
  --dark: #0d120c;
  --panel: rgba(23, 31, 20, .76);
  --panel-2: #161e13;
  --line: rgba(235, 245, 221, .14);
  --lime: #a8ef2a;
  --lime-2: #7fba1d;
  --mint: #c7f0dc;
  --red: #e85e46;
  --olive: #7a8466;
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 10%, rgba(150, 210, 55, .12), transparent 28%),
    radial-gradient(circle at 10% 52%, rgba(185, 210, 127, .08), transparent 30%),
    linear-gradient(180deg, #0b100a 0%, #11170f 48%, #0c110b 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--lime); color: var(--dark); }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .055;
  z-index: 90;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.pond-glow {
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .075;
  pointer-events: none;
  transition: transform .25s ease-out;
  z-index: -1;
}
.pond-glow-a { top: -12rem; right: -10rem; background: var(--lime); }
.pond-glow-b { bottom: -16rem; left: -8rem; background: #8eaa70; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  min-height: 64px;
  padding: 9px 11px 9px 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 15, 9, .72);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .22);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--lime); color: #11180e;
  font-weight: 1000; letter-spacing: -.04em;
  transform: rotate(-5deg);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: .8rem; letter-spacing: .06em; }
.brand small { color: var(--lime); margin-top: 2px; font-size: .68rem; }
.nav { display: flex; gap: 28px; color: var(--muted); font-size: .86rem; }
.nav a:hover { color: var(--ink); }

.section-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.hero {
  min-height: 760px;
  padding: 86px 0 70px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 54px;
}
.eyebrow, .section-kicker, .tiny-label {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 900;
  color: var(--lime);
}
.hero h1 {
  font-size: clamp(4.5rem, 8vw, 8.2rem);
  line-height: .82;
  letter-spacing: -.075em;
  margin: 22px 0 30px;
  max-width: 750px;
}
.hero h1 span { color: var(--lime); }
.hero-lede {
  max-width: 640px;
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  line-height: 1.55;
  color: #c9cabb;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pill {
  min-height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: var(--lime);
  color: #11180e;
  font-weight: 950;
  letter-spacing: .035em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(168, 239, 42, .18); }
.pill-small { min-height: 42px; padding: 0 17px; font-size: .76rem; }
.pill-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--ink); }

.token-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1.45fr;
  gap: 8px;
  max-width: 620px;
  margin-top: 40px;
}
.token-strip > div, .contract-copy {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  background: rgba(255,255,255,.025);
  text-align: left;
  color: inherit;
}
.token-strip span { display: block; font-size: .63rem; letter-spacing: .13em; color: #8e9687; margin-bottom: 7px; }
.token-strip strong { font-size: .84rem; letter-spacing: .02em; }
.contract-copy { cursor: pointer; }
.contract-copy:hover { border-color: rgba(168,239,42,.35); }

.hero-art { position: relative; min-height: 620px; display: grid; place-items: center; }
.hero-card {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: .84;
  border: 1px solid rgba(218, 239, 197, .18);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(198, 214, 163, .16), rgba(76, 91, 57, .05)),
    radial-gradient(circle at 50% 33%, rgba(171, 229, 79, .2), transparent 39%),
    #20281c;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 60px 140px rgba(0,0,0,.42);
  transform: rotate(2deg);
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,11,7,.44));
  pointer-events: none;
}
.hero-card img {
  position: absolute;
  width: 88%;
  left: 7%;
  bottom: -2%;
  filter: drop-shadow(0 28px 36px rgba(0,0,0,.34));
  z-index: 1;
}
.status-dot {
  position: absolute; left: 26px; top: 26px; z-index: 4;
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 8px rgba(168,239,42,.08), 0 0 24px var(--lime);
}
.hero-card-label {
  position: absolute; top: 22px; left: 49px; z-index: 4;
  font-size: .66rem; letter-spacing: .12em; color: #d7decf; font-weight: 800;
}
.orbit { position: absolute; border: 1px solid rgba(168,239,42,.12); border-radius: 50%; }
.orbit-one { width: 560px; height: 560px; animation: spin 19s linear infinite; }
.orbit-two { width: 430px; height: 430px; border-style: dashed; animation: spin 13s linear infinite reverse; }
.orbit::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); top: 50%; left: -5px; box-shadow: 0 0 22px var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }
.floating-note {
  position: absolute; z-index: 5;
  padding: 10px 13px;
  border-radius: 12px;
  background: var(--ink);
  color: #141b11;
  font-size: .68rem;
  font-weight: 1000;
  letter-spacing: .08em;
  box-shadow: 0 16px 50px rgba(0,0,0,.28);
}
.note-a { left: -8px; top: 22%; transform: rotate(-7deg); }
.note-b { right: -4px; bottom: 18%; transform: rotate(6deg); background: var(--lime); }

.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: rgba(168,239,42,.05); }
.marquee-track {
  display: flex; width: max-content; gap: 24px; align-items: center;
  padding: 15px 0; animation: marquee 24s linear infinite;
  font-size: .78rem; font-weight: 950; letter-spacing: .12em;
}
.marquee-track b { color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

.lore, .sightings, .roadmap, .chart, .links { padding: 120px 0; }
.section-kicker { margin-bottom: 32px; }
.lore-grid, .section-head {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: start;
}
.lore h2, .section-head h2, .chart h2, .links h2, .finale h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: .92;
  letter-spacing: -.065em;
}
.lore-copy { max-width: 620px; }
.lore-copy p { color: #c0c3b6; font-size: 1.05rem; line-height: 1.75; margin: 0 0 18px; }
.quote-line { padding-top: 12px; border-top: 1px solid var(--line); }
.quote-line strong { color: var(--lime); }

.manifesto-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 66px; }
.manifesto-card, .road-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  padding: 28px;
  min-height: 265px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.manifesto-card:hover, .road-card:hover { transform: translateY(-5px); border-color: rgba(168,239,42,.28); background: rgba(168,239,42,.035); }
.manifesto-card > span { color: var(--lime); font-size: .72rem; letter-spacing: .15em; }
.manifesto-card h3, .road-card h3 { margin: 58px 0 12px; font-size: 1.35rem; letter-spacing: -.03em; }
.manifesto-card p, .road-card p { color: #aeb3a5; line-height: 1.55; margin: 0; }
.section-head p { margin: 7px 0 0; color: #b7baaf; line-height: 1.65; max-width: 520px; font-size: 1.05rem; }

.pose-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: 14px;
}
.pose-card {
  grid-column: span 4;
  margin: 0;
  min-height: 380px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 36%, rgba(168,239,42,.14), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  position: relative;
  overflow: hidden;
}
.pose-card.pose-tall { grid-column: span 4; }
.pose-card.pose-wide { grid-column: span 8; }
.pose-card img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; padding: 18px 18px 34px; transition: transform .35s ease; }
.pose-card:hover img { transform: scale(1.035) translateY(-3px); }
.pose-card figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  background: rgba(8,13,7,.72); border: 1px solid var(--line); backdrop-filter: blur(8px);
  padding: 9px 11px; border-radius: 999px;
  font-size: .7rem; color: #d7dccf; letter-spacing: .04em;
}

.roadmap-line { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 62px; }
.road-card { min-height: 350px; display: flex; flex-direction: column; }
.road-step { font-size: .68rem; letter-spacing: .14em; color: var(--lime); font-weight: 900; }
.road-card h3 { margin-top: 54px; }
.road-status { margin-top: auto; padding-top: 26px; font-size: .66rem; letter-spacing: .1em; color: #949d8b; }
.road-card:first-child .road-status { color: var(--lime); }

.chart-shell {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #111610;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0,0,0,.32);
}
.chart-topline { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.chart-topline h2 { font-size: clamp(2rem, 4vw, 4rem); margin-top: 6px; }
.text-link { font-size: .78rem; font-weight: 850; color: var(--lime); }
.iframe-wrap { position: relative; height: min(720px, 76vh); min-height: 520px; background: #080b08; }
.iframe-wrap iframe { width: 100%; height: 100%; border: 0; background: #080b08; }
.iframe-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; gap: 10px;
  color: #c6cbbb; background: radial-gradient(circle at 50% 50%, rgba(168,239,42,.08), transparent 27%), #0b0e0a;
}
.iframe-placeholder strong { font-size: 1rem; letter-spacing: .12em; }
.iframe-placeholder p { margin: 0; color: #858c7e; font-size: .84rem; }
.iframe-placeholder code { color: var(--lime); }
.placeholder-radar { width: 130px; height: 130px; border: 1px solid rgba(168,239,42,.18); border-radius: 50%; margin-bottom: 18px; position: relative; }
.placeholder-radar::before, .placeholder-radar::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(168,239,42,.13); inset: 24px; }
.placeholder-radar::after { inset: 49px; background: var(--lime); box-shadow: 0 0 30px var(--lime); }

.link-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 64px; }
.link-hero img { width: 100%; max-height: 520px; object-fit: contain; filter: drop-shadow(0 28px 42px rgba(0,0,0,.25)); }
.link-hero p { color: #aeb3a5; font-size: 1.05rem; }
.big-links { display: grid; margin-top: 16px; }
.big-link { min-height: 112px; display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); transition: padding .2s ease, color .2s ease; }
.big-link span { color: #6f776a; font-size: .72rem; letter-spacing: .12em; }
.big-link strong { font-size: clamp(1.7rem, 4vw, 4rem); letter-spacing: -.055em; }
.big-link em { font-size: 2rem; color: var(--lime); font-style: normal; }
.big-link:hover { padding-left: 12px; color: var(--lime); }

.finale {
  margin-top: 50px;
  margin-bottom: 90px;
  border: 1px solid var(--line);
  border-radius: 38px;
  min-height: 570px;
  padding: 28px 44px 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 50%, rgba(168,239,42,.15), transparent 33%),
    #171e14;
}
.finale img { align-self: end; max-height: 530px; width: 100%; object-fit: contain; }
.finale-copy { padding: 50px 0; }
.finale-copy p { max-width: 600px; color: #b4baad; line-height: 1.65; font-size: 1rem; margin: 24px 0 30px; }

footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 30px;
  align-items: center;
  color: #858d80;
  font-size: .76rem;
}
.footer-brand { color: var(--ink); font-weight: 900; letter-spacing: .06em; }
.footer-brand span { color: var(--lime); margin-left: 6px; }
.footer-links a:hover { color: var(--ink); }

.toast {
  position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translate(-50%, 18px);
  padding: 12px 15px; border-radius: 12px; background: #eef7df; color: #131a11;
  font-size: .8rem; font-weight: 850; opacity: 0; pointer-events: none; transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 74px; }
  .hero-art { min-height: 560px; }
  .hero-card { width: min(480px, 86vw); }
  .lore-grid, .section-head, .link-hero, .finale { grid-template-columns: 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-card { min-height: auto; }
  .manifesto-card h3 { margin-top: 36px; }
  .roadmap-line { grid-template-columns: repeat(2,1fr); }
  .pose-card, .pose-card.pose-tall, .pose-card.pose-wide { grid-column: span 6; }
  .finale { padding: 34px 34px 0; }
  .finale img { order: 2; max-height: 430px; }
  .finale-copy { order: 1; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar { width: calc(100% - 18px); margin-top: 9px; min-height: 58px; }
  .brand strong { font-size: .68rem; }
  .brand small { font-size: .6rem; }
  .topbar .pill-small { display: none; }
  .section-shell { width: min(100% - 24px, 1180px); }
  .hero { min-height: auto; padding-top: 62px; gap: 20px; }
  .hero h1 { font-size: clamp(4rem, 20vw, 6.1rem); }
  .hero-art { min-height: 470px; }
  .hero-card { width: 92vw; max-width: 390px; border-radius: 30px; }
  .orbit-one { width: 430px; height: 430px; }
  .orbit-two { width: 340px; height: 340px; }
  .floating-note { font-size: .57rem; }
  .note-a { left: 0; top: 18%; }
  .note-b { right: 0; bottom: 13%; }
  .token-strip { grid-template-columns: 1fr 1fr; }
  .contract-copy { grid-column: 1 / -1; }
  .lore, .sightings, .roadmap, .chart, .links { padding: 86px 0; }
  .lore h2, .section-head h2, .links h2, .finale h2 { font-size: clamp(3.2rem, 15vw, 5.2rem); }
  .lore-grid, .section-head { gap: 28px; }
  .pose-grid { gap: 10px; }
  .pose-card, .pose-card.pose-tall, .pose-card.pose-wide { grid-column: span 12; min-height: 410px; }
  .roadmap-line { grid-template-columns: 1fr; }
  .road-card { min-height: 300px; }
  .chart-topline { align-items: flex-end; }
  .iframe-wrap { min-height: 460px; height: 66vh; }
  .link-hero { gap: 10px; }
  .link-hero img { max-height: 390px; }
  .big-link { min-height: 90px; grid-template-columns: 42px 1fr auto; }
  .finale { width: calc(100% - 24px); padding: 28px 24px 0; border-radius: 28px; }
  .finale-copy { padding: 20px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --- Character gallery normalization ---
   Every generated pose now lives on the same 1024×1024 transparent canvas.
   Cards use one fixed geometry, so no pose is stretched, cropped or shoved into
   a differently-sized frame. */
.pose-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.pose-card,
.pose-card.pose-tall,
.pose-card.pose-wide {
  grid-column: span 2;
  min-height: 0;
  aspect-ratio: 4 / 5;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 56px;
  border-radius: 28px;
  overflow: hidden;
}
.pose-card:nth-child(4) { grid-column: 2 / span 2; }
.pose-card:nth-child(5) { grid-column: 4 / span 2; }
.pose-card img {
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  padding: 22px 22px 8px;
  align-self: stretch;
  justify-self: stretch;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.24));
}
.pose-card figcaption {
  position: static;
  grid-row: 2;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin: 0 14px 14px;
  width: auto;
  min-width: 0;
  padding: 0 13px;
  border-radius: 14px;
  background: rgba(8,13,7,.68);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The hero uses the same normalized art but gets its own predictable viewport. */
.hero-card img {
  position: absolute;
  inset: 58px 12px 8px;
  width: calc(100% - 24px);
  height: calc(100% - 66px);
  object-fit: contain;
  object-position: center center;
  padding: 0;
  filter: drop-shadow(0 28px 36px rgba(0,0,0,.34));
  z-index: 1;
}

@media (max-width: 980px) {
  .pose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pose-card,
  .pose-card.pose-tall,
  .pose-card.pose-wide,
  .pose-card:nth-child(4),
  .pose-card:nth-child(5) {
    grid-column: auto;
  }
  .pose-card:last-child { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
}

@media (max-width: 640px) {
  .pose-grid { grid-template-columns: 1fr; gap: 14px; }
  .pose-card,
  .pose-card.pose-tall,
  .pose-card.pose-wide,
  .pose-card:nth-child(4),
  .pose-card:nth-child(5),
  .pose-card:last-child {
    grid-column: 1;
    width: 100%;
    aspect-ratio: 1 / 1.08;
    min-height: 0;
  }
  .pose-card img { padding: 18px 18px 6px; }
}
