:root {
  /* Design typography token mirror: Space Grotesk** in 500/700 for sticker labels */
  --design-font-marker: "Grotesk* Grotesk**";
  --midnight-asphalt: #071326;
  --deep-circuit-navy: #0D2442;
  --recycle-volt-green: #67FF8F;
  --sticker-magenta: #FF3D8B;
  --sodium-amber: #F7B733;
  --poster-cream: #F2E8CF;
  --rusted-copper: #B85C38;
  --ink: #050B14;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--midnight-asphalt);
  color: var(--poster-cream);
  font-family: "Libre Baskerville", Georgia, serif;
  overflow-x: hidden;
}

.city-scroll {
  position: relative;
  min-height: 400vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(103, 255, 143, .12), transparent 18rem),
    radial-gradient(circle at 82% 54%, rgba(255, 61, 139, .11), transparent 22rem),
    linear-gradient(125deg, var(--midnight-asphalt), var(--deep-circuit-navy) 48%, var(--midnight-asphalt));
}

.city-scroll::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(242, 232, 207, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 232, 207, .06) 1px, transparent 1px),
    radial-gradient(circle, rgba(247, 183, 51, .24) 1px, transparent 1.5px);
  background-size: 44px 44px, 44px 44px, 91px 91px;
  mix-blend-mode: screen;
}

.reuse-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(103, 255, 143, .75));
}

#routePath, .route-shadow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#routePath {
  stroke: var(--recycle-volt-green);
  stroke-width: 10;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.route-shadow {
  stroke: rgba(255, 61, 139, .45);
  stroke-width: 3;
  stroke-dasharray: 18 26;
  animation: chalkMove 3.8s linear infinite;
}

.scene {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  isolation: isolate;
}

.scene::after {
  content: "";
  position: absolute;
  inset: auto -10% 0;
  height: 34%;
  background: linear-gradient(to top, rgba(5, 11, 20, .74), transparent);
  z-index: -1;
}

.scene-alley {
  background:
    linear-gradient(76deg, transparent 0 18%, rgba(13, 36, 66, .88) 18% 31%, transparent 31%),
    linear-gradient(104deg, transparent 0 62%, rgba(184, 92, 56, .24) 62% 74%, transparent 74%),
    radial-gradient(ellipse at 52% 85%, rgba(103, 255, 143, .18), transparent 30rem);
}

.scene-posters {
  background:
    repeating-linear-gradient(97deg, rgba(242, 232, 207, .08) 0 18px, transparent 18px 42px),
    linear-gradient(130deg, var(--deep-circuit-navy), var(--midnight-asphalt));
}

.scene-kiosk {
  background:
    radial-gradient(circle at 37% 58%, rgba(247, 183, 51, .22), transparent 23rem),
    linear-gradient(160deg, var(--midnight-asphalt), var(--deep-circuit-navy));
}

.scene-rooftop {
  background:
    radial-gradient(circle at 76% 16%, rgba(103, 255, 143, .18), transparent 21rem),
    linear-gradient(to bottom, #071326 0%, #0D2442 62%, #050B14 100%);
}

.giant-word {
  position: absolute;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(8rem, 22vw, 24rem);
  line-height: .72;
  letter-spacing: -.08em;
  color: rgba(242, 232, 207, .08);
  text-transform: uppercase;
  z-index: 0;
  white-space: nowrap;
}

.word-left { left: -8vw; top: 4vh; }
.word-right { right: -11vw; top: 4vh; color: rgba(255, 61, 139, .11); }

.alley-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(16rem, 38vw) minmax(18rem, 34rem);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  min-height: 78vh;
  z-index: 2;
}

.pasted-note {
  position: relative;
  background: var(--poster-cream);
  color: var(--ink);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  clip-path: polygon(2% 0, 96% 3%, 100% 88%, 92% 100%, 4% 96%, 0 12%);
  box-shadow: 18px 18px 0 rgba(184, 92, 56, .7), 0 18px 50px rgba(0,0,0,.35);
  transform: rotate(-2deg);
  z-index: 8;
}

.pasted-note h1, .pasted-note h2, .poster h2 {
  margin: .25rem 0 .9rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 8vw, 8.5rem);
  line-height: .78;
  letter-spacing: -.06em;
}

