:root {
  --paper: #f4f0e6;
  --paper-2: #fffdf8;
  --ink: #141413;
  --ink-soft: #3c3833;
  --muted: #6f675e;
  --clay: #c96442;
  --clay-deep: #a84b2e;
  --band: #e08b6c;
  --navy: #06101c;
  --navy-2: #0b1a2e;
  --cyan: #7ae1ff;
  --cyan-2: #3ec6ff;
  --gold: #f0c14a;
  --green: #1ea86a;
  --green-2: #5eecc0;
  --red: #d3263c;
  --red-2: #ff8b98;
  --line: rgba(20, 20, 19, 0.1);
  --rainbow-x: linear-gradient(90deg, #e5483a, #f08a1e, #f2e14b, #7ac943, #3aa0ea, #7d4de0);
  --rainbow: conic-gradient(#e5483a, #f08a1e, #f2e14b, #7ac943, #3aa0ea, #7d4de0, #e5483a);
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 24px 70px rgba(8, 14, 28, 0.28);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--navy);
  color: #f4f0e8;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.locked { overflow: hidden; }

img { max-width: 100%; }

button, input { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin: 0; }

h1, h2 { text-wrap: balance; }

p { text-wrap: pretty; }

::selection { background: #c96442; color: #fffaf6; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 120;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.section { padding: clamp(76px, 9vw, 128px) 0; position: relative; }

/* Loader ------------------------------------------------ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background:
    radial-gradient(500px 280px at 50% 42%, rgba(62, 198, 255, 0.16), transparent 70%),
    var(--navy);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.out { opacity: 0; visibility: hidden; }

.loader-core {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--rainbow);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%);
  mask: radial-gradient(circle, transparent 58%, #000 60%);
  animation: spin 1.4s linear infinite;
}

.loader img {
  width: 92px;
  height: 92px;
  position: relative;
  animation: pulse 1.3s ease-in-out infinite;
}

.loader p {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.78);
}

.loader p::after {
  content: "";
  display: block;
  height: 2px;
  width: 148px;
  margin: 12px auto 0;
  background: var(--rainbow-x);
  transform: scaleX(0);
  transform-origin: left;
  animation: load 1.1s var(--ease) forwards;
}

@keyframes load { to { transform: scaleX(1); } }

@keyframes pulse {
  50% { transform: scale(1.04); filter: drop-shadow(0 0 18px rgba(62, 198, 255, 0.45)); }
}

@keyframes spin { to { transform: rotate(1turn); } }

/* Nav --------------------------------------------------- */

.nav {
  position: fixed;
  z-index: 50;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: rgba(244, 240, 230, 0.9);
  color: var(--ink);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.nav.scrolled { box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  max-width: none;
  display: block;
  transition: transform 0.45s var(--ease);
}

.brand:hover img { transform: rotate(-8deg) scale(1.06); }

.brand-name {
  font-weight: 750;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 15px;
  white-space: nowrap;
}

.brand-ipo { color: var(--clay); }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a.is-on { color: var(--clay-deep); background: rgba(201, 100, 66, 0.1); }

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-px {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  padding-right: 4px;
}

.nav-px b { font-weight: 500; }
.nav-px i { font-style: normal; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.icon-btn:hover { background: rgba(20, 20, 19, 0.05); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 0;
}

.burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  background: rgba(6, 16, 28, 0.46);
}

.backdrop[hidden] { display: none; }

.menu {
  position: fixed;
  z-index: 45;
  top: 86px;
  left: 16px;
  right: 16px;
  padding: 14px;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  display: grid;
}

.menu[hidden] { display: none; }

.menu a {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.15;
  padding: 8px 10px;
  border-radius: 12px;
}

.menu a:hover { background: rgba(20, 20, 19, 0.05); }

.menu:not([hidden]) { animation: rise 0.45s var(--ease); }

/* Buttons ---------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(3px); }
.arrow { transition: transform 0.25s var(--ease); }

.btn-light { background: #f4f0e6; color: var(--ink); }
.btn-light:hover { background: #fff; }

.btn-ink { background: var(--ink); color: #f7f4ee; }
.btn-ink:hover { background: #000; }

.btn-ghost {
  background: transparent;
  color: #f4f0e8;
  border-color: rgba(244, 240, 232, 0.28);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(244, 240, 232, 0.5); }

.btn-line {
  background: transparent;
  color: #1c100c;
  border-color: rgba(28, 16, 12, 0.35);
}

.btn-line:hover { background: rgba(255, 255, 255, 0.28); }

.bell-btn svg { transform-origin: 50% 8%; display: block; }
.bell-btn.swing svg { animation: swing 0.9s ease-in-out; }

@keyframes swing {
  0% { transform: rotate(0); }
  18% { transform: rotate(18deg); }
  38% { transform: rotate(-16deg); }
  58% { transform: rotate(10deg); }
  78% { transform: rotate(-6deg); }
  100% { transform: rotate(0); }
}

.text-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.paper .text-link,
.clay .text-link { color: var(--clay-deep); }

/* Hero -------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 0 0 34px;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 82% 18%, rgba(47, 107, 255, 0.32), transparent 60%),
    radial-gradient(680px 460px at 8% 78%, rgba(125, 77, 224, 0.2), transparent 58%),
    radial-gradient(520px 280px at 50% 100%, rgba(62, 198, 255, 0.14), transparent 55%),
    var(--navy);
  color: #f4f0e8;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(540px circle at var(--mx, 72%) var(--my, 28%), rgba(122, 225, 255, 0.16), transparent 60%);
}

.floor-grid {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -6%;
  height: 46%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 225, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 225, 255, 0.2) 1px, transparent 1px);
  background-size: 78px 78px;
  transform: perspective(480px) rotateX(68deg);
  transform-origin: center top;
  animation: grid 16s linear infinite;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 78%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 78%);
}

.floor-grid.faint {
  opacity: 0.35;
  height: 70%;
  bottom: -20%;
}

@keyframes grid { to { background-position: 0 78px; } }

.candles {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 0 5vw;
  pointer-events: none;
  opacity: 0.38;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.candles i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#d9f6ff, #2f6bff);
  transform-origin: bottom;
  animation: wick 3s ease-in-out infinite;
  animation-delay: var(--d);
}

.candles i.down { background: linear-gradient(#ffd5dc, #e23b52); }

@keyframes wick {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.8); }
}

.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.confetti i {
  position: absolute;
  left: var(--l);
  top: -20px;
  width: 8px;
  height: var(--r);
  background: var(--c);
  border-radius: 2px;
  opacity: 0.85;
  animation: fall var(--t) linear infinite;
  animation-delay: var(--s);
}

@keyframes fall {
  0% { transform: translateY(-10vh) rotate(0deg); }
  100% { transform: translateY(105vh) rotate(280deg); }
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px 46px;
  align-items: center;
  padding-top: 124px;
}

.hero-copy { container-type: inline-size; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.76);
}

.kicker.ink { color: var(--muted); }
.kicker.dark { color: rgba(28, 16, 12, 0.72); }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(30, 168, 106, 0.65);
  animation: ping 1.8s ease-out infinite;
  flex: none;
}

@keyframes ping {
  70% { box-shadow: 0 0 0 8px rgba(30, 168, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 168, 106, 0); }
}

.hero h1 {
  font-size: clamp(48px, 15.4cqi, 104px);
  line-height: 0.86;
  letter-spacing: -0.065em;
  font-weight: 800;
}

.hero h1 .solid,
.hero h1 .ipo-line { display: block; white-space: nowrap; }

.hero h1 .solid {
  color: #f7f4ee;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}

.grad {
  background: linear-gradient(100deg, #ffffff 0%, #ff8ab8 28%, #9aa6ff 58%, #7ae1ff 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

@keyframes shimmer {
  to { background-position: -180% 0; }
}

.q {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0;
  margin-left: 0.04em;
}

.lede {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(244, 240, 232, 0.86);
}

.lede strong { font-weight: 700; color: #fff; }

.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.ca {
  margin-top: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 8px 8px 8px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.ca:hover { border-color: rgba(122, 225, 255, 0.55); background: rgba(62, 198, 255, 0.07); }

.ca-k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fd9ff;
}

.ca code {
  font-family: var(--mono);
  font-size: 12.5px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-action {
  flex: none;
  background: #f4f0e6;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
  font-weight: 600;
}

.ca.copied { border-color: var(--gold); }

.chart-jump { margin-top: 12px; }

.fine {
  margin-top: 12px;
  max-width: 54ch;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(244, 240, 232, 0.62);
}

.art-wrap { position: relative; }

.art-glow {
  position: absolute;
  inset: 10% -8% -10%;
  background: radial-gradient(circle, rgba(62, 198, 255, 0.5), rgba(125, 77, 224, 0.16) 42%, transparent 70%);
  filter: blur(22px);
  z-index: 0;
}

.frame {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  padding: 3px;
  overflow: hidden;
}

.frame::before {
  content: "";
  position: absolute;
  inset: -70%;
  background: var(--rainbow);
  animation: spin 10s linear infinite;
}

.frame > * {
  position: relative;
  z-index: 1;
  border-radius: 25px;
  overflow: hidden;
}

.poster { margin: 0; background: #071018; }

.poster img,
.still img { display: block; width: 100%; height: auto; }

.poster-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #071018;
  color: #f4f0e8;
  font-family: var(--mono);
  font-size: 13px;
}

.poster-meta strong { font-family: var(--sans); font-size: 16px; letter-spacing: -0.03em; }

.session {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.session div { padding: 18px 20px; }

.session div + div { border-left: 1px solid var(--line); }

.session span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.session strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  letter-spacing: -0.03em;
  font-weight: 650;
  font-weight: 600;
}

/* Tape -------------------------------------------------- */

.tape {
  background: #03080f;
  color: #d7ecff;
  border-block: 1px solid rgba(122, 225, 255, 0.18);
  overflow: hidden;
  height: 48px;
  display: flex;
  align-items: center;
}

.tape-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.tape:hover .tape-track { animation-play-state: paused; }

.tape-group { display: flex; }

.tape-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tape-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c, var(--cyan-2));
  box-shadow: 0 0 10px var(--c, var(--cyan-2));
}

.tape-item strong { font-weight: 500; color: #fff; }

@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }

/* Paper ------------------------------------------------- */

.paper {
  background:
    radial-gradient(820px 380px at 8% 0%, rgba(201, 100, 66, 0.14), transparent 55%),
    radial-gradient(700px 420px at 100% 80%, rgba(125, 77, 224, 0.08), transparent 50%),
    var(--paper);
  color: var(--ink);
}

.paper h2,
.night h2,
.clay h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 5.15rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.paper h2 em,
.night h2 em,
.clay h2 em { font-style: italic; }

.body {
  margin-top: 16px;
  max-width: 58ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.night .body,
.body.dim { color: rgba(244, 240, 232, 0.78); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
}

.still { margin: 0; background: #071018; }

.still img {
  height: min(560px, 68vw);
  object-fit: cover;
  object-position: 18% 30%;
}

.still figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(6, 16, 28, 0.72);
  color: #f4f0e8;
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cards {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  perspective: 900px;
}

.card {
  position: relative;
  padding: 22px 22px 24px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(20, 20, 19, 0.08);
  box-shadow: 0 12px 34px rgba(40, 24, 10, 0.04);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), border-color 0.25s;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  background: var(--rainbow-x);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.card:hover { border-color: rgba(201, 100, 66, 0.4); }
.card:hover::after { transform: scaleX(1); }

.card h3,
.act h3,
.steps h3,
.filing h3,
.isnot h3 {
  font-family: var(--sans);
  font-size: 20px;
  letter-spacing: -0.03em;
  margin: 12px 0 8px;
}

.card p,
.act p,
.steps p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }

.night .act p { color: rgba(244, 240, 232, 0.74); }

.card-logo { width: 84px; height: 84px; max-width: none; }

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #141413;
  color: #f4f0e6;
}

.filing {
  margin-top: 42px;
  position: relative;
  background: var(--paper-2);
  border-radius: 22px;
  padding: 32px 32px 28px 36px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(40, 24, 10, 0.06);
  overflow: hidden;
}

.filing::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--rainbow-x);
}

