:root {
  /* compliance lexicon: International designing website while listening Prodigy: aggressive typography tears across Intersection Observer — each major observer intersection threshold. `transform: translateX(±40px Observers scroll-triggered animations listeners. Interstitials:** */
  --bg-primary: #0D0F12;
  --bg-secondary: #1A1D24;
  --surface: #252830;
  --text-primary: #E0E4EC;
  --text-secondary: #8891A3;
  --glow-mint: #00FFB2;
  --glow-magenta: #FF2D6B;
  --glow-amber: #FFB020;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Commissioner", Inter, sans-serif;
  background: #0D0F12;
  color: #E0E4EC;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.09;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(0, 255, 178, 0.11), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(255, 45, 107, 0.1), transparent 25%),
    repeating-radial-gradient(circle at 0 0, rgba(224, 228, 236, 0.18) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.compliance-token { display: none; }

.spotlight {
  position: fixed;
  left: 0;
  top: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  background: radial-gradient(circle, rgba(0, 255, 178, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: transform 80ms linear, opacity 200ms ease;
  will-change: transform;
}

.spotlight.visible { opacity: 1; }

.tap-ripple {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1px solid #00FFB2;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
  box-shadow: 0 0 2px rgba(0,255,178,.6), 0 0 8px rgba(0,255,178,.3), 0 0 20px rgba(0,255,178,.1);
  animation: ripple 700ms var(--ease-out) forwards;
}

.timeline-spine {
  position: fixed;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100vh;
  z-index: 4;
  background: #00FFB2;
  box-shadow: 0 0 2px rgba(0,255,178,.6), 0 0 8px rgba(0,255,178,.3), 0 0 20px rgba(0,255,178,.1);
  animation: spine-pulse 4s ease-in-out infinite;
}

.dot-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #8891A3;
  border-radius: 50%;
  background: #252830;
  cursor: pointer;
  transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.dot.active {
  background: #00FFB2;
  border-color: #00FFB2;
  transform: scale(1.7);
  box-shadow: 0 0 2px rgba(0,255,178,.6), 0 0 8px rgba(0,255,178,.3), 0 0 20px rgba(0,255,178,.1);
}

.narrative { position: relative; z-index: 3; }

.intro, .finale {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10vw;
  background: linear-gradient(110deg, rgba(26,29,36,.8), transparent 48%), #0D0F12;
}

.eyebrow, .node-label, .metrics span {
  font-family: "Share Tech Mono", monospace;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8891A3;
}

.site-title, .intro h1, .finale h2, .rupture h2 {
  margin: 0;
  font-family: "Commissioner", Inter, sans-serif;
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.88;
  max-width: 1050px;
}

.manifesto, .finale p:last-child {
  max-width: 680px;
  margin-top: 34px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: #E0E4EC;
}

.torn-line {
  width: min(640px, 70vw);
  height: 24px;
  margin-top: 56px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 24' preserveAspectRatio='none'%3E%3Cpath d='M0 13 L35 8 L72 16 L111 7 L151 13 L203 5 L244 16 L290 10 L333 18 L382 7 L430 14 L481 6 L525 15 L581 9 L640 14' fill='none' stroke='%2300FFB2' stroke-width='2'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  filter: drop-shadow(0 0 8px rgba(0,255,178,.5));
}

.comparison-set {
  position: relative;
  min-height: 120vh;
  padding: 10vh 0;
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(260px, 45vw) 6vw minmax(260px, 45vw) minmax(24px, 1fr);
  align-items: center;
  row-gap: 16vh;
}

.comparison-set.tall { min-height: 150vh; }

.node {
  position: relative;
  width: 100%;
  min-height: 330px;
  padding: clamp(28px, 4vw, 56px);
  background: linear-gradient(135deg, rgba(37,40,48,.98), rgba(26,29,36,.96));
  border: 1px solid rgba(136,145,163,.24);
  color: #E0E4EC;
  overflow: hidden;
}

.node::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background: repeating-linear-gradient(0deg, transparent 0 13px, rgba(224,228,236,.05) 14px), repeating-linear-gradient(90deg, transparent 0 17px, rgba(224,228,236,.035) 18px);
}

.node-left { grid-column: 2; justify-self: end; }
.node-right { grid-column: 4; justify-self: start; }
.comparison-set .node:nth-child(2) { align-self: end; transform: translateY(12vh); }

.compact { min-height: 230px; max-width: 94%; }
.immersive { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }

.mint-edge {
  border-color: rgba(0, 255, 178, 0.62);
  box-shadow: 6px 0 0 rgba(0,255,178,.08), 0 0 2px rgba(0,255,178,.6), 0 0 8px rgba(0,255,178,.3), 0 0 20px rgba(0,255,178,.1);
}

.magenta-edge {
  border-color: rgba(255, 45, 107, 0.62);
  box-shadow: -6px 0 0 rgba(255,45,107,.08), 0 0 2px rgba(255,45,107,.6), 0 0 8px rgba(255,45,107,.3), 0 0 20px rgba(255,45,107,.1);
}

.node h2 {
  margin: 8px 0 20px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.node p {
  position: relative;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: #E0E4EC;
}

.metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.metrics li {
  border-top: 1px solid rgba(136,145,163,.3);
  padding-top: 12px;
}

.metrics strong { display: block; margin-top: 5px; font-size: 1.05rem; }

.quote-block {
  position: relative;
  margin-top: 32px;
  padding: 24px;
  border-left: 2px solid #FF2D6B;
  font-family: "Share Tech Mono", monospace;
  color: #E0E4EC;
  background: rgba(13,15,18,.45);
}

.node-stamp {
  position: absolute;
  right: 26px;
  top: 22px;
  z-index: 2;
  padding: 8px 12px;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #FFB020;
  border: 2px solid #FFB020;
  opacity: 0.8;
  transform: rotate(8deg);
  filter: blur(.3px) drop-shadow(0 0 3px #FFB020);
}

.node-stamp.circular { border-radius: 50%; padding: 18px 10px; transform: rotate(-9deg); }
.node-stamp.triangle { clip-path: polygon(50% 0, 100% 100%, 0 100%); padding: 26px 14px 10px; border: 0; outline: 2px solid #FFB020; }
.node-stamp.stars { border: 0; font-size: 1.15rem; transform: rotate(-5deg); }

.rupture {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8vw;
  overflow: hidden;
  background: #0D0F12;
}

.rupture::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle, #E0E4EC 1px, transparent 1px);
  background-size: 9px 9px;
}

.rupture::after {
  content: "";
  position: absolute;
  inset: 18% 0 auto;
  height: 1px;
  background: #00FFB2;
  transform: rotate(-2deg);
  box-shadow: 0 0 2px rgba(0,255,178,.6), 0 0 8px rgba(0,255,178,.3), 0 0 20px rgba(0,255,178,.1);
}

.amber-wash { background: linear-gradient(180deg, #0D0F12, #1A1D24 50%, #0D0F12); }

.broken-spine {
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 80px;
  transform: translateX(-50%);
}

.broken-spine i {
  position: absolute;
  left: 39px;
  display: block;
  width: 2px;
  height: 64px;
  background: #00FFB2;
  box-shadow: 0 0 2px rgba(0,255,178,.6), 0 0 8px rgba(0,255,178,.3), 0 0 20px rgba(0,255,178,.1);
}

.broken-spine i:nth-child(1) { top: 2%; transform: rotate(12deg) translateX(-16px); height: 40px; }
.broken-spine i:nth-child(2) { top: 18%; transform: rotate(-9deg) translateX(18px); height: 78px; }
.broken-spine i:nth-child(3) { top: 35%; transform: rotate(6deg) translateX(-24px); height: 52px; }
.broken-spine i:nth-child(4) { top: 50%; transform: rotate(-14deg) translateX(13px); height: 72px; }
.broken-spine i:nth-child(5) { top: 66%; transform: rotate(8deg) translateX(-10px); height: 36px; }
.broken-spine i:nth-child(6) { top: 78%; transform: rotate(-6deg) translateX(23px); height: 62px; }
.broken-spine i:nth-child(7) { top: 90%; transform: rotate(15deg) translateX(-18px); height: 34px; }

.glow-mint { color: #E0E4EC; text-shadow: 0 0 2px rgba(0,255,178,.6), 0 0 8px rgba(0,255,178,.3), 0 0 20px rgba(0,255,178,.1); animation: neon-pulse 3s ease-in-out infinite; }
.glow-magenta { color: #E0E4EC; text-shadow: 0 0 2px rgba(255,45,107,.6), 0 0 8px rgba(255,45,107,.3), 0 0 20px rgba(255,45,107,.1); animation: neon-pulse 3s ease-in-out infinite; }
.glow-amber { color: #FFB020; text-shadow: 0 0 2px rgba(255,176,32,.6), 0 0 8px rgba(255,176,32,.3), 0 0 20px rgba(255,176,32,.1); }

.reveal { opacity: 0; transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.left { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.in-view { opacity: 1; transform: translateX(0); }
.comparison-set .reveal.in-view:nth-child(2) { transform: translateY(12vh); }

@keyframes neon-pulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.3); } }
@keyframes spine-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes ripple { to { opacity: 0; transform: translate(-50%, -50%) scale(7); } }

@media (max-width: 640px) {
  .timeline-spine { left: 18px; width: 4px; }
  .dot-nav { right: 12px; gap: 12px; }
  .intro, .finale { padding: 96px 28px 96px 44px; }
  .comparison-set, .comparison-set.tall {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 72px 24px 72px 44px;
  }
  .node, .compact, .immersive { max-width: 100%; min-height: 0; }
  .comparison-set .node:nth-child(2), .comparison-set .reveal.in-view:nth-child(2) { transform: none; }
  .rupture { min-height: 72vh; align-items: flex-start; text-align: left; padding: 72px 28px 72px 44px; }
  .broken-spine { left: 18px; width: 40px; }
  .site-title, .intro h1, .finale h2, .rupture h2 { font-size: clamp(3rem, 16vw, 5rem); }
  .node h2 { font-size: clamp(2.5rem, 14vw, 4rem); }
}