.pasted-note p, .poster p {
  max-width: 34rem;
  font-size: clamp(.95rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.route-tag, .poster span, .slap, .kiosk-sign {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.route-tag { color: var(--sticker-magenta); }

.phone-stack {
  position: relative;
  height: 70vh;
  min-height: 32rem;
  transform: skewY(-8deg) rotate(-2deg);
}

.screen {
  position: absolute;
  bottom: 0;
  display: block;
  width: 38%;
  border: 4px solid var(--ink);
  border-radius: 1.7rem;
  background: linear-gradient(145deg, rgba(103, 255, 143, .45), rgba(13, 36, 66, .92));
  box-shadow: inset 0 0 28px rgba(103, 255, 143, .28), 0 18px 0 var(--rusted-copper);
}

.screen::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 2px dashed rgba(242,232,207,.45);
  transform: rotate(8deg);
}

.screen.cracked { left: 3%; height: 78%; }
.screen.short { left: 33%; height: 48%; background: linear-gradient(145deg, rgba(247,183,51,.55), rgba(13,36,66,.92)); }
.screen.tall { left: 58%; height: 92%; background: linear-gradient(145deg, rgba(255,61,139,.42), rgba(13,36,66,.95)); }

.manhole-phone {
  position: absolute;
  right: 13vw;
  bottom: 8vh;
  width: clamp(12rem, 22vw, 26rem);
  aspect-ratio: 1.75 / 1;
  border: 5px solid var(--ink);
  border-radius: 2rem;
  transform: rotate(-13deg) perspective(500px) rotateX(54deg);
  background: radial-gradient(circle, var(--recycle-volt-green), #0D2442 62%);
  box-shadow: 0 0 70px rgba(103,255,143,.82), 0 28px 0 rgba(0,0,0,.6);
  z-index: 4;
}

.glass-crack, .glass-crack::before, .glass-crack::after {
  position: absolute;
  content: "";
  left: 50%; top: 12%;
  width: 2px; height: 76%;
  background: rgba(242,232,207,.7);
  transform: rotate(32deg);
}
.glass-crack::before { top: 25%; left: 8px; height: 44%; transform: rotate(72deg); }
.glass-crack::after { top: 6%; left: -10px; height: 35%; transform: rotate(-58deg); }

.hand-note {
  position: absolute;
  z-index: 9;
  margin: 0;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 5rem);
  color: var(--recycle-volt-green);
  text-shadow: 0 0 18px rgba(103,255,143,.6);
  transform: rotate(-8deg);
  opacity: 0;
}

.note-one { left: 8vw; bottom: 9vh; }
.note-two { right: 8vw; top: 14vh; color: var(--sodium-amber); }
.note-three { left: 9vw; top: 15vh; color: var(--sticker-magenta); }

.puddle-reflection {
  position: absolute;
  left: 36vw; bottom: 4vh;
  font-family: "Space Grotesk", Arial, sans-serif;
  color: rgba(103,255,143,.35);
  letter-spacing: .32em;
  text-transform: uppercase;
  transform: skewX(-30deg) scaleY(.55);
}

.poster-wall {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .85fr;
  grid-auto-rows: minmax(14rem, auto);
  gap: 1.3rem;
  width: min(78rem, 82vw);
  padding-top: 9vh;
  z-index: 6;
}

.poster {
  padding: clamp(1rem, 2.8vw, 2.2rem);
  color: var(--ink);
  border: 3px solid rgba(5,11,20,.82);
  box-shadow: 12px 12px 0 rgba(5,11,20,.55);
  clip-path: polygon(0 4%, 95% 0, 100% 92%, 86% 100%, 3% 96%);
  transform-origin: top left;
  opacity: .92;
}
.poster-cream { background: var(--poster-cream); grid-row: span 2; transform: rotate(2deg); }
.poster-magenta { background: var(--sticker-magenta); transform: rotate(-5deg); }
.poster-amber { background: var(--sodium-amber); transform: rotate(4deg); }
.poster h2 { font-size: clamp(2.8rem, 7vw, 7.5rem); }

.keyboard-crosswalk {
  position: absolute;
  right: -4vw;
  bottom: 12vh;
  width: 55vw;
  transform: rotate(-18deg) skewX(-18deg);
  z-index: 4;
}
.keyboard-crosswalk i {
  display: block;
  height: 2.1rem;
  margin: 1.1rem 0;
  background: var(--poster-cream);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--rusted-copper);
}

.server-fireescape {
  position: absolute;
  right: 6vw; top: 10vh;
  width: 9rem;
  padding: .8rem;
  border: 4px solid var(--poster-cream);
  background: rgba(13,36,66,.9);
  transform: rotate(7deg);
  z-index: 5;
}
.server-fireescape span {
  display: block;
  height: 1.1rem;
  margin: .55rem 0;
  background: linear-gradient(90deg, var(--recycle-volt-green) 0 20%, var(--sticker-magenta) 20% 28%, transparent 28%);
  border: 1px solid rgba(242,232,207,.45);
}

.repair-kiosk {
  position: absolute;
  left: 8vw; bottom: 6vh;
  width: clamp(18rem, 32vw, 34rem);
  height: 62vh;
  min-height: 30rem;
  border: 5px solid var(--ink);
  background: linear-gradient(150deg, var(--rusted-copper), var(--deep-circuit-navy) 58%);
  clip-path: polygon(10% 0, 88% 4%, 100% 100%, 0 96%);
  box-shadow: 0 0 80px rgba(247,183,51,.18), 18px 24px 0 rgba(0,0,0,.55);
  z-index: 4;
}
.kiosk-light {
  position: absolute;
  top: 12%; left: 20%; right: 20%;
  height: 24%;
  background: radial-gradient(circle, var(--sodium-amber), rgba(247,183,51,.08) 70%);
  border: 4px solid var(--ink);
  box-shadow: 0 0 56px rgba(247,183,51,.65);
}
.kiosk-sign {
  position: absolute;
  top: 4%; left: 12%; right: 12%;
  padding: .7rem;
  background: var(--sticker-magenta);
  color: var(--poster-cream);
  text-align: center;
  transform: rotate(-2deg);
}
.bin-mouth {
  position: absolute;
  left: 18%; right: 18%; bottom: 13%;
  height: 28%;
  border-radius: 50% 50% 22% 22%;
  background: var(--ink);
  overflow: hidden;
}
.archive-glow {
  position: absolute;
  inset: 18% 8% -40%;
  background: radial-gradient(circle, var(--recycle-volt-green), transparent 68%);
  animation: archivePulse 2.4s ease-in-out infinite alternate;
}

.manifesto { position: absolute; right: 9vw; top: 20vh; width: min(36rem, 46vw); transform: rotate(3deg); }
.scrap-labels { position: absolute; right: 14vw; bottom: 17vh; display: grid; gap: .8rem; z-index: 9; }
.slap { display: inline-block; padding: .65rem .9rem; background: var(--sticker-magenta); color: var(--poster-cream); transform: rotate(-8deg); box-shadow: 7px 7px 0 var(--ink); }
.slap.green { background: var(--recycle-volt-green); color: var(--ink); transform: rotate(5deg); }
.slap.rust { background: var(--rusted-copper); transform: rotate(-2deg); }

.rat-wire {
  position: absolute;
  left: 44vw; bottom: 8vh;
  font-family: "Caveat", cursive;
  font-size: 5rem;
  color: var(--poster-cream);
  z-index: 8;
}
.rat-wire span { display: inline-block; width: 11rem; height: .25rem; background: var(--recycle-volt-green); transform: translateY(-1rem) rotate(8deg); }

.skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: .8rem;
  z-index: 3;
}
.tower { display: block; width: clamp(4rem, 9vw, 8rem); border: 4px solid var(--ink); background: var(--deep-circuit-navy); box-shadow: inset 0 0 0 2px rgba(242,232,207,.22), 0 0 30px rgba(103,255,143,.15); }
.tower.phone { height: 72%; border-radius: 2rem 2rem .3rem .3rem; background: linear-gradient(var(--deep-circuit-navy), rgba(103,255,143,.28)); }
.tower.monitor { height: 52%; background: linear-gradient(135deg, var(--rusted-copper), var(--deep-circuit-navy)); }
.tower.server { height: 88%; background: repeating-linear-gradient(to bottom, var(--deep-circuit-navy) 0 18px, var(--poster-cream) 18px 21px); }
.tower.tablet { height: 64%; border-radius: 1.2rem 1.2rem 0 0; background: linear-gradient(var(--sticker-magenta), var(--deep-circuit-navy)); }
.tower.dish { height: 48%; border-radius: 60% 60% 0 0; background: radial-gradient(circle at 50% 20%, var(--sodium-amber), var(--deep-circuit-navy) 58%); }