.file-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.filing h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  margin: 10px 0 18px;
  max-width: 18ch;
}

.file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 520px;
}

.file-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.file-list span { color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.file-note { margin-top: 16px; color: var(--muted); font-size: 14px; max-width: 52ch; }

.stamp {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  transform: rotate(-14deg);
  box-shadow: inset 0 0 0 5px rgba(211, 38, 60, 0.18);
  background: rgba(255, 253, 248, 0.7);
}

/* Floor ------------------------------------------------- */

.night {
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(47, 107, 255, 0.2), transparent 55%),
    radial-gradient(640px 380px at 0% 100%, rgba(62, 198, 255, 0.1), transparent 50%),
    var(--navy);
  color: #f4f0e8;
  overflow: hidden;
}

.floor-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px 28px;
  align-items: start;
}

.floor-intro { grid-column: 1 / -1; max-width: 760px; }

.floor-intro h2 { margin-bottom: 8px; }

.tape-note {
  margin-top: 14px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 13px;
}

.terminal {
  background: linear-gradient(180deg, rgba(12, 28, 48, 0.94), rgba(6, 14, 26, 0.94));
  border: 1px solid rgba(122, 225, 255, 0.2);
  border-radius: 22px;
  padding: 18px 18px 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 20px 50px rgba(0, 0, 0, 0.22);
}

