:root {
  --ink: #0e1218;
  --ink-soft: #141b27;
  --panel: #111a2b;
  --paper: #f7f5d9;
  --white: #fffdf1;
  --muted: #a8b1bf;
  --acid: #57f12f;
  --acid-hot: #eff12a;
  --cyan: #33d7ff;
  --blue: #25589a;
  --purple: #7e2e84;
  --red: #e12d1b;
  --orange: #e3591e;
  --border: rgba(255, 253, 241, 0.17);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Courier New", Courier, monospace;
  --header-height: 84px;
  --shell: min(1200px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 8%, rgba(51, 215, 255, 0.09), transparent 26rem),
    radial-gradient(circle at 8% 38%, rgba(126, 46, 132, 0.11), transparent 34rem),
    var(--ink);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  color: var(--ink);
  background: var(--acid-hot);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  transform: translateY(-160%);
  color: var(--ink);
  background: var(--acid-hot);
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.screen-noise,
.scanlines {
  position: fixed;
  z-index: 900;
  inset: 0;
  pointer-events: none;
}

.screen-noise {
  opacity: 0.13;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.35) 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 65% 45%, rgba(255, 255, 255, 0.23) 0 0.7px, transparent 0.9px),
    radial-gradient(circle at 30% 75%, rgba(0, 0, 0, 0.8) 0 0.7px, transparent 1px);
  background-size: 7px 7px, 11px 11px, 13px 13px;
  mix-blend-mode: overlay;
}

.scanlines {
  opacity: 0.11;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.55) 4px,
    rgba(0, 0, 0, 0.55) 5px
  );
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 12px max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid transparent;
  transition: min-height 180ms ease, background-color 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  border-color: var(--border);
  background: rgba(8, 11, 16, 0.84);
  backdrop-filter: blur(16px) saturate(135%);
}

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

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--acid);
  filter: drop-shadow(0 0 14px rgba(87, 241, 47, 0.45));
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.28rem;
  font-stretch: condensed;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav > a,
.sound-toggle {
  position: relative;
  border: 0;
  color: rgba(255, 253, 241, 0.76);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav > a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--acid);
  transition: transform 180ms ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.sound-toggle:hover,
.sound-toggle:focus-visible {
  color: var(--white);
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  background: rgba(14, 18, 24, 0.58);
}

.sound-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 9px rgba(225, 45, 27, 0.9);
}

.sound-toggle.is-on .sound-dot {
  background: var(--acid);
  box-shadow: 0 0 9px rgba(87, 241, 47, 0.9);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  background: rgba(14, 18, 24, 0.72);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #090d12;
}

.hero::after {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 54px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(87, 241, 47, 0.7), transparent);
}

.hero-media {
  --mouse-x: 0px;
  --mouse-y: 0px;
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  transform: translate3d(var(--mouse-x), var(--mouse-y), 0) scale(1.03);
  transition: transform 160ms linear;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(1.08) contrast(1.04) brightness(0.88);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 16, 0.98) 0%, rgba(8, 11, 16, 0.91) 27%, rgba(8, 11, 16, 0.4) 55%, rgba(8, 11, 16, 0.1) 74%, rgba(8, 11, 16, 0.48) 100%),
    linear-gradient(180deg, rgba(8, 11, 16, 0.48), transparent 18%, transparent 72%, rgba(8, 11, 16, 0.9));
}

.hero-flare {
  position: absolute;
  border-radius: 50%;
  opacity: 0.44;
  filter: blur(60px);
  mix-blend-mode: screen;
}

.hero-flare-one {
  top: 11%;
  right: 10%;
  width: 24vw;
  height: 24vw;
  background: rgba(87, 241, 47, 0.2);
  animation: flare-pulse 3.4s ease-in-out infinite alternate;
}

.hero-flare-two {
  right: 32%;
  bottom: 6%;
  width: 19vw;
  height: 19vw;
  background: rgba(225, 45, 27, 0.22);
  animation: flare-pulse 2.7s 0.4s ease-in-out infinite alternate-reverse;
}

.hero-grid {
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding-top: calc(var(--header-height) + 62px);
  padding-bottom: 148px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(700px, 62vw);
  min-width: 0;
}

.reveal-on-load {
  animation: hero-enter 850ms 120ms cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: rgba(255, 253, 241, 0.68);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 9px;
  border: 1px solid rgba(87, 241, 47, 0.48);
  color: var(--acid);
  background: rgba(87, 241, 47, 0.08);
  box-shadow: inset 0 0 16px rgba(87, 241, 47, 0.08);
}

