/* css/base.css (page agent): every page. Tokens, the page sky (CSS layer A), header + ride states, nav, phone menu,
   phone call bar, the floating Pause motion button, buttons, sections and the sky-text shade, reveals, the FAQ
   accordion, the work order + DISPATCHED stamp, the steel panel, the night-yard footer, still mode, print.
   docs/spec/page.md (frozen) + docs/scenes/page.md (decisions). No backdrop-filter over the live sky except the
   desktop header on tier 3 (page.md 1.5). */

@font-face { font-family: "Alfa Slab One"; src: url("../assets/fonts/alfa-slab-one.woff2") format("woff2"); font-display: swap; font-weight: 400; }
@font-face { font-family: "Public Sans"; src: url("../assets/fonts/public-sans-var.woff2") format("woff2"); font-display: swap; font-weight: 100 900; }
@font-face { font-family: "Alfa Fallback"; src: local("Rockwell"), local("Georgia"); size-adjust: 112%; ascent-override: 92%; }
@font-face { font-family: "Public Fallback"; src: local("Helvetica Neue"), local("Arial"); size-adjust: 101%; }

:root {
  --navy: #0b2341; --navy-2: #12305a; --navy-3: #1b3f72; --blue: #1f5fbf; --blue-2: #2f7be0; --sky-blue: #8cc4f2;
  --red: #d12a2a; --red-2: #a81d1d; --silver: #c9d2dc; --silver-2: #dfe6ee; --cream: #f6f1e6; --paper: #fbf8f1;
  --ink: #13202f; --ink-2: #3c4a5c; --gold: #f2b33d; --body-on-sky: #eef3fb;
  --display: "Alfa Slab One", "Alfa Fallback", Georgia, serif;
  --text: "Public Sans", "Public Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: max(16px, env(safe-area-inset-left)); --wrap: 1180px; --head-h: 68px; --bar-h: 64px; --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 18px 40px -18px rgba(5, 15, 35, .55);
  /* the page sky: js/site.js writes these from the scroll (OKLab-mixed page keys); defaults = dusk */
  --s0: #0c1638; --s1: #152150; --s2: #22305f; --s3: #3d3c6a; --s4: #6b4a6e; --s0-rgb: 12,22,56; --s1-rgb: 21,33,80; --s3-rgb: 61,60,106;
  --glow: rgba(224, 128, 92, .35); --glow-x: 16%; --glow-rx: 55%; --glow-ry: 20%; --deep: rgba(12, 22, 56, 0); --sky-glow: #7a5a72;
  --sun-x: 80vw; --sun-y: 26vh; --sun-d: 34px; --sun-o: 0; --moon-x: 48px; --moon-y: 22vh; --moon-d: 46px; --moon-r: 225deg; --moon-o: 0; --star-o: 0;
  color-scheme: dark;
}
@media (min-width: 1024px) { :root { --gut: max(28px, 3.4vw); --head-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
/* the phone call bar covers the bottom of the screen only under 900 px; on computers a bottom padding made focusing the
   scene's Pause button (16 px from the bottom) scroll the story forward past the hero's Call / Quote buttons (fix r1) */
@media (max-width: 899.98px) { html { scroll-padding-bottom: calc(var(--bar-h) + 16px); } }
/* D8: the home page starts at #0b2341 before anything else paints; without JS the page-long day-to-night gradient
   (page.md 3.2) is the sky. The colour sits on body so it propagates to the canvas, under the fixed sky layers. */
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: #0b2341; overflow-x: clip; -webkit-font-smoothing: antialiased; }
/* nothing may widen the page on a phone (a wider layout makes mobile browsers zoom the whole page out): sets, the
   stamp and hanging props are clipped at the page edge, without making a scroll container (sticky still works) */
main, .foot { overflow-x: clip; }
html:not(.js) body { background: linear-gradient(to bottom, #0b2341 0, #164490 12%, #1a4b95 30%, #22305f 48%, #111c46 62%, #0d173b 76%, #08102a 88%, #03060f 100%); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: clamp(21px, 2.2vw, 26px); }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--sky-blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* placeholders: everything Joshua still has to give us stays an obvious [BRACKETED] chip */
.ph { display: inline-block; padding: 0 .4em; border: 2px dashed currentColor; border-radius: 6px; background: rgba(242, 179, 61, .2); font-weight: 700; line-height: 1.45; }
.ph-photo { display: grid; place-items: center; aspect-ratio: 1; border: 2px dashed rgba(11, 35, 65, .45); border-radius: 3px; color: #3c4a5c;
  background: repeating-linear-gradient(135deg, #e7e1d3 0 12px, #f0ebe0 12px 24px); font: 800 14px/1.3 var(--text); text-align: center; padding: 10px; }

/* ---------------------------------------------------------------- the page sky, layer A (page.md 3.2) */
.sky { display: none; position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; view-transition-name: sky;
  background: radial-gradient(var(--glow-rx) var(--glow-ry) at var(--glow-x) 102%, var(--glow), transparent 100%),
    radial-gradient(55% 60% at 24% 32%, var(--deep), transparent 100%),
    linear-gradient(to bottom, var(--s0) 0%, var(--s1) 30%, var(--s2) 60%, var(--s3) 85%, var(--s4) 100%); }
html.js .sky { display: block; }
.sky i { position: absolute; display: block; }
.sky .stars, .sky .stars::after { inset: 0; opacity: var(--star-o); background-size: 520px 520px;
  background-image: radial-gradient(1.4px 1.4px at 12% 18%, #f4f7ff 50%, transparent 51%), radial-gradient(1px 1px at 26% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 38% 12%, #ffe9c8 50%, transparent 51%), radial-gradient(1px 1px at 52% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 64% 8%, #cfe0ff 50%, transparent 51%), radial-gradient(1px 1px at 72% 46%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 84% 22%, #f4f7ff 50%, transparent 51%), radial-gradient(1px 1px at 92% 58%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 8% 64%, #ffe9c8 50%, transparent 51%), radial-gradient(1px 1px at 44% 70%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 58% 84%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 76%, #cfe0ff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 20% 88%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 96% 92%, #fff 50%, transparent 51%); }
.sky .stars::after { content: ""; position: absolute; background-size: 380px 380px; background-position: 170px 90px; opacity: .8; }
.sky .sun { left: 0; top: 0; width: calc(var(--sun-d) * 9); height: calc(var(--sun-d) * 9); margin: calc(var(--sun-d) * -4.5) 0 0 calc(var(--sun-d) * -4.5);
  border-radius: 50%; opacity: var(--sun-o); transform: translate3d(var(--sun-x), var(--sun-y), 0);
  background: radial-gradient(circle, #fff8e4 0 5.4%, #ffd27a 5.6%, rgba(255, 225, 160, .42) 7%, rgba(255, 214, 150, .16) 24%, rgba(255, 210, 150, 0) 50%); }
.sky .moon { left: 0; top: 0; width: var(--moon-d); height: var(--moon-d); margin: calc(var(--moon-d) / -2) 0 0 calc(var(--moon-d) / -2); opacity: var(--moon-o);
  transform: translate3d(var(--moon-x), var(--moon-y), 0) rotate(calc(var(--moon-r) - 180deg));
  background: url("../assets/page/page-sky-atlas-full-0.webp?v=0ab33e04") calc(var(--moon-d) * -2 / 192) calc(var(--moon-d) * -2 / 192) / calc(var(--moon-d) * 196 / 192) no-repeat;
  filter: drop-shadow(0 0 14px rgba(205, 216, 240, .3)); }
/* tier 0 keeps two cheap twinkles on the CSS stars; the canvas takes over everything else */
html.tier-0:not(.still) .sky .stars { animation: twinkle 4.3s steps(6) infinite alternate; }
html.tier-0:not(.still) .sky .stars::after { animation: twinkle 6.1s steps(6) infinite alternate-reverse; }
@keyframes twinkle { from { opacity: calc(var(--star-o) * .75); } to { opacity: var(--star-o); } }
/* layer B (js/scenery.js): the canvas fades in over 600 ms, then layer A stops painting */
/* sized for the large viewport (fix r1): a phone's toolbar showing or hiding never resizes or re-allocates it */
.sky-cv { position: fixed; left: 0; top: 0; z-index: -1; width: 100%; height: 100vh; height: 100lvh; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
html.sky-on .sky-cv { opacity: 1; }
html.sky-live .sky { background: none; }
html.sky-live .sky i { display: none; }

/* ---------------------------------------------------------------- header (page.md 6.1-6.3) */
.head { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--head-h); color: #fff; view-transition-name: head;
  transition: transform .26s var(--ease), background-color .26s var(--ease), opacity .26s var(--ease); }
.head::before { content: ""; position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(8, 24, 46, .55), rgba(8, 24, 46, 0)); transition: opacity .26s; }
.head-in { position: relative; height: 100%; width: min(100% - var(--gut) * 2, 1320px); margin-inline: auto; display: flex; align-items: center; gap: 18px; }
.head-line { position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; opacity: 0; transition: opacity .26s;
  background: linear-gradient(90deg, transparent, var(--sky-glow) 30%, var(--sky-glow) 70%, transparent); }
.head.is-solid { background: rgba(8, 22, 44, .84); box-shadow: 0 1px 0 rgba(201, 210, 220, .18); }
.head.is-solid::before { opacity: 0; }
.head.is-solid .head-line { opacity: .6; }
@media (max-width: 899.98px) { .head.is-solid { background: rgba(8, 22, 44, .97); } }
@media (min-width: 900px) { html.tier-3 .head.is-solid { background: rgba(8, 22, 44, .88); -webkit-backdrop-filter: blur(10px) saturate(1.15); backdrop-filter: blur(10px) saturate(1.15); } }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; border-radius: 10px; transition: background .26s, padding .26s; }
.brand .bi { width: 52px; height: auto; filter: drop-shadow(0 1px 1px rgba(4, 12, 30, .6)); }
.bw { display: grid; line-height: 1; }
.bw-js { font: 400 22px/.95 var(--display); letter-spacing: .02em; color: #fff;
  background: linear-gradient(180deg, #ffffff 0%, #c9d2dc 55%, #8fa0b5 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 2px 0 var(--navy)); }
.bw-js b { font-weight: 400; color: #ff5b4e; -webkit-text-fill-color: #ff5b4e; }
.bw-d { margin-top: 3px; font: 800 10.5px/1 var(--text); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
@media (max-width: 899.98px) { .bw-js { font-size: 20px; } }

.nav { display: flex; gap: 2px; margin-left: auto; transition: opacity .26s, visibility .26s; }
.nav a { position: relative; padding: 10px 12px; font: 700 15px/1 var(--text); color: #fff; text-decoration: none; text-shadow: 0 1px 0 var(--navy); border-radius: 6px; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 2px; background: var(--sky-blue); transform: scaleX(0); transition: transform .18s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { transform: scaleX(1); background: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  font: 800 16px/1.15 var(--text); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .12s, background-color .15s, box-shadow .15s; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: translateY(2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-2), 0 10px 22px -12px rgba(5, 15, 35, .8); }
.btn-red:hover { background: #df3131; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 0 #174a99, 0 10px 22px -12px rgba(5, 15, 35, .8); }
.btn-blue:hover { background: #2768cf; }
/* R16 / F4: solid white with navy text (replaces the ghost button everywhere) */
.btn-white { background: #fff; color: var(--navy); border: 1px solid var(--silver); box-shadow: 0 4px 0 #b9c4d3, 0 10px 22px -12px rgba(5, 15, 35, .7); }
.btn-white:hover { background: #f2f6fb; }
.btn-ink { background: var(--navy); color: #fff; border: 1px solid rgba(201, 210, 220, .45); box-shadow: 0 4px 0 #061428; }
.btn-ink:hover { background: var(--navy-2); }
.btn-ghost { background: rgba(8, 22, 44, .35); color: #fff; border: 2px solid rgba(255, 255, 255, .85); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.head .btn-call { min-height: 44px; padding: 10px 18px; font-size: 15px; flex: none; }
.btn-call .bc-short { display: none; }
.btn-call .i-phone { transform-origin: 50% 60%; }
html:not(.still) .btn-call .i-phone { animation: ring .5s ease-in-out 2.5s 1; }
html:not(.still) .btn-call:hover .i-phone { animation: ring .5s ease-in-out 1; }
@keyframes ring { 0%, 100% { transform: none; } 12.5% { transform: rotate(14deg); } 37.5% { transform: rotate(-14deg); } 62.5% { transform: rotate(12deg); } 87.5% { transform: rotate(-10deg); } }

.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(201, 210, 220, .35);
  background: rgba(8, 22, 44, .45); color: #fff; font: 800 14px/1 var(--text); cursor: pointer; }
.mb-bars { position: relative; flex: none; width: 18px; height: 14px; }
.mb-bars i { position: absolute; left: 0; width: 18px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .22s var(--ease), opacity .22s; }
.mb-bars i:nth-child(1) { top: 0; } .mb-bars i:nth-child(2) { top: 6px; } .mb-bars i:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .mb-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .mb-bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .mb-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 899.98px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .head-in { gap: 10px; }
  .head .btn-call { margin-left: auto; padding: 10px 14px; }
  .head .btn-call .bc-long { display: none; }
  .head .btn-call .bc-short { display: inline; }
}
/* narrow phones: the header's call is a 44 px round icon (the call bar below carries "Call Josh") */
@media (max-width: 429.98px) {
  .head .btn-call { width: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .head .btn-call .bc-short { display: none; }
  .head .btn-call svg { margin: 0; }
}

/* (fix r1 page) very narrow viewports: iOS page zoom 150-200 % (a 390 px phone becomes 260-195 CSS px) and 320 px phones.
   The Menu button keeps only its bars (the label stays its accessible name), the gaps and the brand shrink, and below
   ~230 px the wordmark's second line goes and the two header buttons are 40 px (80+ px on such a zoomed screen) */
@media (max-width: 339.98px) {
  .head-in { gap: 8px; }
  .menu-btn { width: 44px; padding: 0; justify-content: center; }
  .menu-btn .mb-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 279.98px) {
  :root { --gut: max(10px, env(safe-area-inset-left)); }
  .brand { gap: 6px; }
  .brand .bi { width: 40px; }
  .bw-js { font-size: 18px; }
  .bw-d { font-size: 9px; letter-spacing: .16em; }
}
@media (max-width: 229.98px) {
  .head-in { gap: 6px; }
  .brand .bi { width: 34px; }
  .bw-js { font-size: 16px; }
  .bw-d { display: none; }
  .head .btn-call, .menu-btn { width: 40px; min-width: 40px; min-height: 40px; height: 40px; }
}

/* header during the ride (engine classes; 00-overview 1.10, page.md 6.2, R16): during the hero = the top state;
   past the hero the desktop bar empties to a brand chip + a "Call Josh" pill, phones slide it away (the progress strip
   and the stage's Pause button stay clear); scrolling up peeks the full header for 2.5 s; keyboard focus shows it */
html.ride-pinned:not(.ride-hero-gone) .head:not(.is-peek):not(:focus-within) { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.ride-pinned:not(.ride-hero-gone) .head:not(.is-peek):not(:focus-within)::before { opacity: 1; }
html.ride-pinned:not(.ride-hero-gone) .head:not(.is-peek):not(:focus-within) .head-line { opacity: 0; }
@media (min-width: 900px) {
  html.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within) { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within)::before,
  html.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within) .head-line { opacity: 0; }
  html.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within) .nav { opacity: 0; visibility: hidden; }
  /* the chip keeps the name: the icon and the J&S wordmark on a frosted pill (a 44 px tile with a tiny icon read as a
     broken image, and the name was gone for the whole ride) */
  html.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within) .brand { gap: 8px; padding: 0 14px 0 9px; height: 44px; border-radius: 999px;
    background: rgba(8, 22, 44, .72); box-shadow: inset 0 0 0 1px rgba(201, 210, 220, .3), 0 8px 18px -10px rgba(0, 0, 0, .7); }
  html.tier-3.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within) .brand { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  html.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within) .brand .bw-d { display: none; }
  html.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within) .brand .bw-js { font-size: 21px; }
  html.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within) .brand .bi { width: 40px; }
  html.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within) .btn-call { margin-left: auto; min-height: 44px; padding: 10px 16px; }
  html.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within) .btn-call .bc-long { display: none; }
  html.ride-pinned.ride-hero-gone .head:not(.is-peek):not(:focus-within) .btn-call .bc-short { display: inline; }
}
@media (max-width: 899.98px) {
  html.ride-pinned:is(.ride-hero-gone, .ride-hero-out) .head:not(.is-peek):not(:focus-within) { transform: translateY(-110%); }
}
@media (max-width: 899.98px) and (max-height: 500px) {
  html:not(.menu-open) .head.is-solid:not(.is-peek):not(:focus-within) { transform: translateY(-110%); }
}
@media (prefers-reduced-motion: reduce) { .head { transition: none; } }

/* ---------------------------------------------------------------- phone menu (page.md 6.4) */
.menu { position: fixed; inset: 0; z-index: 49; height: 100vh; height: 100dvh; overflow: auto; padding: calc(var(--head-h) + 22px) 24px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 18px; color: #fff; transform: translateY(-100%); transition: transform .28s var(--ease);
  background: linear-gradient(rgba(5, 12, 28, .72), rgba(5, 12, 28, .72)), linear-gradient(var(--s0), var(--s2)); }
.menu::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; background-size: 260px 260px;
  background-image: radial-gradient(1.3px 1.3px at 14% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 46% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 30%, #ffe9c8 50%, transparent 51%), radial-gradient(1px 1px at 30% 64%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 88% 76%, #cfe0ff 50%, transparent 51%), radial-gradient(1px 1px at 60% 90%, #fff 50%, transparent 51%); }
.menu[hidden] { display: none; }
.menu.is-open { transform: none; }
.menu-nav { display: grid; gap: 4px; }
.menu-nav a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 6px; font: 700 22px/1.1 var(--text); text-decoration: none; color: #fff;
  border-bottom: 1px solid rgba(201, 210, 220, .14); opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease); }
.menu-nav a svg { width: 26px; height: 26px; flex: none; color: var(--sky-blue); }
.menu-nav a svg.bi { width: 34px; }
.menu.is-open .menu-nav a { opacity: 1; transform: none; }
.menu.is-open .menu-nav a:nth-child(2) { transition-delay: .04s; } .menu.is-open .menu-nav a:nth-child(3) { transition-delay: .08s; } .menu.is-open .menu-nav a:nth-child(4) { transition-delay: .12s; }
.menu-call { min-height: 56px; font-size: 18px; }
.menu-slogan { margin: auto 0 0; font: 400 26px/1.15 var(--display); color: #ffe6b8; }
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open .head { background: rgba(8, 22, 44, .94); transform: none; }
@media (min-width: 900px) { .menu { display: none !important; } }

/* motion toggles (menu, footer, the floating button): one shared state (site.js, jns-motion) */
.motion-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(201, 210, 220, .4); background: rgba(8, 22, 44, .5); color: #fff; font: 700 15px/1 var(--text); align-self: flex-start; }
.motion-toggle svg, .motion-fab svg { width: 18px; height: 18px; }
.i-play { display: none; }
html.motion-paused [data-motion] .i-play { display: block; }
html.motion-paused [data-motion] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] { background: #e8eef6; color: var(--navy); border-color: #fff; }
.mt-text svg { width: 14px; height: 14px; }
html:not(.js) [data-motion] { display: none !important; }
.motion-fab { display: none; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  html.js .motion-fab { display: grid; place-items: center; position: fixed; z-index: 45; left: 18px; bottom: 18px; width: 40px; height: 40px; padding: 0; border-radius: 50%;
    border: 1px solid rgba(201, 210, 220, .35); background: rgba(8, 22, 44, .72); color: #fff; cursor: pointer; opacity: .55; transition: opacity .2s, visibility .2s; }
  .motion-fab:hover, .motion-fab:focus-visible { opacity: 1; }
  html.ride-pinned .motion-fab { opacity: 0; visibility: hidden; }
}

/* ---------------------------------------------------------------- phone call bar (page.md 6.5) */
/* P-E1: on a notched phone on its side the buttons stay clear of the notch and the rounded corners */
.mbar { position: fixed; inset: auto 0 0 0; z-index: 48; display: flex; gap: 10px; padding: 8px calc(12px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left));
  background: rgba(8, 22, 44, .92); box-shadow: 0 -1px 0 rgba(201, 210, 220, .15); }
.mbar .btn { flex: 1 1 50%; min-height: 48px; padding: 10px 12px; font-size: 16px; box-shadow: none; white-space: nowrap; overflow: hidden; }
.mbar-quote { transition: flex-basis .2s var(--ease), padding .2s, opacity .2s; }
/* (fix r1 page) narrow viewports (page zoom): the two buttons may shrink below their text (min-width 0) and wrap to two
   lines rather than run off the screen; below ~230 px they drop their icons */
@media (max-width: 339.98px) {
  .mbar { gap: 8px; padding-left: calc(8px + env(safe-area-inset-left)); padding-right: calc(8px + env(safe-area-inset-right)); }
  .mbar .btn { min-width: 0; gap: 6px; padding: 6px 8px; font-size: 14px; line-height: 1.1; white-space: normal; text-align: center; }
  .mbar .btn svg { width: 16px; height: 16px; }
}
@media (max-width: 229.98px) { .mbar .btn svg { display: none; } }
html.form-in-view .mbar-quote { flex: 0 0 0; padding: 0; opacity: 0; margin-left: -10px; }
@media (min-width: 900px) { .mbar { display: none; } }
@media (max-width: 899.98px) { body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); } }

/* ---------------------------------------------------------------- sections and text on the sky */
.section { position: relative; padding: clamp(52px, 4.4vw, 62px) 0; }
.section-head { margin-bottom: clamp(24px, 3.4vw, 40px); max-width: 720px; }
.on-sky { color: #fff; }
.on-sky :where(.lead, p) { color: var(--body-on-sky); } /* :where: surfaces (the work order, cards) keep their own ink */
.on-sky :is(.card, .towns) :where(p, .lead, li) { color: var(--ink); } /* paper surfaces on the sky keep dark ink */
.on-sky :is(h1, h2, h3, .lead, p, .eyebrow, .crumbs, figcaption) { text-shadow: 0 1px 2px rgba(4, 12, 30, .55), 0 0 18px rgba(4, 12, 30, .3); }
.on-sky :is(.card, .steel, .clipboard, .cork, .visor, .towns, .faq) :is(h1, h2, h3, p, figcaption, .lead) { text-shadow: none; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; font-weight: 600; max-width: 62ch; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 7px 12px 6px; border-radius: 999px; background: rgba(11, 35, 65, .7); border: 1px solid rgba(201, 210, 220, .9);
  color: #fff; font: 800 12.5px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.text-link { color: #fff; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--sky-blue); } /* 1.6: brand red only on Call buttons */
/* the sky-text shade (page.md 2.5): an edgeless deeper patch of sky behind a block of text, never a box */
.sky-text { position: relative; z-index: 0; --shade: .30; }
:is([data-sky="morning"], [data-sky="noon"], [data-sky="afternoon"]) .sky-text { --shade: .36; } /* day sections: a deeper patch */
:is([data-sky="night"], [data-sky="deep"]) .sky-text { --shade: .12; }
.sky-text::before { content: ""; position: absolute; inset: -56px -72px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(6, 16, 38, var(--shade)) 0%, rgba(6, 16, 38, calc(var(--shade) * .6)) 55%, rgba(6, 16, 38, 0) 100%); }
.card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--shadow); }

/* reveals (page.md 6.6): once, never hiding content without JS, skipped in still mode */
html.js:not(.still) .reveal:not(.is-in) { opacity: 0; transform: translateY(26px); }
html.js .reveal { transition: opacity .7s ease, transform .7s var(--ease); }
html.js:not(.still) .reveal-roll:not(.is-in) { opacity: 0; transform: translateX(-40px) rotate(-1.5deg); }
html.js .reveal-roll.is-in { animation: rv-roll .8s var(--ease) both; }
@keyframes rv-roll { 0% { opacity: 0; transform: translateX(-40px) rotate(-1.5deg); } 70% { opacity: 1; transform: translateX(2px); } 100% { transform: none; } }
html.js:not(.still) .reveal-drop:not(.is-in) { opacity: 0; transform: translateY(-24px); }
html.js .reveal-drop.is-in { animation: rv-drop .9s ease-out both; transform-origin: 50% 0; }
@keyframes rv-drop { 0% { opacity: 0; transform: translateY(-24px); } 30% { opacity: 1; transform: rotate(6deg); } 55% { transform: rotate(-3deg); } 78% { transform: rotate(1.5deg); } 100% { transform: none; } }
html.js:not(.still) .reveal-spray:not(.is-in) { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.reveal-pin.is-in { animation: rv-pin .16s ease-out both; }
@keyframes rv-pin { from { transform: scale(1.25); } to { transform: none; } }
html.still *, html.still *::before, html.still *::after { animation-play-state: paused !important; }
/* the hero's drop-in letters (sunrise CSS, fill-mode backwards): paused before they ran, they waited at -115vh and the
   name (or DUMPSTERS) was missing with reduced motion or Pause. In still mode they simply stand in place */
html.still [data-scene="sunrise"] :is(.dw-big, .dw-small) i, html.still [data-scene="sunrise"] :is(.dw-big, .dw-small) i::after { animation: none !important; }
html.still .reveal, html.still .reveal-roll, html.still .reveal-drop { animation: none !important; transition: none !important; }

/* ---------------------------------------------------------------- FAQ accordion (page.md 5.6; also the quote page) */
.faq { display: grid; gap: 10px; }
.faq details { background: rgba(9, 18, 44, .78); border: 1px solid rgba(201, 210, 220, .14); border-radius: 12px; color: #fff; overflow: hidden;
  border-left: 3px solid transparent; transition: background-color .25s, border-color .25s; interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .32s var(--ease), content-visibility .32s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 64px 18px 20px; font: 800 18px/1.35 var(--text); color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--blue);
  color: #fff; font: 800 22px/30px var(--text); text-align: center; transition: transform .22s var(--ease); }
.faq details[open] { background: rgba(24, 26, 52, .86); border-left-color: #ffcf8a; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 20px 18px; color: #e3e9f3; font-size: 17px; }
.faq .ans p { color: #e3e9f3; margin: 0; }
.faq .ans a { color: #fff; font-weight: 800; }

/* ---------------------------------------------------------------- the work order on a clipboard (page.md 5.7) */
.clipboard { position: relative; max-width: 640px; padding: 54px 16px 46px; border-radius: 18px; isolation: isolate;
  background: radial-gradient(120% 90% at 14% 0%, transparent 45%, rgba(8, 14, 32, .22) 100%),
    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' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .16 0 0 0 0 .08 0 0 0 .55 -.1'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #8a6340, #7a5636 40%, #6a4a2e);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12), inset 0 -3px 0 rgba(0, 0, 0, .25), 0 30px 50px -26px rgba(0, 0, 0, .85), 0 2px 0 #4c3520; }
.clipboard.is-down { animation: jolt .08s ease-out 1 .12s; }
@keyframes jolt { 50% { transform: translateY(2px); } }
/* the chrome lever clip */
/* the lever clip: a stamped spring-steel plate (bright bands, two rivets, a hole punched in its middle) and a rolled
   wire lever arching over the top */
.cb-clip { position: absolute; z-index: 3; left: 50%; top: -10px; width: 176px; height: 48px; margin-left: -88px; border-radius: 6px 6px 14px 14px;
  background: radial-gradient(10px 6px at 50% 46%, #15181c 55%, #6d757e 66%, transparent 72%), radial-gradient(3.5px 3.5px at 14% 70%, #e9edf1 25%, #69727b 55%, transparent 62%),
    radial-gradient(3.5px 3.5px at 86% 70%, #e9edf1 25%, #69727b 55%, transparent 62%),
    linear-gradient(#fbfcfd 0, #c7ced5 14%, #8b949e 34%, #dfe4e9 50%, #a3acb5 70%, #6e7780 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, .3), 0 6px 10px -4px rgba(0, 0, 0, .6); }
.cb-clip::before { content: ""; position: absolute; left: 30px; right: 30px; top: -14px; height: 22px; border-radius: 14px 14px 2px 2px;
  border: 4px solid #aab3bc; border-bottom: 0; background: none; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), 0 -1px 0 #5d656e, 0 2px 2px rgba(0, 0, 0, .3); }
.cb-light { position: absolute; z-index: 4; left: -26px; top: -60px; width: 110px; pointer-events: none; }
.cb-bloom { position: absolute; z-index: 5; left: -40px; top: -70px; width: 260px; height: 260px; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 244, 222, .46), rgba(255, 232, 198, .2) 26%, rgba(255, 226, 188, .07) 52%, rgba(255, 226, 188, .02) 72%, rgba(255, 226, 188, 0)); transition: opacity .5s; }
.b-work .cb-bloom, html:not(.js) .cb-bloom, html.still .cb-bloom { opacity: 1; }
html:not(.still) .b-work .cb-bloom { animation: work-on .5s ease-out 1, breathe 5s ease-in-out .5s infinite alternate, work-dip 13s steps(1) .5s infinite; }
/* Q1: the LED's driver hiccups now and then (an 80 ms dip every ~13 s) */
@keyframes work-dip { 0%, 61%, 61.62%, 100% { filter: none; } 61.01% { filter: brightness(.62); } }
@keyframes work-on { 0% { opacity: 0; } 18% { opacity: 1.4; filter: brightness(1.4); } 30% { opacity: .8; } 100% { opacity: 1; } }
@keyframes breathe { from { opacity: 1; transform: scale(1); } to { opacity: .8; transform: scale(1.06); } }
.cb-pen { position: absolute; z-index: 4; right: -14px; top: -6px; width: 40px; transform-origin: 50% 0; pointer-events: none; }
html:not(.still) .is-live .cb-pen { animation: swing3 3.3s ease-in-out infinite alternate; }
@keyframes swing3 { from { transform: rotate(6deg); } to { transform: rotate(-6deg); } }
.cb-pen .pc { width: 40px; }
@media (max-width: 899.98px) { .cb-pen { right: -4px; } }
.wo-stack { position: relative; }
/* the carbon copies: about 15 px of the yellow and 15 px more of the pink show under the white; each label is printed
   inside its own strip (they hung off the paper before) */
.wo-copy { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.wo-copy span { position: absolute; right: 18px; bottom: 3px; font: 800 9px/1 var(--text); letter-spacing: .2em; color: #b23b3b; opacity: .85; }
.wo-yellow { background: #fff1b0; transform: translate(4px, 15px); }
.wo-pink { background: #ffd6dc; transform: translate(8px, 30px); }
.wo-yellow span { right: 34px; }
.work-order { position: relative; z-index: 1; border-radius: 4px; padding: 0 clamp(16px, 3.4vw, 34px) 26px; color: var(--ink);
  background: linear-gradient(rgba(255, 253, 246, .94), rgba(255, 253, 246, .94)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='2' seed='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"), #fffdf6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
/* the top sheet's corner curls up now and then: it grows out of the corner (no rotation), so it never swings down over
   the carbon copies' labels */
.wo-corner { position: absolute; z-index: 2; right: 0; bottom: 0; width: 40px; height: 40px; pointer-events: none; transform-origin: 100% 100%; opacity: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0) 49%, #e9e3d2 50%, #fffdf6 64%); border-radius: 0 0 4px 0; box-shadow: -3px -3px 6px -3px rgba(0, 0, 0, .25); }
html:not(.still) .is-live .wo-corner { animation: corner 7s ease-in-out infinite; }
@keyframes corner { 0%, 70%, 100% { opacity: 0; transform: scale(.2); } 75% { opacity: 1; transform: scale(1); } 83% { opacity: 1; transform: scale(.72); } 90% { opacity: 1; transform: scale(.9); } 96% { opacity: 0; transform: scale(.3); } }
.wo-stub { display: flex; justify-content: flex-end; align-items: center; height: 34px; margin: 0 calc(-1 * clamp(16px, 3.4vw, 34px)) 14px; padding: 0 clamp(16px, 3.4vw, 34px);
  border-bottom: 2px dotted rgba(19, 32, 47, .25); background: radial-gradient(circle at 0 100%, #7a5636 5px, transparent 6px), radial-gradient(circle at 100% 100%, #7a5636 5px, transparent 6px); }
.wo-no { font: 700 15px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .12em; color: #b8261f; }
.js-wo-no { display: inline-flex; }
.wo-roll { display: inline-flex; }
.wo-roll i { display: inline-block; height: 1em; overflow: hidden; font-style: normal; }
.wo-roll b { display: block; width: 1ch; font-weight: 700; line-height: 1em; word-spacing: 100vw; transform: translateY(calc(var(--n) * -1em)); }
html.js:not(.still) [data-beats] .wo-roll b { transform: none; }
html.js:not(.still) .b-work .wo-roll b { transform: translateY(calc(var(--n) * -1em)); transition: transform .65s var(--ease) calc(var(--i) * .07s); }
.wo-letterhead { display: flex; align-items: center; gap: 12px; }
.wo-letterhead .bi { width: 44px; }
.wo-co { margin: 0; font: 400 22px/1.1 var(--display); color: var(--navy); }
.wo-contact { margin: 2px 0 0; font: 600 13px/1.35 var(--text); color: var(--ink-2); }
.wo-title { margin: 16px 0 18px; padding-bottom: 6px; font: 400 30px/1 var(--display); color: var(--navy); border-bottom: 4px double var(--navy); }
.fields { display: grid; gap: 14px 22px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 2px; padding: 0; font: 800 12.5px/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.field .req { color: var(--navy); }
.field .hint { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink-2); }
.field :where(input:not([type=radio]), textarea) { width: 100%; min-height: 44px; padding: 8px 4px; border: 0; border-bottom: 2px solid rgba(11, 35, 65, .35); border-radius: 0;
  background: transparent; color: #1d3f8f; caret-color: var(--red); font: 500 18px/1.3 var(--text); transition: border-color .15s, background-color .15s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 30px; padding-top: 4px;
  background: repeating-linear-gradient(transparent 0 29px, rgba(158, 195, 234, .55) 29px 30px) 0 4px / 100% 30px local; }
.field :where(input, textarea):focus { outline: none; border-bottom-color: var(--blue-2); background-color: rgba(255, 240, 150, .35); }
.field :where(input, textarea):focus-visible, .field input[type="date"]:focus { box-shadow: 0 2px 0 var(--blue-2); } /* a date input's focus sits in its inner fields, so :focus-visible never matches it */
.field.has-error :where(input, textarea) { border-bottom-color: var(--red); }
.field .err { display: none; margin: 4px 0 0; font: 700 14px/1.3 var(--text); color: var(--red-2); }
.field.has-error .err { display: block; }
.sizes-pick { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; }
.sizes-pick label { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 6px 4px 0; cursor: pointer;
  font: 600 16px/1.2 var(--text); letter-spacing: 0; text-transform: none; color: var(--ink); }
.sizes-pick input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; left: 0; }
/* a single choice reads as one: round boxes with an inked dot (they were square check boxes) */
.sizes-pick .box { position: relative; width: 22px; height: 22px; flex: none; border: 2px solid var(--navy); border-radius: 50%; background: #fff; }
.sizes-pick .box::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #1d3f8f; transform: scale(0); transition: transform .16s ease-out; }
.sizes-pick input:checked + .box::after { transform: scale(1); }
.sizes-pick input:focus-visible + .box { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.wo-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.wo-foot small { font-size: 14px; color: var(--ink-2); }
.wo-foot small a { color: var(--navy); font-weight: 800; }
.form-status { min-height: 1.5em; margin: 14px 0 0; font: 700 15px/1.45 var(--text); color: var(--red-2); }
.form-status.is-ok { color: #1f6d3a; }
.form-status.is-preview { color: var(--navy); }
.noscript-call { margin: 12px 0 0; font-weight: 800; color: var(--navy); }
/* DISPATCHED: Alfa Slab in stamp ink, double border, speckled mask, multiply (page.md 5.7) */
/* it lands on a fixed empty part of the sheet: top right, across the letterhead's rule and the "Work order" line (it
   used to sit at a percentage of the form's height, which changes with the status line, and landed on the Send
   button); always inside the paper, under the fields' ink */
.stamp { position: absolute; z-index: 2; right: 5%; top: 50px; max-width: 88%; pointer-events: none; opacity: 0; transform: rotate(-12deg); mix-blend-mode: multiply; }
.stamp span { display: block; padding: 6px 14px 4px; border: 5px solid #c8231f; outline: 1.5px solid #c8231f; outline-offset: -11px; border-radius: 6px;
  font: 400 clamp(26px, 7.2vw, 44px)/1 var(--display); letter-spacing: .04em; color: #c8231f; text-transform: uppercase;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.15'/%3E%3C/filter%3E%3Crect width='90' height='90' filter='url(%23n)'/%3E%3C/svg%3E");
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.15'/%3E%3C/filter%3E%3Crect width='90' height='90' filter='url(%23n)'/%3E%3C/svg%3E"); }
.stamp .ink { position: absolute; inset: -18px; border-radius: 12px; opacity: 0;
  background: radial-gradient(3px 3px at 6% 30%, #c8231f 60%, transparent 70%), radial-gradient(2px 2px at 94% 18%, #c8231f 60%, transparent 70%),
    radial-gradient(4px 4px at 88% 88%, #c8231f 60%, transparent 70%), radial-gradient(2px 2px at 12% 92%, #c8231f 60%, transparent 70%),
    radial-gradient(3px 3px at 50% 2%, #c8231f 60%, transparent 70%), radial-gradient(2px 2px at 60% 99%, #c8231f 60%, transparent 70%); }
.stamp.is-down { animation: stamp .26s cubic-bezier(.3, 0, .4, 1) forwards; }
.stamp.is-down .ink { animation: specks .3s ease-out .12s forwards; }
.stamp.is-down::after { content: ""; position: absolute; inset: -6px; border: 2px solid rgba(200, 35, 31, .5); border-radius: 10px; animation: ring-out .3s ease-out .12s forwards; opacity: 0; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(2.2); } 46% { opacity: .95; transform: rotate(-12deg) scale(.94); } 100% { opacity: .9; transform: rotate(-12deg) scale(1); } }
@keyframes specks { 0% { opacity: 0; transform: scale(.7); } 50% { opacity: .9; } 100% { opacity: .75; transform: none; } }
@keyframes ring-out { 0% { opacity: .7; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.18); } }
html.still .stamp.is-down, html.still .stamp.is-down .ink { animation: none; opacity: .9; transform: rotate(-12deg); }
html.still .stamp.is-down .ink { transform: none; opacity: .75; }

/* ---------------------------------------------------------------- the steel panel: the side of a J&S box (page.md 5.5) */
.steel { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 22px 40px; align-items: center; min-height: 300px; color: #fff;
  padding: clamp(46px, 5vw, 64px) clamp(22px, 4.4vw, 56px) clamp(30px, 4vw, 48px); border-radius: 6px; outline: 2px solid #0e2a55; outline-offset: -2px;
  /* evening: the whole side a step darker, lit from the left (the last of the sky), falling off to the right; the ribs
     are top-hat channels: a lit left face, a flat top, a shaded right face and a soft cast shadow on the panel */
  background: linear-gradient(to top, rgba(40, 28, 18, .45), rgba(40, 28, 18, 0) 28%),
    linear-gradient(100deg, rgba(6, 14, 38, .06) 0%, rgba(6, 14, 38, .22) 45%, rgba(4, 10, 30, .42) 100%),
    linear-gradient(90deg, rgba(190, 215, 255, .2) 0 2px, rgba(150, 185, 240, .08) 2px 12px, rgba(5, 15, 40, .5) 12px 16px, rgba(5, 15, 40, .2) 16px 24px, rgba(5, 15, 40, 0) 34px) 0 0 / 196px 100%,
    url("../assets/page/page-steel-tile.webp?v=803cda8a") 0 0 / 512px 512px, #1f5fbf;
  box-shadow: 0 26px 40px -24px rgba(0, 0, 0, .8); }
@media (min-width: 900px) { .steel { grid-template-columns: 1fr auto; } }
@media (max-width: 899.98px) { .steel { background-size: auto, auto, 140px 100%, 512px 512px, auto; } }
.st-rail { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 22px; pointer-events: none;
  background: radial-gradient(3.5px 3.5px at 32px 11px, #8fb6ee 0 20%, #0e2a55 35% 95%, transparent 100%) 0 0 / 64px 22px repeat-x,
    linear-gradient(#5d93e6, #1f5fbf 40%, #174a92); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 6px rgba(5, 15, 40, .5); }
.st-rail::after { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 160px; opacity: .85;
  background: url("../assets/page/page-steel-rust.webp?v=a9e677f0") 13% 0 / auto 100% no-repeat, url("../assets/page/page-steel-rust.webp?v=a9e677f0") 51% 0 / auto 76% no-repeat, url("../assets/page/page-steel-rust.webp?v=a9e677f0") 83% 0 / auto 60% no-repeat; }
.st-glint { position: absolute; z-index: 2; left: 0; top: 0; width: 160px; height: 22px; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%); transform: translateX(-200px) skewX(-18deg); }
html:not(.still) .is-live.steel .st-glint, html:not(.still) .is-live .st-glint { animation: rail-glint 9s linear infinite 1s; }
@keyframes rail-glint { 0% { opacity: 1; transform: translateX(-200px) skewX(-18deg); } 12% { opacity: 1; transform: translateX(calc(100vw + 40px)) skewX(-18deg); } 12.1%, 100% { opacity: 0; transform: translateX(-200px) skewX(-18deg); } }
.st-decal { position: absolute; z-index: 1; right: 18px; top: 34px; display: grid; justify-items: center; padding: 8px 14px 7px; border-radius: 8px;
  background: linear-gradient(#12305a, #0b2341); box-shadow: inset 0 0 0 2px #c9d2dc, inset 0 0 0 4px #0b2341, 0 3px 6px rgba(0, 0, 0, .45); transform: rotate(-1deg); }
.st-decal b { font: 400 26px/1 var(--display); background: linear-gradient(#fff, #c9d2dc 55%, #8fa0b5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.st-decal b i { font-style: normal; -webkit-text-fill-color: #ff5b4e; }
.st-decal small { font: 800 9.5px/1.2 var(--text); letter-spacing: .2em; color: #ff5b4e; }
.st-copy { position: relative; z-index: 1; }
@media (max-width: 899.98px) { .steel { padding-top: 92px; } .st-decal { top: 30px; right: 14px; transform: rotate(-1deg) scale(.86); transform-origin: 100% 0; } }
.st-paint { position: relative; margin: 0 0 .35em; color: #f4f6fa; font-size: clamp(32px, 4.6vw, 54px); text-shadow: 0 0 2px rgba(244, 246, 250, .5), 0 0 10px rgba(244, 246, 250, .32), 0 0 22px rgba(220, 232, 250, .16), 0 2px 0 rgba(5, 15, 40, .35);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='1.1' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -9 6.2'/%3E%3C/filter%3E%3Crect width='60' height='60' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 60px 60px, 240% 100%; -webkit-mask-position: 0 0, 0 0; -webkit-mask-composite: source-in;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='1.1' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -9 6.2'/%3E%3C/filter%3E%3Crect width='60' height='60' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 60px 60px, linear-gradient(90deg, #000 45%, transparent 55%) 0 0 / 240% 100%;
  mask-composite: intersect; }
html.js:not(.still) .st-paint.reveal-spray:not(.is-in) { -webkit-mask-position: 0 0, 100% 0; mask-position: 0 0, 100% 0; }
html.js .st-paint.reveal-spray { transition: -webkit-mask-position .9s cubic-bezier(.4, .1, .4, 1), mask-position .9s cubic-bezier(.4, .1, .4, 1); }
.steel .lead { position: relative; z-index: 1; margin: 0; color: #fff; font-weight: 600; font-size: clamp(17px, 1.5vw, 19px); text-shadow: 0 1px 2px rgba(5, 15, 40, .5); }
.steel .btns { position: relative; z-index: 1; }
.steel .life { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
/* a pickup turning in: its headlights sweep the painted side now and then (warm, soft, screen) */
.st-sweep { position: absolute; z-index: 2; left: 0; top: 0; width: 38%; height: 100%; opacity: 0; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(98deg, rgba(255, 236, 200, 0) 12%, rgba(255, 236, 200, .08) 42%, rgba(255, 246, 228, .14) 50%, rgba(255, 236, 200, .08) 58%, rgba(255, 236, 200, 0) 88%); }
html:not(.still) .is-live .st-sweep { animation: st-sweep 12s ease-in-out infinite 2s; }
/* phones: the panel fills the screen and nothing moved in a 3 s window: the rail glint every ~4.5 s, a sweep every 6 s */
@media (max-width: 899.98px) { .st-sweep { filter: opacity(.8); } html:not(.still) .is-live .st-sweep { animation-duration: 6s; animation-delay: .8s; } html:not(.still) .is-live .st-glint { animation-duration: 4.5s; animation-delay: .3s; } }
@keyframes st-sweep { 0% { opacity: 0; transform: translateX(-110%); } 4% { opacity: 1; } 26% { opacity: 1; } 30%, 100% { opacity: 0; transform: translateX(290%); } }

/* ---------------------------------------------------------------- footer: the night yard (page.md 5.8; every page) */
.foot { position: relative; z-index: 1; color: #cfd8e6; }
/* the band grows with very wide screens (20vw = the panorama's own height when it spans 2200 su), so its top is never
   cut through the ridge, the pole and the lamp (2560 x 1080 cut 69 px of them before) */
.foot-land { position: relative; height: max(clamp(240px, 26vw, 400px), 20vw); overflow: hidden; container-type: size; pointer-events: none; }
/* the panorama (W_ref 2400 x 440 su): k = band height / 440 (never narrower than the screen), the light pole
   (x 1340) at 56% of the width on computers; bottom-aligned */
.fl-pano { --k: max(100cqh / 440, 100cqw / 2200); position: absolute; bottom: 0; height: calc(440 * var(--k)); width: calc(2400 * var(--k)); left: calc(56cqw - 1340 * var(--k)); }
/* phones: the page ends on the night yard. The links come first on the night sky; the yard (su 1080..2080: the sign,
   the pole and its owl, the whole rig with its box) is the last band, its gravel running on under the call bar */
@media (max-width: 899.98px) {
  .foot { display: flex; flex-direction: column; margin-bottom: calc(-1 * (var(--bar-h) + env(safe-area-inset-bottom))); }
  .foot .foot-ground { order: 1; background: none; padding-bottom: 6px; } /* .foot .x: the base rule below came later and won */
  .foot-land { order: 2; height: calc(44vw + var(--bar-h) + env(safe-area-inset-bottom)); }
  .foot-land::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--bar-h) + env(safe-area-inset-bottom) + 1px); background: #0a1024; }
  .fl-pano { --k: calc(44cqw / 440); bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); left: calc(50cqw - 1580 * var(--k)); }
}
.fl-pano .lyr { position: absolute; inset: 0; }
.fl-pano .pc, .fl-pano .pc img { display: block; width: 100%; height: 100%; }
.fl-ridge .pc { position: absolute; left: 0; top: 0; height: calc(320 * var(--k)); }
.fl-yard > .pc:first-of-type { position: absolute; left: 0; top: calc(20 * var(--k)); height: calc(420 * var(--k)); }
.fl-rig { position: absolute !important; left: calc(1390 * var(--k)); top: calc(260.6 * var(--k)); width: calc(670 * var(--k)) !important; height: auto !important; }
/* graded to night: the white pickup sits near 40% value at most (it read daylight-white on the dark yard) */
.fl-rig img { height: auto !important; }
/* the rig is graded to night in its file (build-pages bakes rig-bill-side-L-night.webp) */
/* the sodium light on the rig: a warm wash masked to the rig's own shape, falling off with distance from the lamp
   (up and to the left of the pickup's nose), the tops catching more of it than the sides; a cool moonlit edge on the
   roof and the box's top rail */
.fl-rig-lit { position: absolute; left: calc(1390 * var(--k)); top: calc(260.6 * var(--k)); width: calc(670 * var(--k)); aspect-ratio: 1106 / 216; mix-blend-mode: screen; opacity: .85;
  background: radial-gradient(75% 170% at -4% -55%, rgba(255, 176, 90, .5), rgba(255, 160, 80, .2) 38%, rgba(255, 150, 70, .05) 62%, rgba(255, 150, 70, 0) 80%),
    linear-gradient(rgba(159, 178, 216, .22), rgba(159, 178, 216, 0) 7%), linear-gradient(rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .1));
  /* the mask image itself comes inline from build-pages (the rig's sd file); here only how it lies (a shorthand with an
     undefined variable threw the whole declaration away: the rig image tiled at its own size lit the yard) */
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0; mask-position: 0 0; }
/* and the side away from the lamp falls off into the night: a multiply ramp on the rig's own shape (the pickup read
   near daylight-white along its whole length) */
.fl-rig-shade { position: absolute; left: calc(1390 * var(--k)); top: calc(260.6 * var(--k)); width: calc(670 * var(--k)); aspect-ratio: 1106 / 216; mix-blend-mode: multiply;
  background: linear-gradient(90deg, #f2f2f6 0 5%, #a9adc2 24%, #7d839e 42%, #6c728e 100%), linear-gradient(rgba(255, 255, 255, 0) 50%, rgba(40, 46, 70, .55));
  background-blend-mode: multiply;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0; mask-position: 0 0; }
.fl-pool { position: absolute; left: calc(1052 * var(--k)); top: calc(330 * var(--k)); width: calc(620 * var(--k)); height: calc(120 * var(--k)); border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 184, 94, .32), rgba(255, 170, 90, .1) 60%, rgba(255, 160, 80, 0)); }
/* the halo stays inside the band (lens at su 102, radius 100: its edge reaches su 2; at 130 the band's top edge cut it
   in a straight line at the owl's head) */
.fl-lamp { position: absolute; left: calc(1362 * var(--k)); top: calc(102 * var(--k)); width: calc(200 * var(--k)); height: calc(200 * var(--k)); margin: calc(-100 * var(--k)) 0 0 calc(-100 * var(--k));
  border-radius: 50%; mix-blend-mode: screen; background: radial-gradient(closest-side, rgba(255, 236, 200, .95) 0 3.9%, rgba(255, 184, 94, .55) 11.7%, rgba(255, 170, 90, .16) 44%, rgba(255, 162, 82, .04) 76%, rgba(255, 160, 80, 0) 100%);
  opacity: .3; filter: hue-rotate(-12deg); }
.foot.b-warm .fl-lamp, html:not(.js) .fl-lamp, html.still .fl-lamp { opacity: 1; filter: none; transition: opacity 1.5s ease-out, filter 1.5s ease-out; }
html:not(.still) .foot.b-warm .is-live .fl-lamp { animation: sodium 17s steps(1) 1.5s infinite; }
@keyframes sodium { 0%, 31%, 33%, 72%, 74%, 100% { opacity: 1; } 32% { opacity: .62; } 73% { opacity: .8; } }
.fl-cone { position: absolute; left: calc(1362 * var(--k)); top: calc(104 * var(--k)); width: calc(420 * var(--k)); height: calc(300 * var(--k)); margin-left: calc(-210 * var(--k));
  mix-blend-mode: screen; opacity: .7; background: linear-gradient(rgba(255, 196, 120, .42), rgba(255, 184, 94, .12) 70%, rgba(255, 184, 94, 0));
  /* a soft-edged shaft of light (no hard triangle): a conic mask from the lens, feathered on both sides */
  -webkit-mask: conic-gradient(from 146deg at 50% 0%, transparent 0deg, rgba(0, 0, 0, .55) 16deg, #000 34deg, rgba(0, 0, 0, .55) 52deg, transparent 68deg);
  mask: conic-gradient(from 146deg at 50% 0%, transparent 0deg, rgba(0, 0, 0, .55) 16deg, #000 34deg, rgba(0, 0, 0, .55) 52deg, transparent 68deg);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
/* lamps at night: gnats and specks of humid air catching the light. A fine grain (1-2 px specks, sparse, low contrast)
   only inside each light's own falloff and below the lamp, never over the paper and never above the fixture. (The old
   texture was fractal noise at a low frequency with a hard alpha threshold: it drew 20-40 px puffs that read as smoke or
   clouds; phase 3 fix round.) The clip lamp's bloom is a smooth falloff with no texture at all */
.pc-glow::after, .ck-glow::after { content: ""; position: absolute; inset: 0; opacity: .32;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='1' seed='13' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .88 0 0 0 0 .66 0 0 0 8 -5.9'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 128px 128px;
  -webkit-mask: radial-gradient(closest-side at 50% 58%, #000 20%, rgba(0, 0, 0, .45) 55%, transparent 85%), linear-gradient(transparent 34%, #000 52%);
  mask: radial-gradient(closest-side at 50% 58%, #000 20%, rgba(0, 0, 0, .45) 55%, transparent 85%), linear-gradient(transparent 34%, #000 52%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
html:not(.still) .is-live .pc-glow::after, html:not(.still) .is-live .ck-glow::after { animation: lamp-air 7s linear infinite; }
@keyframes lamp-air { to { background-position: -128px 128px; } }
/* the yard light's shaft: specks drifting down and across inside the cone only (the cone's mask no longer repeats
   above and beside it: its tiles drew a lit rectangle behind the pole with a straight top at the owl) */
.fl-cone::after { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: screen;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='144'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='1' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .88 0 0 0 0 .66 0 0 0 7 -4.9'/%3E%3C/filter%3E%3Crect width='144' height='144' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 144px 144px; }
html:not(.still) .foot .is-live .fl-cone::after { animation: shaft 8s linear infinite; } /* gnats move quickly */
@keyframes shaft { to { background-position: 144px 288px; } }
.fl-owl { position: absolute; left: calc(1308 * var(--k)); top: calc(26 * var(--k)); width: calc(30 * var(--k)); height: calc(44 * var(--k));
  background-position: 0 0; background-size: 400% 100%; background-repeat: no-repeat; }
html:not(.still) .foot .is-live .fl-owl { animation: owl 9s steps(1) infinite; }
@keyframes owl { 0%, 100% { background-position: 0 0; } 18% { background-position: 33.333% 0; } 34% { background-position: 66.667% 0; } 52% { background-position: 33.333% 0; } 66% { background-position: 0 0; } 70% { background-position: 100% 0; } 71.5% { background-position: 0 0; } }
.foot.b-owl .fl-owl { background-position: 0 0; }
.fl-grass .pc { position: absolute; left: 0; bottom: 0; top: auto; height: calc(70 * var(--k)); transform-origin: 50% 100%; }
/* phone crops (build-pages PHCROP): every phone sees su 1080..2080 of the night yard, so it loads su 1040..2120 only */
@media (max-width: 899.98px) { .fl-pano .fl-ridge .pc, .fl-pano .fl-yard > .pc:first-of-type, .fl-pano .fl-grass .pc { left: calc(1040 * var(--k)); width: calc(1080 * var(--k)); } }
html:not(.still) .foot .is-live .fl-grass .pc { animation: grass 4.4s ease-in-out infinite alternate; }
@keyframes grass { from { transform: skewX(-1.2deg); } to { transform: skewX(1.2deg); } }
.foot-land .life { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.fg-life { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.foot-ground > .wrap { position: relative; z-index: 1; }
.foot-ground { position: relative; margin-top: -1px; padding: 30px 0 calc(28px + env(safe-area-inset-bottom)); background: linear-gradient(#0a1024, #060a18 60%, #04070f); }
@media (min-width: 900px) { .foot-ground::before { content: ""; position: absolute; left: calc(56% - 380px); top: 0; width: 760px; height: 150px; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0, rgba(154, 122, 78, .22), rgba(106, 82, 54, .08) 55%, rgba(106, 82, 54, 0)); } }
.foot a { color: #fff; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot .brand .bi { width: 56px; }
.foot h2 { margin: 0 0 .5em; font-size: 20px; color: #fff; } /* H2 in the outline (they sat under each page's last H2), the same look as before */
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot ul a { display: inline-block; padding: 6px 0; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.foot p { margin: 0 0 .7em; }
.slogan-small { margin-top: 12px !important; font: 400 20px/1.2 var(--display); color: #ffe6b8; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(201, 210, 220, .14); font-size: 14px; }
.foot-bottom .mt-text { margin-left: auto; min-height: 40px; padding: 6px 14px; font-size: 14px; }

/* ---------------------------------------------------------------- sets, life canvases, still mode, tiers */
.set { position: relative; }
.pc { display: block; }
.pc img { display: block; width: 100%; height: auto; }
canvas.life { display: block; pointer-events: none; }
html:not(.scenery) canvas.life { visibility: hidden; }
/* CSS part loops run only while their set is on screen (.is-live), never in still mode (reduced motion, Pause) */
.set:not(.is-live) *, .set:not(.is-live) *::before, .set:not(.is-live) *::after { animation-play-state: paused !important; }
/* tier 0 keeps only the five cheapest loops (fan, rocker, polaroid sway, print sway, yard-light glow) and the stamp */
html.tier-0 .set :not(.pc-spin, .pc-rocker, .polaroid, .print, .fl-lamp, .stamp, .stamp span, .stamp .ink),
html.tier-0 .set :not(.pc-spin, .pc-rocker, .polaroid, .print, .fl-lamp, .stamp, .stamp span, .stamp .ink)::before,
html.tier-0 .set :not(.pc-spin, .pc-rocker, .polaroid, .print, .fl-lamp, .stamp, .stamp span, .stamp .ink)::after { animation: none !important; }

@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: .35s; }
::view-transition-new(root) { animation: vt-in .35s var(--ease) both; }
::view-transition-old(sky), ::view-transition-new(sky) { animation-duration: .45s; }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

@media print {
  /* the sundown band is decoration (aria-hidden); printed, its 100svh panorama blanked every page of the home print */
  .sundown { display: none !important; }
  .sky, .sky-cv, .head, .menu, .mbar, .motion-fab, .foot-land, canvas, .set .pc, .stamp, .cb-light, .cb-pen, .skip { display: none !important; }
  body { background: #fff !important; color: #000; padding: 0 !important; }
  .on-sky, .on-sky :is(h1, h2, h3, p, .lead, li, a) { color: #000 !important; text-shadow: none !important; }
  .sky-text::before { content: none; }
  .foot, .foot-ground { background: none !important; color: #000; }
  .foot a { color: #000; }
  /* p4: the sections after the ride printed blank (their text waits for a reveal or a beat that never comes on paper,
     and the sets' fixed aspect boxes held empty pages). On paper every block shows at once, the sets' art goes and
     their content (review cards, photo prints, polaroids, the steel panel's copy, the work order) prints in flow */
  .reveal, .reveal-roll, .reveal-drop, .reveal-spray, .index-card, .print, .polaroid, .faq, .section-head, .st-paint { opacity: 1 !important; transform: none !important; rotate: none !important; animation: none !important; transition: none !important; -webkit-mask: none !important; mask: none !important; }
  .porch, .vz-art, .vz-flap-art, .vz-strap, .ck-pool, .ck-warm, .ck-glow, .ck-lamp, .ck-key, .ck-pencil, .ck-chips, .pin, .ln-post, .ln-wire, .ln-eye, .ln-spare, .st-rail, .st-glint, .st-sweep, .st-decal, .wo-copy, .wo-corner, .cb-clip, .cb-bloom, .motion-toggle { display: none !important; }
  .visor, .vz-flap, .line-set, .ln-bounce, .ck-cards { position: static !important; aspect-ratio: auto !important; height: auto !important; min-height: 0 !important; display: flex !important; flex-wrap: wrap; gap: 12px; margin: 8px 0 !important; background: none !important; -webkit-mask: none !important; mask: none !important; }
  .polaroid, .print { position: static !important; width: 30% !important; padding: 6px !important; border: 1px solid #999; box-shadow: none !important; }
  .print .ph-photo, .polaroid .ph-photo { aspect-ratio: 4 / 3; height: auto !important; }
  .cork { border: 1px solid #999 !important; background: none !important; padding: 10px !important; margin-top: 10px !important; box-shadow: none !important; }
  .index-card { flex: 1 1 30%; min-height: 0 !important; border: 1px solid #bbb; box-shadow: none !important; background: #fff !important; }
  .steel { background: none !important; min-height: 0 !important; border: 1px solid #999; padding: 14px !important; }
  .steel, .steel * { color: #000 !important; text-shadow: none !important; }
  .clipboard { background: none !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; }
  .section { padding-block: 14px !important; min-height: 0 !important; }
  .section, .index-card, .print, .polaroid, details { break-inside: avoid; }
  ::details-content { content-visibility: visible !important; display: block !important; }
  .vz-flap { width: 100% !important; transform: none !important; left: auto !important; top: auto !important; }
  .foot * { color: #000 !important; }
}

/* page art drawn by CSS waits for html.page-art (site.js: at once on inner pages and in list mode; on the home page in
   pinned mode once #sundown is within two screens), so the ride's first visit fetches no page-layer bytes (page.md
   14.5). Without JS everything shows. */
html.js:not(.page-art) .sky .moon, html.js:not(.page-art) .steel, html.js:not(.page-art) .st-rail::after, html.js:not(.page-art) .sd-fog i, html.js:not(.page-art) .sd-glow::after, html.js:not(.page-art) .cork,
html.js:not(.page-art) .fl-owl { background-image: none !important; border-image: none !important; }
html.js:not(.page-art) :is(.fl-rig-lit, .fl-rig-shade) { visibility: hidden; -webkit-mask-image: none !important; mask-image: none !important; }
