/* ════════════════════════════════════════════════════════════
   URBAN PLAYGROUND - landing prototype
   palette: cream #F4F1E8 · ink #16170F · night #1A1C12
            volt #D9FF4B · olive #8A8C77
   type:    Anton (display) · Instrument Serif (accent)
            Space Grotesk (body) · Space Mono (captions)
   ════════════════════════════════════════════════════════════ */

:root {
  --cream: #F4F1E8;
  --cream-soft: #EFEBDE;
  --ink: #16170F;
  --night: #1A1C12;
  --volt: #D9FF4B;
  --olive: #8A8C77;
  --olive-dark: #4A4D3A;
  --hairline: rgba(22, 23, 15, 0.16);
  --hairline-cream: rgba(244, 241, 232, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --pad: clamp(20px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.display { font-family: "Anton", sans-serif; font-weight: 400; letter-spacing: 0.01em; }
.mono { font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: 0.08em; }
.serif { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; text-transform: none; }
.volt { color: var(--volt); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

section { position: relative; }
.section--dark { background: var(--night); color: var(--cream); }
.section--volt { background: var(--volt); color: var(--ink); }

/* ─── film grain ─── */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 60;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain 0.9s steps(2) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-2%, 1%); }
  100% { transform: translate(1%, -1.5%); }
}

/* ─── reveal system ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

.line { display: block; overflow: hidden; }
.line__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.is-lines-in .line__inner, .line__inner.is-in { transform: translateY(0); }
.line:nth-child(2) .line__inner { transition-delay: 0.12s; }
.line:nth-child(3) .line__inner { transition-delay: 0.24s; }

/* ─── fixed nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: color 0.5s ease;
}
.nav__wordmark { font-weight: 700; letter-spacing: 0.04em; font-size: 14px; }
.nav__wordmark sup { font-size: 8px; }
.nav__links { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); }
.nav__link { position: relative; padding: 4px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: 0.08em;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  background: var(--ink); color: var(--cream);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-bounce);
}
@media (max-width: 680px) {
  .nav { padding: 14px 20px; }
  .nav__link { display: none; }
  .nav__wordmark { font-size: 12px; }
  .nav__cta { padding: 9px 14px; font-size: 10px; }
}
.nav__cta:hover { background: var(--volt); color: var(--ink); transform: scale(1.05); }
body[data-nav="dark"] .nav { color: var(--cream); }
body[data-nav="dark"] .nav__cta { background: var(--volt); color: var(--ink); }
body[data-nav="dark"] .nav__cta:hover { background: var(--cream); }
body[data-nav="volt"] .nav { color: var(--ink); }

/* ─── left rail section counter ─── */
.rail {
  position: fixed; left: 22px; bottom: 26px; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  transition: color 0.5s ease;
}
.rail__rule { width: 28px; height: 1px; background: currentColor; opacity: 0.5; }
body[data-nav="dark"] .rail { color: var(--cream); }
body[data-nav="volt"] .rail, body.rail-hidden .rail {
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
@media (max-width: 900px) { .rail { display: none; } }

/* ─── shared atoms ─── */
.crosshair {
  position: relative; display: inline-block;
  width: 13px; height: 13px; flex: none;
}
.crosshair::before, .crosshair::after {
  content: ""; position: absolute; background: currentColor;
}
.crosshair::before { left: 50%; top: 0; width: 1px; height: 100%; }
.crosshair::after { top: 50%; left: 0; height: 1px; width: 100%; }

.h2 { font-size: clamp(40px, 7vw, 96px); line-height: 0.96; text-transform: uppercase; }
.h2--big { font-size: clamp(52px, 9vw, 150px); line-height: 0.92; text-transform: uppercase; }

/* ════════ 01 · HERO ════════ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: var(--pad);
}
.hero__topo, .finale__topo {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__topo path { stroke: var(--ink); opacity: 0.10; fill: none; stroke-width: 1; }
.finale__topo path { stroke: var(--ink); opacity: 0.12; fill: none; stroke-width: 1; }

.hero__center { position: relative; text-align: center; z-index: 2; }
.hero__title {
  font-size: clamp(64px, 13.5vw, 220px);
  line-height: 0.95;
  text-transform: uppercase;
}
.pulse-wrap { position: relative; display: inline-block; }
.scribble {
  position: absolute; left: -7%; top: -12%;
  width: 114%; height: 124%;
  overflow: visible; pointer-events: none;
}
.scribble__path {
  stroke: var(--volt); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  mix-blend-mode: multiply;
}
.is-lines-in .scribble__path { animation: draw 1.1s var(--ease-out) 0.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__caption { margin-top: 28px; color: var(--olive-dark); }
.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #79a012; margin-right: 6px; vertical-align: 1px;
  animation: blink 1.6s ease infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.hero__chip {
  position: absolute; left: var(--pad); bottom: 30px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--hairline); border-radius: 8px;
  padding: 10px 14px; background: rgba(244, 241, 232, 0.7);
  min-width: 240px;
}
#cityTicker { transition: opacity 0.25s ease, transform 0.25s ease; }
#cityTicker.is-flipping { opacity: 0; transform: translateY(-6px); }

.hero__scroll { position: absolute; right: var(--pad); bottom: 34px; }
.hero__arrow { display: inline-block; animation: bob 1.6s ease infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ════════ 02 · CHAT ════════ */
.chat {
  padding: clamp(90px, 14vh, 160px) var(--pad);
  background:
    repeating-linear-gradient(90deg, var(--hairline) 0 1px, transparent 1px calc(100% / 12));
  background-color: var(--cream);
  background-blend-mode: normal;
  text-align: center;
}
.chat { background-image: repeating-linear-gradient(90deg, rgba(22,23,15,0.05) 0 1px, transparent 1px 8.333%); }
.chat__title { margin-bottom: clamp(48px, 7vh, 90px); }
.chat__title .serif { font-size: 1.04em; }

.chat__stage { position: relative; display: inline-block; }
.chat__callout-lines { position: absolute; inset: -40px -180px; width: calc(100% + 360px); height: calc(100% + 80px); pointer-events: none; }
.chat__callout-lines line { stroke: var(--ink); stroke-width: 1; opacity: 0.35; }

.callout { position: absolute; color: var(--olive-dark); white-space: nowrap; }
.callout--1 { left: -215px; top: 18%; }
.callout--2 { left: -198px; bottom: 22%; }
.callout--3 { right: -225px; top: 46%; }
@media (max-width: 980px) { .callout, .chat__callout-lines { display: none; } }

.phone {
  position: relative; width: min(400px, 88vw);
  background: var(--ink); color: var(--cream);
  border-radius: 28px; padding: 18px;
  text-align: left;
  box-shadow: 0 40px 80px -30px rgba(22, 23, 15, 0.45);
}
.phone__head {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 6px 14px; border-bottom: 1px solid var(--hairline-cream);
}
.phone__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); animation: blink 2s ease infinite; }
.phone__title { flex: 1; opacity: 0.85; }
.phone__time { opacity: 0.5; }

