:root {
  --void: #070706;
  --asphalt: #0e0d0b;
  --slab: #17150f;
  --slab-edge: #2a241c;
  --stone: #d8d2c6;
  --dust: #9a9286;
  --rust: #c45c2a;
  --ember: #e89a3a;
  --ember-hot: #ffb45a;
  --pill: #3dcc6a;
  --ink: #1a1612;
  --crack: #2c261e;
  --glass: rgba(18, 16, 12, 0.72);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--stone);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(196, 92, 42, 0.16), transparent 55%),
    radial-gradient(900px 600px at 90% 8%, rgba(232, 154, 58, 0.08), transparent 50%),
    radial-gradient(800px 500px at 70% 90%, rgba(61, 204, 106, 0.04), transparent 45%),
    linear-gradient(180deg, #0a0908 0%, var(--void) 40%, #0c0b09 100%);
  font-family: "Chakra Petch", sans-serif;
  overflow-x: hidden;
}

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

.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;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.noise,
.ember-wash,
.fault-grid,
#debris,
.vein-layer {
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.09;
  mix-blend-mode: overlay;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(2) infinite;
}

.ember-wash {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: radial-gradient(420px 420px at var(--mx, 50%) var(--my, 30%), rgba(232, 154, 58, 0.12), transparent 55%);
  transition: background 0.15s linear;
}

.fault-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(196, 92, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 92, 42, 0.04) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(circle at 50% 20%, #000 20%, transparent 78%);
}

#debris {
  position: fixed;
  inset: 0;
  z-index: 2;
}

.vein-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.vein {
  fill: none;
  stroke: var(--rust);
  stroke-width: 1.4;
  stroke-linecap: square;
  stroke-dasharray: 12 18 4 28;
  animation: vein-crawl 18s linear infinite;
}

.vein-b {
  stroke: var(--ember);
  opacity: 0.55;
  animation-duration: 24s;
  animation-direction: reverse;
}

.vein-c {
  stroke: #6a4a32;
  animation-duration: 30s;
}

.brand-img {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
  filter: brightness(0) invert(86%) sepia(8%) saturate(280%) hue-rotate(8deg);
  transition: filter 0.25s var(--ease), transform 0.25s var(--ease);
}

.rail {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.7rem 1.4rem;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.92), rgba(10, 9, 8, 0.7));
  border-bottom: 1px solid var(--slab-edge);
  backdrop-filter: blur(10px);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 97% 100%, 3% 100%, 0 82%);
}

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

.rail-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(196, 92, 42, 0.45), 0 0 18px rgba(232, 154, 58, 0.25);
  animation: logo-pulse 4.5s ease-in-out infinite;
}

.rail-word {
  font-family: "Rubik Dirt", sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.rail-nav {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
}

.rail-nav a {
  position: relative;
  color: var(--dust);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.rail-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rust), var(--ember));
  transition: width 0.3s var(--ease);
}

.rail-nav a:hover {
  color: var(--stone);
}

.rail-nav a:hover::after {
  width: 100%;
}

.rail-links {
  display: flex;
  gap: 0.45rem;
}

.mark-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #14110d;
  border: 1px solid var(--slab-edge);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}

.mark-btn:hover {
  transform: translateY(-2px) rotate(-2deg);
  border-color: var(--rust);
  background: #221910;
}

.mark-btn:hover .brand-img {
  filter: brightness(0) invert(70%) sepia(48%) saturate(900%) hue-rotate(346deg) brightness(108%);
}

.rail-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  background: #14110d;
  border: 1px solid var(--slab-edge);
  padding: 0;
}

.rail-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--stone);
}

.hero {
  position: relative;
  z-index: 3;
  min-height: 92vh;
  padding: 0 1.4rem 6rem;
  overflow: hidden;
}

.hero-reel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-reel-video,
.smash-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero-bg {
  filter: saturate(0.78) contrast(1.18) sepia(0.16) brightness(0.42);
  transform: scale(1.08);
  transform-origin: center;
}

.hero-reel-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.18) 0%, rgba(7, 7, 6, 0.42) 42%, rgba(7, 7, 6, 0.78) 100%),
    linear-gradient(180deg, rgba(7, 7, 6, 0.2) 0%, transparent 28%, rgba(7, 7, 6, 0.72) 100%),
    radial-gradient(circle at 22% 48%, transparent 12%, rgba(7, 7, 6, 0.45) 48%);
}

.hero-reel-cracks {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(118deg, transparent 0 46px, rgba(196, 92, 42, 0.08) 47px, transparent 49px),
    repeating-linear-gradient(18deg, transparent 0 72px, rgba(232, 154, 58, 0.05) 73px, transparent 76px);
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero.is-hit .hero-reel-video,
.hero.is-hit #hero-bg {
  filter: saturate(0.95) contrast(1.3) sepia(0.2) brightness(0.55);
}