.glitch-title {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(4.5rem, 10.5vw, 10rem);
  font-weight: 900;
  font-stretch: ultra-condensed;
  letter-spacing: -0.045em;
  line-height: 0.76;
  text-shadow:
    4px 0 0 rgba(51, 215, 255, 0.7),
    -4px 0 0 rgba(225, 45, 27, 0.7),
    0 12px 45px rgba(0, 0, 0, 0.55);
  transform: scaleX(0.88);
  transform-origin: left center;
}

.glitch-title::before,
.glitch-title::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  pointer-events: none;
}

.glitch-title::before {
  left: 4px;
  color: var(--acid);
  clip-path: polygon(0 15%, 100% 15%, 100% 37%, 0 37%);
  opacity: 0.25;
  animation: glitch-a 3.8s infinite steps(1, end);
}

.glitch-title::after {
  left: -4px;
  color: var(--cyan);
  clip-path: polygon(0 67%, 100% 67%, 100% 84%, 0 84%);
  opacity: 0.23;
  animation: glitch-b 4.6s 0.4s infinite steps(1, end);
}

.hero-kicker {
  margin: 25px 0 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.85rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.hero-kicker strong {
  color: var(--acid-hot);
  text-shadow: 2px 2px 0 var(--red), 0 0 24px rgba(239, 241, 42, 0.3);
}

.hero-intro {
  max-width: 610px;
  margin: 19px 0 0;
  color: rgba(255, 253, 241, 0.77);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 150ms ease, color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.site-nav a:focus-visible,
.sound-toggle:focus-visible,
.menu-toggle:focus-visible,
.contract-box button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.button-primary {
  border-color: var(--acid);
  color: #081008;
  background: var(--acid);
  box-shadow: 7px 7px 0 rgba(239, 241, 42, 0.28), 0 0 28px rgba(87, 241, 47, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--acid-hot);
  background: var(--acid-hot);
  box-shadow: 10px 10px 0 rgba(225, 45, 27, 0.35), 0 0 38px rgba(239, 241, 42, 0.24);
}

.button-ghost {
  color: var(--white);
  background: rgba(14, 18, 24, 0.61);
  backdrop-filter: blur(8px);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--acid);
  color: var(--acid);
  background: rgba(87, 241, 47, 0.07);
}

.button-danger {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
  box-shadow: 7px 7px 0 rgba(239, 241, 42, 0.3);
}

.button-danger:hover,
.button-danger:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 10px 10px 0 rgba(87, 241, 47, 0.28);
}

.button:disabled {
  opacity: 0.78;
  cursor: wait;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255, 253, 241, 0.58);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-light,
.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(225, 45, 27, 0.9);
  animation: blink 1.2s steps(1, end) infinite;
}

.status-divider {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.22);
}

.broadcast-strip {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 55px;
  overflow: hidden;
  border-top: 1px solid rgba(239, 241, 42, 0.65);
  border-bottom: 1px solid rgba(239, 241, 42, 0.65);
  color: var(--ink);
  background: var(--acid-hot);
}

.broadcast-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  gap: 25px;
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: 0.07em;
  white-space: nowrap;
  animation: ticker 24s linear infinite;
}

.broadcast-track i {
  color: var(--red);
  font-style: normal;
}

.scroll-cue {
  position: absolute;
  z-index: 6;
  right: max(24px, calc((100vw - 1200px) / 2));
  bottom: 78px;
  display: grid;
  justify-items: end;
  gap: 8px;
  color: rgba(255, 253, 241, 0.54);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 70px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.scroll-cue i::after {
  display: block;
  width: 38%;
  height: 100%;
  content: "";
  background: var(--acid);
  animation: scroll-line 1.7s ease-in-out infinite;
}

.section {
  position: relative;
  padding-block: clamp(92px, 10vw, 150px);
}

.section-heading {
  display: grid;
  max-width: 920px;
  gap: 0;
  margin-bottom: clamp(42px, 6vw, 78px);
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered .eyebrow {
  justify-content: center;
}

.section-heading h2,
.evidence-copy h2,
.rampage-head h2,
.token-copy h2,
.join-inner h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(3rem, 7.8vw, 7.3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.88;
  text-wrap: balance;
}

.section-heading > p:last-child,
.evidence-copy > p,
.token-intro,
.join-inner > p {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.lore-section {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 88, 154, 0.12), transparent 34%),
    var(--ink);
}

.lore-section::before {
  position: absolute;
  top: 0;
  right: -8vw;
  width: 38vw;
  height: 38vw;
  content: "";
  border: 1px solid rgba(87, 241, 47, 0.12);
  transform: rotate(17deg);
  background: repeating-linear-gradient(90deg, transparent 0 25px, rgba(87, 241, 47, 0.025) 25px 26px);
}

.origin-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(230px, auto);
  gap: 18px;
}

