/* Junk Punk homepage, 2026-09-18 (v2: rub-out hero, scroll-to-fill pricing, smaller scale) */
:root {
  --blue: #4c41e7;
  --ink: #17124f;
  --yellow: #f4d63a;
  --paper: #ffffff;
  --soft: #ecebff;
  --muted: #5d5a86;
  --display: "Unbounded", system-ui, sans-serif;
  --text: "Schibsted Grotesk", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --header: 96px; /* clearance under the floating header */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(28px, 3vw, 42px); }
h2 { font-size: clamp(23px, 2.3vw, 33px); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
blockquote { margin: 0; }
cite { display: block; font-style: normal; font-size: 14px; opacity: .7; margin-top: 6px; }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--text); text-decoration: none; white-space: nowrap; transition: transform .15s ease, background-color .15s ease; }
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: translateY(1px); }
.pill-yellow { background: var(--yellow); color: var(--ink); }
.pill-yellow:hover { background: #ffe35a; }
.pill-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.pill-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.pill-ink { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
/* Header: two floating glass pieces, no bar. Logo tile left, links + phone right. */
.top { position: fixed; z-index: 20; top: 14px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.top > * { pointer-events: auto; }
.brand { display: block; padding: 8px 12px; border-radius: 20px; background: rgba(255,255,255,.93); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 10px 30px -14px rgba(23,18,79,.45), inset 0 0 0 1px rgba(255,255,255,.7); transition: padding .3s ease; }
.brand img { height: 60px; width: auto; transition: height .3s ease; }
.top.compact .brand { padding: 6px 9px; border-radius: 16px; }
.top.compact .brand img { height: 42px; }
.bar { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.93); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 10px 30px -14px rgba(23,18,79,.45), inset 0 0 0 1px rgba(255,255,255,.7); }
.links { display: flex; gap: 2px; }
.links a { padding: 9px 14px; border-radius: 99px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); transition: background-color .2s ease, color .2s ease; }
.links a:hover { background: rgba(23,18,79,.07); }
.links a[aria-current="true"] { background: var(--ink); color: #fff; }
.pill-call { height: 38px; margin-left: 6px; background: var(--yellow); color: var(--ink); font-size: 14px; }
/* Hero: three directions for Ahmed to pick (2026-09-18). Switch with ?hero=street | poster | drop */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 1000px; overflow: hidden; background: var(--yellow); color: var(--ink); }
.hv { display: none; position: absolute; inset: 0; }
html:not([data-hero]) .hv-street, [data-hero="street"] .hv-street, [data-hero="poster"] .hv-poster, [data-hero="drop"] .hv-drop { display: block; }
.hero-copy { position: absolute; z-index: 2; display: grid; gap: 16px; max-width: 520px; }
.lede { font-size: 17px; color: rgba(23,18,79,.8); max-width: 30em; }
.pill-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(23,18,79,.4); }
.pill-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* A. The street */
.street { position: absolute; inset: 0 0 34% 0; background: var(--blue); }
.street img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: multiply; opacity: .9; }
.slab { position: absolute; inset: 0; background: var(--yellow); clip-path: polygon(0 66%, 100% 50%, 100% 100%, 0 100%); }
.slab-truck { position: absolute; z-index: 1; right: 6%; top: calc(66% - 16% * .91 + 1%); width: min(48vw, 720px); transform: translateY(-93%) rotate(-5.7deg); transform-origin: 94% 93%; }
.hv-street .hero-copy { left: var(--gutter); bottom: 44px; }