.constellation { position: absolute; inset: 5vh 7vw 34vh; z-index: 2; }
.constellation span {
  position: absolute;
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--recycle-volt-green);
  box-shadow: 0 0 16px var(--recycle-volt-green);
  opacity: .25;
  transform: translateY(60px) scale(.6);
}
.constellation span:nth-child(1){ left: 14%; top: 58%; }
.constellation span:nth-child(2){ left: 26%; top: 34%; background: var(--sodium-amber); box-shadow: 0 0 16px var(--sodium-amber); }
.constellation span:nth-child(3){ left: 38%; top: 48%; }
.constellation span:nth-child(4){ left: 49%; top: 22%; background: var(--sticker-magenta); box-shadow: 0 0 16px var(--sticker-magenta); }
.constellation span:nth-child(5){ left: 60%; top: 42%; }
.constellation span:nth-child(6){ left: 72%; top: 30%; background: var(--sodium-amber); box-shadow: 0 0 16px var(--sodium-amber); }
.constellation span:nth-child(7){ left: 82%; top: 54%; }
.constellation span:nth-child(8){ left: 20%; top: 18%; background: var(--sticker-magenta); box-shadow: 0 0 16px var(--sticker-magenta); }
.constellation span:nth-child(9){ left: 88%; top: 14%; }