.origin-card {
  position: relative;
  grid-column: span 5;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(37, 88, 154, 0.18), rgba(14, 18, 24, 0.75)),
    var(--panel);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.origin-card::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 9px solid rgba(14, 18, 24, 0.55);
  pointer-events: none;
}

.origin-card-large {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 620px;
}

.origin-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 800ms ease;
}

.origin-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.14) contrast(1.07);
}

.card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 11, 16, 0.92));
}

.origin-card-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(25px, 4vw, 45px);
}

.origin-card-copy-static {
  position: relative;
  display: grid;
  height: 100%;
  align-content: end;
}

.origin-card-copy > span,
.feature-number,
.evidence-label,
.token-facts span,
.contract-box span,
.stat-stamp small,
.gallery-track figcaption {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.origin-card-copy h3,
.feature-card h3 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 3.35rem);
  letter-spacing: 0.01em;
  line-height: 0.98;
}

.origin-card-copy p,
.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.origin-card-large .origin-card-copy p {
  color: rgba(255, 253, 241, 0.72);
}

.origin-card-acid {
  color: var(--ink);
  background: var(--acid-hot);
}

.origin-card-acid::after {
  border-color: rgba(14, 18, 24, 0.22);
}

.origin-card-acid .origin-card-copy > span,
.origin-card-acid .origin-card-copy p {
  color: rgba(14, 18, 24, 0.74);
}

.stat-stamp {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  width: 112px;
  height: 112px;
  place-content: center;
  border: 4px solid var(--red);
  border-radius: 50%;
  transform: rotate(12deg);
  color: var(--red);
  text-align: center;
  box-shadow: inset 0 0 0 4px var(--panel), inset 0 0 0 7px var(--red);
}

.stat-stamp small {
  color: inherit;
  font-size: 0.56rem;
}

.stat-stamp strong {
  font-family: var(--display);
  font-size: 2.3rem;
  line-height: 0.9;
}

.laser-diagram {
  position: absolute;
  top: 32px;
  right: 25px;
  width: 42%;
  height: 42%;
}

.laser-diagram::before {
  position: absolute;
  top: 5%;
  right: 0;
  width: 82px;
  height: 82px;
  content: "";
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 12px var(--orange), 0 0 0 23px var(--acid-hot);
}

.laser-diagram span {
  position: absolute;
  top: 20%;
  right: 53px;
  width: 210px;
  height: 7px;
  transform-origin: right center;
  background: var(--acid);
  box-shadow: 0 0 14px var(--acid);
}

.laser-diagram span:first-child {
  transform: rotate(162deg);
}

.laser-diagram span:last-child {
  transform: rotate(194deg);
}

.evidence-section {
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(225, 45, 27, 0.08), transparent 42%),
    #0a0e14;
}

.evidence-section::before,
.evidence-section::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.evidence-section::before {
  top: 0;
  left: 0;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.evidence-section::after {
  right: -12%;
  bottom: -30%;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87, 241, 47, 0.12), transparent 66%);
}

.evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: clamp(45px, 8vw, 110px);
}

.evidence-copy h2 {
  font-size: clamp(3rem, 6vw, 6.3rem);
}

.evidence-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.evidence-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-list span {
  color: var(--muted);
}

.evidence-list strong {
  color: var(--acid);
  text-align: right;
}

.evidence-frame {
  position: relative;
  padding: 17px;
  border: 1px solid rgba(87, 241, 47, 0.35);
  transform: rotate(1.1deg);
  background: #050709;
  box-shadow: 17px 20px 0 rgba(225, 45, 27, 0.18), var(--shadow);
}

.evidence-frame::before {
  position: absolute;
  z-index: -1;
  inset: -13px 25px 25px -13px;
  content: "";
  border: 1px solid rgba(51, 215, 255, 0.24);
}

.evidence-frame video {
  width: 100%;
  aspect-ratio: 1;
  background: #000;
}

.evidence-label {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 31px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  color: var(--white);
  background: rgba(5, 7, 9, 0.75);
  backdrop-filter: blur(7px);
}

.frame-corners i {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--acid);
}

.frame-corners i:nth-child(1) {
  top: 6px;
  left: 6px;
  border-top: 3px solid;
  border-left: 3px solid;
}

.frame-corners i:nth-child(2) {
  top: 6px;
  right: 6px;
  border-top: 3px solid;
  border-right: 3px solid;
}