/* B. The poster */
.shout { position: absolute; left: var(--gutter); top: calc(var(--header) + 16px); margin: 0; font: 600 clamp(44px, 5.4vw, 88px)/.95 var(--display); letter-spacing: -0.045em; color: var(--ink); max-width: 11ch; }
.poster-heap { position: absolute; right: 3%; bottom: 0; height: 88%; width: auto; }
.badge { position: absolute; right: 30%; top: 30%; z-index: 2; width: 132px; height: 132px; margin: 0; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--blue); color: #fff; font: 600 36px/1 var(--display); letter-spacing: -0.03em; transform: rotate(-12deg); box-shadow: 0 0 0 5px #fff, 0 14px 30px -12px rgba(23,18,79,.6); }
.badge span { font: 500 14px/1.4 var(--text); letter-spacing: 0; }
.hv-poster .hero-copy { left: var(--gutter); bottom: 44px; }
.hv-poster h1 { font-size: clamp(20px, 1.8vw, 26px); }

/* C. The drop */
[data-hero="drop"] .hero { overflow-x: clip; overflow-y: visible; z-index: 3; }
.item { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; transform: translateY(calc(var(--drop, 0) * 90vh)) rotate(calc(var(--r) + var(--drop, 0) * var(--dr))) scale(calc(1 - var(--drop, 0) * .55)); opacity: calc(1.4 - var(--drop, 0) * 1.4); will-change: transform; filter: drop-shadow(0 24px 24px rgba(23,18,79,.18)); }
.hv-drop .hero-copy { left: 50%; top: 50%; transform: translate(-50%, -50%); justify-items: center; text-align: center; max-width: 560px; }
.hv-drop h1 { font-size: clamp(32px, 3.6vw, 52px); }

/* Pricing: scroll (or drag) to load the truck */
.pricing { position: relative; height: 320svh; background: var(--yellow); }
.stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: 48px; padding: var(--header) var(--gutter) 56px; }
.pricing-copy { display: grid; gap: 14px; align-content: center; max-width: 420px; }
.pricing-copy h2 { margin-bottom: 0; }
.hint { font-size: 14px; color: rgba(23,18,79,.65); margin-bottom: 14px; }
.loader { display: grid; gap: 18px; }
.truck { position: relative; width: 100%; max-width: 760px; margin-left: auto; transform-origin: 70% 90%; }
.truck img, .truck .load { width: 100%; height: auto; }
.truck .load { position: absolute; inset: 0; }
#fill { transform: translateX(calc((1 - var(--f, .125)) * 604px)); transition: transform .45s cubic-bezier(.3, 1.3, .5, 1); }
.fill-edge { fill: var(--yellow); }
.truck.thud { animation: thud .5s ease; }
@keyframes thud { 0% { transform: translateY(0); } 30% { transform: translateY(5px) rotate(.4deg); } 65% { transform: translateY(-2px); } 100% { transform: none; } }

