:root {
  --night: #0a0705;
  --ink: #120c08;
  --umber: #1c120c;
  --wood: #6b3f22;
  --wood-mid: #8f5a32;
  --wood-light: #c9a57a;
  --cream: #f4e8d0;
  --cream-dim: #d9c7a8;
  --lamp: #ffb347;
  --lamp-hot: #ffd27a;
  --baton: #2fe36b;
  --baton-deep: #12a84a;
  --shadow: rgba(0, 0, 0, 0.55);
  --line: rgba(244, 232, 208, 0.14);
  --font-display: "Black Ops One", system-ui, sans-serif;
  --font-body: "Chakra Petch", system-ui, sans-serif;
  --radius: 18px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--font-body);
  background: var(--night);
  overflow-x: hidden;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

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

code {
  font-family: var(--font-body);
}

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(255, 179, 71, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(47, 227, 107, 0.08), transparent 50%),
    linear-gradient(180deg, #140d09 0%, #0a0705 45%, #080604 100%);
}

.wood-veil {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0 14px,
      rgba(143, 90, 50, 0.35) 14px 15px,
      transparent 15px 28px,
      rgba(107, 63, 34, 0.25) 28px 29px
    );
  mix-blend-mode: soft-light;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grain-shift 0.8s steps(2) infinite;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-1.5%, 1%); }
  100% { transform: translate(1%, -1%); }
}

.lamp {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  animation: lamp-flicker 4.5s ease-in-out infinite;
}

.lamp-a {
  width: 42vw;
  height: 42vw;
  top: -8%;
  left: 28%;
  background: rgba(255, 179, 71, 0.22);
}

.lamp-b {
  width: 28vw;
  height: 28vw;
  right: -5%;
  top: 35%;
  background: rgba(47, 227, 107, 0.12);
  animation-delay: -1.8s;
}

.lamp-c {
  width: 36vw;
  height: 36vw;
  left: -10%;
  bottom: 5%;
  background: rgba(143, 90, 50, 0.18);
  animation-delay: -3s;
}

@keyframes lamp-flicker {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  40% { opacity: 1; transform: scale(1.04); }
  55% { opacity: 0.65; transform: scale(0.98); }
  70% { opacity: 0.92; transform: scale(1.02); }
}

#embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  backdrop-filter: blur(14px);
  background: rgba(10, 7, 5, 0.72);
  border-bottom: 1px solid var(--line);
}

.sigil {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.sigil img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(47, 227, 107, 0.35), 0 0 18px rgba(255, 179, 71, 0.25);
  animation: seal-pulse 2.8s ease-in-out infinite;
}

@keyframes seal-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(47, 227, 107, 0.35), 0 0 18px rgba(255, 179, 71, 0.25); }
  50% { box-shadow: 0 0 0 3px rgba(47, 227, 107, 0.55), 0 0 28px rgba(255, 179, 71, 0.4); }
}

.sigil strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.sigil small {
  color: var(--cream-dim);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rail {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
}

.rail a {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  transition: color 0.25s ease;
}

.rail a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--baton), var(--lamp));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.rail a:hover,
.rail a:focus-visible {
  color: var(--cream);
}

.rail a:hover::after,
.rail a:focus-visible::after {
  transform: scaleX(1);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
}

.social {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(244, 232, 208, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.social img {
  width: 18px;
  height: 18px;
}

.social:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 227, 107, 0.45);
  background: rgba(47, 227, 107, 0.1);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(244, 232, 208, 0.04);
  cursor: pointer;
}

.menu-btn i {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--cream);
  transition: transform 0.3s ease;
}

.menu-btn[aria-expanded="true"] i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] i:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Buttons */
.strike,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.strike {
  padding: 0.7rem 1.15rem;
  color: #06140a;
  background: linear-gradient(135deg, var(--baton) 0%, #7dffb0 45%, var(--lamp) 140%);
  box-shadow: 0 0 0 1px rgba(47, 227, 107, 0.35), 0 10px 30px rgba(47, 227, 107, 0.2);
}

.strike:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(47, 227, 107, 0.55), 0 16px 40px rgba(47, 227, 107, 0.35);
}