.phone__feed { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; min-height: 320px; }
.bubble {
  max-width: 82%; padding: 12px 16px; border-radius: 18px;
  font-size: 15px; line-height: 1.35;
  opacity: 0; transform: translateY(12px) scale(0.96);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-bounce);
}
.bubble.is-on { opacity: 1; transform: none; }
.bubble--user {
  align-self: flex-end;
  background: var(--volt); color: var(--ink);
  border-bottom-right-radius: 6px;
  font-weight: 500;
}
.bubble--bot {
  align-self: flex-start;
  background: var(--cream); color: var(--ink);
  border-bottom-left-radius: 6px;
}
.bubble--typing {
  align-self: flex-start;
  background: rgba(244, 241, 232, 0.12);
  display: flex; gap: 5px; padding: 14px 18px;
}
.bubble--typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cream); opacity: 0.5;
  animation: typing 1s ease infinite;
}
.bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.bubble--typing.is-done { display: none; }

.caret {
  display: inline-block; width: 2px; height: 1em;
  background: var(--ink); margin-left: 2px; vertical-align: -2px;
  animation: blink 0.8s steps(1) infinite;
}
.caret.is-off { display: none; }

.event-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(244, 241, 232, 0.07);
  border: 1px solid var(--hairline-cream);
  border-radius: 14px; padding: 10px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              background 0.3s ease, border-color 0.3s ease;
}
.event-card.is-on { opacity: 1; transform: none; }
.event-card:hover { background: rgba(217, 255, 75, 0.1); border-color: var(--volt); }
.event-card img { width: 46px; height: 60px; object-fit: cover; border-radius: 8px; }
.event-card__meta { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.event-card__meta strong { font-size: 13px; letter-spacing: 0.04em; }
.event-card__meta .mono { opacity: 0.55; font-size: 10px; }
.event-card__go { opacity: 0.6; transition: transform 0.3s var(--ease-out); }
.event-card:hover .event-card__go { transform: translateX(4px); color: var(--volt); opacity: 1; }

.chat__replay {
  margin-top: 22px; color: var(--olive-dark);
  opacity: 0; transition: opacity 0.4s ease;
}
.chat__replay.is-on { opacity: 0.8; }
.chat__replay:hover { color: var(--ink); }

/* ════════ 03 · RADAR ════════ */
.radar {
  min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.radar__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.radar__map .street { stroke: #34372a; stroke-width: 1.2; fill: none; }
.radar__map .street--main { stroke: #3f422f; stroke-width: 2.4; }
.radar__map .contour { stroke: #2a2d1f; stroke-width: 1; fill: none; }

.radar__sweep {
  position: absolute; inset: -25%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 320deg, rgba(217, 255, 75, 0.08) 352deg, rgba(217, 255, 75, 0.14) 360deg);
  animation: sweep 7s linear infinite;
  pointer-events: none;
}
@keyframes sweep { to { transform: rotate(360deg); } }

.radar__pins { position: absolute; inset: 0; }
.pin {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 12px 2px rgba(217, 255, 75, 0.65);
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease, box-shadow 0.6s ease;
}
.pin::after {
  content: ""; position: absolute; inset: -10px;
  border: 1px dotted rgba(217, 255, 75, 0.8); border-radius: 50%;
  opacity: 0;
}
.pin--ping::after { animation: ping 2.6s ease-out infinite; }
.pin--ping:nth-child(3n)::after { animation-delay: 0.9s; }
.pin--ping:nth-child(3n+1)::after { animation-delay: 1.7s; }
@keyframes ping {
  0% { transform: scale(0.4); opacity: 0.9; }
  80% { transform: scale(2.6); opacity: 0; }
  100% { opacity: 0; }
}
.pin.is-dim { opacity: 0.14; box-shadow: none; }
.pin.is-dim::after { animation: none; opacity: 0; }

.radar__head { position: relative; z-index: 2; padding: calc(70px + var(--pad)) var(--pad) 0; }
.radar__title { text-shadow: 0 4px 40px rgba(26, 28, 18, 0.8); }
.radar__caption { margin-top: 18px; color: var(--olive); }

.radar__popup {
  position: absolute; z-index: 2;
  right: clamp(16px, 12vw, 220px); top: 38%;
  display: flex; gap: 12px; align-items: center;
  background: var(--cream); color: var(--ink);
  border-radius: 14px; padding: 10px 16px 10px 10px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.7);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { margin-top: 0; } 50% { margin-top: -12px; } }
.radar__popup img { width: 48px; height: 62px; object-fit: cover; border-radius: 8px; }
.radar__popup-meta { display: flex; flex-direction: column; gap: 4px; }
.radar__popup-meta strong { font-size: 13px; letter-spacing: 0.04em; }
.radar__popup-meta .mono { opacity: 0.55; font-size: 10px; }
.radar__popup-pin {
  position: absolute; left: 50%; bottom: -26px;
  width: 1px; height: 26px; background: var(--cream); opacity: 0.5;
}

.radar__slider {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 18px;
  padding: 0 var(--pad) 44px;
  color: var(--olive);
}
.radar__track { position: relative; flex: 1; }
.radar__track input {
  width: 100%; appearance: none; -webkit-appearance: none;
  height: 2px; background: rgba(244, 241, 232, 0.25);
  border-radius: 2px; outline: none; cursor: ew-resize;
}
.radar__track input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 16px rgba(217, 255, 75, 0.8);
  cursor: grab;
}
.radar__track input::-moz-range-thumb {
  width: 18px; height: 18px; border: none; border-radius: 50%;
  background: var(--volt); box-shadow: 0 0 16px rgba(217, 255, 75, 0.8);
}
.radar__now {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  color: var(--volt);
}

/* ─── shared section atoms (lede, ctas, captions) ─── */
.lede {
  max-width: 560px; margin: 22px auto 0;
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55;
  color: var(--olive-dark); text-align: center;
}
.lede--dark { color: var(--olive); }
.lede--tight { margin-bottom: clamp(40px, 6vh, 70px); }
.section-cta {
  display: inline-block; margin-top: clamp(36px, 5vh, 56px);
  color: var(--olive-dark); font-size: 12px;
  transition: color 0.3s ease, transform 0.3s var(--ease-out);
}
.section-cta:hover { color: var(--ink); transform: translateX(6px); }
.section-caption { margin-top: clamp(40px, 6vh, 64px); color: var(--olive-dark); }
.section-caption--dark { color: var(--olive); }

/* ════════ 04 · EXPLORE GRID ════════ */
.explore {
  padding: clamp(90px, 14vh, 160px) var(--pad);
  text-align: center;
}
.explore__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  max-width: 1080px; margin: clamp(44px, 6vh, 70px) auto 0;
}
.grid-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--hairline); border-radius: 14px;
  background: var(--cream); overflow: hidden; text-align: left;
  transition: transform 0.45s var(--ease-out), border-color 0.3s ease, box-shadow 0.45s ease;
}
.grid-card:hover {
  transform: translateY(-6px); border-color: var(--ink);
  box-shadow: 0 24px 50px -24px rgba(22, 23, 15, 0.4);
}
.grid-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.grid-card__meta {
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 16px 16px;
}
.grid-card__meta strong { font-size: 14px; letter-spacing: 0.04em; }
.grid-card__meta .mono { color: var(--olive-dark); font-size: 10px; }
.grid-card__tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--volt); color: var(--ink);
  padding: 5px 10px; border-radius: 999px; font-size: 9px;
}
@media (max-width: 760px) { .explore__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ════════ 08 · PEOPLE ════════ */
.people {
  padding: clamp(90px, 14vh, 160px) var(--pad);
  text-align: center;
}
.people__stage {
  position: relative; max-width: 860px; height: clamp(260px, 38vh, 380px);
  margin: clamp(44px, 6vh, 70px) auto 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(217, 255, 75, 0.06), transparent 65%),
    var(--night);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 36px 80px -40px rgba(22, 23, 15, 0.6);
}
.people__stage::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(244,241,232,0.05) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(90deg, rgba(244,241,232,0.05) 0 1px, transparent 1px 52px);
}
.people__pin { position: absolute; }
.people__chip {
  position: absolute;
  background: var(--cream); color: var(--ink);
  padding: 8px 13px; border-radius: 999px; font-size: 10px;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.7);
  animation: float 5s ease-in-out infinite;
}
.people__chip--volt { background: var(--volt); animation-delay: 1.2s; }
.people__you {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--volt); color: var(--ink); font-size: 10px; font-weight: 700;
  box-shadow: 0 0 0 10px rgba(217, 255, 75, 0.14), 0 0 40px rgba(217, 255, 75, 0.5);
}
.people__you::after {
  content: ""; position: absolute; inset: -26px;
  border: 1px dotted rgba(217, 255, 75, 0.7); border-radius: 50%;
  animation: ping 3s ease-out infinite;
}