.meter { position: relative; max-width: 760px; width: 100%; margin-left: auto; padding-top: 44px; --t: 0; }
.meter input { width: 100%; margin: 0; height: 40px; background: none; appearance: none; -webkit-appearance: none; cursor: grab; }
.meter input:active { cursor: grabbing; }
.meter input::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) var(--p, 0%), rgba(23,18,79,.14) var(--p, 0%)); }
.meter input::-moz-range-track { height: 10px; border-radius: 99px; background: rgba(23,18,79,.14); }
.meter input::-moz-range-progress { height: 10px; border-radius: 99px; background: var(--blue); }
.meter input::-webkit-slider-thumb { -webkit-appearance: none; width: 40px; height: 40px; margin-top: -15px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 20px no-repeat; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(23,18,79,.35); }
.meter input::-moz-range-thumb { width: 34px; height: 34px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 20px no-repeat; border: 3px solid #fff; }
.meter input:focus-visible { outline: none; }
.meter input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--ink); }
.bubble { position: absolute; top: 0; left: calc(20px + (100% - 40px) * var(--t)); transform: translateX(calc(-20px - (100% - 40px) * var(--t))); padding: 6px 12px; border-radius: 10px; background: var(--ink); color: #fff; font: 600 15px/1.2 var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; transition: left .15s ease; }
.bubble::after { content: ""; position: absolute; left: calc(20px + (100% - 40px) * var(--t)); bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.ticks { display: flex; justify-content: space-between; margin-top: 4px; font-size: 13px; color: rgba(23,18,79,.6); }
.ticks span { width: 40px; text-align: center; }

.price { font: 600 clamp(40px, 4vw, 56px)/1 var(--display); letter-spacing: -0.03em; color: var(--blue); font-variant-numeric: tabular-nums; }
.size { font-size: 15px; }
.nudge { font-size: 14px; color: rgba(23,18,79,.7); margin-top: 8px; }
.nudge cite { display: inline; margin: 0 0 0 4px; font-size: 14px; }
.fine { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 20px; font-size: 12px; color: rgba(23,18,79,.55); }

/* What we take */
.take { padding: 88px var(--gutter) 64px; display: grid; gap: 24px; }
.take-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.take-head p { color: var(--muted); font-size: 16px; }
.heap { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: var(--blue); }
.heap { --cx: 0; --cy: 14.6; }
.heap img { width: 100%; aspect-ratio: 16 / 7.4; object-fit: cover; }
.tags { list-style: none; margin: 0; padding: 0; }
.tags li { position: absolute; left: calc((var(--x) - var(--cx)) / (100 - 2 * var(--cx)) * 100%); top: calc((var(--y) - var(--cy)) / (100 - 2 * var(--cy)) * 100%); transform: translate(-6px, -50%); display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; box-shadow: 0 6px 20px rgba(23,18,79,.18); white-space: nowrap; }
.tags li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(76,65,231,.2); }
.tags li.flip { transform: translate(calc(-100% + 6px), -50%); flex-direction: row-reverse; padding: 6px 8px 6px 12px; }
.also { color: var(--muted); font-size: 15px; }

/* How it works: the text thread */
.how { background: var(--soft); padding: 64px var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; overflow: hidden; }
.how-copy { display: grid; gap: 22px; justify-items: start; max-width: 460px; }
.how-copy p { font-size: 16px; }
.phone { grid-row: 1; justify-self: center; width: 320px; height: 620px; border-radius: 48px; background: #fff; border: 10px solid var(--ink); box-shadow: 0 40px 80px -30px rgba(23,18,79,.5); display: flex; flex-direction: column; overflow: hidden; }
.phone-top { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 0 10px; border-bottom: 1px solid #ececf3; font-size: 13px; font-weight: 600; }
.phone-top img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; background: var(--ink); padding: 3px; }
.thread { list-style: none; margin: 0; padding: 14px 14px 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; flex: 1; overflow: hidden; font-size: 13.5px; line-height: 1.38; }
.thread li { flex-shrink: 0; max-width: 78%; padding: 9px 13px; border-radius: 19px; }
.thread .me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.thread .jp { align-self: flex-start; background: #ededf4; color: var(--ink); border-bottom-left-radius: 6px; }
.thread .photo { padding: 0; overflow: hidden; background: none; width: 56%; }
.thread .photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thread .jp.photo img { aspect-ratio: 1; object-position: 50% 30%; }
.thread .day { align-self: center; max-width: none; padding: 8px 0 2px; font-size: 12px; color: #8a88a6; }
.thread.play li { display: none; }
.thread.play li.in { display: block; animation: pop .35s ease both; }
.thread li.typing { display: flex !important; gap: 4px; align-self: flex-start; background: #ededf4; padding: 13px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9a98b4; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes blink { 50% { opacity: .3; } }

/* Proof: before / after */
.proof { position: relative; display: grid; }
.compare { position: relative; overflow: hidden; height: 100svh; min-height: 640px; max-height: 1000px; background: var(--soft); touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317124f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 6px 20px rgba(23,18,79,.3); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:has(input:focus-visible) .handle::after { outline: 3px solid #fff; outline-offset: 3px; }
.proof-copy { position: absolute; right: var(--gutter); bottom: 44px; width: min(460px, calc(100% - 2 * var(--gutter))); display: grid; gap: 18px; padding: 28px; border-radius: 22px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(23,18,79,.5); }
.ba { position: absolute; top: calc(var(--header) + 20px); padding: 6px 12px; border-radius: 99px; background: rgba(23,18,79,.72); color: #fff; font-size: 13px; font-weight: 500; pointer-events: none; }
.ba-before { left: var(--gutter); }
.ba-after { right: var(--gutter); }
.stars { font-weight: 600; font-size: 15px; }
.stars span { color: #f2b300; letter-spacing: 2px; margin-right: 6px; font-size: 18px; }
.big-quote { font: 500 clamp(16px, 1.25vw, 18px)/1.5 var(--display); letter-spacing: -0.015em; }
.big-quote cite { font-family: var(--text); font-size: 14px; letter-spacing: 0; margin-top: 14px; opacity: .65; }
.quotes { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid #e4e3f2; display: grid; gap: 10px; font-size: 14px; }
.quotes cite { display: inline; margin-left: 6px; font-size: 13px; white-space: nowrap; }

/* Service area map */
.area { background: var(--blue); color: #fff; padding: 72px var(--gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
.area-copy { display: grid; gap: 22px; justify-items: start; }
.area-copy p { font-size: 16px; color: rgba(255,255,255,.8); }
.map { width: 100%; height: auto; max-height: 66vh; overflow: visible; }
.map .road { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.map .town circle { fill: #fff; transition: r .2s ease; }
.map .town text { fill: rgba(255,255,255,.85); font: 500 12px var(--text); }
.map .town:hover circle, .map .town:focus circle { fill: var(--yellow); }
.map .town:hover text, .map .town:focus text { fill: #fff; }
.map .town:focus { outline: none; }
.map .city circle { fill: var(--yellow); }
.map .city text { font: 600 15px var(--display); fill: #fff; }
.map .home circle { fill: var(--blue); stroke: var(--yellow); stroke-width: 3; r: 7; }

/* Footer */
.end { background: var(--ink); color: #fff; padding: 88px var(--gutter) 24px; display: grid; gap: 80px; }
.end-main { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.end-main > div { display: grid; gap: 18px; justify-items: start; }
.end h2 { font-size: clamp(28px, 3vw, 44px); max-width: 16ch; }
.end-main p { font-size: 17px; color: rgba(255,255,255,.75); }
.mascot { width: clamp(140px, 13vw, 190px); }
.end-base { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: rgba(255,255,255,.55); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.credit a { color: #fff; }

.dock { display: none; }

/* Tablet */
@media (max-width: 1080px) {
  .links { display: none; }
  .pill-call { margin-left: 0; }
  .stage { grid-template-columns: 1fr; gap: 20px; align-content: center; }
  .truck, .meter { margin-left: 0; }
  .how, .proof, .area { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --header: 76px; }
  .top { top: 10px; }
  .brand { padding: 6px 9px; border-radius: 16px; }
  .brand img { height: 44px; }
  .top.compact .brand img { height: 36px; }
  .bar { padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .pill-call { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(23,18,79,.6); }
  body { font-size: 15px; }
  .pill-call { height: 36px; padding: 0 14px; font-size: 13px; }
  .hero { height: 100svh; min-height: 640px; }
  .hero .actions { display: none; }
  .lede { font-size: 15px; }
  .street { bottom: 36%; }
  .slab { clip-path: polygon(0 66%, 100% 56%, 100% 100%, 0 100%); }
  .slab-truck { width: 84vw; right: 3%; top: calc(66% - 10% * .97); transform: translateY(-93%) rotate(-12deg); }
  .hv-street .hero-copy { bottom: 104px; right: var(--gutter); }
  .shout { font-size: 11.2vw; right: var(--gutter); }
  .hv-drop .item:nth-of-type(3) { top: 74%; left: 58%; }
  .hv-drop .hero-copy { width: calc(100% - 2 * var(--gutter)); }
  .poster-heap { height: 58%; right: -6%; }
  .badge { width: 92px; height: 92px; font-size: 24px; right: 50%; top: auto; bottom: 34%; }
  .badge span { font-size: 12px; }
  .hv-poster .hero-copy { top: calc(var(--header) + 16px + 11.2vw * .95 * 4 + 18px); bottom: auto; max-width: none; }
  .hv-poster h1 { font-size: 18px; }
  .item { width: calc(var(--w) * 2); }
  .pricing { height: 300svh; }
  .stage { padding: var(--header) var(--gutter) 72px; gap: 14px; align-content: center; }
  .hint { margin-bottom: 4px; }
  .pricing-copy { gap: 6px; }
  .pricing-copy h2 { margin-bottom: 6px; }
  .nudge { display: none; }
  .loader { gap: 8px; }
  .truck { width: 100%; }
  .meter { padding-top: 40px; }
  .ticks span:nth-child(2), .ticks span:nth-child(4), .ticks span:nth-child(6) { visibility: hidden; }
  .fine { bottom: 84px; font-size: 11.5px; }
  .take { padding: 64px var(--gutter) 56px; gap: 20px; }
  .take-head { display: grid; gap: 10px; }
  .heap { border-radius: 20px; margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
  .heap { --cx: 16.7; --cy: 0; }
  .heap img { aspect-ratio: 1; }
  .tags li { font-size: 12px; padding: 4px 10px 4px 6px; }
  .tags li.m-flip { transform: translate(calc(-100% + 6px), -50%); flex-direction: row-reverse; padding: 4px 6px 4px 10px; }
  .tags li.m-unflip { transform: translate(-6px, -50%); flex-direction: row; padding: 4px 10px 4px 6px; }
  .how { padding: 64px var(--gutter); gap: 36px; }
  .phone { grid-row: auto; width: 100%; max-width: 320px; height: 580px; }
  .proof-copy { position: static; width: auto; margin: 0; padding: 40px var(--gutter) 64px; border-radius: 0; box-shadow: none; background: #fff; }
  .compare { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .ba { top: 16px; }
  .area { padding: 64px var(--gutter); gap: 24px; }
  .map { margin: 0 -8px; width: calc(100% + 16px); }
  .map .town text { font-size: 21px; }
  .map .minor text { opacity: 0; transition: opacity .2s ease; }
  .map .minor:focus text, .map .minor:hover text { opacity: 1; }
  .map .city text { font-size: 26px; }
  .end { padding: 64px var(--gutter) 96px; gap: 48px; }
  .end-main { grid-template-columns: 1fr; gap: 24px; }
  .mascot { width: 112px; }
  .end-base { flex-direction: column; gap: 8px; }
  .credit { align-self: flex-end; }
  .dock { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(23,18,79,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .dock .pill { height: 44px; }
  .dock .pill-ink { background: #fff; color: var(--ink); padding: 0 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .thread.play li { display: block; }
}

/* ---- Header directions for Ahmed to pick (2026-09-18). Switch with ?h=tape | stickers | road ---- */

/* A. Caution tape */
[data-h="tape"] .top { top: 0; left: -2%; right: -2%; height: 62px; padding: 0 calc(var(--gutter) + 2%); align-items: center; background: var(--yellow); transform: rotate(-0.8deg); transform-origin: 50% 0; box-shadow: 0 10px 24px -14px rgba(23,18,79,.55); }
[data-h="tape"] .top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 9px; background: repeating-linear-gradient(-45deg, var(--ink) 0 12px, var(--yellow) 12px 24px); }
[data-h="tape"] .brand { position: relative; top: 14px; align-self: flex-start; padding: 6px 10px; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px -8px rgba(23,18,79,.5); backdrop-filter: none; transform: rotate(-4deg); }
[data-h="tape"] .brand img { height: 70px; }
[data-h="tape"] .top.compact .brand img { height: 52px; }
[data-h="tape"] .bar { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
[data-h="tape"] .links a { font-weight: 600; font-size: 15px; background: none; border-radius: 0; padding: 8px 12px; }
[data-h="tape"] .links a[aria-current="true"] { background: none; color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
[data-h="tape"] .pill-call { background: var(--ink); color: #fff; }

/* B. Punk stickers */
[data-h="stickers"] .top { top: 18px; }
[data-h="stickers"] .brand { padding: 6px 10px; border-radius: 16px; background: #fff; backdrop-filter: none; box-shadow: 0 0 0 3px #fff, 0 10px 20px -8px rgba(23,18,79,.55); transform: rotate(-6deg); }
[data-h="stickers"] .brand img { height: 66px; }
[data-h="stickers"] .top.compact .brand img { height: 50px; }
[data-h="stickers"] .bar { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; gap: 10px; }
[data-h="stickers"] .links { gap: 10px; }
[data-h="stickers"] .links a { background: var(--yellow); color: var(--ink); font-weight: 600; padding: 8px 14px; border-radius: 10px; box-shadow: 0 0 0 3px #fff, 0 8px 16px -8px rgba(23,18,79,.6); transition: transform .2s cubic-bezier(.3,1.6,.5,1), background-color .2s ease; }
[data-h="stickers"] .links a:nth-child(1) { transform: rotate(-3deg); }
[data-h="stickers"] .links a:nth-child(2) { transform: rotate(2deg); }
[data-h="stickers"] .links a:nth-child(3) { transform: rotate(-1.5deg); }
[data-h="stickers"] .links a:nth-child(4) { transform: rotate(3deg); }
[data-h="stickers"] .links a:nth-child(5) { transform: rotate(-2deg); }
[data-h="stickers"] .links a:hover { transform: rotate(0) translateY(-3px) scale(1.06); background: var(--yellow); }
[data-h="stickers"] .links a[aria-current="true"] { background: var(--ink); color: var(--yellow); }
[data-h="stickers"] .pill-call { background: var(--ink); color: #fff; border-radius: 12px; box-shadow: 0 0 0 3px #fff, 0 8px 16px -8px rgba(23,18,79,.6); transform: rotate(3deg); }

/* C. The road: a truck drives along the header as you scroll */
[data-h="road"] .top { top: 0; left: 0; right: 0; height: 84px; padding: 0 var(--gutter); align-items: flex-start; background: var(--yellow); }
[data-h="road"] .bar { margin-top: 12px; }
[data-h="road"] .top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 18px, transparent 18px 30px); }
[data-h="road"] .road-truck { display: block; position: absolute; bottom: 2px; left: calc(var(--gutter) + 110px + (100% - 2 * var(--gutter) - 162px) * var(--progress, 0)); width: 52px; height: auto; pointer-events: none; }
[data-h="road"] .brand { align-self: flex-start; padding: 8px 12px 10px; border-radius: 0 0 16px 16px; background: var(--ink); backdrop-filter: none; box-shadow: none; }
[data-h="road"] .brand img { height: 58px; }
[data-h="road"] .top.compact .brand img { height: 58px; }
[data-h="road"] .top.compact .brand { padding: 8px 12px 10px; border-radius: 0 0 16px 16px; }
[data-h="road"] .bar { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
[data-h="road"] .links a { font-weight: 600; }
[data-h="road"] .links a[aria-current="true"] { background: var(--ink); color: var(--yellow); }
[data-h="road"] .pill-call { background: var(--ink); color: #fff; }
.road-truck { display: none; }

@media (max-width: 640px) {
  [data-h="tape"] .top { height: 54px; }
  [data-h="tape"] .brand img { height: 52px; }
  [data-h="tape"] .top.compact .brand img { height: 44px; }
  [data-h="stickers"] .brand img { height: 48px; }
  [data-h="stickers"] .top.compact .brand img { height: 40px; }
  [data-h="road"] .top { height: 70px; }
  [data-h="road"] .bar { margin-top: 10px; }
  [data-h="road"] .brand img, [data-h="road"] .top.compact .brand img { height: 44px; }
  [data-h="road"] .road-truck { width: 40px; left: calc(var(--gutter) + 84px + (100% - 2 * var(--gutter) - 124px) * var(--progress, 0)); }
}