.frame-corners i:nth-child(3) {
  right: 6px;
  bottom: 6px;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.frame-corners i:nth-child(4) {
  bottom: 6px;
  left: 6px;
  border-bottom: 3px solid;
  border-left: 3px solid;
}

.meme-engine {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.016) 0 2px, transparent 2px 11px),
    var(--ink-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 410px;
  padding: clamp(28px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(8, 11, 16, 0.72);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(87, 241, 47, 0.56);
}

.feature-card::after {
  position: absolute;
  right: -25%;
  bottom: -38%;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(87, 241, 47, 0.12), transparent 68%);
}

.feature-number {
  display: block;
  color: rgba(255, 253, 241, 0.35);
}

.feature-icon {
  position: relative;
  display: grid;
  width: 142px;
  height: 142px;
  margin: 42px 0 40px;
  place-items: center;
  border: 1px solid rgba(87, 241, 47, 0.3);
  background: rgba(87, 241, 47, 0.04);
}

.feature-icon::before,
.feature-icon::after {
  position: absolute;
  width: 15px;
  height: 15px;
  content: "";
  border-color: var(--acid);
}

.feature-icon::before {
  top: -1px;
  left: -1px;
  border-top: 3px solid;
  border-left: 3px solid;
}

.feature-icon::after {
  right: -1px;
  bottom: -1px;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.feature-icon-eyes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.feature-icon-eyes i {
  position: relative;
  width: 27px;
  height: 12px;
  transform: skewX(-24deg);
  background: var(--acid);
  box-shadow: 0 0 17px var(--acid);
}

.feature-icon-eyes i::after {
  position: absolute;
  top: 3px;
  left: 10px;
  width: 90px;
  height: 5px;
  content: "";
  transform: rotate(18deg);
  transform-origin: left;
  background: linear-gradient(90deg, var(--acid), transparent);
}

.feature-icon-eyes i:last-child::after {
  transform: rotate(-18deg);
}

.feature-icon-city {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 6px;
  padding-bottom: 27px;
}

.feature-icon-city i {
  width: 18px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: inset 5px 0 0 rgba(0, 0, 0, 0.18);
}

.feature-icon-city i:nth-child(1) { height: 42px; }
.feature-icon-city i:nth-child(2) { height: 67px; }
.feature-icon-city i:nth-child(3) { height: 51px; }
.feature-icon-city i:nth-child(4) { height: 77px; }

.feature-icon-trash {
  color: var(--ink);
  background: var(--acid-hot);
  font-family: var(--display);
  font-size: 3.6rem;
  letter-spacing: -0.08em;
  text-shadow: 3px 3px 0 var(--red);
}

.feature-card h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  text-transform: uppercase;
}

.rampage-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(87, 241, 47, 0.08), transparent 33rem),
    #080b10;
}

.rampage-section::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130vw;
  height: 1px;
  content: "";
  transform: translateX(-50%) rotate(-8deg);
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.35;
}

.rampage-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 45px;
}

.rampage-head h2 {
  font-size: clamp(3rem, 6.5vw, 6.8rem);
}

.destruction-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(87, 241, 47, 0.35);
  background: #071008;
  box-shadow: 0 0 0 9px rgba(14, 18, 24, 0.8), 20px 25px 0 rgba(225, 45, 27, 0.18), var(--shadow);
  isolation: isolate;
}

.stage-image {
  position: absolute;
  z-index: -3;
  inset: 0;
  transform: scale(1.01);
  background-image: linear-gradient(180deg, rgba(8, 11, 16, 0.05), rgba(8, 11, 16, 0.48)), url("../images/rampage-02.webp");
  background-position: center 39%;
  background-size: cover;
  filter: saturate(1.08) contrast(1.04);
}

.stage-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(87, 241, 47, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 241, 47, 0.3) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, transparent 0 35%, #000 100%);
}

.stage-hud {
  position: absolute;
  z-index: 7;
  top: 21px;
  right: 21px;
  left: 21px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(87, 241, 47, 0.7);
}

.stage-beam {
  position: absolute;
  z-index: 4;
  top: 18%;
  left: 52%;
  width: 64%;
  height: 10px;
  transform-origin: left center;
  background: linear-gradient(90deg, #fff, var(--acid-hot) 7%, var(--acid) 22%, rgba(87, 241, 47, 0.05));
  box-shadow: 0 0 8px #fff, 0 0 22px var(--acid), 0 0 45px var(--acid);
  opacity: 0;
}

.stage-beam-one {
  transform: rotate(158deg) scaleX(0);
}

.stage-beam-two {
  top: 20%;
  left: 65%;
  transform: rotate(17deg) scaleX(0);
}

.stage-flash {
  position: absolute;
  z-index: 9;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

.city-silhouette {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 38%;
  pointer-events: none;
}

.city-silhouette::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 13%;
  content: "";
  background: #06080b;
}

.city-silhouette i {
  position: absolute;
  bottom: 0;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  border-top: 2px solid rgba(51, 215, 255, 0.25);
  background:
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(239, 241, 42, 0.17) 10px 13px, transparent 13px 21px),
    repeating-linear-gradient(180deg, transparent 0 16px, rgba(51, 215, 255, 0.12) 16px 19px, transparent 19px 29px),
    #070a0e;
  box-shadow: inset 7px 0 rgba(255, 255, 255, 0.015);
}

