:root {
  --bg: #002E2A;
  --deep: #001A18;
  --ink: #00110f;
  --mint: #3DFFB8;
  --mint-2: #A8FFE0;
  --cream: #F4F1E8;
  --coral: #FF6F59;
  --pink: #FF3EA5;
  --cyan: #2DE2FF;
  --sun: #FFC94A;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --vh: 100svh;
}

* { box-sizing: border-box; }
html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  background: var(--deep);
  color: var(--cream);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}
body { margin: 0; overflow-x: hidden; }
img { display: block; max-width: 100%; }
q { quotes: "“" "”"; color: var(--mint); font-weight: 700; }

/* ---------- scenes ---------- */
.scene {
  position: relative;
  height: 100vh;
  height: var(--vh);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
}
.layer { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.art {
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.shade { background: linear-gradient(90deg, rgba(0,26,24,.92) 0%, rgba(0,26,24,.7) 38%, rgba(0,26,24,.05) 70%); }
.shade.warm { background: linear-gradient(90deg, rgba(25,12,4,.85) 0%, rgba(25,12,4,.55) 38%, rgba(0,0,0,0) 68%); }
.shade.heavy { background: radial-gradient(ellipse at 70% 50%, rgba(0,26,24,.55), rgba(0,26,24,.92) 75%); }

.scene-inner {
  width: min(1240px, 100% - 2 * clamp(18px, 5vw, 72px));
  position: relative;
}
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 64px); align-items: center; }
.split.reverse { grid-template-columns: .85fr 1.15fr; }
.split.reverse .copy { order: 2; }
.split > figure { justify-self: center; }
.stack { display: grid; gap: clamp(10px, 2.2vh, 28px); justify-items: center; }
.center { text-align: center; }