.term-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(215, 236, 255, 0.78);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.term-age { margin-left: auto; color: var(--cyan); letter-spacing: 0.06em; }

.quote { margin: 0; }

.quote div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quote dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.5);
}

.quote dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}

.price-row dd {
  font-family: var(--sans);
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.04em;
  font-weight: 700;
}

.chart-frame {
  border-radius: 22px;
  padding: 3px;
  background: linear-gradient(160deg, rgba(122, 225, 255, 0.75), rgba(47, 107, 255, 0.15) 40%, rgba(125, 77, 224, 0.45));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  min-height: 100%;
}

.chart {
  width: 100%;
  height: 560px;
  border: 0;
  border-radius: 19px;
  display: block;
  background: #0c1726;
}

.up { color: var(--green); }
.down { color: var(--red); }

.night .up,
.tape .up,
.poster-meta .up,
.terminal .up { color: var(--green-2); }

.night .down,
.tape .down,
.poster-meta .down,
.terminal .down { color: var(--red-2); }

.flash-up { animation: flashUp 0.7s ease; }
.flash-down { animation: flashDown 0.7s ease; }

@keyframes flashUp {
  0% { background: rgba(94, 236, 192, 0.28); }
  100% { background: transparent; }
}

@keyframes flashDown {
  0% { background: rgba(255, 107, 122, 0.28); }
  100% { background: transparent; }
}