/* ════════ 09 · STORIES ════════ */
.stories {
  padding: clamp(90px, 14vh, 160px) var(--pad);
  text-align: center;
}
.stories__list {
  max-width: 940px; margin: clamp(44px, 6vh, 70px) auto 0;
  border-top: 1px solid var(--hairline); text-align: left;
}
.story-row {
  position: relative;
  display: flex; align-items: baseline; gap: clamp(14px, 2.4vw, 30px);
  padding: clamp(18px, 2.6vw, 30px) 8px;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.story-row::before {
  content: ""; position: absolute; inset: 4px 0;
  background: var(--volt);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}
.story-row:hover::before { transform: scaleX(1); }
.story-row > * { position: relative; z-index: 1; }
.story-row__date { color: var(--olive-dark); font-size: 11px; flex: none; }
.story-row__title {
  font-family: "Instrument Serif", serif;
  font-size: clamp(22px, 3.4vw, 44px); line-height: 1.1; flex: 1;
  transition: transform 0.45s var(--ease-out);
}
.story-row:hover .story-row__title { transform: translateX(10px); }
.story-row__tag { color: var(--olive-dark); font-size: 10px; flex: none; }
.story-row__go { font-size: 20px; transition: transform 0.35s var(--ease-out); }
.story-row:hover .story-row__go { transform: translateX(6px); }

/* ════════ 10 · LENS ════════ */
.lens {
  padding: clamp(90px, 14vh, 160px) var(--pad);
  text-align: center; overflow: hidden;
}
.lens__title { color: var(--cream); }
.lens__strip {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
  margin-top: clamp(44px, 6vh, 70px); padding: 26px 0 10px;
}
.lens__print { width: clamp(130px, 16vw, 230px); }
.lens__print img {
  border: 6px solid var(--cream); border-radius: 4px;
  box-shadow: 0 28px 60px -22px rgba(0, 0, 0, 0.85);
}
.lens__hire {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  flex-wrap: wrap;
  max-width: 760px; margin: clamp(48px, 7vh, 80px) auto 0;
  border: 1px solid rgba(217, 255, 75, 0.5); border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  text-align: left;
}
.lens__hire-title { display: block; font-size: clamp(22px, 2.6vw, 34px); margin-bottom: 8px; color: var(--volt); }
.lens__hire-copy p { color: var(--olive); max-width: 380px; font-size: 15px; line-height: 1.5; }
.lens__hire-cta { flex: none; background: var(--volt); color: var(--ink); }
.lens__hire-cta:hover { box-shadow: 0 16px 40px -12px rgba(217, 255, 75, 0.4); }
@media (max-width: 760px) {
  .lens__strip { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding-bottom: 26px; }
  .lens__print { scroll-snap-align: center; width: 44vw; flex: none; }
}

/* ════════ 05 · CITIES ════════ */
.cities { padding: clamp(90px, 14vh, 160px) var(--pad); }
.cities__title { margin-bottom: clamp(40px, 6vh, 72px); }
.cities__title .serif { font-size: 0.55em; margin-left: 10px; }

.cities__table { border-top: 1px solid var(--hairline); }
.city-row {
  position: relative;
  display: flex; align-items: center; gap: clamp(12px, 2vw, 26px);
  padding: clamp(10px, 1.6vw, 20px) 6px;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.city-row::before {
  content: ""; position: absolute; inset: 4px 0;
  background: var(--volt);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}
.city-row:hover::before { transform: scaleX(1); }
.city-row > * { position: relative; z-index: 1; }
.city-row .crosshair { opacity: 0.45; transition: opacity 0.3s, transform 0.45s var(--ease-out); }
.city-row:hover .crosshair { opacity: 1; transform: rotate(90deg); }
.city-row__name {
  font-size: clamp(30px, 5.2vw, 72px); text-transform: uppercase; line-height: 1.04;
  transition: transform 0.45s var(--ease-out);
}
.city-row:hover .city-row__name { transform: translateX(14px); }
.city-row__rule { flex: 1; height: 1px; background: var(--hairline); }
.city-row__count { color: var(--olive-dark); font-size: 13px; }

.city-row--hot::before { transform: scaleX(1); }
.city-row--hot .city-row__count::after { content: " ● HOT"; color: var(--ink); font-weight: 700; }

.cities__more { overflow: hidden; max-height: 0; transition: max-height 0.8s var(--ease-out); }
.cities__more.is-open { max-height: 600px; }
.city-row--small .city-row__name { font-size: clamp(20px, 2.6vw, 36px); }

.cities__vertical {
  position: absolute; right: 18px; top: 50%;
  transform: rotate(90deg) translateX(-50%);
  transform-origin: right top;
  color: var(--olive); white-space: nowrap;
}
@media (max-width: 900px) { .cities__vertical { display: none; } }
.cities__toggle { display: block; margin: 26px 0 0 auto; color: var(--olive-dark); }
.cities__toggle:hover { color: var(--ink); }

/* ════════ 05 · TASTE ════════ */
.taste {
  padding: clamp(100px, 16vh, 180px) var(--pad);
  text-align: center;
}
.taste__title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 22px; }
.taste__word { position: relative; display: inline-block; }
.serif--giant { font-size: 1.18em; line-height: 0.8; }
.underline {
  position: absolute; left: -2%; bottom: -0.18em; width: 104%; height: 0.32em;
  overflow: visible; pointer-events: none;
}
.underline__path {
  stroke: var(--volt); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 900; stroke-dashoffset: 900;
}
.taste__title.is-in .underline__path { animation: draw 0.9s var(--ease-out) 0.5s forwards; }

.taste__cloud {
  max-width: 760px; margin: clamp(48px, 7vh, 80px) auto 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 10px;
}
.chip {
  font-family: "Space Mono", monospace; font-size: 13px; letter-spacing: 0.08em;
  padding: 13px 22px; border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--cream); color: var(--ink);
  opacity: 0; transform: scale(0.4);
  transition: opacity 0.5s var(--ease-out), transform 0.55s var(--ease-bounce),
              background 0.25s ease, color 0.25s ease, rotate 0.3s var(--ease-bounce);
  animation: chipfloat 4s ease-in-out infinite;
}
.chip.is-in { opacity: 1; transform: scale(1); }
.chip:nth-child(odd) { rotate: -3deg; animation-duration: 5s; }
.chip:nth-child(3n) { rotate: 2.5deg; animation-duration: 4.4s; animation-delay: 0.6s; }
.chip:nth-child(4n) { rotate: -1.5deg; animation-delay: 1.1s; }
@keyframes chipfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.chip:hover { rotate: 0deg; background: var(--ink); color: var(--cream); }
.chip--volt, .chip.is-picked { background: var(--volt); border-color: var(--ink); color: var(--ink); }
.chip--volt:hover, .chip.is-picked:hover { background: var(--ink); color: var(--volt); }
.chip--ink { background: var(--ink); color: var(--cream); }
.taste__caption { margin-top: clamp(44px, 6vh, 70px); color: var(--olive-dark); }