.ghost {
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line);
  background: rgba(18, 12, 8, 0.55);
  color: var(--cream);
}

.ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 179, 71, 0.45);
  background: rgba(255, 179, 71, 0.08);
}

.ghost.light {
  background: rgba(10, 7, 5, 0.45);
  backdrop-filter: blur(8px);
}

.fat {
  padding: 0.95rem 1.35rem;
  font-size: 0.98rem;
}

.strike img,
.ghost img,
.inline-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Hero */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem) 3rem;
  position: relative;
}

.hero-stage {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
}

.thump-rings {
  position: absolute;
  left: 18%;
  top: 48%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.thump-rings span {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(47, 227, 107, 0.35);
  border-radius: 50%;
  animation: thump 2.6s ease-out infinite;
}

.thump-rings span:nth-child(2) { animation-delay: 0.85s; }
.thump-rings span:nth-child(3) { animation-delay: 1.7s; }

@keyframes thump {
  0% { transform: scale(0.45); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

.mascot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.mascot-img {
  width: min(100%, 420px);
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.55));
  animation: float-mascot 5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.mascot-glow {
  position: absolute;
  width: 70%;
  height: 40%;
  bottom: 4%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 179, 71, 0.35), transparent 70%);
  filter: blur(18px);
  animation: glow-breathe 3.5s ease-in-out infinite;
}

@keyframes float-mascot {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.55; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.15); }
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 71, 0.3);
  background: rgba(255, 179, 71, 0.08);
  color: var(--lamp-hot);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.beat {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--baton);
  box-shadow: 0 0 12px var(--baton);
  animation: beat 1.1s ease-in-out infinite;
}

@keyframes beat {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.65); opacity: 0.55; }
}

.title-stack {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 0.85rem;
}

.title-stack .word {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 179, 71, 0.15);
  animation: word-thump 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.18s);
}

.title-stack .word.accent {
  background: linear-gradient(90deg, var(--baton), var(--lamp-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.35));
}

@keyframes word-thump {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.symbol-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--baton);
}

.symbol-line img {
  width: 22px;
  height: 22px;
}

.tagline {
  max-width: 34rem;
  color: var(--cream-dim);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ca-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(18, 12, 8, 0.7);
  max-width: 100%;
}

.ca-strip span {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lamp);
  font-weight: 700;
}

.ca-strip code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cream-dim);
  font-size: 0.86rem;
}

.ca-strip button {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  color: #06140a;
  background: var(--baton);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ca-strip button:hover {
  transform: translateY(-1px);
  background: #7dffb0;
}

.ca-strip button.copied {
  background: var(--lamp);
}

/* Drumroll */
.drumroll {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(107, 63, 34, 0.35), rgba(18, 12, 8, 0.9), rgba(47, 227, 107, 0.12));
  overflow: hidden;
  padding: 0.85rem 0;
}

.drumroll-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: scroll-drum 28s linear infinite;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  font-size: 1.05rem;
}

.drumroll-track span:nth-child(odd) {
  color: var(--baton);
}

@keyframes scroll-drum {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Panels */
.panel {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1rem, 3vw, 2rem);
}

.panel-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--baton);
}

.kicker.light {
  color: var(--lamp-hot);
}

.panel-head h2,
.join-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.lede-soft {
  color: var(--cream-dim);
  font-size: 1.05rem;
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.slab {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(143, 90, 50, 0.18), rgba(18, 12, 8, 0.75)),
    rgba(18, 12, 8, 0.65);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  animation-delay: calc(var(--d) * 80ms);
}

.slab::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--baton), var(--lamp));
}

.slab:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 227, 107, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.slab-mark {
  font-family: var(--font-display);
  color: rgba(255, 179, 71, 0.55);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.slab h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.slab p {
  color: var(--cream-dim);
  font-size: 0.98rem;
}

/* How to buy */
.route {
  list-style: none;
  display: grid;
  gap: 1rem;
  position: relative;
}

.route::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--baton), rgba(255, 179, 71, 0.15));
}