.skel {
  color: transparent !important;
  border-radius: 6px;
  background-image: linear-gradient(90deg, rgba(128, 128, 128, 0.15) 25%, rgba(128, 128, 128, 0.38) 37%, rgba(128, 128, 128, 0.15) 63%);
  background-size: 400% 100%;
  animation: sheen 1.3s ease infinite;
}

@keyframes sheen { to { background-position: -400% 0; } }

/* Token ------------------------------------------------- */

.mint-row {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  background: #fffdf8;
  border: 1px solid var(--line);
}

.mint-full {
  font-family: var(--mono);
  font-size: clamp(13px, 1.7vw, 18px);
  line-height: 1.45;
  word-break: break-all;
  flex: 1;
}

.specs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.spec {
  padding: 18px 16px 16px;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.66);
  border: 1px solid var(--line);
}

.spec span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
  font-weight: 650;
  font-weight: 600;
}

.tiny {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  max-width: 70ch;
}

.isnot {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.isnot div {
  padding: 22px 22px 10px;
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.55);
  border: 1px solid var(--line);
}

.isnot ul { list-style: none; margin: 0 0 12px; padding: 0; }

.isnot li {
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--line);
  position: relative;
}

.isnot li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 15px;
  background: #7ac943;
}

.isnot div:last-child li::before { background: var(--clay); }

.buy { margin-top: 72px; }

.steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 22px 22px 20px;
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  position: relative;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--clay);
}

.steps h3 { margin-top: 8px; }

.steps .text-link { display: inline-block; margin-top: 10px; }

/* Ceremony --------------------------------------------- */

.ceremony { position: relative; }

.giant-bell {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: min(380px, 46vw);
  color: var(--gold);
  opacity: 0.13;
  transform-origin: 50% 0;
  animation: sway 4.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sway {
  0%, 100% { transform: rotate(-7deg); }
  50% { transform: rotate(7deg); }
}

.acts {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.acts::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 225, 255, 0.7), transparent);
}