.hero.is-hit {
  animation: smash-hit 0.28s linear;
}

.ticker-rail {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 0 -1.4rem 2.4rem;
  border-block: 1px solid rgba(196, 92, 42, 0.28);
  background: linear-gradient(90deg, rgba(16, 14, 11, 0.72), rgba(26, 20, 15, 0.55) 40%, rgba(16, 14, 11, 0.72));
  backdrop-filter: blur(6px);
}

.ticker-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 0.55rem 0;
  animation: ticker 28s linear infinite;
}

.tick {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--dust);
  white-space: nowrap;
}

.tick b {
  color: var(--ember);
}

.tick s {
  color: #6d6256;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--rust);
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  animation: logo-float 7s ease-in-out infinite;
}

.rift {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 3px #1a1612,
    0 0 0 6px rgba(196, 92, 42, 0.85),
    0 0 28px rgba(232, 154, 58, 0.35),
    0 22px 40px rgba(0, 0, 0, 0.55);
}

.rift-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.12) saturate(0.92) sepia(0.1) brightness(0.92);
}

.logo-halo {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 154, 58, 0.28), transparent 68%);
  filter: blur(12px);
  animation: halo-breathe 5s ease-in-out infinite;
}

.hero-logo {
  position: absolute;
  width: 92px;
  right: 4%;
  bottom: 2%;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 2px rgba(196, 92, 42, 0.7), 0 10px 18px rgba(0, 0, 0, 0.5);
  animation: logo-pulse 4.5s ease-in-out infinite;
}

.logo-chips i {
  position: absolute;
  background: #cfc7b8;
  box-shadow: 0 0 0 1px #3a3228;
  animation: chip-drift 6s ease-in-out infinite;
}

.logo-chips i:nth-child(1) { width: 18px; height: 11px; top: 12%; left: 18%; transform: rotate(18deg); }
.logo-chips i:nth-child(2) { width: 12px; height: 16px; top: 22%; right: 12%; animation-delay: -1.4s; }
.logo-chips i:nth-child(3) { width: 22px; height: 9px; bottom: 18%; left: 10%; animation-delay: -2.2s; transform: rotate(-24deg); }
.logo-chips i:nth-child(4) { width: 10px; height: 10px; bottom: 12%; right: 22%; animation-delay: -3s; }
.logo-chips i:nth-child(5) { width: 14px; height: 8px; top: 48%; right: 4%; animation-delay: -0.8s; background: #c45c2a; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--slab-edge);
  background: #14110d;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chip-ico {
  width: 0.95rem;
  height: 0.95rem;
}

.chip-glitch {
  font-family: "Rubik Glitch", system-ui;
  letter-spacing: 0.08em;
  color: var(--ember-hot);
  animation: flicker 3.6s steps(2) infinite;
}

.chip-rust {
  color: var(--rust);
  border-color: rgba(196, 92, 42, 0.5);
}

.fault-title {
  position: relative;
  margin: 0 0 1rem;
  font-family: "Rubik Dirt", sans-serif;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: transparent;
}

.fault-ghost,
.fault-top,
.fault-bot {
  display: block;
}

.fault-ghost {
  color: #2a231c;
  text-shadow: 6px 8px 0 #000;
}

.fault-top,
.fault-bot {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: var(--stone);
}

.fault-top {
  clip-path: polygon(0 0, 100% 0, 100% 46%, 0 58%);
  transform: translate(-4px, -3px);
  text-shadow: 2px 0 0 rgba(196, 92, 42, 0.45);
  animation: fault-shift 3.4s ease-in-out infinite;
}

.fault-bot {
  clip-path: polygon(0 56%, 100% 44%, 100% 100%, 0 100%);
  transform: translate(5px, 4px);
  color: #c8c0b2;
  text-shadow: -2px 0 0 rgba(232, 154, 58, 0.35);
  animation: fault-shift 3.4s ease-in-out infinite reverse;
}

.hero-copy {
  position: relative;
}

.hero-lead {
  max-width: 36rem;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--dust);
}

.ca-slab {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem 0 1.3rem;
  padding: 0.7rem 0.8rem 0.7rem 1rem;
  max-width: 40rem;
  background: linear-gradient(180deg, #1b1712, #120f0c);
  border: 1px solid var(--slab-edge);
  clip-path: polygon(0 0, 97% 0, 100% 28%, 100% 100%, 4% 100%, 0 72%);
}

.ca-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
}

#ca-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Share Tech Mono", monospace;
  color: var(--stone);
}