/* ════════ 06 · WALL ════════ */
.wall {
  padding: 0 0 clamp(80px, 10vh, 130px);
  text-align: center; overflow: hidden;
}
.marquee {
  border-bottom: 1px solid var(--hairline-cream);
  padding: 14px 0; overflow: hidden; white-space: nowrap;
  color: var(--olive);
}
.marquee__inner { display: inline-flex; animation: marquee 28s linear infinite; }
.marquee__inner span { display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

.wall__title { margin: clamp(64px, 9vh, 110px) var(--pad) clamp(48px, 7vh, 90px); }

.wall__row {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  padding: 30px var(--pad) 10px;
}
.poster {
  position: relative; width: clamp(120px, 15vw, 220px); flex: none;
  rotate: var(--tilt, 0deg);
  transition: rotate 0.55s var(--ease-out), scale 0.55s var(--ease-out);
  will-change: transform, translate;
}
.poster img {
  border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.poster:hover { rotate: 0deg; scale: 1.05; z-index: 3; }
.poster--pick { width: clamp(160px, 19vw, 280px); z-index: 2; }
.poster--pick img { outline: 3px solid var(--volt); outline-offset: 6px; }
.poster__tag {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  color: var(--volt); white-space: nowrap;
}
.wall__caption { margin-top: clamp(48px, 7vh, 80px); color: var(--olive); padding: 0 var(--pad); }
@media (max-width: 760px) {
  .wall__row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding-bottom: 30px; }
  .poster { scroll-snap-align: center; width: 46vw; }
  .poster--pick { width: 56vw; }
}

/* ════════ 07 · ENGINE ════════ */
.engine {
  padding: clamp(100px, 15vh, 170px) var(--pad);
  text-align: center;
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(0deg, rgba(22,23,15,0.045) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(22,23,15,0.045) 0 1px, transparent 1px 28px);
}
.engine__title { margin-bottom: 0; }
.engine__stage { max-width: 1000px; margin: 0 auto; }
#pipeline { width: 100%; height: auto; overflow: visible; }
#pipeline .pipe { stroke: var(--ink); stroke-width: 1.4; fill: none; }
#pipeline .node rect, #pipeline .node circle { fill: none; stroke: var(--ink); stroke-width: 1.6; }
#pipeline .node .node__volt { fill: var(--volt); stroke: var(--ink); }
#pipeline .node__ring {
  stroke: var(--volt) !important; stroke-dasharray: 3 6; stroke-width: 1.6;
  transform-origin: 670px 130px;
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#pipeline .node__label {
  font-family: "Anton", sans-serif; font-size: 19px; letter-spacing: 0.06em;
  fill: var(--ink); text-anchor: middle;
}
#pipeline .node__sub {
  font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: 0.1em;
  fill: var(--olive-dark); text-anchor: middle;
}
#pipeline .joints path { stroke: var(--ink); stroke-width: 1; opacity: 0.6; }
#pipeline .packet {
  fill: var(--volt); stroke: var(--ink); stroke-width: 1;
  filter: drop-shadow(0 0 6px rgba(217, 255, 75, 0.9));
}
.engine__stage[data-reveal] #pipeline .pipe,
.engine__stage[data-reveal] #pipeline .node rect,
.engine__stage[data-reveal] #pipeline .node circle {
  stroke-dasharray: 600; stroke-dashoffset: 600;
}
.engine__stage.is-in #pipeline .pipe,
.engine__stage.is-in #pipeline .node rect,
.engine__stage.is-in #pipeline .node circle {
  animation: draw 1.6s var(--ease-out) forwards;
}

