/* Pancho. One long scroll, built phone-first. */

:root {
  --ink: #15100c;
  --cream: #fff3d6;
  --mustard: #f7c51e;
  --navy: #12224a;
  --navy-deep: #0a1430;
  --red: #e2231a;
  --orange: #ff7a1a;
  --green: #2f9e44;
  --gold: #d8b36a;
  --pub: #0f3b2d;

  --shout: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Bradley Hand", "Comic Sans MS", cursive;
  --mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(20px, 5.5vw, 64px);
  /* How much of the screen a phone's browser toolbar covers when it is showing.
     Pinned screens are sized to the tall, toolbar-hidden viewport, which never
     changes mid-scroll, and keep their bottom content this far up so it stays
     visible. Sizing them to the live viewport made them judder as the toolbar slid away. */
  --bar: 0px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}

@supports (height: 100lvh) { :root { --bar: calc(100lvh - 100svh); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1.0625rem/1.55 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cg fill='%2315100c' stroke='%23fff3d6' stroke-width='1.5'%3E%3Cellipse cx='15' cy='20' rx='7' ry='6'/%3E%3Cellipse cx='6' cy='12' rx='3' ry='4'/%3E%3Cellipse cx='12' cy='6.5' rx='3' ry='4'/%3E%3Cellipse cx='19' cy='6.5' rx='3' ry='4'/%3E%3Cellipse cx='25' cy='12' rx='3' ry='4'/%3E%3C/g%3E%3C/svg%3E") 15 15, auto;
}
html.locked, html.locked body { overflow: hidden; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: inherit; border: 0; background: none; padding: 0; touch-action: manipulation; }
a { color: inherit; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--pad); position: relative; }
section, footer, header { position: relative; }

/* ───────── shared bits ───────── */

.eyebrow {
  font: 700 .72rem/1.2 var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 2.2em; height: 2px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--red { color: var(--red); }

.shout {
  font: 400 clamp(3.5rem, 17.5vw, 10rem)/.9 var(--shout);
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--cream);
  text-wrap: balance;
}
.shout--ink { color: var(--ink); }
.outline { color: transparent; -webkit-text-stroke: 2px var(--mustard); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .7em 1.35em;
  font: 400 1.15rem/1 var(--shout); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: var(--mustard);
  border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
  user-select: none; -webkit-user-select: none;
}
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink); }
.btn--big { font-size: 1.4rem; min-height: 64px; padding-inline: 1.5em; }
.btn--red { background: var(--red); color: var(--cream); }
.btn--ink { background: var(--ink); color: var(--cream); border-color: var(--cream); box-shadow: 0 6px 0 rgba(21, 16, 12, .45); }
.btn--cream { background: var(--cream); }
.btn--gold { background: var(--gold); border-color: #000; box-shadow: 0 6px 0 #6d5426; }
.btn--gold:active { box-shadow: 0 1px 0 #6d5426; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; min-width: 52px; padding-inline: .8em; }

.js [data-reveal] { opacity: 0; transform: translateY(34px) scale(.97); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.edge-tilt::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 7vw;
  background: inherit; clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); } }