#copy-ca {
  border: 0;
  background: var(--rust);
  color: #140e0a;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

#copy-ca:hover {
  background: var(--ember);
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.16), transparent 70%);
  transform: translateX(-120%);
}

.btn:hover {
  transform: translateY(-2px) rotate(-0.4deg);
}

.btn:hover::after {
  animation: slash 0.7s var(--ease);
}

.btn-ember {
  background: linear-gradient(180deg, var(--ember), var(--rust));
  color: #1a120c;
  box-shadow: 0 8px 24px rgba(196, 92, 42, 0.28);
}

.btn-ember .brand-img {
  filter: brightness(0) saturate(100%);
}

.btn-stone {
  background: #16130f;
  border-color: var(--slab-edge);
  color: var(--stone);
}

.btn-stone:hover {
  border-color: var(--rust);
}

.btn-stone:hover .brand-img {
  filter: brightness(0) invert(70%) sepia(48%) saturate(900%) hue-rotate(346deg) brightness(108%);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(216, 210, 198, 0.2);
}

.btn-ghost:hover .brand-img {
  filter: brightness(0) invert(70%) sepia(48%) saturate(900%) hue-rotate(346deg) brightness(108%);
}

.about,
.howtobuy,
.chart,
.joinus {
  position: relative;
  z-index: 3;
  padding: 5.5rem 1.4rem;
  max-width: 1180px;
  margin: 0 auto;
}

.section-kicker {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.kicker-mark {
  font-family: "Share Tech Mono", monospace;
  color: var(--rust);
  letter-spacing: 0.16em;
}

.section-kicker h2,
.join-title {
  margin: 0;
  font-family: "Rubik Distressed", "Rubik Dirt", sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: 0.04em;
}

.section-lead {
  color: var(--dust);
  max-width: 40rem;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 1.2rem;
}

.slab {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
    linear-gradient(180deg, #1c1813, #12100c);
  border: 1px solid var(--slab-edge);
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: 10px 14px 0 rgba(0, 0, 0, 0.35);
  position: relative;
}

.slab::before {
  content: "";
  position: absolute;
  inset: 8px auto auto 8px;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--rust);
  border-left: 2px solid var(--rust);
}

.slab::after {
  content: "";
  position: absolute;
  inset: auto 8px 8px auto;
  width: 18px;
  height: 18px;
  border-bottom: 2px solid rgba(232, 154, 58, 0.5);
  border-right: 2px solid rgba(232, 154, 58, 0.5);
}

.slab-tilt-a { transform: rotate(-0.6deg); }
.slab-tilt-b { transform: rotate(0.7deg); }
.slab-tilt-c { transform: rotate(-0.35deg); }
.slab-tilt-d { transform: rotate(0.5deg); }

.slab p {
  color: var(--dust);
  line-height: 1.7;
}

.slab-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
}

.deny-stack {
  display: grid;
  gap: 0.75rem;
}

.deny-tile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.05rem 1.1rem;
  background: #14110d;
  border: 1px solid var(--slab-edge);
  clip-path: polygon(0 0, 96% 0, 100% 30%, 100% 100%, 6% 100%, 0 70%);
}

.deny-tile span {
  color: var(--dust);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.deny-tile b {
  font-family: "Rubik Dirt", sans-serif;
  color: var(--rust);
}

.board {
  margin-top: 1.6rem;
  padding: 1.1rem 1.2rem 1.3rem;
  border: 1px dashed rgba(196, 92, 42, 0.35);
  background: rgba(10, 9, 8, 0.5);
}

.board-label {
  margin: 0 0 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ember);
}

.board-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.board-list li {
  position: relative;
  padding: 0.35rem 0.8rem;
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.12em;
  border: 1px solid #2c261e;
  color: #7a7166;
}

.board-list li::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: var(--rust);
  transform: rotate(-12deg);
  box-shadow: 0 0 8px var(--rust);
  animation: strike 2.8s ease-in-out infinite;
}

.buy-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.buy-step {
  min-height: 100%;
}

.step-num {
  display: block;
  font-family: "Rubik Distressed", sans-serif;
  font-size: 1.6rem;
  color: var(--rust);
}

.step-icons {
  display: flex;
  gap: 0.4rem;
  margin: 0.6rem 0 0.8rem;
}

.step-icons .brand-img {
  width: 1.4rem;
  height: 1.4rem;
  filter: brightness(0) invert(70%) sepia(48%) saturate(900%) hue-rotate(346deg) brightness(108%);
}

.buy-step h3 {
  margin: 0 0 0.5rem;
  font-family: "Rubik Dirt", sans-serif;
  font-size: 1.25rem;
}