.blast {
  position: absolute;
  z-index: 8;
  width: 78px;
  height: 78px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, #fff 0 8%, var(--acid-hot) 9% 24%, var(--orange) 25% 45%, var(--red) 46% 62%, transparent 64%);
  filter: drop-shadow(0 0 18px rgba(239, 241, 42, 0.9));
  animation: blast 1.2s cubic-bezier(0.17, 0.67, 0.35, 1) forwards;
}

.destruction-stage.is-rampaging .stage-beam-one {
  animation: laser-left 1s 80ms ease-out both;
}

.destruction-stage.is-rampaging .stage-beam-two {
  animation: laser-right 1s 110ms ease-out both;
}

.destruction-stage.is-rampaging .stage-flash {
  animation: stage-flash 900ms 420ms steps(1, end) both;
}

.destruction-stage.is-rampaging .stage-image {
  animation: stage-crush 1.35s ease-in-out both;
}

.destruction-stage.is-rampaging .city-silhouette i:nth-child(odd) {
  animation: building-hit 1.1s 430ms ease-in-out both;
}

.destruction-stage.is-rampaging .city-silhouette i:nth-child(even) {
  animation: building-hit 1.1s 560ms ease-in-out both reverse;
}

.threat-meter {
  margin-top: 46px;
}

.threat-labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 253, 241, 0.47);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.threat-track {
  height: 22px;
  padding: 4px;
  border: 1px solid rgba(87, 241, 47, 0.35);
  background: rgba(87, 241, 47, 0.05);
}

.threat-track i {
  display: block;
  width: 14%;
  height: 100%;
  background: linear-gradient(90deg, var(--acid), var(--acid-hot), var(--orange), var(--red));
  box-shadow: 0 0 16px rgba(87, 241, 47, 0.45);
  transition: width 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.threat-meter p {
  margin: 13px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.threat-meter strong {
  color: var(--acid);
}

.token-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(37, 88, 154, 0.12), transparent 50%),
    var(--ink-soft);
}

.token-section::after {
  position: absolute;
  right: -12vw;
  bottom: -28vw;
  width: 50vw;
  height: 50vw;
  border: 1px solid rgba(239, 241, 42, 0.09);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 90px rgba(87, 241, 47, 0.04);
}

.token-shell {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(45px, 8vw, 110px);
}

.token-poster {
  position: relative;
  padding: 13px;
  border: 1px solid rgba(239, 241, 42, 0.36);
  transform: rotate(-2.1deg);
  background: var(--acid-hot);
  box-shadow: 20px 24px 0 rgba(225, 45, 27, 0.28), var(--shadow);
}

.token-poster img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}

.token-poster-stamp {
  position: absolute;
  right: -26px;
  bottom: 31px;
  padding: 10px 16px;
  transform: rotate(-7deg);
  border: 4px solid var(--red);
  color: var(--red);
  background: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--ink);
}

.token-copy h2 {
  font-size: clamp(3rem, 6.5vw, 6.4rem);
}

.token-copy h2 span {
  color: var(--acid);
}

.token-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 38px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.token-facts article {
  display: grid;
  gap: 7px;
  min-height: 104px;
  align-content: center;
  padding: 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 11, 16, 0.45);
}

.token-facts strong {
  color: var(--white);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  overflow-wrap: anywhere;
}

.contract-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 18px 18px 18px 21px;
  border: 1px solid rgba(87, 241, 47, 0.34);
  background: rgba(87, 241, 47, 0.05);
}

.contract-box > div {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.contract-box code {
  overflow: hidden;
  color: var(--white);
  font-family: var(--mono);
  font-size: clamp(0.69rem, 1.15vw, 0.88rem);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-box button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--acid);
  color: var(--ink);
  background: var(--acid);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.contract-warning {
  margin: 12px 0 0;
  color: rgba(255, 253, 241, 0.53);
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.6;
  text-transform: uppercase;
}

.gallery-section {
  padding-block: 0;
  overflow: hidden;
  background: var(--acid-hot);
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  gap: 0;
}

.gallery-track figure {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  border-right: 5px solid var(--ink);
  background: var(--ink);
}

.gallery-track figure:last-child {
  border-right: 0;
}

.gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.08);
  transition: transform 700ms ease, filter 700ms ease;
}