.finale { position: absolute; left: 8vw; top: 24vh; width: min(35rem, 42vw); z-index: 8; }
.domain-sign {
  position: absolute;
  right: 5vw;
  bottom: 15vh;
  z-index: 8;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(4rem, 10vw, 11rem);
  line-height: .8;
  color: var(--poster-cream);
  text-shadow: 0 0 28px rgba(103,255,143,.45), 8px 8px 0 rgba(255,61,139,.55);
}

.moon-symbol {
  position: absolute;
  right: 10vw; top: 8vh;
  width: 7rem; height: 7rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sodium-amber);
  color: var(--ink);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  font-size: 4rem;
  box-shadow: 0 0 50px rgba(247,183,51,.45);
  z-index: 4;
}

.wake-device, .peel, .pasted-note, .slap, .tower, .domain-sign {
  transition: transform .9s cubic-bezier(.2,.9,.15,1), opacity .9s ease, filter .9s ease;
}
.wake-device, .peel, .slap, .tower, .domain-sign { opacity: .58; filter: saturate(.65); }
.is-awake { opacity: 1; filter: saturate(1.25) drop-shadow(0 0 18px rgba(103,255,143,.22)); }
.peel.is-awake { transform: rotate(0deg) translateY(-.6rem); }
.slap.is-awake { transform: rotate(0deg) scale(1.06); }
.hand-note.is-awake { animation: writeIn .9s ease forwards; }
.constellation.is-awake span { animation: pixelRise 1.4s ease forwards; }
.constellation.is-awake span:nth-child(2) { animation-delay: .1s; }
.constellation.is-awake span:nth-child(3) { animation-delay: .18s; }
.constellation.is-awake span:nth-child(4) { animation-delay: .28s; }
.constellation.is-awake span:nth-child(5) { animation-delay: .38s; }
.constellation.is-awake span:nth-child(6) { animation-delay: .5s; }
.constellation.is-awake span:nth-child(7) { animation-delay: .62s; }
.constellation.is-awake span:nth-child(8) { animation-delay: .74s; }
.constellation.is-awake span:nth-child(9) { animation-delay: .86s; }

@keyframes chalkMove { to { stroke-dashoffset: -88; } }
@keyframes archivePulse { from { transform: translateY(18%); opacity: .55; } to { transform: translateY(-6%); opacity: 1; } }
@keyframes writeIn { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes pixelRise { to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 760px) {
  .scene { padding: 1.4rem; }
  .alley-grid, .poster-wall { grid-template-columns: 1fr; width: 100%; }
  .phone-stack { height: 42vh; min-height: 21rem; }
  .manifesto, .finale { position: relative; inset: auto; width: 92%; margin-top: 18vh; }
  .repair-kiosk { left: 4vw; width: 70vw; opacity: .72; }
  .domain-sign { right: 4vw; bottom: 20vh; }
  .keyboard-crosswalk { width: 78vw; }
}