.monitor {
  border: 1px solid var(--slab-edge);
  background: #0d0c0a;
  box-shadow: 0 0 0 8px #14110d, 0 24px 50px rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 18px, 18px 0, calc(100% - 14px) 0, 100% 16px, 100% calc(100% - 12px), calc(100% - 16px) 100%, 12px 100%, 0 calc(100% - 18px));
}

.monitor-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  background: linear-gradient(90deg, #1a140f, #12100c);
  border-bottom: 1px solid var(--slab-edge);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--ember);
}

.monitor-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--stone);
}

.monitor-bar a:hover .brand-img {
  filter: brightness(0) invert(70%) sepia(48%) saturate(900%) hue-rotate(346deg) brightness(108%);
}

.monitor-screen {
  position: relative;
  height: min(680px, 72vh);
  background: #000;
}

.monitor-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  animation: scan 7s linear infinite;
  z-index: 1;
}

.monitor-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.joinus {
  max-width: 1180px;
}

.join-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border: 1px solid var(--slab-edge);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 8%, 2% 0, 100% 0, 100% 88%, 98% 100%, 0 100%);
}

.join-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: ken 22s ease-in-out infinite alternate;
}

.join-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1.3rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 6, 0.88) 55%);
}

.join-title {
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  margin-bottom: 0.8rem;
}

.foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.4rem 3rem;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--dust);
  border-top: 1px solid var(--slab-edge);
}

.foot img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.foot strong {
  display: block;
  color: var(--stone);
  font-family: "Rubik Dirt", sans-serif;
}

.foot span,
.foot p {
  font-size: 0.85rem;
}

.foot p {
  margin-left: auto;
  max-width: 22rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 40;
  padding: 0.7rem 1rem;
  background: #1b1712;
  border: 1px solid var(--rust);
  color: var(--stone);
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: 0.35s var(--ease);
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px) rotate(-0.4deg);
  animation: rise 0.9s var(--ease) forwards;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }

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

@keyframes vein-crawl {
  to { stroke-dashoffset: -420; }
}

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

@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1.2deg); }
}

@keyframes logo-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(196, 92, 42, 0.45), 0 0 18px rgba(232, 154, 58, 0.25); }
  50% { box-shadow: 0 0 0 1px rgba(232, 154, 58, 0.8), 0 0 26px rgba(232, 154, 58, 0.45); }
}

@keyframes halo-breathe {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes chip-drift {
  0%, 100% { transform: translate(0, 0) rotate(12deg); opacity: 0.85; }
  50% { transform: translate(8px, -14px) rotate(-8deg); opacity: 1; }
}

@keyframes fault-shift {
  0%, 100% { transform: translate(-4px, -3px); }
  50% { transform: translate(-7px, -1px); }
}

@keyframes flicker {
  0%, 86%, 100% { opacity: 1; filter: none; }
  88% { opacity: 0.55; filter: hue-rotate(20deg); }
  92% { opacity: 1; transform: translateX(1px); }
}

@keyframes slash {
  to { transform: translateX(120%); }
}

@keyframes strike {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes scan {
  to { background-position: 0 12px; }
}

@keyframes ken {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.1) translateY(-2%); }
}

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

@keyframes smash-hit {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4px, 3px); }
  40% { transform: translate(5px, -2px); }
  60% { transform: translate(-3px, -3px); }
  80% { transform: translate(2px, 2px); }
  100% { transform: translate(0, 0); }
}

@media (max-width: 980px) {
  .hero-stage,
  .about-grid,
  .buy-path {
    grid-template-columns: 1fr;
  }

  .rail-nav,
  .rail-links {
    display: none;
  }

  .rail.open .rail-nav,
  .rail.open .rail-links {
    display: flex;
  }

  .rail.open {
    flex-wrap: wrap;
    clip-path: none;
  }

  .rail.open .rail-nav {
    width: 100%;
    flex-direction: column;
    margin: 0;
    padding: 0.6rem 0 0.2rem;
  }

  .rail.open .rail-links {
    width: 100%;
    padding-bottom: 0.6rem;
  }

  .rail-toggle {
    display: block;
  }

  .foot {
    flex-wrap: wrap;
  }

  .foot p {
    margin-left: 0;
  }

  .join-frame {
    aspect-ratio: 3 / 1;
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-bottom: 3.5rem;
  }

  .rift {
    width: min(78vw, 320px);
  }

  .hero-logo {
    width: 72px;
  }

  .fault-title {
    font-size: 2.35rem;
  }

  .ca-slab {
    flex-wrap: wrap;
  }

  .monitor-screen {
    height: 460px;
  }
}

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

  .noise,
  #debris,
  .vein-layer,
  .hero-reel {
    display: none;
  }

  .rift-video {
    display: none;
  }

  .rift {
    background: #111;
  }

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