.route-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
  position: relative;
}

.route-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #06140a;
  background: linear-gradient(145deg, var(--baton), var(--lamp));
  box-shadow: 0 0 0 6px rgba(47, 227, 107, 0.12), 0 10px 25px rgba(0, 0, 0, 0.35);
  animation: route-pulse 2.8s ease-in-out infinite;
  animation-delay: calc(var(--d) * 0.2s);
}

@keyframes route-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(47, 227, 107, 0.12), 0 10px 25px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(47, 227, 107, 0.2), 0 10px 25px rgba(0, 0, 0, 0.35); }
}

.route-body {
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(18, 12, 8, 0.72);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.route-step:hover .route-body {
  border-color: rgba(255, 179, 71, 0.35);
  transform: translateX(6px);
}

.route-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.route-body p {
  color: var(--cream-dim);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--baton);
}

.inline-link:hover {
  color: var(--lamp-hot);
}

/* Chart */
.chart-frame {
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(18, 12, 8, 0.85);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.chart-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(107, 63, 34, 0.25), transparent);
}

.chart-tools a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.chart-tools a img {
  width: 16px;
  height: 16px;
}

.chart-tools a:hover {
  border-color: rgba(47, 227, 107, 0.4);
  background: rgba(47, 227, 107, 0.08);
}

.chart-embed {
  position: relative;
  min-height: 560px;
  background: #0d0a07;
}

.chart-embed iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.chart-embed.is-live iframe {
  opacity: 1;
}

.chart-embed.is-live .chart-wait {
  display: none;
}

.chart-wait {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  color: var(--cream-dim);
}

.chart-wait img {
  width: 96px;
  animation: float-mascot 4s ease-in-out infinite;
}

.chart-wait code {
  color: var(--lamp);
}

/* Join Us */
.joinus {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: end stretch;
  overflow: hidden;
  margin-top: 2rem;
}

.join-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.join-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  transition: transform 0.6s ease-out;
  will-change: transform;
}

.join-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 7, 5, 0.35) 0%, rgba(10, 7, 5, 0.55) 40%, rgba(10, 7, 5, 0.92) 100%),
    radial-gradient(ellipse at 30% 60%, rgba(47, 227, 107, 0.12), transparent 45%);
}

.join-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 2rem) clamp(3.5rem, 7vw, 5rem);
}

.join-content p {
  max-width: 36rem;
  color: var(--cream-dim);
  margin-bottom: 1.4rem;
  font-size: 1.08rem;
}

.join-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 2.5rem clamp(1rem, 3vw, 2rem) 3rem;
  display: grid;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

.footer-brand span {
  color: var(--cream-dim);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 0.7rem;
}

.footer-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(244, 232, 208, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.footer-links a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 227, 107, 0.4);
}

.disclaimer {
  color: rgba(217, 199, 168, 0.65);
  font-size: 0.85rem;
  max-width: 42rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--d, 0) * 90ms);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-stage {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .thump-rings {
    left: 50%;
    top: 22%;
  }

  .title-stack {
    justify-items: center;
  }

  .tagline {
    margin-inline: auto;
  }

  .hero-ctas,
  .ca-strip {
    justify-content: center;
  }

  .symbol-line {
    justify-content: center;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .panel-head {
    text-align: center;
    margin-inline: auto;
  }
}

@media (max-width: 780px) {
  .topbar {
    grid-template-columns: auto auto 1fr;
  }

  .menu-btn {
    display: block;
    justify-self: start;
  }

  .rail {
    position: fixed;
    inset: 76px 1rem auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(12, 8, 5, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  }

  .rail.open {
    display: flex;
  }

  .rail a {
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }

  .rail a:hover {
    background: rgba(47, 227, 107, 0.08);
  }

  .top-actions .strike {
    display: none;
  }

  .route::before {
    left: 22px;
  }

  .route-step {
    grid-template-columns: 46px 1fr;
  }

  .route-num {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .chart-embed,
  .chart-embed iframe {
    min-height: 420px;
    height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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