.engine__stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px; margin-top: clamp(50px, 8vh, 90px);
}
.stat-chip {
  border: 1px solid var(--ink); border-radius: 8px;
  padding: 12px 20px; font-size: 11px;
  transition: background 0.3s ease, color 0.3s ease;
}
.stat-chip:hover { background: var(--ink); color: var(--volt); }

/* ════════ 08 · FINALE ════════ */
.finale {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.finale__center {
  position: relative; z-index: 2;
  padding: calc(80px + var(--pad)) var(--pad) 0;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.finale__title {
  font-size: clamp(72px, 15vw, 240px);
  line-height: 0.9; text-transform: uppercase;
}
.finale__dot {
  display: inline-block; color: var(--ink);
  transform: scale(1.5); transform-origin: bottom left;
}
.finale__actions {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: clamp(36px, 5vh, 64px);
}
.finale__cta {
  font-family: "Space Mono", monospace; font-size: 13px; letter-spacing: 0.08em;
  background: var(--ink); color: var(--cream);
  padding: 18px 32px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 12px;
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s ease;
}
.finale__cta:hover { transform: scale(1.05); box-shadow: 0 16px 40px -12px rgba(22, 23, 15, 0.6); }
.finale__cta-arrow { transition: transform 0.3s var(--ease-out); }
.finale__cta:hover .finale__cta-arrow { transform: translateX(6px); }
.finale__badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 16px 26px;
  transition: background 0.3s ease, color 0.3s ease;
}
.finale__badge:hover { background: var(--ink); color: var(--volt); }
.finale__apple { width: 15px; height: 18px; fill: currentColor; }

.finale__footer {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border-top: 1px solid rgba(22, 23, 15, 0.35);
  margin: 0 var(--pad); padding: 20px 0 26px;
}
.hero--end .finale__footer {
  position: absolute; bottom: 0; left: var(--pad); right: var(--pad);
  margin: 0; border-top-color: var(--hairline);
}
.finale__footer-links a:hover { text-decoration: underline; }
.crosshair--ink { color: var(--ink); }
@media (max-width: 640px) {
  .finale__footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ─── reduced motion / forced static (verification) ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal], .line__inner, .bubble, .event-card, .chip { opacity: 1 !important; transform: none !important; }
  .scribble__path, .underline__path { stroke-dashoffset: 0 !important; }
}
.force-static *, .force-static *::before, .force-static *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
.force-static [data-reveal], .force-static .line__inner, .force-static .bubble,
.force-static .event-card, .force-static .chip { opacity: 1 !important; transform: none !important; }
.force-static .scribble__path, .force-static .underline__path { stroke-dashoffset: 0 !important; }
.force-static .engine__stage[data-reveal] #pipeline .pipe,
.force-static .engine__stage[data-reveal] #pipeline .node rect,
.force-static .engine__stage[data-reveal] #pipeline .node circle { stroke-dashoffset: 0 !important; }