.kicker {
  margin: 0 0 .6em;
  font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mint);
}
.title {
  margin: 0 0 .35em;
  font-size: clamp(36px, 6.4vw, 92px);
  line-height: .92;
  font-weight: 800;
  font-variation-settings: "wdth" 80;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.title .name { display: inline-block; color: var(--cream); background: var(--ink); padding: 0 .15em; border-radius: .12em; transform: rotate(-2deg); box-shadow: .06em .06em 0 var(--mint); }
.hl { color: var(--mint); text-shadow: 0 0 .5em rgba(61,255,184,.45); }
.body { margin: 0 0 1.1em; font-size: clamp(15px, 1.5vw, 21px); line-height: 1.45; max-width: 34em; color: #dfeee8; }
.center .body { margin-inline: auto; }

/* ---------- stickers ---------- */
.sticker {
  --s: clamp(150px, 26vmin, 300px);
  --r: 0deg;
  position: relative;
  margin: 0;
  width: var(--s);
  aspect-ratio: 1;
  border-radius: 50%;
  border: calc(var(--s) * .045) solid var(--cream);
  box-shadow: 0 0 0 3px var(--ink), calc(var(--s) * .04) calc(var(--s) * .06) 0 rgba(0,0,0,.45);
  transform: rotate(var(--r));
  background: var(--cream);
}
.sticker img, .sticker svg { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.sticker.xl { --s: clamp(170px, 34vmin, 360px); }
.sticker.lg { --s: clamp(150px, 30vmin, 330px); }
.sticker.md { --s: clamp(96px, 17vmin, 190px); }
.badge {
  position: absolute;
  left: 50%; bottom: -6%;
  transform: translateX(-50%) rotate(calc(var(--r) * -1 + -3deg));
  white-space: nowrap;
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(11px, 1.2vw, 15px);
  padding: .35em .9em;
  border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.bounce { animation: bounce 2.8s cubic-bezier(.45,0,.3,1) infinite; }
.float { animation: float 5s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  45% { transform: translateY(-14px) rotate(calc(var(--r) + 3deg)); }
  60% { transform: translateY(2px) rotate(calc(var(--r) - 1deg)) scale(1.02, .98); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-10px) rotate(calc(var(--r) - 4deg)); }
}

/* ---------- reveal (IO fallback) ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.scene.in .reveal { opacity: 1; transform: none; }
.scene.in .reveal:nth-child(2) { transition-delay: .08s; }
.scene.in .reveal:nth-child(3) { transition-delay: .16s; }
.scene.in .reveal:nth-child(4) { transition-delay: .24s; }
.scene.in .reveal:nth-child(5) { transition-delay: .32s; }
.scene.in .reveal:nth-child(6) { transition-delay: .4s; }

/* ---------- scroll-driven animations where supported ---------- */
@supports (animation-timeline: view()) {
  .sd .reveal {
    opacity: 1; transform: none; transition: none;
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 85%;
  }
  .sd .parallax {
    animation: parallax linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
  .sd .mega {
    animation: megaExit linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 80%;
  }
  .sd .orbit-wrap {
    animation: zoomIn linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 90%;
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(60px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes parallax { from { transform: translateY(-9%) scale(1.06); } to { transform: translateY(9%) scale(1.06); } }
@keyframes megaExit { to { letter-spacing: .25em; opacity: 0; filter: blur(6px); } }
@keyframes zoomIn { from { transform: scale(.4) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- nav dots ---------- */
.dots { position: fixed; right: clamp(8px, 1.6vw, 24px); top: 50%; transform: translateY(-50%); z-index: 50; display: grid; gap: 12px; }
.dots a { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--cream); opacity: .6; transition: all .3s; }
.dots a.on { background: var(--mint); border-color: var(--mint); opacity: 1; transform: scale(1.35); box-shadow: 0 0 12px var(--mint); }

/* ---------- 1 hero ---------- */
.hero { background: radial-gradient(ellipse at 30% 20%, #014a43 0%, var(--bg) 45%, var(--deep) 100%); }
.grid-bg {
  background-image:
    linear-gradient(rgba(61,255,184,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,255,184,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  animation: gridMove 12s linear infinite;
}
.grid-bg.dim { opacity: .6; }
@keyframes gridMove { to { background-position: 56px 56px, 56px 56px; } }
.blob { inset: auto; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .5; }
.b1 { background: var(--mint); left: -16vmax; top: -18vmax; opacity: .22; animation: drift 14s ease-in-out infinite alternate; }
.b2 { background: #0bb39a; right: -18vmax; bottom: -22vmax; opacity: .3; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.15); } }

.hero-inner { width: min(1240px, 100% - 2 * clamp(18px, 5vw, 72px)); display: grid; justify-items: center; text-align: center; }
.hero .kicker { color: var(--mint-2); }
.mega {
  margin: 0;
  display: flex;
  justify-content: center;
  font-size: clamp(84px, 21vw, 330px);
  line-height: .8;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--cream);
}
.mega span {
  display: inline-block;
  font-variation-settings: "wdth" 75, "wght" 800;
  text-shadow: 0 .04em 0 var(--mint), 0 .08em 0 #0a7f6a, 0 .14em .2em rgba(0,0,0,.5);
  animation: drop .9s cubic-bezier(.2,1.4,.4,1) both, wave 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * .09s), calc(1s + var(--i) * .16s);
}
@keyframes drop { from { transform: translateY(-120%) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wave {
  0%, 100% { font-variation-settings: "wdth" 75, "wght" 800; transform: translateY(0); }
  50% { font-variation-settings: "wdth" 100, "wght" 600; transform: translateY(-4%); color: var(--mint-2); }
}
.hero-row { display: flex; align-items: center; gap: clamp(20px, 5vw, 70px); margin-top: clamp(-40px, -3vw, -10px); }
.hero-row .sticker { z-index: 2; }
.hero-copy { text-align: left; }
.tagline { margin: 0 0 .7em; font-size: clamp(20px, 2.8vw, 40px); font-weight: 800; line-height: 1.05; font-variation-settings: "wdth" 85; }
.tagline em { font-style: normal; color: var(--ink); background: var(--mint); padding: 0 .18em; border-radius: .15em; box-shadow: .08em .08em 0 var(--cream); display: inline-block; transform: rotate(-1.5deg); }
.counter {
  display: inline-grid;
  background: var(--ink);
  border: 3px solid var(--mint);
  border-radius: 18px;
  padding: 12px 20px 14px;
  box-shadow: 6px 6px 0 var(--mint), 0 0 40px rgba(61,255,184,.25);
}
.counter-label { font-size: clamp(11px, 1vw, 13px); letter-spacing: .14em; text-transform: uppercase; color: var(--mint-2); font-weight: 700; }
.counter-num { font-size: clamp(44px, 6vw, 84px); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; color: var(--mint); text-shadow: 0 0 20px rgba(61,255,184,.6); }
.counter-num.tick { animation: tick .35s ease; }
@keyframes tick { 40% { transform: scale(1.12); color: var(--cream); } }
.counter-sub { font-size: 13px; opacity: .7; }
.blink { font-size: .5em; vertical-align: middle; margin-left: .1em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ticket-spray { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.chip {
  position: absolute;
  left: var(--sx); top: var(--sy);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 700;
  background: var(--cream);
  color: var(--ink);
  padding: .3em .7em;
  border-radius: 8px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--mint);
  white-space: nowrap;
  animation: spray 3.4s cubic-bezier(.15,.7,.3,1) forwards;
}
@keyframes spray {
  0% { transform: translate(-50%, -50%) scale(.2); opacity: 0; }
  12% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(1); opacity: 0; }
}
.scroll-hint {
  position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  color: var(--mint-2); text-decoration: none; font-size: 14px; letter-spacing: .1em;
  animation: hint 2s ease-in-out infinite;
}
@keyframes hint { 50% { transform: translate(-50%, 8px); } }

/* ---------- 2 jan ---------- */
.jan { background: #04201d; }
.zzz { position: absolute; right: 22%; top: 34%; z-index: 0; pointer-events: none; }
.zzz span {
  position: absolute;
  font-weight: 800;
  color: var(--mint-2);
  text-shadow: 0 0 18px rgba(61,255,184,.8);
  font-size: clamp(28px, 4vw, 60px);
  opacity: 0;
  animation: zzz 4.5s ease-in infinite;
}
.zzz span:nth-child(2) { animation-delay: .9s; left: 30px; font-size: clamp(22px, 3vw, 44px); }
.zzz span:nth-child(3) { animation-delay: 1.8s; left: -20px; font-size: clamp(18px, 2.4vw, 34px); }
.zzz span:nth-child(4) { animation-delay: 2.7s; left: 50px; }
.zzz span:nth-child(5) { animation-delay: 3.6s; left: 10px; font-size: clamp(20px, 2.6vw, 38px); }
@keyframes zzz {
  0% { transform: translate(0, 0) rotate(-10deg) scale(.5); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(60px, -260px) rotate(18deg) scale(1.4); opacity: 0; }
}
.pager {
  display: inline-block;
  background: #0b0f0e;
  border: 3px solid #27413c;
  border-radius: 14px;
  padding: 12px 16px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  box-shadow: inset 0 0 0 2px #000, 0 10px 30px rgba(0,0,0,.5);
}
.scene.in .pager { animation: buzz 3s ease-in-out 1.2s infinite; }
.pager-top { font-size: 12px; color: var(--coral); letter-spacing: .08em; }
.pager-msg { font-size: clamp(14px, 1.4vw, 18px); color: #9fffd9; text-shadow: 0 0 8px rgba(61,255,184,.6); min-height: 1.4em; }
@keyframes buzz {
  0%, 70%, 100% { transform: none; }
  72%, 76%, 80%, 84% { transform: translateX(-4px) rotate(-1.5deg); }
  74%, 78%, 82%, 86% { transform: translateX(4px) rotate(1.5deg); }
}

/* ---------- 3 sergio ---------- */
.sergio { background: #1a0630; }
.sergio .art { filter: saturate(1.15); }
.vhs {
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 4px),
    linear-gradient(270deg, rgba(20,0,40,.88) 0%, rgba(20,0,40,.55) 40%, rgba(20,0,40,0) 70%);
  z-index: -1;
}
.neon-k { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }
.neon-title { color: #fff; text-shadow: 0 0 8px var(--pink), 0 0 24px var(--pink), 0 0 48px rgba(255,62,165,.6); }
.neon-title .name { background: transparent; box-shadow: none; color: var(--cyan); text-shadow: 0 0 8px var(--cyan), 0 0 26px var(--cyan); transform: none; padding: 0; }
.six {
  display: inline-block;
  font-family: "Monoton", var(--display);
  font-weight: 400;
  font-size: 1.05em;
  color: var(--sun);
  text-shadow: 0 0 10px #ff8a00, 0 0 30px var(--pink);
  animation: flicker 4s linear infinite;
}
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .35; }
}
.sergio .body { color: #f5dcff; }
.sergio q { color: var(--sun); }
.wanted { display: inline-flex; align-items: center; gap: 14px; background: rgba(0,0,0,.55); border: 2px solid var(--pink); border-radius: 12px; padding: 10px 16px; box-shadow: 0 0 20px rgba(255,62,165,.5); }
.wl { font-weight: 800; letter-spacing: .14em; font-size: clamp(11px, 1.1vw, 14px); color: #fff; }
.stars i { font-style: normal; font-size: clamp(20px, 2.4vw, 32px); color: #4a2a5a; display: inline-block; }
.scene.in .stars i { animation: star .5s cubic-bezier(.2,1.6,.4,1) forwards; }
.scene.in .stars i:nth-child(1) { animation-delay: .6s; }
.scene.in .stars i:nth-child(2) { animation-delay: .9s; }
.scene.in .stars i:nth-child(3) { animation-delay: 1.2s; }
.scene.in .stars i:nth-child(4) { animation-delay: 1.5s; }
.scene.in .stars i:nth-child(5) { animation-delay: 1.8s; }
@keyframes star { from { transform: scale(2.4) rotate(-90deg); } to { color: var(--sun); text-shadow: 0 0 12px #ff8a00; transform: none; } }
.neon-sticker { border-color: #fff; box-shadow: 0 0 0 3px var(--ink), 0 0 0 9px var(--pink), 0 0 50px var(--pink), 14px 18px 0 rgba(0,0,0,.4); }
.neon-sticker .badge { background: var(--cyan); }

/* ---------- 4 carlo ---------- */
.carlo { background: #2b1a10; }
.carlo q, .carlo .hl { color: var(--sun); text-shadow: 0 0 .5em rgba(255,180,60,.4); }
.carlo .kicker { color: var(--sun); }
.carlo .title .name { box-shadow: .06em .06em 0 var(--sun); }
.steam { position: absolute; left: 50%; right: 8%; bottom: 24%; height: 40%; z-index: 0; pointer-events: none; }
.steam i {
  position: absolute; bottom: 0;
  width: 26%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 65%);
  filter: blur(14px);
  animation: steam 7s ease-out infinite;
}
.steam i:nth-child(1) { left: 5%; }
.steam i:nth-child(2) { left: 28%; animation-delay: 1.7s; }
.steam i:nth-child(3) { left: 52%; animation-delay: 3.4s; }
.steam i:nth-child(4) { left: 72%; animation-delay: 5.1s; }
@keyframes steam {
  0% { transform: translateY(20%) scale(.6); opacity: 0; }
  30% { opacity: .9; }
  100% { transform: translateY(-160%) scale(1.8); opacity: 0; }
}
.bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bubble {
  position: absolute; bottom: -40px;
  left: var(--x);
  width: var(--s); height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(160,240,255,.35) 40%, rgba(255,255,255,.08) 70%);
  border: 1.5px solid rgba(255,255,255,.7);
  animation: bubble var(--d) linear forwards;
}
@keyframes bubble {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(var(--w), -55vh); }
  100% { transform: translate(calc(var(--w) * -1), -115vh); opacity: .2; }
}
.thermo { display: inline-grid; gap: 6px; background: rgba(255,250,240,.92); color: #2b1a10; border-radius: 14px; padding: 12px 18px; border: 3px solid #2b1a10; box-shadow: 5px 5px 0 var(--sun); min-width: 220px; }
.thermo-row { display: flex; justify-content: space-between; gap: 24px; font-weight: 700; }
.thermo-row b { font-size: 1.3em; }
.thermo .hot { color: #d2400a; }
.carlo-av .badge { background: var(--sun); }
.duck { position: absolute; bottom: 9%; right: 16%; font-size: clamp(28px, 4vw, 54px); animation: duck 3s ease-in-out infinite; }
@keyframes duck { 50% { transform: translateY(-8px) rotate(8deg); } }

/* ---------- 5 agents ---------- */
.agents { background: radial-gradient(ellipse at 50% 60%, #0a4b40 0%, var(--bg) 50%, var(--deep) 100%); }
.robots-scroll { width: 100%; display: grid; justify-items: center; }
.swipe-hint { display: none; }
.robots {
  position: relative;
  width: min(1100px, 100%, calc(44svh * 2.415));
  aspect-ratio: 2.415;
  border-radius: 22px;
  overflow: hidden;
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 3px var(--mint), 0 20px 60px rgba(0,0,0,.5);
}
.robots-in { position: absolute; width: 107.5%; left: -6.45%; top: -40.6%; aspect-ratio: 1376 / 768; container-type: inline-size; }
.robots img { width: 100%; height: 100%; }
.sign {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--w);
  transform: translate(-50%, -50%) rotate(var(--r));
  font-family: var(--hand);
  font-size: 2.05cqw;
  line-height: .92;
  text-align: center;
  color: #2a1d12;
}
.tag {
  position: absolute; left: var(--x); top: 91%;
  transform: translateX(-50%);
  font-size: max(9px, 1.4cqw);
  font-weight: 800;
  background: var(--ink);
  color: var(--mint);
  border: 1.5px solid var(--mint);
  border-radius: 999px;
  padding: .15em .7em;
  white-space: nowrap;
}
.tag.loaf { color: var(--sun); border-color: var(--sun); }
.scene.in .robots { animation: march 1.2s steps(2) infinite; }
@keyframes march { 50% { transform: translateY(-3px) rotate(-.3deg); } }
.david-pile { position: relative; width: min(760px, 100%); height: clamp(130px, 22svh, 230px); display: grid; place-items: center; }
.prs { position: absolute; inset: 0; }
.pr {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%) rotate(var(--r));
  background: #0d1117;
  color: #e6edf3;
  border: 1.5px solid #30363d;
  border-left: 5px solid var(--c);
  border-radius: 8px;
  padding: 6px 10px;
  font: 600 clamp(10px, 1.05vw, 13px)/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0,0,0,.45);
  opacity: 0;
}
.pr small { color: #8b949e; font-weight: 400; margin-right: .5em; }
.scene.in .pr { animation: prDrop .6s cubic-bezier(.3,1.5,.5,1) forwards; animation-delay: var(--dl); }
@keyframes prDrop { from { transform: translate(-50%, -260%) rotate(calc(var(--r) * 4)); opacity: 0; } to { opacity: 1; } }
.peek { z-index: 3; }
.scene.in .peek { animation: peek 3.5s ease-in-out infinite; }
@keyframes peek {
  0%, 100% { transform: translateY(10%) rotate(var(--r)); }
  40%, 70% { transform: translateY(-4%) rotate(calc(var(--r) - 12deg)); }
}

/* ---------- 6 hits ---------- */
.hits { background: var(--deep); }
.hits-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.cameos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 26px) clamp(10px, 1.6vw, 22px); margin-top: clamp(8px, 2vh, 26px); }
.cameo { margin: 0; display: grid; justify-items: center; text-align: center; gap: 10px; }
.cameo img {
  width: clamp(58px, 9vmin, 104px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 5px solid var(--cream);
  box-shadow: 0 0 0 2px var(--ink), 4px 5px 0 rgba(0,0,0,.4);
  transform: rotate(var(--r));
  transition: transform .3s cubic-bezier(.3,1.6,.5,1);
}
.cameo:hover img { transform: rotate(0) scale(1.12); }
.cameo figcaption { font-size: clamp(11px, 1.15vw, 15px); line-height: 1.25; background: rgba(0,17,15,.8); padding: 6px 10px; border-radius: 10px; border: 1px solid rgba(61,255,184,.35); }
.cameo b { color: var(--mint); }
.feed {
  background: #1e1f21;
  border-radius: 20px;
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 2px #3b3d41, 14px 18px 0 rgba(0,0,0,.45);
  overflow: hidden;
  width: 100%;
  max-width: 460px;
  justify-self: center;
}
.feed-head { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #2a2b2d; font-size: 14px; color: #f5f4f3; }
.feed-head b { margin-left: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.feed-count { margin-left: auto; background: #f06a6a; color: #fff; border-radius: 999px; font-size: 12px; font-weight: 800; padding: 2px 9px; }
.well { position: relative; overflow: hidden; height: clamp(260px, 56svh, 520px); background:
  linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 40px, #1e1f21; }
.well.flash { animation: flash .6s ease 3; }
@keyframes flash { 50% { background-color: #5a1f2a; } }
.tk {
  position: absolute;
  left: calc(var(--col) * 100% / 6 + 3px);
  width: calc(var(--w) * 100% / 6 - 6px);
  height: 52px;
  top: 0;
  border-radius: 9px;
  background: var(--c);
  color: #1e1f21;
  padding: 6px 9px;
  display: grid;
  align-content: center;
  overflow: hidden;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), 0 3px 0 rgba(0,0,0,.35);
  transition: transform .75s cubic-bezier(.5,0,.75,0);
  font-size: clamp(10px, 1vw, 13px);
}
.tk b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.15; }
.tk span { font-size: .82em; opacity: .75; white-space: nowrap; }
.tk.land { animation: squash .25s ease; }
@keyframes squash { 50% { scale: 1.04 .9; } }
.tk.out { transition: transform 1s cubic-bezier(.5,0,1,.5), opacity 1s; opacity: 0; }

/* ---------- 7 finale ---------- */
.finale { background: radial-gradient(ellipse at 50% 40%, #04574b 0%, var(--bg) 45%, var(--deep) 100%); }
#confetti { z-index: 5; width: 100%; height: 100%; }
.rays {
  background: repeating-conic-gradient(from 0deg at 50% 36%, rgba(61,255,184,.08) 0 10deg, transparent 10deg 20deg);
  animation: spin 60s linear infinite;
  inset: -50%;
}
.orbit-wrap { --R: clamp(110px, 19vmin, 220px); position: relative; width: calc(var(--R) * 2 + 90px); aspect-ratio: 1; display: grid; place-items: center; }
.center-st { --s: clamp(110px, 17vmin, 200px); z-index: 2; animation: bounce 2.4s ease-in-out infinite; box-shadow: 0 0 0 3px var(--ink), 0 0 60px rgba(61,255,184,.6); }
.orbit { position: absolute; inset: 0; animation: spin 28s linear infinite; }
.orbit span {
  position: absolute; left: 50%; top: 50%;
  width: clamp(44px, 8vmin, 84px); aspect-ratio: 1;
  margin: calc(clamp(44px, 8vmin, 84px) / -2);
  transform: rotate(calc(var(--a) * 36deg)) translateX(var(--R)) rotate(calc(var(--a) * -36deg));
}
.orbit span > * {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--ink), 3px 4px 0 rgba(0,0,0,.35);
  animation: spin 28s linear infinite reverse;
}
.letter { font-size: clamp(20px, 3.4vmin, 36px); font-weight: 800; color: #fff; }
.letter.j { background: #C8401A; }
.letter.c { background: #EF6C00; }
@keyframes spin { to { transform: rotate(360deg); } }
.thanks { font-size: clamp(42px, 7.6vw, 110px); }
.cta {
  font: 800 clamp(15px, 1.4vw, 18px) var(--display);
  background: var(--mint); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px;
  padding: .75em 1.6em; cursor: pointer;
  box-shadow: 5px 5px 0 var(--cream);
  transition: transform .15s, box-shadow .15s;
}
.cta:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--cream); }
.cta:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--cream); }
.foot { position: absolute; bottom: max(14px, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; font-size: 13px; opacity: .6; }
.finale .stack { gap: clamp(4px, 1.4vh, 18px); }
.finale .title { margin-bottom: .15em; }
.finale .kicker { margin: 0; font-size: clamp(14px, 1.6vw, 20px); }

/* ---------- annoyance gag ---------- */
.annoy {
  position: fixed; left: clamp(10px, 1.6vw, 22px); top: clamp(10px, 1.6vw, 22px); z-index: 60;
  width: clamp(150px, 15vw, 210px);
  background: rgba(0,17,15,.82); backdrop-filter: blur(6px);
  border: 2px solid var(--mint); border-radius: 12px; padding: 8px 10px 9px;
  box-shadow: 3px 3px 0 var(--mint);
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.annoy-label { color: var(--mint-2); }
.annoy-bar { height: 10px; margin: 6px 0 5px; border-radius: 999px; background: #0d2b27; overflow: hidden; border: 1px solid rgba(61,255,184,.35); }
.annoy-bar i { display: block; height: 100%; width: var(--a, 8%); border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--sun) 55%, var(--coral) 80%, var(--pink));
  background-size: 210px 100%; transition: width .5s cubic-bezier(.3,1.4,.5,1); }
.annoy-state { color: var(--cream); font-size: 12px; letter-spacing: .04em; min-height: 1.3em; }
.annoy.max { border-color: var(--pink); box-shadow: 3px 3px 0 var(--pink), 0 0 24px rgba(255,62,165,.5); animation: buzz 1.6s ease-in-out infinite; }
.annoy.max .annoy-state { color: var(--pink); }

.stamp {
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%) rotate(-9deg);
  border: 2px solid #c0182f; color: #c0182f; border-radius: 4px;
  padding: 1px 5px; font-size: .74em; font-weight: 800; letter-spacing: .04em; line-height: 1.1;
  background: rgba(255,255,255,.35); white-space: nowrap; font-style: normal;
  mix-blend-mode: multiply;
}
.tk.land .stamp { animation: stampIn .35s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes stampIn { from { transform: translateY(-50%) rotate(-25deg) scale(2.4); opacity: 0; } }

.punch {
  margin: 0 0 .4em;
  font-size: clamp(28px, 4.6vw, 64px); font-weight: 800; line-height: 1;
  font-variation-settings: "wdth" 85;
  opacity: 0; transform: scale(2.2) rotate(-8deg);
}
.scene.in .punch { animation: punchIn .55s cubic-bezier(.2,1.5,.4,1) 1.3s forwards; }
@keyframes punchIn { to { opacity: 1; transform: rotate(-2deg); } }
.annoy-word { display: inline-block; color: var(--ink); background: var(--coral); padding: 0 .18em; border-radius: .14em; box-shadow: .07em .07em 0 var(--cream); }
.punch-emoji { display: inline-block; }
.scene.in .punch-emoji { animation: giggle 1s ease-in-out 2s infinite; }
@keyframes giggle { 25% { transform: rotate(-12deg) scale(1.1); } 75% { transform: rotate(10deg) scale(1.1); } }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .split, .split.reverse, .hits-grid { grid-template-columns: 1fr; gap: 18px; }
  .split.reverse .copy { order: 0; }
  .split > figure { order: -1; }
  .split .sticker { --s: clamp(120px, 34vw, 170px); }
  .shade, .shade.warm { background: linear-gradient(180deg, rgba(0,26,24,.15) 0%, rgba(0,26,24,.78) 38%, rgba(0,26,24,.92) 100%); }
  .shade.warm { background: linear-gradient(180deg, rgba(25,12,4,.1) 0%, rgba(25,12,4,.75) 40%, rgba(25,12,4,.9) 100%); }
  .vhs { background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 4px), linear-gradient(180deg, rgba(20,0,40,.2), rgba(20,0,40,.85) 45%); }
  .art { background-position: 65% center; }
  .hero-row { flex-direction: column; gap: 22px; margin-top: 18px; }
  .hero-copy { text-align: center; }
  .zzz { right: 30%; top: 18%; }
  .steam { left: 20%; right: 10%; bottom: auto; top: 6%; }
  .duck { bottom: 3%; right: 8%; }
  .robots-scroll { overflow-x: auto; justify-items: start; scroll-snap-type: x proximity; padding: 6px 4px 10px; margin-inline: -4px; scrollbar-width: none; }
  .robots-scroll::-webkit-scrollbar { display: none; }
  .robots { width: 165vw; max-width: none; border-radius: 14px; }
  .swipe-hint { display: block; margin: -6px 0 0; font-size: 12px; color: var(--mint-2); opacity: .8; animation: hint 2s ease-in-out infinite; }
  .hero .mega { margin-bottom: 4px; }
  .scroll-hint { white-space: nowrap; }
  .agents .title { font-size: clamp(30px, 9vw, 44px); }
  .hits-grid { align-content: center; }
  .hits .title { font-size: clamp(28px, 8.5vw, 40px); }
  .cameos { gap: 10px 8px; }
  .cameo { gap: 6px; }
  .cameo figcaption { font-size: 10.5px; padding: 4px 6px; }
  .feed { max-width: none; }
  .well { height: 24svh; }
  .tk { height: 38px; padding: 3px 7px; }
  .tk span { display: none; }
  .dots { right: 6px; gap: 9px; }
  .annoy { width: 128px; padding: 5px 8px 6px; font-size: 9px; top: max(8px, env(safe-area-inset-top)); left: 8px; }
  .annoy-state { font-size: 10px; }
  .annoy-bar { height: 7px; margin: 4px 0 3px; }
  .stamp { font-size: .7em; padding: 0 3px; }
  .dots a { width: 8px; height: 8px; }
  .wanted { flex-wrap: wrap; gap: 6px 12px; }
  .pager { margin-top: 2px; }
}
@media (max-height: 640px) and (max-width: 760px) {
  .hits .cameo figcaption { display: none; }
  .split .sticker { --s: 104px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
  }
  .sd .reveal, .sd .parallax, .sd .mega, .sd .orbit-wrap { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .zzz span { opacity: .8; animation: none !important; }
  .zzz span:nth-child(2) { transform: translate(30px, -60px); }
  .zzz span:nth-child(3) { transform: translate(60px, -120px); }
  .zzz span:nth-child(n+4) { display: none; }
  .pr { opacity: 1; }
  .punch { opacity: 1; transform: rotate(-2deg); }
  .stars i { color: var(--sun); }
}