.act-no {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  border: 1px solid rgba(122, 225, 255, 0.45);
  font-family: var(--mono);
  font-size: 13px;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.act.ring .act-no {
  background: radial-gradient(circle at 50% 35%, #ffe7a3, #e0a52a 55%, #a87412);
  color: #1c1406;
  border: 0;
  box-shadow: 0 0 28px rgba(240, 193, 74, 0.38);
}

.act .btn { margin-top: 14px; }

.act h3 { color: #fff; }

/* Community -------------------------------------------- */

.clay {
  background:
    radial-gradient(620px 320px at 92% 10%, rgba(255, 255, 255, 0.28), transparent 55%),
    radial-gradient(480px 280px at 0% 100%, rgba(90, 30, 10, 0.16), transparent 55%),
    var(--band);
  color: #1c100c;
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.clay .body { color: rgba(28, 16, 12, 0.82); }

.x-card {
  display: block;
  background: #fffdf8;
  color: var(--ink);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
}

.x-card:hover { transform: translateY(-4px) rotate(-0.4deg); }

.x-card header { display: flex; gap: 12px; align-items: center; }

.x-card img { width: 48px; height: 48px; max-width: none; border-radius: 50%; }

.x-card header span { display: grid; }

.x-card strong { letter-spacing: -0.03em; }

.x-card em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.x-card p { margin: 16px 0; font-size: 18px; line-height: 1.45; }

.x-card code {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  word-break: break-all;
  color: var(--ink-soft);
  background: rgba(20, 20, 19, 0.04);
  padding: 10px 12px;
  border-radius: 12px;
}

.x-go {
  display: inline-block;
  margin-top: 14px;
  font-weight: 650;
  font-weight: 600;
  color: var(--clay-deep);
}

/* Footer ------------------------------------------------ */

.footer {
  background: #040910;
  color: #d9d2c6;
  padding: 48px 0 36px;
}

.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .brand { color: #f4f0e8; }

.foot-top nav { display: flex; gap: 18px; flex-wrap: wrap; }

.foot-top a { color: #f4f0e8; }

.foot-top nav a:hover { color: var(--cyan); }

.legal { margin-top: 22px; }

.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  color: #f4f0e8;
  margin-bottom: 10px;
}

.legal p { font-size: 14.5px; line-height: 1.65; max-width: 88ch; color: #d5cec2; }

.legal p + p { margin-top: 10px; }

.copyline { margin-top: 18px !important; color: rgba(217, 210, 198, 0.62) !important; font-family: var(--mono); font-size: 12px !important; letter-spacing: 0.04em; }

/* Toast + burst --------------------------------------- */

.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(12px);
  background: #141413;
  color: #f4f0e6;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  box-shadow: var(--shadow);
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

#burst {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 70;
}

/* Motion ----------------------------------------------- */

.rise { opacity: 0; transform: translateY(22px); }

body.ready .rise { animation: rise 0.9s var(--ease) forwards; }

.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.12s; }
.d3 { animation-delay: 0.2s; }
.d4 { animation-delay: 0.3s; }
.d5 { animation-delay: 0.4s; }
.d6 { animation-delay: 0.5s; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (scripting: none) {
  .loader { display: none; }
  .rise, .reveal { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------- */

@media (max-width: 980px) {
  .hero-layout,
  .split,
  .floor-layout,
  .community,
  .cards,
  .specs,
  .steps,
  .acts,
  .isnot { grid-template-columns: 1fr; }

  .hero-art { order: -1; }

  .hero { min-height: 0; }

  .hero-layout { padding-top: 108px; }

  .hero h1 { font-size: clamp(52px, 14vw, 92px); }

  .session { grid-template-columns: 1fr 1fr; }

  .session div:nth-child(odd) { border-left: 0; }

  .session div:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .chart { height: 460px; }

  .acts::before { display: none; }

  .act {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: start;
  }

  .act-no { margin: 0; }

  .still img { height: 320px; }

  .stamp { position: static; margin-bottom: 8px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-px { display: none; }
  .burger { display: grid; }
}

@media (max-width: 640px) {
  .cta .btn, .mint-row { width: 100%; }
  .mint-row { flex-direction: column; align-items: stretch; }
  .ca code { font-size: 11px; }
  .legal h2 { font-size: 28px; }
  .foot-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 0; }
  .brand-ipo { font-size: 15px; }
  .nav-buy { padding: 0 12px; }
  .session strong { font-size: 16px; }
}

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

  .rise, .reveal { opacity: 1 !important; transform: none !important; }
  .tape-track { transform: none; }
}