.gallery-track figure:hover img {
  transform: scale(1.055);
  filter: saturate(1.15) contrast(1.04);
}

.gallery-track figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 9px;
  color: var(--ink);
  background: var(--acid-hot);
}

.join-section {
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #080b10;
}

.join-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 16, 0.97) 0%, rgba(8, 11, 16, 0.82) 42%, rgba(8, 11, 16, 0.34) 78%, rgba(8, 11, 16, 0.62)),
    linear-gradient(180deg, rgba(8, 11, 16, 0.34), rgba(8, 11, 16, 0.82)),
    url("../images/rampage-03.webp") center 44% / cover no-repeat;
  filter: saturate(1.08) contrast(1.04);
}

.join-inner {
  position: relative;
  z-index: 2;
  padding-block: 80px;
}

.join-inner h2 {
  max-width: 970px;
  font-size: clamp(4rem, 10vw, 10.3rem);
  line-height: 0.8;
  text-shadow: 5px 5px 0 rgba(225, 45, 27, 0.62), -3px -3px 0 rgba(51, 215, 255, 0.35);
}

.join-inner > p {
  color: rgba(255, 253, 241, 0.76);
}

.giant-word {
  position: absolute;
  z-index: -1;
  bottom: -14vw;
  left: -3vw;
  color: transparent;
  font-family: var(--display);
  font-size: 19vw;
  letter-spacing: -0.06em;
  line-height: 1;
  opacity: 0.11;
  -webkit-text-stroke: 2px var(--acid);
  white-space: nowrap;
}

.site-footer {
  position: relative;
  z-index: 2;
  padding-block: 36px;
  border-top: 1px solid var(--border);
  background: #06080c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr auto;
  align-items: center;
  gap: 38px;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.footer-brand span,
.site-footer p,
.footer-meta {
  color: rgba(255, 253, 241, 0.48);
  font-family: var(--mono);
  font-size: 0.63rem;
  line-height: 1.65;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.footer-meta {
  display: grid;
  gap: 4px;
  text-align: right;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--acid);
}

.toast {
  position: fixed;
  z-index: 1000;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100vw - 44px));
  padding: 15px 17px;
  transform: translateY(24px);
  border: 1px solid var(--acid);
  color: var(--white);
  background: rgba(8, 11, 16, 0.94);
  box-shadow: 8px 8px 0 rgba(87, 241, 47, 0.2), var(--shadow);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

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

.js .reveal {
  transform: translateY(34px);
  opacity: 0;
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.18, 1), opacity 700ms ease;
}

.js .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.impact-shake #main {
  animation: page-shake 650ms linear;
}

