/* Crop Dust — launch site, second direction (preview): one road, four places, the copy on roadside signs.
   Colours and type are the game's own: Max's navy tee and cream coat, the purple of his gas, the yellow-green of
   Gale's dust, the red of his pen; Barlow Condensed and Barlow as in the game, Kalam as in Max's notebook. */

@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("/fonts/BarlowCondensed-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/BarlowCondensed-Bold.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/fonts/Barlow-Regular.woff2") format("woff2"); }
@font-face { font-family: "Kalam"; font-weight: 700; font-display: swap; src: url("/fonts/Kalam-Bold.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --navy: #1D3247;
  --navy-deep: #14253A;
  --paper: #F6F1E2;
  --coat: #FCFBF6;
  --gas: #8E55D9;
  --gas-light: #B98CF0;
  --dust: #C8E04A;
  --pen: #D9432F;
  --atom: #E9B949;
  --teal: #149C90;
  --lawn: #92A88B;
  --ground-shadow: rgba(20, 37, 58, .3);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;
  --gutter: clamp(14px, 3.4vw, 48px);
  --snap: cubic-bezier(.3, 1.9, .5, 1);      /* overshoot: things land with a bounce */
  --whip: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy-deep); color: var(--navy-deep); font: 400 1.0625rem/1.45 var(--body); overflow-x: hidden; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: .18em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--atom); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--coat); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
#art { position: absolute; width: 0; height: 0; overflow: hidden; }
#art svg { position: absolute; width: 0; height: 0; }
.scribble { font: 700 1.05rem/1.2 var(--hand); }
.actor { display: block; overflow: visible; }
.keep { text-transform: none; }   /* iPhone keeps its own capitals inside our capitals */
.burst { fill: var(--atom); }

/* ------------------------------------------------------------------ the title, standing on the lawn */
.world { background: var(--lawn); overflow-x: clip; }
.title { position: relative; z-index: 3; display: grid; gap: 26px; align-items: start; padding: clamp(52px, 6.2vw, 96px) var(--gutter) 0; pointer-events: none; }
.title > * { pointer-events: auto; }

.marquee { position: relative; justify-self: start; max-width: 100%; background: var(--navy-deep); color: var(--coat); padding: 1px clamp(18px, 3vw, 38px) 30px; border-radius: 22px 84px 22px 84px; box-shadow: 12px 14px 0 var(--ground-shadow); rotate: -1.6deg; }
.marquee .burst { position: absolute; right: -34px; top: -44px; width: clamp(84px, 9vw, 124px); }
.logo { position: relative; left: -10px; width: min(calc(100% + 10px), 600px); margin: clamp(-68px, -4.2vw, -44px) 0 18px; contain: inline-size; }   /* hangs over the sign's top edge and takes its own room, so the words always start under it */   /* the game's logo, made solid (tools/img/solid-logo.py) */
.logo img { display: block; width: 100%; height: auto; }
.premise { max-width: 50ch; text-wrap: balance; margin: 0 0 16px; color: var(--atom); font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.3; transform-origin: 0 100%; }
.hook { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px 0; }
.hook li { display: grid; gap: 2px 20px; align-items: center; transform-origin: 0 100%; }
.hook strong { font: 800 clamp(2.9rem, 6.3vw, 5.5rem)/.84 var(--display); text-transform: uppercase; letter-spacing: -.015em; white-space: nowrap; }
.hook li:nth-child(2) strong { color: var(--gas-light); }
.hook li:nth-child(3) strong { color: var(--dust); }
.hook li > span { font-size: clamp(.86rem, 1.05vw, .98rem); line-height: 1.25; max-width: 30ch; }
.status { display: inline-block; margin-top: 14px; padding: 9px 34px 8px 16px; background: var(--dust); color: var(--navy-deep); font: 800 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); }
a.status { text-decoration: none; transition: background-color .15s; }   /* the tag is the way into the beta. The shape clips an outline, so focus is drawn inside it */
a.status:hover, a.status:focus-visible { background: var(--coat); }
a.status:focus-visible { outline: 3px solid var(--navy-deep); outline-offset: -6px; border-radius: 0; }
.bulbs { position: absolute; left: 34px; right: 96px; bottom: -8px; display: flex; justify-content: space-between; }
.bulbs i { width: 14px; height: 14px; border-radius: 50%; background: var(--atom); border: 3px solid var(--navy-deep); }
.porthole { flex: 0 0 auto; width: 78px; height: 78px; border-radius: 50%; overflow: hidden; background: var(--gas-light); border: 3px solid var(--navy-deep); }
.porthole .actor { width: 100%; height: 100%; }
.max-window { position: absolute; right: -26px; bottom: -34px; width: clamp(84px, 8vw, 112px); height: auto; aspect-ratio: 1; box-shadow: 6px 7px 0 var(--ground-shadow); }