.floaters { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.floaters span { position: absolute; font-size: clamp(1.6rem, 6vw, 3rem); opacity: .22; animation: floaty var(--t, 9s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
@keyframes floaty { from { transform: translateY(0) rotate(-14deg); } to { transform: translateY(-46px) rotate(16deg); } }

.stars { position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 54% 28%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 74%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 88% 12%, var(--mustard) 50%, transparent 51%),
    radial-gradient(1px 1px at 7% 86%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 92%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 93% 48%, #fff 50%, transparent 51%);
  background-size: 340px 300px;
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .9; } }

/* ───────── always on screen ───────── */

.sausage { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 11px; pointer-events: none; }
.sausage__meat {
  height: 100%; width: calc(var(--p, 0) * 100%); min-width: 0; position: relative;
  background: linear-gradient(#e0805a, #b5442a 45%, #7d2a17);
  border-radius: 0 8px 8px 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.sausage__meat::after { content: ""; position: absolute; right: -7px; top: 3px; width: 9px; height: 5px; background: #7d2a17; border-radius: 0 4px 4px 0; }

.sound {
  position: fixed; z-index: 61; top: 22px; right: 14px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream); border: 2.5px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  display: grid; place-items: center; font-size: 1.25rem; line-height: 1;
}
.sound:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
/* On arrival the sound button is a "Tap to wake Pancho" prompt; it shrinks back to the icon once used or scrolled past. */
.sound__invite { display: none; font: 400 1rem/1 var(--shout); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.sound--invite { width: auto; padding: 0 16px 0 12px; border-radius: 999px; display: flex; align-items: center; gap: 8px; background: var(--mustard); animation: invite 1.6s ease-in-out infinite; }
.sound--invite .sound__invite { display: block; }
@keyframes invite { 50% { scale: 1.07; rotate: -2deg; } }
.hero.woke .hero__photo img { animation: woke .5s var(--bounce); }
@keyframes woke { 35% { transform: scale(1.07) rotate(-1.5deg); } }

.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 80; pointer-events: none; }
.paws { position: fixed; inset: 0; z-index: 70; pointer-events: none; overflow: hidden; }
.paw { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; opacity: .55; animation: pawfade 1.3s ease-out forwards; }
@keyframes pawfade { 0% { opacity: 0; scale: .4; } 15% { opacity: .6; scale: 1; } 100% { opacity: 0; scale: 1; } }

.toasts { position: fixed; z-index: 90; left: 0; right: 0; bottom: max(22px, env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 8px; pointer-events: none; padding-inline: 16px; }
.toast {
  max-width: 30rem; text-align: center; padding: .7em 1.2em; border-radius: 18px;
  background: var(--ink); color: var(--cream); border: 2.5px solid var(--mustard);
  font: 600 1.05rem/1.25 var(--serif); box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  animation: toast 3.6s var(--ease) forwards;
}
@keyframes toast { 0% { opacity: 0; transform: translateY(30px) scale(.9); } 8%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-14px); } }

/* ───────── 1. hero ───────── */

.hero { height: 190vh; height: 190lvh; background: #000; }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; transform: scale(calc(1 + var(--p, 0) * .9)); transform-origin: 50% 27%; will-change: transform; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(1.08) contrast(1.05); transition: transform 2.4s var(--ease), filter 1.6s; }
.js .hero:not(.is-in) .hero__photo img { transform: scale(1.25); }
.js .hero:not(.is-in) .hero__photo img { filter: brightness(.3) blur(6px); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .55), transparent 24%, transparent 46%, rgba(10, 6, 2, .9) 96%); }
.hero__shade::after { content: ""; position: absolute; inset: 0; background: #000; opacity: calc(var(--p, 0) * .75); }

.hero__kicker {
  position: absolute; top: max(82px, 10vh); left: 0; right: 0; text-align: center;
  font: 700 .68rem var(--mono); letter-spacing: .34em; text-transform: uppercase;
  opacity: calc(1 - var(--p, 0) * 4); transition: opacity 1s 1.2s;
}
.js .hero:not(.is-in) .hero__kicker { opacity: 0; }

.hero__title {
  position: absolute; left: 0; right: 0; bottom: calc(var(--bar) + max(118px, 17vh));
  display: flex; justify-content: center;
  font: 400 var(--fit, 31.5vw)/.82 var(--shout); color: var(--mustard);
  text-shadow: 0 .035em 0 rgba(0, 0, 0, .45), 0 0 .5em rgba(0, 0, 0, .25);
  user-select: none; -webkit-user-select: none;
}
.hero__title span {
  display: inline-block;
  translate: 0 calc(var(--p, 0) * var(--fly, -60) * 1vh);
  rotate: calc(var(--p, 0) * var(--spin, 0deg));
}
.js .hero:not(.is-in) .hero__title span { opacity: 0; }
.hero.is-in .hero__title span { animation: drop .9s var(--bounce) both; animation-delay: calc(.35s + var(--i) * .09s); }
.hero.is-settled .hero__title span { animation: none; }
.hero.is-settled .hero__title span.jump { animation: jump .5s var(--bounce); }
@keyframes drop { from { opacity: 0; transform: translateY(-110vh) rotate(var(--tilt, 20deg)); } to { opacity: 1; transform: none; } }
@keyframes jump { 0% { opacity: 1; transform: none; } 40% { opacity: 1; transform: translateY(-.28em) rotate(var(--tilt, 8deg)) scale(1.08); } 100% { opacity: 1; transform: none; } }

.hero__tag {
  position: absolute; left: 0; right: 0; bottom: calc(var(--bar) + max(46px, 6.5vh)); padding-inline: 14px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  opacity: calc(1 - var(--p, 0) * 3);
}
.hero__tag span {
  font: 700 .66rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  padding: .62em .85em; border: 1.5px solid var(--cream); border-radius: 999px; background: rgba(0, 0, 0, .35); backdrop-filter: blur(4px);
  transition: opacity .6s, transform .6s var(--bounce);
}
.js .hero:not(.is-in) .hero__tag span { opacity: 0; transform: translateY(16px); }
.hero__tag span:nth-child(3) { background: var(--mustard); color: var(--ink); border-color: var(--mustard); }
.hero.is-in .hero__tag span:nth-child(1) { transition-delay: 1.25s; }
.hero.is-in .hero__tag span:nth-child(2) { transition-delay: 1.4s; }
.hero.is-in .hero__tag span:nth-child(3) { transition-delay: 1.55s; }
.hero__scroll { position: absolute; left: 0; right: 0; bottom: calc(var(--bar) + 10px); text-align: center; font: 400 .62rem var(--mono); letter-spacing: .3em; text-transform: uppercase; opacity: calc(.75 - var(--p, 0) * 4); }
.hero__scroll span { display: block; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* ───────── nickname tape ───────── */

.tapes { position: relative; z-index: 3; height: 0; }
.tape {
  position: absolute; left: -8vw; width: 116vw; overflow: hidden; white-space: nowrap;
  font: 400 clamp(1.5rem, 6.4vw, 2.6rem)/1 var(--shout); text-transform: uppercase; letter-spacing: .03em;
  padding: .42em 0; border-block: 3px solid var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}
.tape--a { top: -2.2em; background: var(--mustard); color: var(--ink); transform: rotate(-3.5deg); }
.tape--b { top: -1.2em; background: var(--red); color: var(--cream); transform: rotate(2.5deg); }
.tape__run { display: inline-block; white-space: nowrap; will-change: transform; animation: run var(--dur, 30s) linear infinite; }
.tape__run[data-marquee="-1"] { animation-direction: reverse; }
@keyframes run { to { transform: translateX(-50%); } }

/* ───────── 2. hello ───────── */

.hello { background: var(--cream); color: var(--ink); padding: clamp(120px, 30vw, 220px) 0 clamp(90px, 20vw, 160px); }
.hello__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.hello__hi { font: 900 clamp(4.4rem, 22vw, 11rem)/.86 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.03em; margin-bottom: .35em; }
.hello__hi em { font-weight: 300; color: var(--red); }
.hello__say { font: 500 clamp(1.55rem, 6.4vw, 2.5rem)/1.16 var(--serif); font-variation-settings: "SOFT" 50; letter-spacing: -.01em; margin-bottom: .8em; max-width: 19em; }
.hello__say .w { opacity: .13; transition: opacity .35s; }
.hello__say .w.on { opacity: 1; }

.hello__pic { position: relative; width: min(86%, 430px); margin-inline: auto; rotate: 3deg; background: #fff; padding: 10px 10px 0; box-shadow: 12px 12px 0 var(--ink); }
.hello__pic figcaption { font: 700 1.35rem/1.1 var(--hand); padding: 10px 6px 14px; text-align: center; }
.sticker {
  position: absolute; top: -34px; right: -22px; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  font: 400 1.18rem/.92 var(--shout); text-transform: uppercase; letter-spacing: .04em;
  background: var(--red); color: var(--cream); border: 3px solid var(--ink);
  animation: wobble 3.5s ease-in-out infinite alternate;
}
@keyframes wobble { from { rotate: -14deg; } to { rotate: 12deg; } }

@keyframes pop { 30% { transform: scale(1.22) rotate(-6deg); } 60% { transform: scale(.94) rotate(4deg); } }

.live { margin-top: clamp(56px, 12vw, 90px); max-width: 620px; border: 3px solid var(--ink); border-radius: 22px; padding: 16px 18px 18px; background: #fff; box-shadow: 7px 7px 0 var(--ink); rotate: -1deg; display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; }
.live__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.live__label { font: 700 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.live__status { grid-column: 1 / -1; font: italic 600 clamp(1.6rem, 7vw, 2.5rem)/1.1 var(--serif); }

/* ───────── 4. origin ───────── */

.origin { background: linear-gradient(var(--navy) 0, var(--navy-deep) 30%, #070d20 100%) var(--navy-deep); padding: clamp(70px, 14vw, 120px) 0 clamp(60px, 12vw, 110px); overflow: hidden; }
.origin__title { font: 900 clamp(2.6rem, 12vw, 6rem)/.95 var(--serif); font-variation-settings: "SOFT" 0, "WONK" 1; letter-spacing: -.025em; margin-bottom: .5em; }
.origin__title em { font-weight: 300; color: var(--mustard); }
.flight { margin: 0 auto 44px; max-width: 760px; display: grid; justify-items: center; }
/* On short screens (an unfolded iPhone Duo is 543px tall) shrink the map so the whole
   route, the distance and the button all fit on screen together. The map is .525 as
   tall as it is wide; 290px is what sits under it. */
.flight { max-width: min(760px, (100svh - 290px) / .525); }
.origin__lede { font: 400 clamp(1.35rem, 5.4vw, 1.9rem)/1.3 var(--serif); max-width: 30em; margin: 0 auto; }
.flight svg { width: 100%; height: auto; overflow: visible; }
.flight__ghost { fill: none; stroke: rgba(255, 243, 214, .28); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.flight__line { fill: none; stroke: var(--mustard); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.flight__dot { fill: var(--mustard); }
.flight__dot--end { fill: var(--cream); }
.flight__place { font: 700 11px var(--mono); letter-spacing: 3px; fill: var(--cream); }
.flight__dog { font-size: 30px; }
.flight__go { margin-top: 18px; min-width: min(100%, 300px); border-color: var(--cream); box-shadow: 0 6px 0 #6b5310; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.flight__go:active { box-shadow: 0 1px 0 #6b5310; }
.flight__go[hidden] { display: none; }
.flight__status { margin-top: 16px; min-height: 2.8em; max-width: 24em; text-align: center; font: 700 1.35rem/1.15 var(--hand); color: var(--mustard); }
.flight.is-landed .flight__dog { animation: landed .6s var(--bounce); transform-box: fill-box; transform-origin: center; }
@keyframes landed { 40% { transform: scale(1.8) rotate(-20deg); } }
.flight__km { text-align: center; font: 500 1.05rem var(--serif); font-style: italic; color: var(--gold); margin-top: 6px; }
.flight__km b { font: 400 clamp(3rem, 15vw, 5.5rem)/1 var(--shout); font-style: normal; color: var(--mustard); font-variant-numeric: tabular-nums; margin-right: .1em; }


/* ───────── 5. the negotiation ───────── */

.nego { height: 640vh; height: 640lvh; background: #000; --stare-top: max(78px, 9vh); }
.nego__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
/* Where browsers can, both pinned screens (this one and .hero__pin) are held in place by
   an animation tied to the scroll position instead of position: sticky. Safari locks its
   toolbars, and the strip down the side of a folded iPhone Duo, to one colour while a page
   has a full-screen sticky or fixed element. Without one they follow the page background,
   which js/main.js keeps matched to the section on screen. Each screen moves down by its
   section's height minus one screen (190lvh - 100lvh, 640lvh - 100lvh): change these if
   those heights change. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hero { view-timeline: --hold-hero block; }
    .nego { view-timeline: --hold-nego block; }
    .hero__pin, .nego__pin { position: relative; animation-timing-function: linear; animation-fill-mode: both; animation-range: contain 0% contain 100%; }
    .hero__pin { animation-name: hold-hero; animation-timeline: --hold-hero; }
    .nego__pin { animation-name: hold-nego; animation-timeline: --hold-nego; }
  }
}
@keyframes hold-hero { to { translate: 0 90lvh; } }
@keyframes hold-nego { to { translate: 0 540lvh; } }
.nego__photo { position: absolute; inset: 0; transform: scale(calc(1 + var(--p, 0) * 1.9)); transform-origin: 41% 55%; will-change: transform; }
.nego__photo img { width: 100%; height: 100%; object-fit: cover; }
.nego__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 41% 50%, transparent 30%, rgba(0, 0, 0, .55) 100%), linear-gradient(rgba(0, 0, 0, .5), transparent 25%, transparent 50%, rgba(0, 0, 0, .88)); }
.nego__lines { position: absolute; inset: 0; }
.nego__line {
  position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--bar) + 9%);
  display: grid; gap: 12px; justify-items: start;
  opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .35s, transform .5s var(--ease); pointer-events: none;
}
.nego__line.on { opacity: 1; transform: none; }
.nego__line small { font: 700 .7rem var(--mono); letter-spacing: .2em; text-transform: uppercase; background: var(--cream); color: var(--ink); padding: .45em .8em; border-radius: 999px; }
.nego__line b { font: 700 clamp(2.4rem, 11vw, 6rem)/1 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, .7); max-width: 12em; }
.nego__line--dog small { background: var(--mustard); }
.nego__line--dog b { font: 400 clamp(3.4rem, 17vw, 8rem)/1 var(--shout); color: var(--mustard); letter-spacing: .1em; }
.nego__line--win b { color: var(--mustard); }
/* The opening and closing cards start just under the stare meter (at most 94px tall),
   and on short, wide screens their size follows the height too, so they never slide
   up behind the meter. */
.nego__line--title { justify-items: center; text-align: center; bottom: auto; top: calc(var(--stare-top) + 110px); }
.nego__line--title small { background: none; color: var(--cream); padding: 0; }
.nego__line--title b { font: 400 clamp(3.6rem, 17vw, 10rem)/.9 var(--shout); font-size: clamp(3.6rem, min(17vw, 18svh), 10rem); text-transform: uppercase; color: var(--mustard); letter-spacing: 0; }
.stare {
  position: absolute; top: var(--stare-top); left: var(--pad); right: var(--pad); max-width: 560px;
  display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: end;
  padding: 12px 14px 14px; border-radius: 18px; background: rgba(12, 9, 6, .72); border: 2px solid rgba(255, 243, 214, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.stare span { font: 400 clamp(1.05rem, 4.6vw, 1.4rem)/1 var(--shout); letter-spacing: .06em; text-transform: uppercase; }
.stare b { font: 400 clamp(1.9rem, 8.5vw, 2.6rem)/.85 var(--shout); color: var(--mustard); font-variant-numeric: tabular-nums; text-align: right; }
.stare__bar { grid-column: 1 / -1; height: 16px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.stare__bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: 99px; background: linear-gradient(90deg, var(--mustard), var(--orange) 60%, var(--red)); }
.stare.is-max { border-color: var(--red); animation: staremax .35s ease-in-out infinite alternate; }
.stare.is-max b { color: var(--red); }
@keyframes staremax { to { transform: scale(1.03) rotate(-.6deg); box-shadow: 0 0 28px rgba(226, 35, 26, .6); } }

/* ───────── 6. ratings ───────── */

.rates { background: var(--mustard); color: var(--ink); padding: clamp(70px, 16vw, 130px) 0 clamp(70px, 16vw, 120px); }
.rates__swipe { font: 700 1.6rem var(--hand); rotate: -3deg; margin-top: 14px; width: max-content; animation: nudgex 1.4s ease-in-out infinite; }
@keyframes nudgex { 50% { transform: translateX(8px); } }
.rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 26px var(--pad) 34px; scroll-padding-inline: var(--pad); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rate {
  flex: none; width: min(78vw, 330px); scroll-snap-align: center;
  background: var(--cream); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 7px 7px 0 var(--ink);
  overflow: hidden; display: flex; flex-direction: column; rotate: 1.2deg;
}
.rate:nth-child(even) { rotate: -1.4deg; }
.rate__media { aspect-ratio: 1; background: var(--navy); border-bottom: 3px solid var(--ink); display: grid; place-items: center; font-size: 6.5rem; overflow: hidden; }
.rate__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.rate:nth-child(3n) .rate__media { background: var(--red); }
.rate:nth-child(3n + 1) .rate__media { background: var(--ink); }
.rate__media { position: relative; }
.rate__media .cutout { position: absolute; top: 6%; left: 0; right: 0; margin: 0 auto; width: auto; height: 88%; rotate: 6deg; }
.rate__body { padding: 14px 16px 18px; display: grid; gap: 8px; position: relative; }
.rate__item { font: 400 2rem/1 var(--shout); text-transform: uppercase; padding-right: 4.4rem; }
.rate__score {
  position: absolute; top: -34px; right: 12px; min-width: 84px; height: 84px; padding: 0 10px; border-radius: 999px;
  display: grid; place-items: center; background: var(--red); color: var(--cream); border: 3px solid var(--ink);
  font: 400 1.75rem/1 var(--shout); rotate: 9deg; white-space: nowrap;
}
.rate__score small { font-size: .55em; opacity: .85; }
.rate--zero .rate__score { background: var(--ink); }
.rate--max .rate__score { background: var(--green); }
.bones { display: flex; flex-wrap: wrap; gap: 1px; font-size: 1.1rem; line-height: 1; }
.bones i { font-style: normal; filter: grayscale(1); opacity: .22; transition: opacity .2s, filter .2s, transform .35s var(--bounce); transition-delay: calc(var(--i) * 55ms + .2s); }
.rate.is-in .bones i.on { filter: none; opacity: 1; transform: scale(1.12) rotate(-12deg); }
.bones b { flex-basis: 100%; font: 700 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; color: var(--red); }
.rate__quote { font: italic 500 1.18rem/1.25 var(--serif); }
.rate__quote::before { content: "“"; } .rate__quote::after { content: "”"; }

/* ───────── 7. moods ───────── */

.moods { background: var(--mood-bg, var(--mustard)); color: var(--mood-fg, var(--ink)); transition: background .55s, color .55s; padding: clamp(70px, 16vw, 130px) 0; overflow: hidden; }
.moods .shout { color: inherit; font-size: clamp(3rem, 14.5vw, 8.5rem); }
.deck { position: relative; width: min(82vw, 390px); aspect-ratio: 3 / 4.15; margin: 46px auto 34px; touch-action: pan-y; }
/* On short screens, shrink the card so it and the buttons under it fit on screen together. */
.deck { width: min(82vw, 390px, (100svh - 150px) * 3 / 4.15); }
.mood {
  position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: var(--ink);
  border: 4px solid var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(40px) scale(.84); pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s;
}
.mood[data-pos="0"] { opacity: 1; transform: translateX(calc(var(--dxn, 0) * 1px)) rotate(calc(var(--dxn, 0) * .04deg)); pointer-events: auto; z-index: 3; }
.mood[data-pos="1"] { opacity: 1; transform: translateY(16px) scale(.95) rotate(3.5deg); z-index: 2; }
.mood[data-pos="2"] { opacity: 1; transform: translateY(30px) scale(.9) rotate(-4deg); z-index: 1; }
.mood.is-dragging { transition: none; }
.mood.out { opacity: 0; transform: translateX(calc(var(--dir, -1) * 130%)) rotate(calc(var(--dir, -1) * 22deg)); z-index: 4; }
.mood img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.mood figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 18px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); color: var(--cream); display: grid; gap: 4px; }
.mood figcaption b { font: 400 clamp(2.3rem, 10.5vw, 3.2rem)/.92 var(--shout); text-transform: uppercase; }
.mood figcaption span { font: 700 1.45rem/1.05 var(--hand); color: var(--mustard); }
.deck__ui { display: flex; justify-content: center; align-items: center; gap: 16px; }
.deck__count { font: 700 .9rem var(--mono); letter-spacing: .1em; min-width: 5.5em; text-align: center; }
.moods .btn--ghost { border-width: 3px; }

/* ───────── 8. roof ───────── */

.roof { background: #0b0b0d; padding: 0 0 clamp(80px, 18vw, 140px); overflow: hidden; }
.roof__banner { display: flex; align-items: stretch; background: var(--red); color: #fff; font: 400 1.1rem/1 var(--shout); letter-spacing: .08em; text-transform: uppercase; margin-bottom: clamp(50px, 12vw, 90px); }
.roof__live { flex: none; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--red); padding: 12px 14px; }
.roof__live i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: blink 1s steps(2) infinite; }
.roof__tick { overflow: hidden; white-space: nowrap; display: flex; align-items: center; }
.roof__title { color: #fff; font-size: clamp(4.2rem, 21vw, 12rem); }
.roof__title::first-line { color: var(--red); }
.roof__lede { font: 500 clamp(1.4rem, 5.8vw, 2.2rem)/1.22 var(--serif); max-width: 22em; margin: 22px 0 34px; }

.cctv { max-width: 900px; }
.cctv__screen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: #000; box-shadow: 0 0 0 3px #2a2a2e, 0 30px 60px rgba(0, 0, 0, .6); }
.cctv__screen img { width: 100%; height: 100%; object-fit: cover; transform-origin: 0 0; transform: translate(var(--tx, 0%), var(--ty, 0%)) scale(var(--s, 1)); transition: transform 1.1s cubic-bezier(.6, 0, .2, 1); filter: contrast(1.06); }
.cctv__lines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(transparent 0 2px, rgba(0, 0, 0, .22) 2px 3px); mix-blend-mode: multiply; }
.cctv__rec, .cctv__cam { position: absolute; top: 10px; font: 700 .62rem var(--mono); letter-spacing: .14em; color: #fff; text-shadow: 0 1px 3px #000; }
.cctv__rec { left: 12px; display: flex; align-items: center; gap: 6px; }
.cctv__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1s steps(2) infinite; }
.cctv__cam { right: 12px; }
.cctv__lower { position: absolute; left: 0; right: 0; bottom: 0; display: grid; transition: transform .4s, opacity .4s; }
.cctv__lower b { justify-self: start; background: var(--red); color: #fff; font: 400 clamp(1.1rem, 5vw, 1.8rem)/1 var(--shout); text-transform: uppercase; letter-spacing: .05em; padding: .4em .7em .3em; }
.cctv__lower span { background: rgba(255, 255, 255, .94); color: #111; font: 700 clamp(.72rem, 3.2vw, 1rem)/1.2 var(--sans); padding: .55em .9em; }
.cctv.is-zoomed .cctv__lower { transform: translateY(100%); opacity: 0; }
.cctv__reticle { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; translate: -50% -50%; opacity: 0; transition: opacity .3s .8s; pointer-events: none;
  background:
    linear-gradient(var(--mustard), var(--mustard)) 0 0 / 22% 3px no-repeat, linear-gradient(var(--mustard), var(--mustard)) 0 0 / 3px 22% no-repeat,
    linear-gradient(var(--mustard), var(--mustard)) 100% 0 / 22% 3px no-repeat, linear-gradient(var(--mustard), var(--mustard)) 100% 0 / 3px 22% no-repeat,
    linear-gradient(var(--mustard), var(--mustard)) 0 100% / 22% 3px no-repeat, linear-gradient(var(--mustard), var(--mustard)) 0 100% / 3px 22% no-repeat,
    linear-gradient(var(--mustard), var(--mustard)) 100% 100% / 22% 3px no-repeat, linear-gradient(var(--mustard), var(--mustard)) 100% 100% / 3px 22% no-repeat;
}
.cctv.is-zoomed .cctv__reticle { opacity: 1; animation: lock 1.2s ease-in-out infinite alternate; }
@keyframes lock { to { scale: 1.06; } }
.cctv__reticle span { position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; white-space: nowrap; background: var(--mustard); color: var(--ink); font: 700 clamp(.58rem, 2.6vw, .8rem) var(--mono); letter-spacing: .08em; padding: .4em .7em; }
.cctv__reticle span:empty { display: none; }
.cctv figcaption { display: flex; align-items: center; gap: 16px; margin-top: 22px; font: 400 .78rem/1.35 var(--mono); color: #b9b3a6; }
.cctv figcaption .btn { flex: none; border-color: #fff; box-shadow: 0 6px 0 #6e0f0a; }

.roof__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 60px; }
.roof__facts { border: 1.5px dashed rgba(255, 255, 255, .35); border-radius: 16px; padding: 22px 20px; }
.roof__facts h3 { font: 400 1.6rem var(--shout); text-transform: uppercase; letter-spacing: .05em; color: var(--mustard); margin-bottom: 12px; }
.roof__facts li { font: 400 .92rem/1.45 var(--mono); padding: 7px 0 7px 1.7em; position: relative; border-top: 1px solid rgba(255, 255, 255, .12); }
.roof__facts li::before { content: "✔"; position: absolute; left: 0; color: var(--red); }
.roof__quote p { font: italic 400 clamp(1.7rem, 7.4vw, 3rem)/1.12 var(--serif); font-variation-settings: "SOFT" 100; }
.roof__quote footer { margin-top: 14px; font: 700 1.6rem var(--hand); color: var(--mustard); }

/* ───────── 10. pub ───────── */

.pub { background: var(--pub); padding: clamp(70px, 16vw, 130px) 0; overflow: hidden; }
.pub__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 46px; }
.pubsign { width: 190px; margin: 0 0 34px 10px; }
.pubsign__arm { height: 8px; background: #15100c; border-radius: 4px; width: 230px; margin-left: -20px; box-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.pubsign__board { margin-top: 14px; position: relative; transform-origin: 50% -14px; animation: swing 3.4s ease-in-out infinite alternate; background: var(--ink); color: var(--gold); border: 4px solid var(--gold); border-radius: 10px 10px 60px 60px / 10px 10px 30px 30px; text-align: center; padding: 16px 12px 26px; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
.pubsign__board::before, .pubsign__board::after { content: ""; position: absolute; top: -18px; width: 3px; height: 16px; background: var(--gold); }
.pubsign__board::before { left: 22%; } .pubsign__board::after { right: 22%; }
.pubsign__board small { display: block; font: 700 .56rem var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.pubsign__board b { display: block; font: 900 2.1rem/.95 var(--serif); font-variation-settings: "SOFT" 0, "WONK" 1; margin: 4px 0 8px; }
@keyframes swing { from { rotate: -5deg; } to { rotate: 5deg; } }
.pub__title { font: 900 clamp(2.8rem, 13vw, 6.4rem)/.95 var(--serif); letter-spacing: -.025em; color: var(--cream); }
.pub__title em { color: var(--mustard); font-weight: 400; }
.pub__text { font: 400 clamp(1.2rem, 5vw, 1.55rem)/1.4 var(--serif); margin-top: 22px; max-width: 26em; }
.pub__pics { display: grid; gap: 34px; }
.pub__pic { width: min(84%, 400px); rotate: -2.5deg; background: var(--cream); padding: 10px 10px 0; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.pub__pic figcaption { font: 700 1.5rem var(--hand); color: var(--ink); text-align: center; padding: 8px 0 12px; }
.chalk { background: #1c211f; border: 10px solid #6b4a2b; border-radius: 6px; padding: 20px 18px 22px; rotate: 1.5deg; box-shadow: 0 20px 40px rgba(0, 0, 0, .4), inset 0 0 40px rgba(255, 255, 255, .05); max-width: 440px; margin-left: auto; width: 100%; }
.chalk h3 { font: 700 2.1rem/1 var(--hand); text-align: center; margin-bottom: 12px; text-decoration: underline wavy rgba(255, 243, 214, .5) 1.5px; text-underline-offset: 7px; }
.chalk li { display: flex; align-items: baseline; gap: 8px; font: 500 1.4rem/1.35 var(--hand); }
.chalk li i { flex: 1; border-bottom: 2px dotted rgba(255, 243, 214, .4); translate: 0 -4px; min-width: 14px; }
.chalk li b { color: var(--mustard); font-weight: 700; white-space: nowrap; }

/* ───────── 11. naps ───────── */

.naps { background: linear-gradient(#070d20, var(--navy-deep) 40%, #0d1838) var(--navy-deep); padding: clamp(80px, 18vw, 140px) 0; overflow: hidden; }
.naps__title { font: 300 clamp(3rem, 14vw, 7.5rem)/.92 var(--serif); letter-spacing: -.03em; }
.naps__title em { font-weight: 800; color: var(--mustard); font-variation-settings: "SOFT" 100, "WONK" 1; }
.naps__lede { font: 400 clamp(1.15rem, 4.8vw, 1.5rem)/1.4 var(--serif); max-width: 27em; margin: 22px 0 40px; color: #c9d2ee; }
.zeds { position: absolute; top: 60px; right: 8%; font: 800 3rem var(--serif); color: var(--mustard); pointer-events: none; }
.zeds span { position: absolute; right: 0; opacity: 0; animation: zed 5s linear infinite; animation-delay: calc(var(--i) * 1s); }
.zeds span:nth-child(1) { --i: 0; } .zeds span:nth-child(2) { --i: 1; } .zeds span:nth-child(3) { --i: 2; } .zeds span:nth-child(4) { --i: 3; } .zeds span:nth-child(5) { --i: 4; }
@keyframes zed { 0% { opacity: 0; transform: translate(0, 40px) scale(.4) rotate(-10deg); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(-70px, -130px) scale(1.5) rotate(18deg); } }
.figs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 12px; position: relative; }
.fig { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.fig:nth-child(odd) { rotate: -1deg; } .fig:nth-child(even) { rotate: 1.2deg; translate: 0 18px; }
.fig img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.fig__body { padding: 10px 12px 14px; display: grid; gap: 3px; }
.fig__no { font: 700 .6rem var(--mono); letter-spacing: .2em; color: var(--gold); }
.fig__name { font: 700 1.18rem/1.1 var(--serif); }
.fig__note { font: 700 1.12rem/1.05 var(--hand); color: var(--mustard); }
.fig__meter { font: 400 .58rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #aab4d6; display: grid; grid-template-columns: auto 1fr; gap: 0 8px; margin-top: 5px; }
.fig__meter b { letter-spacing: .12em; color: var(--cream); font-weight: 400; }
.figs__secret { display: contents; }
.panda { position: absolute; z-index: 2; right: -6px; top: 31%; font-size: 1.9rem; line-height: 1; rotate: -24deg; padding: 8px; animation: peek 6s ease-in-out infinite; }
@keyframes peek { 0%, 70%, 100% { transform: translateX(16px); } 80%, 92% { transform: translateX(0); } }
.panda.found { animation: pop .6s var(--bounce); transform: none; }

/* ───────── 12. scrapbook ───────── */

.scrap { background: #dcbf93; color: var(--ink); padding: clamp(80px, 18vw, 140px) 0 clamp(90px, 20vw, 150px);
  background-image: radial-gradient(rgba(0, 0, 0, .07) 1px, transparent 1.4px), radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.4px); background-size: 9px 9px, 13px 13px; background-position: 0 0, 4px 6px; }
.scrap::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 18px; background: inherit; background-color: #dcbf93; clip-path: polygon(0 100%, 0 55%, 3% 20%, 7% 70%, 11% 30%, 16% 60%, 20% 15%, 25% 65%, 29% 35%, 34% 75%, 39% 25%, 43% 60%, 48% 10%, 53% 55%, 58% 30%, 62% 70%, 67% 20%, 72% 60%, 77% 30%, 82% 75%, 86% 25%, 91% 60%, 95% 15%, 100% 50%, 100% 100%); }
.scrap__title { font: 700 clamp(4.2rem, 21vw, 9rem)/.85 var(--hand); rotate: -3deg; transform-origin: left; }
.scrap__lede { font: 700 .74rem var(--mono); letter-spacing: .16em; text-transform: uppercase; margin: 18px 0 40px; opacity: .7; }
.wall { columns: 2; column-gap: 14px; }
.snap { break-inside: avoid; margin: 0 0 22px; rotate: var(--r, 0deg); position: relative; }
.snap button { display: block; width: 100%; background: #fffdf6; padding: 7px 7px 0; box-shadow: 0 8px 18px rgba(60, 35, 5, .33); text-align: center; transition: transform .25s var(--bounce); }
.snap button:active { transform: scale(.96); }
.snap::before { content: ""; position: absolute; z-index: 1; top: -9px; left: 50%; width: 64px; height: 20px; translate: -50% 0; rotate: var(--tr, -4deg); background: rgba(247, 197, 30, .62); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.snap:nth-child(3n)::before { background: rgba(226, 35, 26, .5); }
.snap:nth-child(4n)::before { background: rgba(18, 34, 74, .4); }
.snap img { width: 100%; }
.snap span { display: block; font: 700 1.18rem/1 var(--hand); padding: 8px 2px 10px; }

/* ───────── 13. mind reader ───────── */

.mind { background: var(--red); padding: clamp(80px, 18vw, 140px) 0; overflow: hidden; }
.mind .eyebrow { color: var(--ink); }
.mind .shout { font-size: clamp(3.2rem, 15.5vw, 8.5rem); color: var(--cream); }
.mind__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.mind__stage { display: grid; justify-items: center; gap: 22px; }
.bubble { position: relative; width: 100%; max-width: 520px; min-height: 9.2em; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 34px; padding: 24px 22px 40px; box-shadow: 8px 8px 0 var(--ink); margin-bottom: 38px; display: grid; align-content: center; }
.bubble p { font: 600 clamp(1.5rem, 6.6vw, 2.2rem)/1.12 var(--serif); font-variation-settings: "SOFT" 100; }
.bubble p.typing::after { content: "▍"; animation: blink .7s steps(2) infinite; font-weight: 300; }
.bubble__no { position: absolute; right: 20px; bottom: 12px; font: 700 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .5; }
.bubble::before, .bubble::after { content: ""; position: absolute; background: var(--cream); border: 3px solid var(--ink); border-radius: 50%; }
.bubble::before { width: 30px; height: 30px; left: 44%; bottom: -24px; box-shadow: 4px 4px 0 var(--ink); }
.bubble::after { width: 15px; height: 15px; left: 48%; bottom: -44px; box-shadow: 3px 3px 0 var(--ink); }
.mind__face { width: min(62vw, 280px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.mind__face img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 38%; scale: 1.25; }
.mind__face.hmm { animation: hmm .6s var(--ease); }
@keyframes hmm { 30% { rotate: -9deg; scale: 1.05; } 65% { rotate: 7deg; } }

/* ───────── 14. speak with pancho ───────── */

.talk { background: var(--navy); padding: clamp(60px, 14vw, 120px) 0 clamp(90px, 20vw, 150px); }
.talk__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.talk__lede { font: 400 clamp(1.15rem, 4.8vw, 1.45rem)/1.4 var(--serif); margin-top: 20px; max-width: 24em; color: #c9d2ee; }
.phone { width: 100%; max-width: 430px; margin-inline: auto; background: #0c0c10; border: 3px solid #2d2d38; border-radius: 36px; padding: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 10px 10px 0 var(--mustard); display: flex; flex-direction: column; }
.phone__bar { display: flex; align-items: center; gap: 12px; padding: 8px 10px 14px; border-bottom: 1px solid #25252e; }
.phone__bar img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--mustard); }
.phone__bar b { display: block; font: 700 1.05rem/1.2 var(--sans); }
.phone__bar span { font: 400 .78rem var(--sans); color: #7bd88f; }
.chat { height: min(52vh, 440px); min-height: 300px; overflow-y: auto; overscroll-behavior: contain; padding: 16px 6px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.msg { max-width: 84%; padding: .6em .95em; border-radius: 20px; font: 500 1.02rem/1.3 var(--sans); animation: msg .35s var(--bounce); overflow-wrap: anywhere; }
@keyframes msg { from { opacity: 0; transform: translateY(12px) scale(.9); } }
.msg--me { align-self: flex-end; background: var(--mustard); color: var(--ink); border-bottom-right-radius: 6px; }
.msg--dog { align-self: flex-start; background: #23232d; border-bottom-left-radius: 6px; }
.msg--dog b { font: 400 1.35rem/1.15 var(--shout); letter-spacing: .04em; font-weight: 400; }
.msg--note { align-self: center; background: none; font: 400 .72rem var(--mono); color: #8a8a99; padding: 2px; }
.msg__tr { display: block; margin-top: 6px; font: 700 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mustard); text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.msg__meant { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px dashed #4a4a58; font: italic 500 1rem/1.25 var(--serif); color: #e9dfc4; }
.dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #8a8a99; animation: dot 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-6px); background: var(--mustard); } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; font: 500 .88rem var(--sans); padding: .55em 1em; border-radius: 999px; border: 1.5px solid #454556; color: var(--cream); background: #181820; }
.chips button:active { background: var(--mustard); color: var(--ink); }
.phone__form { display: flex; gap: 8px; padding: 0 2px 2px; }
.phone__form input { flex: 1; min-width: 0; height: 50px; border-radius: 999px; border: 1.5px solid #3a3a48; background: #16161c; color: var(--cream); padding: 0 18px; font: 400 16px var(--sans); cursor: text; }
.phone__form input::placeholder { color: #77778a; }
.phone__form input:focus { outline: none; border-color: var(--mustard); }
.phone__form button { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--mustard); font-size: 1.35rem; display: grid; place-items: center; }
.phone__form button:active { transform: scale(.92); }

/* ───────── 15. spoil him ───────── */

.play { background: var(--mustard); color: var(--ink); padding: clamp(80px, 18vw, 140px) 0 clamp(90px, 20vw, 150px); overflow: hidden; }
.play .shout { font-size: clamp(4.6rem, 24vw, 13rem); }
.play__lede { font: 500 clamp(1.2rem, 5.2vw, 1.6rem)/1.3 var(--serif); max-width: 24em; margin: 18px 0 44px; }
.play__stage { display: grid; gap: 40px; justify-items: center; }
.play__face { position: relative; width: min(80vw, 400px); border: 4px solid var(--ink); border-radius: 34px; box-shadow: 12px 12px 0 var(--ink); rotate: -2deg; background: var(--ink); }
.play__face img { border-radius: 29px; width: 100%; }
.play__face.squish img { animation: squish .42s var(--bounce); }
.play__face.wiggle { animation: wiggle .5s ease-in-out; }
.play__face.chomp img { animation: chomp .4s ease-in-out; }
@keyframes squish { 35% { transform: scale(.93, .9); } 70% { transform: scale(1.03); } }
@keyframes wiggle { 25% { rotate: -6deg; } 60% { rotate: 3deg; } }
@keyframes chomp { 30% { transform: scale(1.04) translateY(-6px); } 60% { transform: scale(.98) translateY(3px); } }
.nose { position: absolute; left: 52%; top: 52.5%; width: 30%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 3px dashed rgba(255, 243, 214, .9); animation: ring 1.6s ease-in-out infinite; }
.nose span { position: absolute; left: 50%; top: calc(100% + 6px); translate: -50% 0; white-space: nowrap; font: 700 1.5rem var(--hand); color: var(--cream); text-shadow: 0 2px 6px #000; }
.nose.booped { border-color: transparent; animation: none; }
.nose.booped span { display: none; }
@keyframes ring { 50% { scale: 1.12; border-color: var(--mustard); } }
.play__buttons { display: grid; gap: 16px; width: 100%; max-width: 400px; }
.tally { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 54px; }
.tally div { background: var(--ink); color: var(--cream); border-radius: 22px; padding: 16px 14px 12px; display: flex; flex-direction: column; min-width: 0; }
.tally dt { order: 2; font: 700 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.tally dd { order: 1; font: 400 clamp(2.4rem, 12vw, 4.4rem)/1 var(--shout); font-variant-numeric: tabular-nums; color: var(--mustard); }
.tally dd.bump { animation: bump .3s var(--bounce); }
@keyframes bump { 40% { transform: scale(1.18); } }
.tally small { order: 3; font: 700 1.15rem var(--hand); margin-top: 2px; }
.tally__scope { text-align: center; font: 700 .68rem var(--mono); letter-spacing: .18em; text-transform: uppercase; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tally__scope::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }

/* ───────── footer ───────── */

.foot { background: #000; color: var(--gold); text-align: center; padding: clamp(60px, 14vw, 110px) 0 max(60px, env(safe-area-inset-bottom)); }
.foot__poster { width: min(80vw, 480px); margin: 0 auto 10px; }
.foot__thanks { font: italic 400 clamp(1.4rem, 6vw, 2.1rem)/1.2 var(--serif); margin-bottom: 44px; }
.eggs { border: 1.5px solid #4a3c22; border-radius: 22px; padding: 20px 16px; max-width: 460px; margin: 0 auto 40px; }
.eggs__title { font: 700 .74rem var(--mono); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.eggs__title b { color: var(--mustard); margin-left: .5em; }
.eggs__list { display: grid; gap: 8px; text-align: left; }
.eggs__list li { display: grid; grid-template-columns: 2.2em 1fr; align-items: center; font: 400 .78rem/1.35 var(--mono); color: #8f7a52; }
.eggs__list li span { font-size: 1.3rem; filter: grayscale(1) brightness(.5); }
.eggs__list li.found { color: var(--cream); }
.eggs__list li.found span { filter: none; }
.foot__small { font: 400 .72rem/1.6 var(--mono); color: #8f7a52; }
.foot__row { display: grid; justify-items: center; gap: 46px; margin-top: 40px; }
.donot { width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff6a5e, var(--red) 55%, #8d110b); color: #fff; font: 400 .95rem/1 var(--shout); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 7px 0 #5c0a06, 0 0 0 6px #222, 0 0 0 8px #444; padding: 10px; }
.donot:active { transform: translateY(5px); box-shadow: 0 2px 0 #5c0a06, 0 0 0 6px #222, 0 0 0 8px #444; }

/* ───────── best in show: the prize for all five secrets ───────── */

.rosette { display: block; width: 100%; height: auto; overflow: visible; }

/* The rosette on the first screen, for those who've earned it. */
.hero__badge { position: absolute; z-index: 2; top: 16px; left: 14px; width: 54px; rotate: -8deg; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); animation: wobble 3.5s ease-in-out infinite alternate; }
.hero__badge[hidden] { display: none; }
/* Uncollected: bigger, pulsing, and labelled. */
.hero__badge--new { width: 66px; animation: wobble 1.2s ease-in-out infinite alternate, beckon 1.2s ease-in-out infinite alternate; }
.hero__badge--new::after { content: "Prize!"; position: absolute; left: 82%; top: 16%; padding: .3em .6em .22em; border-radius: 999px; background: var(--red); color: var(--cream); border: 2px solid var(--ink); font: 400 1rem/1 var(--shout); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
@keyframes beckon { to { scale: 1.14; } }

.prize-nudge { position: fixed; z-index: 76; left: 50%; bottom: max(84px, calc(env(safe-area-inset-bottom) + 70px)); translate: -50% 0; width: max-content; max-width: calc(100vw - 32px); padding: .8em 1.2em; border-radius: 20px; background: var(--mustard); color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink), 0 14px 34px rgba(0, 0, 0, .45); font: 500 1.05rem/1.25 var(--serif); text-align: center; animation: nudgein .6s var(--bounce), beckon 1s 1s ease-in-out infinite alternate; }
.prize-nudge b { display: block; font: 400 1.25rem/1.1 var(--shout); letter-spacing: .04em; text-transform: uppercase; }
@keyframes nudgein { from { transform: translateY(140%); } }

.eggs__finders { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #4a3c22; font: 400 .74rem/1.4 var(--mono); color: var(--gold); }
.eggs__prize { margin-top: 16px; }
.eggs__prize[hidden] { display: none; }

/* Sits under the confetti layer (80) so the gold falls in front of it. */
.prize { position: fixed; inset: 0; z-index: 78; background: #000; color: var(--gold); overflow: hidden auto; overscroll-behavior: contain; animation: fade .4s; }
.prize[hidden] { display: none; }

/* 1. The ceremony */
.prize__show { display: none; position: absolute; inset: 0; place-items: center; align-content: center; gap: 0; text-align: center; overflow: hidden; }
.prize--show .prize__show { display: grid; }
.prize__rays { position: absolute; left: 50%; top: 42%; width: 220vmax; aspect-ratio: 1; translate: -50% -50%; opacity: 0; background: repeating-conic-gradient(rgba(216, 179, 106, .22) 0 9deg, transparent 9deg 18deg); animation: rays 14s linear infinite, raysin 1.2s .9s forwards; }
@keyframes rays { to { rotate: 360deg; } }
@keyframes raysin { to { opacity: 1; } }
.prize__poster { position: relative; width: min(74vw, 46vh, 420px); animation: rise 1.1s .25s var(--ease) both; mix-blend-mode: lighten; }
@keyframes rise { from { transform: translateY(70vh) scale(.7); opacity: 0; } }
.prize__rosette { position: relative; width: min(34vw, 20vh, 170px); margin-top: calc(min(74vw, 46vh, 420px) * -.2); margin-left: min(46vw, 28vh, 260px); animation: pin .9s 1.3s var(--bounce) both; }
@keyframes pin { from { transform: scale(0) rotate(-540deg); } to { transform: rotate(10deg); } }
.prize__shout { position: relative; margin-top: -2vh; font: 400 clamp(3rem, 15vw, 8.5rem)/.9 var(--shout); white-space: nowrap; text-transform: uppercase; color: var(--mustard); text-shadow: 0 .05em 0 #000; animation: slam .5s 1.9s var(--bounce) both; }
@keyframes slam { from { transform: scale(3.2); opacity: 0; } }
.prize__sub { position: relative; margin-top: 12px; font: 700 .8rem var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--cream); animation: fade .6s 2.5s both; }

/* 2. The certificate */
.prize__cert { display: none; min-height: 100%; padding: 70px 16px max(28px, env(safe-area-inset-bottom)); justify-items: center; align-content: start; gap: 12px; }
.prize--cert .prize__cert { display: grid; animation: fade .5s; }
.prize__paper { width: min(100%, 54vh, 460px); height: auto; border-radius: 6px; box-shadow: 0 0 0 1px #4a3c22, 0 24px 60px rgba(216, 179, 106, .18); animation: lb .5s var(--bounce); }
.prize__label { margin-top: 8px; font: 700 .7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.prize__name { width: min(100%, 360px); height: 54px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--gold); background: #15100c; color: var(--cream); font: 600 1.2rem var(--serif); text-align: center; cursor: text; }
.prize__name::placeholder { color: #8f7a52; font-weight: 400; font-style: italic; }
.prize__name:focus { outline: none; border-color: var(--mustard); }
.prize__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.prize__buttons [hidden] { display: none; }
.prize__note { font: 400 .68rem/1.4 var(--mono); color: #8f7a52; text-align: center; }

/* ───────── lightbox ───────── */

.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(12, 9, 6, .95); display: grid; place-items: center; padding: 16px; animation: fade .25s; }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { background: #fffdf6; padding: 10px 10px 0; box-shadow: 0 30px 80px #000; rotate: -1deg; max-width: 100%; animation: lb .4s var(--bounce); }
@keyframes lb { from { transform: scale(.8) rotate(-6deg); opacity: 0; } }
.lightbox img { max-width: min(88vw, 900px); max-height: 72vh; max-height: 72dvh; width: auto; height: auto; }
.lightbox figcaption { font: 700 1.6rem/1.1 var(--hand); color: var(--ink); text-align: center; padding: 10px 6px 14px; }
.lightbox__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); color: var(--ink); font: 400 2rem/1 var(--sans); z-index: 2; }
.lightbox__nav { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: var(--mustard); color: var(--ink); font: 700 1.4rem var(--sans); border: 3px solid var(--ink); z-index: 2; }
.lightbox__nav--prev { left: calc(50% - 72px); } .lightbox__nav--next { right: calc(50% - 72px); }

/* ───────── the hoover & other nonsense ───────── */

/* A cream outline, like a sticker, so it shows up on any background. */
.hoover, .rate__media .cutout { filter: drop-shadow(2px 0 0 var(--cream)) drop-shadow(-2px 0 0 var(--cream)) drop-shadow(0 2px 0 var(--cream)) drop-shadow(0 -2px 0 var(--cream)); }
.hoover { position: fixed; z-index: 85; bottom: max(100px, 13vh); right: -200px; height: min(330px, 42vh); width: auto; pointer-events: none; visibility: hidden; }
.hoover.run { visibility: visible; animation: hoover 3s linear forwards; }
@keyframes hoover { 0% { transform: translateX(0) rotate(4deg); } 25% { transform: translateX(calc(-25vw - 100px)) rotate(-4deg); } 50% { transform: translateX(calc(-50vw - 200px)) rotate(4deg); } 75% { transform: translateX(calc(-75vw - 300px)) rotate(-4deg); } 100% { transform: translateX(calc(-100vw - 400px)) rotate(4deg); } }
.panic main { animation: panic .16s linear 18; }
@keyframes panic { 25% { transform: translate(-7px, 3px) rotate(-.4deg); } 75% { transform: translate(7px, -3px) rotate(.4deg); } }
.quake main { animation: panic .12s linear 4; }
.walkies main { animation: walkies .5s ease-in-out 3; }
@keyframes walkies { 50% { transform: translateY(-12px) rotate(.5deg); } }

.bighead { position: fixed; z-index: 77; left: 0; top: 0; width: 96px; height: 96px; border-radius: 50%; border: 4px solid var(--mustard); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); pointer-events: none; will-change: transform; }

/* ───────── bigger screens ───────── */

@media (min-width: 900px) {
  .hero__photo img { object-position: 50% 17%; }
  .hero__title { bottom: calc(var(--bar) + 15vh); }
  .hero__tag span { font-size: .8rem; }
  .hero__kicker { font-size: .8rem; }
  .hello__grid { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 70px; }
  .nego__line { left: 8vw; right: 8vw; }
  .rail { padding-inline: max(var(--pad), calc((100vw - 1180px) / 2 + var(--pad))); gap: 24px; }
  .roof__cols { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 60px; }
  .pub__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
  .figs { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .fig:nth-child(even) { translate: 0 26px; }
  .fig__name { font-size: 1.5rem; } .fig__note { font-size: 1.4rem; } .fig__meter { font-size: .7rem; }
  .wall { columns: 4; column-gap: 26px; }
  .snap { margin-bottom: 34px; }
  .snap span { font-size: 1.4rem; }
  .mind__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
  .talk__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
  .play__stage { grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 80px; }
  .tally { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .sound { top: 26px; right: 22px; }
}

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
  .btn--gold:hover { box-shadow: 0 8px 0 #6d5426; }
  .btn--ghost:hover { box-shadow: none; background: rgba(127, 127, 127, .15); }
  .snap button:hover { transform: scale(1.04) rotate(1.5deg); }
  .chips button:hover { border-color: var(--mustard); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .tape__run { animation: none !important; }
  .hero__photo, .nego__photo { transform: none; }
  .hero__title span { translate: none; rotate: none; }
}