@keyframes hero-enter {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes flare-pulse {
  from { transform: scale(0.86); opacity: 0.25; }
  to { transform: scale(1.18); opacity: 0.52; }
}

@keyframes glitch-a {
  0%, 89%, 100% { transform: translate(0); }
  90% { transform: translate(11px, -2px); }
  92% { transform: translate(-7px, 2px); }
  94% { transform: translate(3px, 0); }
}

@keyframes glitch-b {
  0%, 85%, 100% { transform: translate(0); }
  86% { transform: translate(-10px, 1px); }
  89% { transform: translate(8px, -2px); }
  91% { transform: translate(-3px, 0); }
}

@keyframes blink {
  0%, 48% { opacity: 1; }
  49%, 60% { opacity: 0.2; }
  61%, 100% { opacity: 1; }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes scroll-line {
  0% { transform: translateX(-110%); }
  50%, 100% { transform: translateX(270%); }
}

@keyframes laser-left {
  0% { transform: rotate(158deg) scaleX(0); opacity: 0; }
  12% { opacity: 1; }
  55% { transform: rotate(158deg) scaleX(1); opacity: 1; }
  100% { transform: rotate(158deg) scaleX(1.05); opacity: 0; }
}

@keyframes laser-right {
  0% { transform: rotate(17deg) scaleX(0); opacity: 0; }
  12% { opacity: 1; }
  55% { transform: rotate(17deg) scaleX(1); opacity: 1; }
  100% { transform: rotate(17deg) scaleX(1.05); opacity: 0; }
}

@keyframes stage-flash {
  0%, 25%, 48%, 100% { opacity: 0; }
  26%, 46% { opacity: 0.82; }
}

@keyframes stage-crush {
  0%, 100% { transform: scale(1.01); filter: saturate(1.08) contrast(1.04); }
  18% { transform: scale(1.05) translate(-3px, 2px); }
  30% { transform: scale(1.04) translate(4px, -3px); filter: saturate(1.5) contrast(1.16); }
  55% { transform: scale(1.06) translate(-5px, 2px); }
}

@keyframes building-hit {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  28% { transform: translate(-7px, 5px) rotate(-2deg); }
  58% { transform: translate(9px, 3px) rotate(3deg); filter: brightness(2); }
}

@keyframes blast {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  16% { transform: translate(-50%, -50%) scale(calc(var(--blast-scale) * 0.85)); opacity: 1; }
  46% { transform: translate(-50%, -50%) scale(var(--blast-scale)); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(calc(var(--blast-scale) * 1.75)); opacity: 0; }
}

@keyframes page-shake {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-4px, 2px); }
  20% { transform: translate(5px, -3px); }
  30% { transform: translate(-6px, 1px); }
  40% { transform: translate(4px, 4px); }
  50% { transform: translate(-3px, -4px); }
  60% { transform: translate(6px, 2px); }
  70% { transform: translate(-4px, 3px); }
  80% { transform: translate(3px, -2px); }
  90% { transform: translate(-2px, 1px); }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 36px, 1000px);
  }

  .site-header {
    padding-inline: 18px;
  }

  .site-nav {
    gap: 20px;
  }

  .hero-copy {
    width: min(640px, 69vw);
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(8, 11, 16, 0.98) 0%, rgba(8, 11, 16, 0.89) 34%, rgba(8, 11, 16, 0.34) 67%, rgba(8, 11, 16, 0.42)),
      linear-gradient(180deg, rgba(8, 11, 16, 0.55), transparent 24%, transparent 66%, rgba(8, 11, 16, 0.9));
  }

  .origin-card-large {
    min-height: 560px;
  }

  .destruction-stage {
    min-height: 540px;
  }

  .footer-grid {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .footer-meta {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 99;
    top: 72px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 0;
    max-height: calc(100svh - 90px);
    padding: 9px;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top;
    border: 1px solid var(--border);
    background: rgba(8, 11, 16, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }

  .site-nav > a,
  .sound-toggle {
    width: 100%;
    min-height: 52px;
    padding: 15px;
    border: 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
  }

  .sound-toggle {
    justify-content: flex-start;
  }

  .site-nav > a::after {
    display: none;
  }

  .hero-media video {
    object-position: 57% center;
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(8, 11, 16, 0.92) 0%, rgba(8, 11, 16, 0.63) 50%, rgba(8, 11, 16, 0.28)),
      linear-gradient(180deg, rgba(8, 11, 16, 0.48), transparent 20%, transparent 48%, rgba(8, 11, 16, 0.92) 82%);
  }

  .hero-copy {
    width: min(690px, 88vw);
    align-self: end;
    padding-bottom: 18px;
  }

  .glitch-title {
    font-size: clamp(4.35rem, 15vw, 8.2rem);
  }

  .scroll-cue {
    display: none;
  }

  .origin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .origin-card,
  .origin-card-large {
    grid-column: auto;
    grid-row: auto;
  }

  .origin-card-large {
    grid-column: 1 / -1;
    min-height: 620px;
  }

  .evidence-grid,
  .token-shell {
    grid-template-columns: 1fr;
  }

  .evidence-frame {
    width: min(680px, 100%);
    margin-inline: auto;
  }

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

  .feature-card {
    min-height: 0;
  }

  .rampage-head {
    display: grid;
    align-items: start;
  }

  .rampage-head .button {
    width: fit-content;
  }

  .destruction-stage {
    min-height: 520px;
  }

  .stage-beam {
    top: 23%;
    left: 52%;
  }

  .stage-beam-two {
    top: 25%;
    left: 65%;
  }

  .token-poster {
    width: min(600px, calc(100% - 18px));
    margin-inline: auto;
  }

  .gallery-track {
    grid-template-columns: repeat(3, minmax(72vw, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--acid-hot);
  }

  .gallery-track figure {
    min-height: 72vw;
    scroll-snap-align: start;
  }

  .join-section {
    min-height: 680px;
  }

  .join-backdrop {
    background-position: 58% center;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .site-header {
    min-height: 66px;
    padding: 9px 14px;
  }

  .site-header.is-scrolled {
    min-height: 62px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 1.03rem;
  }

  .brand-copy small {
    font-size: 0.58rem;
  }

  .site-nav {
    top: 66px;
  }

  .hero-grid {
    min-height: 100svh;
    padding-top: 104px;
    padding-bottom: 116px;
  }

  .hero-media video {
    object-position: 51% center;
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(8, 11, 16, 0.42), rgba(8, 11, 16, 0.18)),
      linear-gradient(180deg, rgba(8, 11, 16, 0.57) 0%, transparent 21%, rgba(8, 11, 16, 0.2) 45%, rgba(8, 11, 16, 0.95) 78%);
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .eyebrow span {
    min-height: 24px;
  }

  .glitch-title {
    width: max-content;
    max-width: none;
    font-size: clamp(3.3rem, 17.5vw, 5.8rem);
    letter-spacing: -0.06em;
    transform: scaleX(0.82);
  }

  .hero-kicker {
    max-width: 330px;
    font-size: clamp(1.55rem, 8vw, 2.4rem);
  }

  .hero-intro {
    max-width: 100%;
    font-size: 0.93rem;
  }

  .hero-actions,
  .join-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-status {
    font-size: 0.58rem;
  }

  .broadcast-strip {
    height: 49px;
  }

  .broadcast-track {
    gap: 18px;
    font-size: 0.96rem;
  }

  .hero::after {
    bottom: 48px;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading h2,
  .evidence-copy h2,
  .rampage-head h2,
  .token-copy h2 {
    font-size: clamp(2.65rem, 14vw, 4.7rem);
  }

  .section-heading {
    margin-bottom: 37px;
  }

  .section-heading > p:last-child,
  .evidence-copy > p,
  .token-intro,
  .join-inner > p {
    margin-top: 18px;
    font-size: 0.95rem;
  }

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

  .origin-card,
  .origin-card-large {
    grid-column: auto;
    min-height: 330px;
  }

  .origin-card-large {
    min-height: 510px;
  }

  .origin-card-copy {
    padding: 26px;
  }

  .stat-stamp {
    top: 21px;
    right: 21px;
    width: 94px;
    height: 94px;
  }

  .laser-diagram {
    top: 20px;
    right: 15px;
    width: 48%;
  }

  .laser-diagram span {
    width: 130px;
  }

  .evidence-grid {
    gap: 45px;
  }

  .evidence-frame {
    padding: 9px;
    box-shadow: 9px 12px 0 rgba(225, 45, 27, 0.18), var(--shadow);
  }

  .evidence-label {
    top: 19px;
    left: 19px;
    font-size: 0.55rem;
  }

  .evidence-list li {
    font-size: 0.63rem;
  }

  .feature-card {
    padding: 28px;
  }

  .feature-icon {
    width: 120px;
    height: 120px;
    margin-block: 30px;
  }

  .destruction-stage {
    min-height: 560px;
    box-shadow: 0 0 0 6px rgba(14, 18, 24, 0.8), 10px 13px 0 rgba(225, 45, 27, 0.18);
  }

  .stage-image {
    background-position: 52% center;
  }

  .stage-hud {
    font-size: 0.54rem;
  }

  .stage-beam {
    top: 28%;
    left: 52%;
    width: 92%;
    height: 7px;
  }

  .stage-beam-two {
    top: 30%;
    left: 72%;
  }

  .city-silhouette {
    height: 31%;
  }

  .threat-labels {
    font-size: 0.49rem;
    letter-spacing: 0.04em;
  }

  .token-poster-stamp {
    right: -10px;
    bottom: 17px;
  }

  .token-facts {
    grid-template-columns: 1fr;
  }

  .token-facts article {
    min-height: 84px;
  }

  .contract-box {
    grid-template-columns: 1fr;
  }

  .contract-box button {
    width: 100%;
  }

  .gallery-track {
    grid-template-columns: repeat(3, 86vw);
  }

  .gallery-track figure {
    min-height: 86vw;
  }

  .join-section {
    min-height: 720px;
  }

  .join-backdrop {
    background:
      linear-gradient(180deg, rgba(8, 11, 16, 0.42) 0%, rgba(8, 11, 16, 0.25) 36%, rgba(8, 11, 16, 0.96) 73%),
      url("../images/rampage-03.webp") 51% 38% / cover no-repeat;
  }

  .join-inner {
    align-self: end;
    padding-block: 70px 54px;
  }

  .join-inner h2 {
    font-size: clamp(3.55rem, 18vw, 6.3rem);
  }

  .giant-word {
    bottom: -3vw;
    font-size: 25vw;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-meta {
    grid-column: auto;
    display: grid;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    max-width: calc(100vw - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media {
    transform: none;
  }
}

/* Decorative layers must never block buttons or links. */
.hero::after,
.lore-section::before,
.rampage-section::before,
.token-section::after,
.feature-card::after,
.join-backdrop,
.giant-word {
  pointer-events: none;
}