.phone { justify-self: center; width: min(100%, 520px); margin-top: 120px; }
/* an iPhone on its side, Dynamic Island to the left: the screen's corners are the real ones (55 of 852 by 393 points),
   a thin black bezel, the titanium band round the edge, the side button and Camera Control on top, Action and volume below */
.phone-body { position: relative; aspect-ratio: 876 / 417; background: #0B121B; border-radius: 7.6% / 16%; padding: 1.37%; box-shadow: inset 0 0 0 1px #3A424C, 0 0 0 2.5px #A9AFB7, 0 0 0 4px #6E747C, 12px 14px 0 var(--ground-shadow); rotate: 3deg; }
.phone-btn { position: absolute; height: 4px; background: linear-gradient(#B5BBC3, #7C828A); border-radius: 2px; }
.phone-btn.up { top: -7px; } .phone-btn.down { bottom: -7px; }
.phone-btn.side { left: 23%; width: 11%; } .phone-btn.cam { left: 60%; width: 7%; }
.phone-btn.act { left: 17%; width: 4%; } .phone-btn.vol1 { left: 25%; width: 8%; } .phone-btn.vol2 { left: 35%; width: 8%; }
.phone-screen { width: 100%; height: 100%; border-radius: 6.5% / 14%; overflow: hidden; background: var(--paper); display: grid; place-items: center; }
.phone-screen { background: #0B121B; }
.phone-screen video { width: 100%; height: 100%; object-fit: contain; display: block; }   /* the recording's shape is the phone's: nothing of the HUD is cropped */
.phone-island { position: absolute; left: 2.6%; top: 50%; width: 4.2%; height: 30%; background: #0B121B; border-radius: 999px; transform: translateY(-50%); }
.pending { text-align: center; padding: 6% 14%; font-size: clamp(.8rem, 1.5vw, .95rem); line-height: 1.3; }
.pending-title { font: 700 clamp(1rem, 2.2vw, 1.35rem)/1.15 var(--hand); color: var(--pen); margin-bottom: .2em; }
.phone figcaption { display: inline-block; margin: 12px 0 0 10%; max-width: 30ch; padding: 6px 12px 4px; background: var(--coat); border-radius: 4px; box-shadow: 4px 5px 0 var(--ground-shadow); rotate: 3deg; font-size: .95rem; }

/* ------------------------------------------------------------------ the land: one long drawing, signs planted in it */
.land { position: relative; }
#stage { position: relative; display: block; width: 100%; overflow: visible; touch-action: pan-y; }   /* site.js lifts it up behind the title */
.sign { position: absolute; left: var(--gutter); z-index: 2; max-width: calc(100vw - 2 * var(--gutter)); transform-origin: 18% 100%; font-size: clamp(.8rem, 1.05vw, .95rem); line-height: 1.32; }
.sign h2 { font: 800 clamp(1.45rem, 2.5vw, 2.3rem)/.92 var(--display); text-transform: uppercase; }
.sign p { margin-top: 5px; max-width: 46ch; }
.slab { background: var(--navy-deep); color: var(--coat); padding: 14px 20px 14px; border-radius: 14px 44px 14px 44px; box-shadow: 8px 9px 0 var(--ground-shadow); }

.xing { display: flex; align-items: center; rotate: -1.2deg; }
.diamond { position: relative; z-index: 1; flex: 0 0 auto; width: clamp(84px, 9.5vw, 132px); aspect-ratio: 1; margin-right: -22px; background: var(--atom); border: 5px solid var(--navy-deep); border-radius: 14px; rotate: 45deg; scale: .8; box-shadow: 9px 3px 0 var(--ground-shadow); }
.diamond .actor { width: 100%; height: 100%; rotate: -45deg; scale: 1.25; }
.xing .slab { padding-left: 38px; }

.gale { display: flex; gap: 14px; align-items: center; background: var(--dust); padding: 10px 26px 12px 12px; border-radius: 80px 22px 22px 80px; box-shadow: 8px 9px 0 var(--ground-shadow); rotate: .8deg; }
.gale .porthole { background: var(--coat); width: clamp(78px, 8vw, 112px); height: auto; aspect-ratio: 1; }
.again { margin-top: 8px; padding: 6px 14px 5px; border: 3px solid var(--navy-deep); border-radius: 999px; background: var(--coat); box-shadow: 0 4px 0 var(--navy-deep); font: 800 1rem/1 var(--display); text-transform: uppercase; }
.again:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy-deep); }

/* everyone in the game, standing in one field, each with a name stake */
.cast { max-width: none; }
.cast > .slab { display: inline-block; padding: 8px 20px 8px; rotate: -2deg; }
.lineup { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; align-items: start; }
.lineup li { display: grid; justify-items: center; }
.who { display: block; width: 100%; padding: 0; border: 0; background: none; }
.who .actor { width: 100%; max-width: clamp(100px, 16vw, 236px); aspect-ratio: 1; margin: 0 auto -8px; scale: 1.2; transform-origin: 50% 100%; transition: transform .2s var(--snap); }
.who:hover .actor, .who:focus-visible .actor { transform: translateY(-10px); }   /* a hop */
.stake { position: relative; background: var(--coat); border: 3px solid var(--navy-deep); border-radius: 12px; padding: 7px 11px 9px; box-shadow: 5px 6px 0 var(--ground-shadow); font-size: clamp(.72rem, .95vw, .86rem); line-height: 1.28; }
.stake h3 { font: 800 clamp(1.1rem, 1.9vw, 1.6rem)/.95 var(--display); text-transform: uppercase; margin: 0 0 3px; }
.lineup li:nth-child(odd) .stake { rotate: -1.2deg; }
.lineup li:nth-child(even) .stake { rotate: 1deg; }

.poster { width: clamp(104px, 13vw, 190px); rotate: 1.6deg; display: grid; align-content: center; justify-items: center; background: var(--teal); color: var(--coat); border: 6px solid var(--coat); border-radius: 10px; box-shadow: 8px 9px 0 var(--ground-shadow); font: 800 clamp(.9rem, 1.5vw, 1.35rem)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.vee { font-size: 4.2em; line-height: .78; }
.poster { padding: 10px 0 12px; }

.board { display: grid; gap: 5px; font: 700 clamp(.7rem, 1.25vw, 1.05rem)/1 var(--display); text-transform: uppercase; }
.row { display: grid; grid-template-columns: 2.3em minmax(0, 5.6em) minmax(0, 1fr); gap: .5em; align-items: center; }
.row .gate { color: var(--navy-deep); background: var(--atom); border-radius: 4px; padding: .26em 0 .2em; text-align: center; }
.row .sect { color: var(--dust); white-space: nowrap; overflow: hidden; }
.flap { display: flex; gap: 1px; overflow: hidden; }
.flap b { flex: 0 0 auto; width: .74em; padding: .26em 0 .2em; text-align: center; background: #22364D; border-radius: 2px; font-weight: 700; }

/* the machine Max is fed from */
.machine { display: flex; align-items: center; gap: 8px 12px; background: var(--paper); border: 4px solid var(--navy-deep); border-radius: 20px 20px 34px 20px; padding: 8px 14px 10px; box-shadow: 8px 9px 0 var(--ground-shadow); rotate: -.6deg; }
.machine-ask { font: 800 clamp(1rem, 1.7vw, 1.45rem)/.95 var(--display); text-transform: uppercase; max-width: 6.2em; margin: 0; }
.bites { display: flex; gap: 8px; }
.bite { width: clamp(46px, 5vw, 62px); aspect-ratio: 1; padding: 7px; border: 3px solid var(--navy-deep); border-radius: 50%; background: var(--coat); box-shadow: 0 5px 0 var(--navy-deep); transition: transform .12s var(--snap), box-shadow .12s; }
.bite svg { width: 100%; height: 100%; display: block; overflow: visible; pointer-events: none; }
.bite:hover { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 8px 0 var(--navy-deep); }
.bite:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--navy-deep); }
.belly { display: flex; gap: 4px; }
.belly span { width: 26px; height: 26px; border: 3px dashed var(--navy); border-radius: 50%; display: grid; place-items: center; }
.belly span.full { border-style: solid; background: var(--gas-light); animation: plop .32s var(--snap); }
.belly svg { width: 18px; height: 18px; overflow: visible; }
@keyframes plop { 0% { transform: scale(.3); } 100% { transform: scale(1); } }
.call { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 3px solid var(--navy-deep); border-radius: 999px; background: var(--dust); box-shadow: 0 5px 0 var(--navy-deep); font: 800 clamp(.95rem, 1.5vw, 1.25rem)/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.call:disabled { background: #D9D5C6; color: #5C6672; cursor: default; }
.call:not(:disabled):active { transform: translateY(4px); box-shadow: 0 1px 0 var(--navy-deep); }
/* a meter that fills, not a count: the site's shortcut should not read as the game's rule */
.call-meter { display: flex; width: 34px; height: 12px; border: 2px solid currentColor; border-radius: 999px; overflow: hidden; }
.call-meter i { flex: 1; }
.call-meter i.on { background: currentColor; }
.pause { position: fixed; right: 12px; bottom: 12px; z-index: 45; width: 38px; height: 38px; padding: 0; border: 2px solid var(--coat); border-radius: 50%; background: rgba(20, 37, 58, .72); display: grid; place-items: center; opacity: .7; }
.pause:hover, .pause:focus-visible { opacity: 1; }
.pause span { width: 12px; height: 13px; border: solid var(--coat); border-width: 0 4px; }
.pause[aria-pressed="true"] span { width: 0; height: 0; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--coat); margin-left: 3px; }
.flyer { position: fixed; left: 0; top: 0; width: 44px; height: 44px; z-index: 30; pointer-events: none; overflow: visible; }
.giant { position: fixed; left: 0; bottom: -7vh; width: min(78vw, 640px); height: min(78vw, 640px); z-index: 40; pointer-events: none; overflow: visible; }

.callout { position: absolute; left: 46%; top: 0; z-index: 4; margin: 0; pointer-events: none; white-space: nowrap; font: 800 clamp(2.2rem, 7.6vw, 5.8rem)/.9 var(--display); text-transform: uppercase; color: var(--coat); -webkit-text-stroke: 2px var(--navy-deep); paint-order: stroke fill; text-shadow: 5px 6px 0 var(--gas); transform: translate(-50%, -50%) scale(0); opacity: 0; }
.callout.on { animation: callout 1.9s var(--whip) both; }
.callout.dusted { text-shadow: 5px 6px 0 #6E8A12; }
@keyframes callout {   /* drop and land: falls in tilted, stops hard, one small rebound, holds, lifts away */
  0% { transform: translate(-50%, -260%) rotate(-13deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .85, .4); }
  4% { opacity: 1; }
  13% { transform: translate(-50%, -50%) rotate(-6deg); animation-timing-function: ease-out; }
  17% { transform: translate(-50%, -64%) rotate(-4.5deg); animation-timing-function: ease-in; }
  21%, 80% { transform: translate(-50%, -50%) rotate(-5deg); opacity: 1; }
  100% { transform: translate(-50%, -170%) rotate(-5deg); opacity: 0; }
}

/* ------------------------------------------------------------------ motion: only when the visitor is fine with it */
/* Motion: four entrances, each where it fits, and nothing squeezed out of shape.
   - drop:  falls in tilted, stops hard, one small rebound, kicks up the game's dust (the title sign, the phone)
   - zip:   shoots in from the left and wobbles to a stop on its base (the hook's three lines, the status tag)
   - slot:  rises up out of the ground, as if out of a slot (signs that stand on the ground, the cast's stakes)
   - swing: drops onto a hook and swings until it settles (signs that hang: the cast heading, Gale's sign) */
@media (prefers-reduced-motion: no-preference) {
  .marquee { animation: drop .7s cubic-bezier(.55, 0, .85, .4) both; }
  /* the landing's dust, as the game draws a thud: two low clumps kicked out sideways from under the base */
  .marquee::before, .marquee::after { content: ""; position: absolute; bottom: -20px; width: 130px; height: 50px; pointer-events: none; z-index: -1;
    background: radial-gradient(ellipse 30px 19px at 74% 66%, #E6DFCF 96%, transparent), radial-gradient(ellipse 25px 17px at 46% 70%, #D8D0BF 96%, transparent),
                radial-gradient(ellipse 19px 13px at 22% 76%, #D8D0BF 96%, transparent), radial-gradient(ellipse 14px 10px at 58% 34%, #E6DFCF 96%, transparent);
    transform-origin: 50% 100%; animation: dust .62s cubic-bezier(.2, .7, .4, 1) .55s both; }
  .marquee::before { left: 30px; }
  .marquee::after { right: 120px; scale: -1 1; }   /* mirrored, so it blows the other way, toward Max's window */
  .premise, .hook li { animation: zip .6s cubic-bezier(.2, .9, .3, 1) both; transform-origin: 0 100%; }
  .premise { animation-delay: .55s; }
  .hook li:nth-child(1) { animation-delay: .75s; }
  .hook li:nth-child(2) { animation-delay: .97s; }
  .hook li:nth-child(3) { animation-delay: 1.19s; }
  .marquee .status { animation: zip .6s cubic-bezier(.2, .9, .3, 1) 1.45s both; transform-origin: 0 100%; }
  a.status { transition: background-color .15s, translate .18s var(--whip); }
  a.status:hover, a.status:focus-visible { translate: 6px 0; }   /* leans the way it points; translate, so the zip's transform is left alone */
  .phone-body { animation: drop .65s cubic-bezier(.55, 0, .85, .4) 1.35s both; }
  .marquee .burst { animation: twirl 9s steps(36) infinite; }
  .bulbs i { animation: chase 1.2s steps(1) infinite; }
  .bulbs i:nth-child(3n + 2) { animation-delay: .4s; }
  .bulbs i:nth-child(3n) { animation-delay: .8s; }
  .call:not(:disabled) { animation: ready 1.1s var(--snap) infinite; }
  .js:not(.still) .sign:not(.machine):not(.up) { opacity: 0; }
  .js .xing.up, .js .poster.up { animation: slot .65s cubic-bezier(.3, 1.4, .5, 1) backwards; }
  .js .gale.up, .js .cast.up > .slab { animation: swing 1.3s ease-out backwards; transform-origin: 50% -70px; }
  .js .cast.up .stake { animation: slot .6s cubic-bezier(.3, 1.4, .5, 1) backwards; }
  .js .cast.up li:nth-child(1) .stake { animation-delay: .35s; }
  .js .cast.up li:nth-child(2) .stake { animation-delay: .5s; }
  .js .cast.up li:nth-child(3) .stake { animation-delay: .65s; }
  .js .cast.up li:nth-child(4) .stake { animation-delay: .8s; }
  .banner-plane { right: auto; left: 0; animation: tow 17s linear infinite; }
  .banner-flag { animation: flutter .5s steps(2) infinite; }
  .drivein .burst { animation: twirl 14s steps(48) infinite; }
  .paused .banner-plane, .paused .banner-flag, .paused .call, .paused .burst, .paused .bulbs i { animation-play-state: paused; }
}
/* Reduced motion, and ?still which previews it on any machine: nothing travels. The callout just shows and fades. */
@media (prefers-reduced-motion: reduce) {
  .callout.on { animation-name: callout-still; }
  .belly span.full { animation: none; }
}
.still :not(.callout), .still ::before, .still ::after { animation: none !important; }
.still .callout.on { animation-name: callout-still; }
.still .marquee::before, .still .marquee::after { display: none; }   /* the landing's dust only exists while it lands */
@keyframes callout-still { 0% { transform: translate(-50%, -50%) rotate(-5deg); opacity: 0; } 8%, 80% { transform: translate(-50%, -50%) rotate(-5deg); opacity: 1; } 100% { transform: translate(-50%, -50%) rotate(-5deg); opacity: 0; } }
@keyframes drop { 0% { transform: translateY(-120vh) rotate(-6deg); } 80% { transform: translateY(0) rotate(-1deg); animation-timing-function: ease-out; } 90% { transform: translateY(-10px) rotate(.5deg); animation-timing-function: ease-in; } 100% { transform: none; } }
@keyframes dust { 0% { opacity: 0; transform: translateX(40px) scale(.35); } 12% { opacity: 1; } 55% { opacity: .9; } 100% { opacity: 0; transform: translate(-46px, -8px) scale(1.15); } }
@keyframes zip { 0% { transform: translateX(-110vw); } 60% { transform: translateX(0) rotate(3deg); } 75% { transform: rotate(-2deg); } 88% { transform: rotate(.8deg); } 100% { transform: none; } }
/* slot: the sign is clipped at a fixed ground line while it rises, so it seems to come up out of the ground. The line
   sits 16px under the sign so its shadow and the crossing diamond's corner come up with it instead of popping in after. */
@keyframes slot { 0% { transform: translateY(calc(100% + 16px)); clip-path: inset(-80px -80px 100% -80px); } 100% { transform: none; clip-path: inset(-80px -80px -16px -80px); } }
@keyframes swing { 0% { transform: rotate(-30deg); } 25% { transform: rotate(13deg); } 45% { transform: rotate(-6deg); } 65% { transform: rotate(3deg); } 82% { transform: rotate(-1deg); } 100% { transform: none; } }
@keyframes twirl { to { transform: rotate(360deg); } }
@keyframes chase { 0%, 34% { background: var(--coat); } 35%, 100% { background: var(--atom); } }
@keyframes ready { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-4deg) scale(1.06); } 85% { transform: rotate(3deg) scale(1.06); } }
@keyframes tow { from { transform: translateX(-110%); } to { transform: translateX(110vw); } }
@keyframes flutter { 50% { transform: skewY(-2.5deg); } }

/* ------------------------------------------------------------------ where the road goes next */
.boarding { position: relative; background: var(--navy-deep); color: var(--coat); padding: clamp(40px, 6vw, 80px) var(--gutter) 0; display: grid; gap: 22px; align-items: end; }
.boarding h2 { font: 800 clamp(2.2rem, 6vw, 4.6rem)/.9 var(--display); text-transform: uppercase; }
.boarding p { margin-top: 10px; max-width: 30ch; }
.boarding .board { background: #0A1420; border: 3px solid #31465C; border-radius: 14px; padding: clamp(10px, 1.8vw, 20px); gap: 8px; font-size: clamp(.78rem, 1.9vw, 1.4rem); }

/* ------------------------------------------------------------------ the drive-in at the end of the road */
.drivein { position: relative; background: var(--navy-deep); color: var(--coat); padding: clamp(120px, 14vw, 190px) var(--gutter) clamp(56px, 8vw, 100px); overflow: hidden; text-align: center; }
.drivein h2 { font: 800 clamp(2.2rem, 6vw, 4.6rem)/.9 var(--display); text-transform: uppercase; max-width: 17ch; margin: 0 auto; }
.drivein .burst { position: absolute; width: clamp(50px, 7vw, 96px); }
.b1 { left: 7%; top: 34%; }
.b2 { right: 9%; top: 58%; scale: .6; }
.screen { position: relative; margin: clamp(24px, 4vw, 48px) auto 0; width: min(100%, 900px); padding-bottom: clamp(40px, 6vw, 80px); }
.reel { position: relative; z-index: 1; aspect-ratio: 852 / 393; background: var(--paper); color: var(--navy-deep); border: clamp(8px, 1.2vw, 14px) solid var(--coat); border-radius: 10px; box-shadow: 10px 12px 0 #0A1420; display: grid; place-items: center; }
.reel { overflow: hidden; background: #0B121B; }
.reel video { width: 100%; height: 100%; object-fit: contain; display: block; }
.reel-note { margin: 4px auto 0; max-width: 46ch; font-size: .92rem; opacity: .85; }
.post { position: absolute; bottom: 0; width: clamp(12px, 1.6vw, 20px); height: 40%; background: #31465C; }
.p1 { left: 16%; }
.p2 { right: 16%; }
.status-big { margin-top: 30px; font-size: clamp(1.4rem, 3vw, 2rem); padding: 14px 44px 12px 26px; }
.banner-run { position: absolute; left: 0; right: 0; top: 14px; height: 120px; pointer-events: none; }
.banner-plane { position: absolute; right: 8%; top: 0; display: flex; align-items: center; }
.banner-plane .actor { width: 120px; height: 120px; }
.banner-rope { width: 34px; height: 3px; background: var(--coat); }
.banner-flag { background: var(--coat); color: var(--navy-deep); border: 3px solid var(--navy-deep); padding: 8px 16px 6px; font: 800 1.3rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; transform-origin: 100% 50%; }

.foot { position: relative; background: var(--navy-deep); color: var(--coat); padding: 28px var(--gutter) 40px; display: grid; gap: 6px; font-size: .95rem; }
.foot-note { color: var(--atom); margin-top: 8px; }

/* ------------------------------------------------------------------ wider screens */
@media (min-width: 900px) {
  .lineup { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; margin-top: 64px; }
  .who .actor { scale: 1.36; }
  .lineup li:nth-child(2) { margin-top: 30px; }
  .lineup li:nth-child(3) { margin-top: 6px; }
  .lineup li:nth-child(4) { margin-top: 38px; }
  .boarding { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); }
  .title { grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 40px; }
  .hook li { grid-template-columns: auto minmax(0, 21ch); }
  .phone { justify-self: end; margin-top: clamp(240px, 26vw, 380px); width: min(100%, 500px); }   /* low, on the clouds: the road in Pleasant Acres shows above it, where the trucks come down */
}
@media (max-width: 899px) {
  .sign p { max-width: none; }
  .hook li > span { max-width: none; }
  .hook li { margin-bottom: 6px; }
  .title { padding-top: 60px; }
  .max-window { right: 0; }         /* the sign is near full width here: keep Max's window and the burst on screen */
  .marquee .burst { right: -14px; }
  .phone { margin-top: 30px; }
  .marquee { max-width: calc(100% - clamp(0px, (100vw - 330px) * 1.4, 70px)); }   /* the road down the right edge stays in view, where the trucks come down; less so on the smallest screens, where the hook needs the room */
  .status { white-space: nowrap; font-size: clamp(.84rem, 4vw, 1.02rem); padding-right: 30px; }
  .machine { display: grid; grid-template-columns: auto 1fr; right: var(--gutter); gap: 6px 10px; padding: 7px 12px 10px; }
  .machine-ask { max-width: none; grid-area: 1 / 1; }
  .belly { grid-area: 1 / 2; justify-self: end; }
  .bites { grid-area: 2 / 1; }
  .call { grid-area: 2 / 2; justify-self: end; }
}
