/* css/home.css (page agent): the home page outside the ride. The hero's list-mode fallback and the two keyframes the
   sunrise's hero uses, then the evening at the J&S place, told in objects (page.md 5): the sundown band, the sun
   visor (About), the shop corkboard (Reviews), the clothesline (On the job), the porch (Questions) and the quote
   layout. Sets are laid out in their own set units (su) with container units, so they frame correctly with no
   script (no-JS, tier 0, reduced motion); js/scenery.js adds parallax, the scrub variables (--v) and the life. */

/* ---------------------------------------------------------------- hero (list mode; the sunrise owns the rest) */
.ride-copy.hero { color: #fff; }
html:not(.ride-on) .scene-ui .ride-copy.hero { background: linear-gradient(rgba(8, 24, 46, .35), rgba(8, 24, 46, 0) 60%); }
/* (p4 fix round) a phone on its side gets the list version: its hero ran 40 px under the call bar (the first screen
   ended mid-title). There the hero is two columns, the J&S DUMPSTERS lockup on the left and the title, slogan and
   buttons on the right, centred between the header and the call bar */
@media (max-width: 899.98px) and (max-height: 500px) and (orientation: landscape) {
  html:not(.ride-on) .scene-ui .ride-copy.hero { padding: calc(var(--head-h, 68px) + 6px) max(var(--gut, 16px), env(safe-area-inset-right)) calc(74px + env(safe-area-inset-bottom)) max(var(--gut, 16px), env(safe-area-inset-left)); }
  html:not(.ride-on) [data-scene="sunrise"] .hero-in { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(20px, 4vw, 40px); align-items: center; }
  html:not(.ride-on) [data-scene="sunrise"] .hero-in > * { grid-column: 2; }
  html:not(.ride-on) [data-scene="sunrise"] .hero-in > .eyebrow { grid-column: 1 / -1; justify-self: start; margin: 0 0 10px; padding: 6px 11px 5px; font-size: 12px; }
  html:not(.ride-on) [data-scene="sunrise"] .hero-in > .drop-word { grid-column: 1; grid-row: 2 / span 3; margin: 0; }
  html:not(.ride-on) [data-scene="sunrise"] .dw-big { font-size: clamp(64px, 19vh, 86px); }
  html:not(.ride-on) [data-scene="sunrise"] .dw-small { font-size: clamp(26px, 7.6vh, 34px); margin-top: 2px; }
  html:not(.ride-on) [data-scene="sunrise"] .hero-title { margin: 0 0 6px; }
  html:not(.ride-on) [data-scene="sunrise"] .h1-line { font-size: 19px; }
  html:not(.ride-on) [data-scene="sunrise"] .slogan { margin: 0 0 12px; font-size: 22px; }
  html:not(.ride-on) [data-scene="sunrise"] .btns { flex-wrap: nowrap; }
  html:not(.ride-on) [data-scene="sunrise"] .btn { min-height: 46px; white-space: nowrap; }
}
/* a smaller phone on its side (667 x 375): the two buttons don't fit beside the lockup; they run under both columns */
@media (max-width: 759.98px) and (max-height: 500px) and (orientation: landscape) {
  html:not(.ride-on) [data-scene="sunrise"] .hero-in > .drop-word { grid-row: 2 / span 2; }
  html:not(.ride-on) [data-scene="sunrise"] .hero-in > .btns { grid-column: 1 / -1; margin-top: 12px; }
  html:not(.ride-on) [data-scene="sunrise"] .slogan { margin-bottom: 0; }
}
@keyframes drop-in {
  0% { transform: translateY(-115vh) rotate(var(--r)); opacity: 1; }
  68% { transform: translateY(0) rotate(calc(var(--r) * -.12)); }
  84% { transform: translateY(-3%) rotate(calc(var(--r) * .05)); }
  100% { transform: none; }
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------------------------------------------------------- the sundown band (page.md 4.2, 5.1) */
/* 100svh + a fog tail: its opaque dusk covers the held haul frame for the whole overlap; the tail (where it
   dissolves into the fixed sky) lies past the stage's bottom edge (docs/scenes/page.md 2.4) */
.sundown { --tail: clamp(90px, 12svh, 160px); --v: .5; --dis: .40; position: relative; z-index: 4; height: max(calc(100vh + var(--tail)), 760px); height: max(calc(100svh + var(--tail)), 760px); pointer-events: none; }
@media (max-width: 899.98px) { .sundown { height: max(calc(100vh + var(--tail)), 560px); height: max(calc(100svh + var(--tail)), 560px); } }
@media screen and (prefers-reduced-motion: no-preference) and (min-height: 340px) and (min-width: 480px),
  screen and (prefers-reduced-motion: no-preference) and (min-height: 500.02px),
  screen and (prefers-reduced-motion: no-preference) and (min-height: 340px) and (orientation: portrait) {
  html.ride-on .sundown { margin-top: -100vh; margin-top: -100lvh; } /* the driveway stage is 100lvh tall (docs/drive/plan.md 2c) */
}
.set-sundown { position: absolute; inset: 0; overflow: hidden; container-type: size;
  -webkit-mask: linear-gradient(#000 calc(100% - var(--tail) * .9), transparent); mask: linear-gradient(#000 calc(100% - var(--tail) * .9), transparent); }
/* the band's own sky: the top 30% dissolves whatever the ride's last frame shows into dusk, then the dusk ramp */
/* the dissolve: while the band's own horizon is still below the ride's (band v < ~.32 on computers, ~.42 on phones),
   its top stays nearly opaque, so the ride's lit land never shows through above the band's ridge (two horizons); from
   there the ride's sky shows through at .40 (decision 26). Without scenery.js (--v .5) it is .40 */
/* phase 3: held at .95 a little longer (to v .33 computers / .30 phones), and while it is held the dissolve zone is
   short (--dz 16% of the band, growing to 30%): at v ~.2 the ride's own horizon and sun no longer show through it ~80 px
   above the band's treeline (two horizons) */
/* journey fix r2 (engine request P1): the ride's land now slides out of the frame before the band's top passes over it
   (from P ~8.4, v ~.14), so the top holds .95 only while the land crosses, then opens into a long soft dissolve: one sun
   setting behind the band's treeline at P ~8.85, no dark navy strip across the sky */
.sundown { --dis: clamp(.45, calc(.95 - (var(--v) - .15) * 8.33), .95); --dz: clamp(16%, calc(16% + (var(--v) - .15) * 300%), 34%); }
@media (max-width: 899.98px) { .sundown { --dis: clamp(.45, calc(.95 - (var(--v) - .15) * 8.33), .95); --dz: clamp(16%, calc(16% + (var(--v) - .15) * 300%), 34%); } }
.sd-back { position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(var(--s1-rgb), 0) 0%, rgba(var(--s1-rgb), var(--dis)) var(--dz, 30%), var(--s1) calc(var(--dz, 30%) + 18%), var(--s2) 58%, var(--s3) 72%, var(--s4) 86%, #3a2f50 100%); }
/* (finisher, Nov 17) the opaque s1 stop moved from dz + 8% to dz + 18%: it now lands on the band's far ridge instead of
   above it, so no dark navy strip with a paler ridge under it shows across the sky at P 8.85-9.05 */
html:not(.ride-on) .sd-back { background: linear-gradient(to bottom, rgba(var(--s1-rgb), 0) 0%, var(--s1) 22%, var(--s2) 50%, var(--s3) 68%, var(--s4) 84%, #3a2f50 100%); }
.sd-pano { --k: calc(100cqh / 900); position: absolute; bottom: 0; height: calc(900 * var(--k)); width: calc(2400 * var(--k)); left: calc(26cqw - 760 * var(--k)); }
/* phones: the land comes up sooner. The horizon (su 553) sits at 50% of the band (p4; it was 58%, and ~73% before that, when the band's first half
   screen was ~90% empty sky with the land behind the call bar), framed a little closer (k = W / 410: the pond, the road
   with the rig, the near cattle); the pano's last ~60 px below the fence lie in the band's foot fog and mask (scenery.js
   measures the same; at 52% a flat fog block showed under the grass) */
@media (max-width: 899.98px) { .sd-pano { --k: min(100cqh / 900, 100cqw / 410); left: calc(16cqw - 760 * var(--k)); bottom: auto; top: calc(50cqh - 553 * var(--k)); }
  /* the grass runs on under the fence to the band's foot (the fence piece ends on this colour) */
  .sd-pano::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 40cqh; background: #0b1128; } }
.sd-pano .lyr { position: absolute; inset: 0; }
.sd-pano .lyr > .pc { position: absolute; left: 0; width: 100%; }
.sd-pano .pc img { width: 100%; height: 100%; }
.sd-far > .pc { top: calc(300 * var(--k)); height: calc(290 * var(--k)); }
.sd-mid > .pc { top: calc(380 * var(--k)); height: calc(280 * var(--k)); }
.sd-past > .pc { top: calc(440 * var(--k)); height: calc(440 * var(--k)); }
.sd-fence > .pc { top: calc(680 * var(--k)); height: calc(220 * var(--k)); }
/* phone crops (build-pages PHCROP): a phone held upright sees su ~690..1110 of the band, so it loads only su 580..1320
   of the four strips, at the computer's sharpness */
@media (max-width: 899.98px) and (orientation: portrait) { .sd-pano .sd-far > .pc, .sd-pano .sd-mid > .pc, .sd-pano .sd-past > .pc, .sd-pano .sd-fence > .pc { left: calc(580 * var(--k)); width: calc(740 * var(--k)); } }
/* 1. the afterglow: two stacked radial gradients at the sun (x 760, y 450) crossfading with v, plus a warm band */
/* the journey ride sets its sun on the RIGHT (docs/journey/plan.md 5c), so the band's afterglow, its CSS sun and the
   sun canvas are shifted right by --sdx (the band's own width units): the sun lands at ~85% of the width, under the ride's sun (journey fix r2 request P1.2) */
.sd-glow { opacity: calc(1 - .45 * var(--v)); --sdx: 59cqw; }
@media (max-width: 899.98px) { .sd-glow { --sdx: 70cqw; } }
/* (p4 fix round, lag) the afterglow's slow breathing was a brightness filter on three glow layers up to 3,900 su wide
   (a filter pass over most of the screen on every frame); now only the warm band breathes, by opacity (no filter pass),
   and the two crossfading glows are their own layers (their scrubbed opacity changes without a repaint) */
.sd-glow .g1, .sd-glow .g2 { will-change: opacity; }
html:not(.still) .sundown .is-live .sd-glow .gband { animation: afterglow 8s ease-in-out infinite alternate; }
@keyframes afterglow { from { opacity: 1; } to { opacity: .8; } }
.sd-glow i { position: absolute; left: calc(-140 * var(--k) + var(--sdx, 0px)); top: calc(190 * var(--k)); width: calc(1800 * var(--k)); height: calc(520 * var(--k)); border-radius: 50%; }
.sd-glow .g1 { opacity: calc(1 - var(--v)); background: radial-gradient(closest-side, rgba(255, 243, 214, .95) 0%, rgba(255, 207, 122, .9) 6%, rgba(242, 154, 82, .7) 22%, rgba(196, 102, 78, .45) 45%, rgba(107, 74, 110, .25) 70%, rgba(107, 74, 110, 0) 100%); }
.sd-glow .g2 { opacity: var(--v); background: radial-gradient(closest-side, rgba(255, 228, 190, .85) 0%, rgba(242, 154, 82, .62) 6%, rgba(196, 102, 78, .5) 24%, rgba(130, 80, 110, .34) 48%, rgba(90, 63, 108, .2) 72%, rgba(90, 63, 108, 0) 100%); }
.sd-glow .gband { left: calc(-1200 * var(--k) + var(--sdx, 0px)); width: calc(3920 * var(--k)); top: calc(330 * var(--k)); height: calc(140 * var(--k));
  background: radial-gradient(closest-side, rgba(246, 198, 154, .35), rgba(246, 198, 154, .12) 60%, rgba(246, 198, 154, 0)); }
.sd-sun { position: absolute; left: calc(630 * var(--k) + var(--sdx, 0px)); top: calc(380 * var(--k)); width: calc(260 * var(--k)); height: calc(120 * var(--k)); }
/* the CSS sun (no canvas: tier 0, no JS, reduced motion): half set behind the far ridge */
/* (.sd-glow .sd-sun-css: the plain class lost to `.sd-glow i` above, so in still mode the sun was drawn 1800 x 520 su,
   a giant hard-edged peach ellipse; phase 3 fix round) */
.sd-glow .sd-sun-css { position: absolute; left: calc(734 * var(--k) + var(--sdx, 0px)); top: calc(419 * var(--k)); width: calc(52 * var(--k)); height: calc(52 * var(--k)); border-radius: 50%;
  background: radial-gradient(circle, #ffe2b8 0 34%, #ffbf86 56%, rgba(240, 140, 92, .55) 70%, rgba(232, 120, 80, 0) 74%); box-shadow: 0 0 calc(46 * var(--k)) calc(10 * var(--k)) rgba(255, 176, 114, .32); }
html.scenery:not(.still) .sd-sun-css { display: none; }
/* lights in the land (CSS, compositor-only): tower beacon, farmhouse windows by v, chimney smoke, far headlights */
.sd-l { position: absolute; left: calc(var(--x) * var(--k)); top: calc(var(--y) * var(--k)); width: 0; height: 0; }
.sd-l::before { content: ""; position: absolute; left: calc(var(--r) * var(--k) * -1); top: calc(var(--r) * var(--k) * -1); width: calc(var(--r) * var(--k) * 2); height: calc(var(--r) * var(--k) * 2); border-radius: 50%; }
.sd-beacon { --r: 7; }
.sd-beacon::before { background: radial-gradient(closest-side, #ffe2dc 0 14%, rgba(255, 59, 48, .9) 26%, rgba(255, 59, 48, .25) 55%, rgba(255, 59, 48, 0)); }
html:not(.still) .is-live .sd-beacon::before { animation: beacon 3s ease-in-out infinite; }
.sd-beacon.b2::before { animation-delay: -1.5s !important; }
@keyframes beacon { 0%, 100% { opacity: .2; } 35%, 55% { opacity: 1; } }
.sd-win { position: absolute; left: calc(var(--x) * var(--k)); top: calc(var(--y) * var(--k)); width: calc(var(--w) * var(--k)); height: calc(var(--h) * var(--k)); background: #ffcf8a;
  box-shadow: 0 0 calc(10 * var(--k)) calc(3 * var(--k)) rgba(255, 207, 138, .55); opacity: clamp(0, calc((var(--v) - .30) * 25), 1); }
.sd-win.tv { background: #8fb4ff; box-shadow: 0 0 calc(10 * var(--k)) calc(3 * var(--k)) rgba(143, 180, 255, .5); opacity: clamp(0, calc((var(--v) - .45) * 25), .75); }
html:not(.still) .is-live .sd-win.tv { animation: tv 2.3s steps(1) infinite; }
@keyframes tv { 0% { filter: brightness(1); } 13% { filter: brightness(.6) hue-rotate(-20deg); } 27% { filter: brightness(1.2); } 41% { filter: brightness(.75); } 58% { filter: brightness(1.05) hue-rotate(15deg); } 71% { filter: brightness(.55); } 86% { filter: brightness(.95); } }
.sd-win.up { opacity: clamp(0, calc((var(--v) - .62) * 25), .9); }
.sd-smoke { position: absolute; left: calc(var(--x) * var(--k)); top: calc(var(--y) * var(--k)); width: 0; height: 0; }
.sd-smoke i { position: absolute; left: calc(-7 * var(--k)); top: calc(-7 * var(--k)); width: calc(14 * var(--k)); height: calc(14 * var(--k)); border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(150, 146, 176, .55), rgba(150, 146, 176, 0)); }
html:not(.still) .is-live .sd-smoke i { animation: smoke 7s linear infinite; }
.sd-smoke i:nth-child(2) { animation-delay: -1.4s !important; } .sd-smoke i:nth-child(3) { animation-delay: -2.8s !important; } .sd-smoke i:nth-child(4) { animation-delay: -4.2s !important; } .sd-smoke i:nth-child(5) { animation-delay: -5.6s !important; }
html.still .sd-smoke i:nth-child(2), html:not(.js) .sd-smoke i:nth-child(2) { opacity: .3; transform: translate(calc(8 * var(--k)), calc(-14 * var(--k))) scale(1.6); }
@keyframes smoke { 0% { opacity: 0; transform: none; } 12% { opacity: .35; } 100% { opacity: 0; transform: translate(calc(25 * var(--k)), calc(-40 * var(--k))) scale(2.6); } }
.sd-cars { position: absolute; left: 0; top: calc(var(--y) * var(--k)); width: 100%; height: 0; overflow: visible; }
.sd-cars i { position: absolute; left: 0; top: 0; width: calc(5 * var(--k)); height: calc(5 * var(--k)); margin: calc(-2.5 * var(--k)) 0 0 calc(-2.5 * var(--k)); border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, #fff7e0 0 30%, rgba(255, 236, 190, .45) 60%, rgba(255, 236, 190, 0)); box-shadow: calc(4 * var(--k)) 0 0 0 rgba(255, 240, 210, .9); }
html:not(.still) .is-live .sd-cars i { animation: farcar 18s linear infinite; }
/* B14: a car's headlights on the road along the foot of the far woods, su 800 -> 1650 (in frame on computers and phones) */
@keyframes farcar { 0% { opacity: 0; transform: translateX(calc(800 * var(--k))); } 4% { opacity: .9; } 56% { opacity: .9; } 60%, 100% { opacity: 0; transform: translateX(calc(1650 * var(--k))); } }
/* 6. fog ribbons: CSS drift, alpha .25 -> .55 with v */
.sd-fog { opacity: clamp(.25, calc(.25 + (var(--v) - .35) * .545), .55); }
.sd-fog i { position: absolute; left: calc(-120 * var(--k)); right: calc(-120 * var(--k)); top: calc(600 * var(--k)); height: calc(120 * var(--k)); background: url("../assets/page/page-sundown-fog.webp?v=dd910d83") 0 0 / auto 100% repeat-x; }
@media (max-width: 899.98px) { .sd-fog i { background-image: url("../assets/page/sd/page-sundown-fog.webp?v=df4c34d8"); } }
.sd-fog .fog2 { top: calc(640 * var(--k)); height: calc(100 * var(--k)); opacity: .7; background-position: calc(900 * var(--k)) 0; transform: scaleX(-1); }
html:not(.still) .sundown .is-live .sd-fog .fog1 { animation: fogx 26s ease-in-out infinite alternate, fogo 11s ease-in-out infinite alternate; }
html:not(.still) .sundown .is-live .sd-fog .fog2 { animation: fogx2 34s ease-in-out infinite alternate; }
@keyframes fogx { from { transform: translateX(-1.5%); } to { transform: translateX(1.5%); } }
@keyframes fogx2 { from { transform: scaleX(-1) translateX(1.5%); } to { transform: scaleX(-1) translateX(-1.5%); } }
@keyframes fogo { from { opacity: 1; } to { opacity: .84; } }
/* 9. the foreground pines, pinned to the screen edges (left: computers only) */
.sd-pines { position: absolute; bottom: 0; }
.sd-pines .pc, .sd-pines .pc img { width: 100%; height: 100%; }
/* the wind in the pines: the crowns lean a few px about their base (the trunk base stays put) */
.sd-pines .pc { transform-origin: 50% 100%; }
html:not(.still) .sundown .is-live .sd-pines-l .pc { animation: pine-sway 7.2s ease-in-out infinite alternate; }
html:not(.still) .sundown .is-live .sd-pines-r .pc { animation: pine-sway 8.4s ease-in-out -3s infinite alternate-reverse; }
@keyframes pine-sway { 0% { transform: rotate(-.13deg); } 55% { transform: rotate(.05deg); } 100% { transform: rotate(.16deg); } }
.sd-pines-l { left: 0; height: 100%; aspect-ratio: 680 / 995; transform-origin: 0 100%; translate: -28% 0; }
.sd-pines-r { right: 0; height: 96%; aspect-ratio: 580 / 965; translate: 25% 0; }
@media (max-width: 899.98px) { .sd-pines-l { display: none; } .sd-pines-r { height: 72%; translate: 24% 0; } }
/* the band's foot: ground fog over the grass's base all the way down (it no longer fades back out above the band's own
   dissolve, which left a darker seam where the grass ended) */
.sd-fogfade { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(to bottom, rgba(var(--s3-rgb), 0), rgba(var(--s3-rgb), .8) 52%, rgba(var(--s3-rgb), .9)); }
.sundown canvas.life { position: absolute; left: 0; top: 0; }
/* banding guard: a faint blue-noise dither over the CSS afterglow (8-bit gradients step in the navies). p4 fix round
   (lag): a plain layer (page-sky-dither-a carries its own light and dark specks at their alpha) instead of an overlay
   blend under a gradient mask (two extra render passes over the band on every frame); it starts below the band's
   dissolve zone, where +-1 level of noise shows no edge */
.sd-glow::after { content: ""; position: absolute; left: 0; right: 0; top: 30%; bottom: 0; background: url("../assets/page/page-sky-dither-a.webp?v=fa100da4") 0 0 / 64px 64px; opacity: .012; pointer-events: none; }
/* the band's moving layers are made layers (and rasterised) before they arrive, not on the frame they first move */
html.page-art .sd-pano .lyr[data-f], html.page-art .sd-pines .pc { will-change: transform; }

/* ---------------------------------------------------------------- About: the sun visor (page.md 5.2) */
.about-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.about .btn { margin-top: 6px; }
/* the set: W_ref 600 x 460 su; u = 1 su */
.visor { --v: 1; position: relative; width: 100%; max-width: 600px; aspect-ratio: 600 / 460; container-type: inline-size; justify-self: center; }
@media (max-width: 899.98px) { .visor { max-width: 440px; } }
.visor .u { --u: calc(100cqw / 600); }
.vz-art, .vz-art > * { position: absolute; }
.vz-art { inset: 0; --u: calc(100cqw / 600); }
/* the cut-away cab dissolves into the sky (no hard rectangle edge: page.md 14.2): the headliner's top and the glass's
   right and bottom edges fade; the A-pillar's foot fades with the dusty glass */
.vz-art { -webkit-mask: linear-gradient(to right, transparent, #000 4%, #000 86%, transparent 100%), linear-gradient(transparent, #000 7%, #000 86%, transparent 100%); -webkit-mask-composite: source-in;
  mask: linear-gradient(to right, transparent, #000 4%, #000 86%, transparent 100%), linear-gradient(transparent, #000 7%, #000 86%, transparent 100%); mask-composite: intersect; }
.vz-cab { inset: 0; }
.vz-cab img { width: 100%; height: 100%; }
/* glare: a soft streak sweeping the glass every 8 s */
.vz-glare { left: calc(140 * var(--u)); top: calc(150 * var(--u)); width: calc(320 * var(--u)); opacity: 0; mix-blend-mode: screen; filter: opacity(.55); }
html:not(.still) .is-live .vz-glare { animation: glare 8s ease-in-out infinite 1.2s; }
@keyframes glare { 0% { opacity: 0; transform: translate(calc(-200 * var(--u)), calc(120 * var(--u))) rotate(-28deg); } 4% { opacity: 1; } 20% { opacity: 1; transform: translate(calc(260 * var(--u)), calc(-60 * var(--u))) rotate(-28deg); } 22%, 100% { opacity: 0; transform: translate(calc(260 * var(--u)), calc(-60 * var(--u))) rotate(-28deg); } }
/* a car's headlights flash across the mirror glass (every 14 s) */
.vz-flash { left: calc(395 * var(--u)); top: calc(56 * var(--u)); width: calc(70 * var(--u)); height: calc(26 * var(--u)); border-radius: 40%; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 236, 200, .9), rgba(255, 210, 150, .25) 60%, rgba(255, 210, 150, 0)); }
html:not(.still) .is-live .vz-flash { animation: mflash 14s ease-in-out infinite 3s; }
/* a car passing on the road outside: its headlights sweep across the headliner and the visor, right to left */
.vz-sweep { position: absolute; left: 0; top: 0; width: 46%; height: 100%; opacity: 0; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 236, 200, 0) 18%, rgba(255, 236, 200, .12) 45%, rgba(255, 244, 222, .2) 52%, rgba(255, 236, 200, 0) 82%); }
html:not(.still) .is-live .vz-sweep { animation: vz-sweep 7s ease-in-out infinite 2s; }
@media (max-width: 899.98px) { html:not(.still) .is-live .vz-sweep { animation-duration: 13s; } .vz-sweep { filter: opacity(.6); } }
@keyframes vz-sweep { 0% { opacity: 0; transform: translateX(240%); } 4% { opacity: 1; } 34% { opacity: 1; } 38%, 100% { opacity: 0; transform: translateX(-120%); } }
/* dust in the cab, drifting through the last light in the glass */
.vz-dust { position: absolute; left: 12%; top: 30%; width: 80%; height: 60%; pointer-events: none; mix-blend-mode: screen; opacity: .8;
  background: radial-gradient(1.4px 1.4px at 12% 20%, rgba(255, 226, 190, .9), transparent 2px), radial-gradient(1px 1px at 34% 62%, rgba(255, 226, 190, .8), transparent 1.6px),
    radial-gradient(1.6px 1.6px at 58% 30%, rgba(255, 220, 180, .85), transparent 2.2px), radial-gradient(1.2px 1.2px at 76% 74%, rgba(255, 226, 190, .8), transparent 1.8px),
    radial-gradient(1px 1px at 88% 16%, rgba(255, 226, 190, .7), transparent 1.6px), radial-gradient(1.3px 1.3px at 22% 84%, rgba(255, 220, 180, .7), transparent 2px),
    radial-gradient(1px 1px at 46% 8%, rgba(255, 226, 190, .7), transparent 1.6px), radial-gradient(1.5px 1.5px at 66% 50%, rgba(255, 226, 190, .75), transparent 2px);
  background-size: 180px 140px; }
html:not(.still) .about .is-live .vz-dust { animation: vz-dust 16s linear infinite; }
@keyframes vz-dust { from { background-position: 0 0; } to { background-position: -180px -140px; } }
@keyframes mflash { 0%, 100% { opacity: 0; transform: translateX(calc(-18 * var(--u))); } 2% { opacity: .9; } 4.3% { opacity: 0; transform: translateX(calc(18 * var(--u))); } }
/* the air freshener on its string: pendulum + twist; a decaying swing when the visor lands */
.vz-fresh { left: calc(480 * var(--u)); top: calc(90 * var(--u)); width: calc(40 * var(--u)); transform-origin: 50% 0; }
.vz-fresh .pc { width: 100%; }
html:not(.still) .is-live .vz-fresh { animation: fresh 2.1s ease-in-out infinite alternate; }
html:not(.still) .about.b-land .is-live .vz-fresh { animation: fresh-land 3s ease-out 1, fresh 2.1s ease-in-out 3s infinite alternate; }
@keyframes fresh { from { transform: rotate(-2.4deg) scaleX(.94); } to { transform: rotate(2.4deg) scaleX(1); } }
@keyframes fresh-land { 0% { transform: rotate(9deg); } 17% { transform: rotate(-7deg); } 34% { transform: rotate(5.2deg); } 51% { transform: rotate(-3.8deg); } 68% { transform: rotate(3deg); } 85% { transform: rotate(-2.6deg); } 100% { transform: rotate(-2.4deg) scaleX(.94); } }
/* the visor flap: hinge at (70, 64), 380 x 170; flips down with the scroll (--v, about v .10 -> .30) */
.vz-flap { --u: calc(100cqw / 600); position: absolute; left: calc(70 * var(--u)); top: calc(64 * var(--u)); width: calc(380 * var(--u)); height: calc(170 * var(--u)); transform-origin: 50% 0;
  transform: perspective(calc(900 * var(--u))) rotateX(calc(clamp(-78, (var(--v) - .3) * 390, 0) * 1deg)); }
.vz-flap-art { position: absolute; inset: 0; }
.vz-flap-art img { width: 100%; height: 100%; }
.vz-strap { position: absolute; left: 0; top: calc(52 * var(--u)); width: 100%; z-index: 2; }
.polaroid { position: absolute; z-index: 1; top: calc(30 * var(--u)); width: calc(150 * var(--u)); margin: 0; padding: calc(10 * var(--u)) calc(10 * var(--u)) 0; background: #f3efe6;
  transform-origin: 50% calc(30 * var(--u)); transform: rotate(var(--tilt)); border-radius: 2px;
  box-shadow: inset 2px 0 0 rgba(255, 190, 140, .25), 0 calc(6 * var(--u)) calc(12 * var(--u)) rgba(6, 8, 14, .55), 0 1px 1px rgba(0, 0, 0, .35); }
.polaroid:nth-of-type(1) { left: calc(22 * var(--u)); }
.polaroid:nth-of-type(2) { left: calc(204 * var(--u)); }
.polaroid .ph-photo { position: relative; aspect-ratio: 1; padding: 6px; border-width: 2px; font-size: max(11px, calc(14 * var(--u))); }
.polaroid .ph-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(255, 176, 122, .16), transparent 40%); }
.polaroid figcaption { display: grid; padding: calc(8 * var(--u)) 0 calc(10 * var(--u)); text-align: center; color: #24324a; text-shadow: none; }
.polaroid figcaption b { font: 400 max(15px, calc(22 * var(--u)))/1.05 var(--display); color: var(--navy); }
.polaroid figcaption > span { font: italic 600 max(11.5px, calc(14 * var(--u)))/1.3 var(--text); }
.polaroid figcaption .ph { font-style: normal; font-size: max(11px, calc(13 * var(--u))); }
html:not(.still) .about .is-live .polaroid { animation: pola 5.2s ease-in-out infinite alternate var(--ph); }
html:not(.still) .about .is-live .polaroid:nth-of-type(2) { animation-duration: 6.1s; }
html:not(.still) .about.b-land .is-live .polaroid { animation: pola-land .9s ease-out 1, pola 5.2s ease-in-out .9s infinite alternate; }
/* a polaroid tucked under the strap only stirs: tilt <-> .7 tilt (page.md V2's tilt <-> -.6 tilt swung 8 degrees) */
/* computers stir a little more (the visor sat nearly still at idle); phones keep the smaller stir (the prints fill the screen) */
@keyframes pola { from { transform: rotate(var(--tilt)); } to { transform: rotate(calc(var(--tilt) * var(--stir, .5))); } }
@media (max-width: 899.98px) { .polaroid { --stir: .7; } }
@keyframes pola-land { 0% { transform: rotate(calc(var(--tilt) + 6deg)); } 40% { transform: rotate(calc(var(--tilt) - 3deg)); } 70% { transform: rotate(calc(var(--tilt) + 1.5deg)); } 100% { transform: rotate(var(--tilt)); } }

/* ---------------------------------------------------------------- Reviews: the shop corkboard (page.md 5.3) */
.cork { position: relative; isolation: isolate; margin-top: 70px; padding: 74px 30px 34px; border: 26px solid #9c6a35;
  border-image: url("../assets/page/page-cork-frame.webp?v=7f7c29f9") 28 round;
  background: url("../assets/page/page-cork-tile.webp?v=9d6faa1e") 0 0 / 128px 128px, #c49a6c; box-shadow: inset 0 0 80px rgba(20, 12, 4, .55), 0 30px 50px -28px rgba(0, 0, 0, .85); }
@media (max-width: 899.98px) { .cork { padding: 60px 14px 22px; border-width: 18px; margin-top: 60px; } }
.ck-pool { position: absolute; z-index: 0; left: 8%; right: 8%; top: -10px; height: 70%; pointer-events: none; mix-blend-mode: soft-light; opacity: 0;
  background: radial-gradient(60% 75% at 50% 0%, rgba(255, 207, 138, .95), rgba(255, 207, 138, .35) 50%, rgba(255, 207, 138, 0)); }
.ck-glow { position: absolute; z-index: 3; left: 50%; top: -52px; width: 340px; height: 200px; margin-left: -170px; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(40% 36% at 50% 34%, rgba(255, 224, 170, .7), rgba(255, 207, 138, .2) 50%, rgba(255, 207, 138, 0)); }
.reviews.b-light .ck-pool, .reviews.b-light .ck-glow, html:not(.js) :is(.ck-pool, .ck-glow), html.still :is(.ck-pool, .ck-glow) { opacity: 1; }
html:not(.still) .reviews.b-light .ck-pool, html:not(.still) .reviews.b-light .ck-glow { animation: barn-on .92s steps(1) 1 both, barn 17s steps(1) .92s infinite; }
html:not(.still) .reviews.b-light .ck-glow { animation: barn-on .92s steps(1) 1 both, barn 17s steps(1) .92s infinite, breathe6 6s ease-in-out .92s infinite alternate; }
@keyframes barn-on { 0% { opacity: 0; } 10% { opacity: 1; } 24% { opacity: 0; } 34% { opacity: 1; } 44% { opacity: .1; } 52%, 100% { opacity: 1; } }
@keyframes barn { 0%, 28%, 31%, 61%, 63%, 86%, 89%, 100% { opacity: 1; } 29% { opacity: .55; } 62% { opacity: .7; } 87% { opacity: .55; } }
@keyframes breathe6 { from { transform: scale(1); } to { transform: scale(1.04); } }
.ck-lamp { position: absolute; z-index: 4; left: 50%; top: -112px; width: 220px; margin-left: -110px; pointer-events: none; }
.ck-key { position: absolute; z-index: 2; left: 18px; bottom: 6px; width: 60px; transform: rotate(-12deg); }
.ck-pencil { position: absolute; z-index: 2; right: -8px; top: 58%; width: 150px; transform: rotate(-4deg); }
.ck-chips { position: absolute; z-index: 2; right: 26px; top: 14px; width: 70px; transform: rotate(6deg); }
@media (max-width: 899.98px) { .ck-key, .ck-chips { display: none; } .ck-pencil { width: 110px; top: auto; bottom: -4px; right: -6px; } .ck-lamp { top: -88px; width: 180px; margin-left: -90px; } }
.ck-cards { position: relative; z-index: 1; display: grid; gap: 30px 26px; }
@media (min-width: 900px) { .ck-cards { grid-template-columns: repeat(3, 1fr); } }
.index-card { position: relative; margin: 0; padding: 30px 20px 18px; min-height: 230px; color: #1d3f8f; transform: rotate(var(--tilt)); transform-origin: 50% 8px;
  background: linear-gradient(transparent 33px, #e05a5a 33px 34.5px, transparent 34.5px), repeating-linear-gradient(transparent 0 25px, #9ec3ea 25px 26px) 0 34px / 100% calc(100% - 34px) no-repeat, #ece8dd;
  box-shadow: 0 10px 18px -10px rgba(20, 10, 0, .6), 0 1px 1px rgba(20, 10, 0, .3); }
@media (max-width: 899.98px) { .index-card { transform: rotate(var(--pt)); min-height: 0; } }
.index-card .pin { position: absolute; left: 50%; top: -6px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .9) 0 12%, rgba(255, 255, 255, 0) 30%), var(--pin);
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .35), 2px 3px 2px rgba(20, 10, 0, .45); }
.index-card .pin::after { content: ""; position: absolute; left: 9px; top: 12px; width: 2px; height: 6px; border-radius: 1px; background: rgba(40, 24, 8, .35); transform: rotate(-30deg); }
.pin-blue { --pin: radial-gradient(circle at 50% 60%, #4a8be0, #2f7be0 55%, #1b4f9a); }
.pin-white { --pin: radial-gradient(circle at 50% 60%, #ffffff, #e9edf0 55%, #b9c2cc); }
.pin-silver { --pin: radial-gradient(circle at 50% 60%, #e8edf2, #b8c2cc 55%, #7c8794); }
/* until real reviews are in, the rating is a placeholder too (no stars that were never given) */
.stars-ph { margin: 0 0 12px; font: 700 14px/1.3 var(--text); }
.index-card .stars-ph { color: #3c4a5c; text-shadow: none; } /* paper ink (the sky text colour was white on the card) */
.stars-5 { display: flex; gap: 3px; margin: 0 0 12px; position: relative; overflow: hidden; width: max-content; }
.stars-5 i { width: 22px; height: 22px; background: linear-gradient(160deg, #f7d36a, #e2b44a 50%, #c9952c);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars-5 i:nth-child(2n) { transform: rotate(6deg); } .stars-5 i:nth-child(3n) { transform: rotate(-5deg); }
.stars-5::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .95) 50%, transparent 65%); transform: translateX(-100%); }
html:not(.still) .reviews.b-glint .is-live .stars-5::after { animation: sticker 9s linear infinite; animation-delay: calc(var(--k, 0) * 2s); }
.index-card:nth-child(2) { --k: 1; } .index-card:nth-child(3) { --k: 2; }
@keyframes sticker { 0% { opacity: 1; transform: translateX(-100%); } 6.7% { opacity: 1; transform: translateX(100%); } 6.8%, 100% { opacity: 0; } }
html:not(.still) .reviews.b-glint .is-live .index-card .pin { animation: pin-glint 9s steps(1) infinite; animation-delay: calc(var(--k, 0) * 2s + .3s); }
@keyframes pin-glint { 0%, 3%, 100% { filter: none; } 1% { filter: brightness(1.5); } }
.index-card blockquote { margin: 0 0 14px; font: 500 18px/26px var(--text); color: #1d3f8f; }
.index-card .ph { border-color: rgba(29, 63, 143, .7); background: rgba(242, 179, 61, .18); }
.index-card figcaption { font: 700 15px/26px var(--text); color: #3c4a5c; text-shadow: none; }
html.js:not(.still) .reviews:not(.b-pin) .index-card { opacity: 0; transform: translateY(-18px) rotate(calc(var(--tilt) + 3deg)); }
html.js .reviews.b-pin .index-card { transition: opacity .38s ease-out var(--d), transform .38s var(--ease) var(--d); }
html.js:not(.still) .reviews.b-pin .index-card .pin { animation: rv-pin .16s ease-out calc(var(--d) + .3s) both; }
html:not(.still) .reviews.b-pin .is-live .index-card { animation: card-stir 7s ease-in-out infinite alternate calc(var(--d) * 9 + .4s); }
@keyframes card-stir { from { rotate: -.9deg; } to { rotate: .9deg; } }
/* phones: the cards fill the screen, so they only stir (the share went over the 6% line) */
@media (max-width: 899.98px) { html:not(.still) .reviews.b-pin .is-live .index-card { animation-name: card-stir-sm; } @keyframes card-stir-sm { from { rotate: -.3deg; } to { rotate: .3deg; } } }
.cork .life { position: absolute; z-index: 5; left: 0; top: -120px; width: 100%; height: 320px; }
/* the barn light over the cards (above them): the lower corners and the far cards fall into the blue hour (multiply),
   the cards' top halves near the lamp warm up (soft-light); the light breathes with the lamp (C1) */
.cork::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: multiply;
  background: radial-gradient(70% 95% at 50% -6%, rgba(255, 255, 255, 0) 0 52%, rgba(150, 156, 196, .12) 80%, rgba(118, 124, 170, .34) 100%); } /* ink on the cards stays >= 8:1 */
.ck-warm { position: absolute; z-index: 2; left: 14%; right: 14%; top: -20px; height: 62%; pointer-events: none; mix-blend-mode: soft-light; opacity: 0;
  background: radial-gradient(55% 70% at 50% 0%, rgba(255, 214, 150, .85), rgba(255, 207, 138, .3) 55%, rgba(255, 207, 138, 0)); }
.reviews.b-light .ck-warm, html:not(.js) .ck-warm, html.still .ck-warm { opacity: 1; }
html:not(.still) .reviews.b-light .is-live .ck-warm { animation: barn-on .92s steps(1) 1 both, barn 17s steps(1) .92s infinite, ck-breath 6s ease-in-out .92s infinite alternate; }
@keyframes ck-breath { from { filter: brightness(1); } to { filter: brightness(.76); } }
.cork-more { margin: 26px 0 0; }

/* ---------------------------------------------------------------- On the job: the clothesline (page.md 5.4) */
/* desktop: two wires across the wrap (W_ref 1180 su), 3 prints each at 18 / 50 / 82% of the span; sag 5%;
   phone: three wires (W_ref 400 su), 2 prints each (44% wide) at 26 / 74%; sag 4%. Each print's top edge lies along the
   wire (its full tangent there, + a small seeded tilt), just under it, so the wire reads post to post */
.line-set { --u: calc(100cqw / 1180); position: relative; aspect-ratio: 1180 / 640; container-type: inline-size; margin-top: 10px; }
.ln-wire { position: absolute; left: 0; width: 100%; height: calc(var(--sag) * var(--u)); overflow: visible; fill: none; }
.ln-wire path { vector-effect: non-scaling-stroke; stroke-linecap: round; }
.ln-wire .w2 { stroke: #8f99a4; stroke-width: 2.6; }
.ln-wire .w1 { stroke: #f2f5f9; stroke-width: 1.2; transform: translateY(-.7px); opacity: 1; }
.ln-wire { --sag: 59; } .ln-wire:nth-of-type(1) { top: calc(40 * var(--u)); } .ln-wire:nth-of-type(2) { top: calc(330 * var(--u)); } .ln-wire:nth-of-type(3) { display: none; }
/* the wires draw in post to post with a clip wipe (a dash-based draw-in with pathLength 1 + non-scaling-stroke drew the
   wire as ~100 px dashes in Chrome, so the spare pins and the cardinal hung in mid-air: phase 3 fix round) */
.ln-wire { clip-path: inset(-24px -2px -24px -2px); transition: clip-path .7s ease-out; }
html.js:not(.still) .photos:not(.b-wires) .ln-wire { clip-path: inset(-24px 100% -24px -2px); }
.ln-wire:nth-of-type(2) { transition-delay: .15s; }
.ln-post { position: absolute; top: calc(10 * var(--u)); width: calc(70 * var(--u)); z-index: 1;
  -webkit-mask: linear-gradient(#000 75%, transparent); mask: linear-gradient(#000 75%, transparent); }
.ln-l { left: calc(-66 * var(--u)); } .ln-r { right: calc(-66 * var(--u)); }
.print { position: absolute; z-index: 2; margin: 0; width: calc(266 * var(--u)); padding: calc(10 * var(--u)); background: #eef0f4; transform-origin: 50% 0;
  box-shadow: inset 0 1px 0 rgba(207, 224, 255, .9), 0 calc(12 * var(--u)) calc(18 * var(--u)) -6px rgba(3, 6, 20, .65); rotate: var(--rot); }
.print .ph-photo { aspect-ratio: 280 / 210; font-size: max(12px, calc(16 * var(--u))); border-radius: 1px; }
.print .pin { position: absolute; left: 50%; top: calc(-20 * var(--u)); width: calc(16 * var(--u)); margin-left: calc(-8 * var(--u)); z-index: 3; }
/* each print's top edge sits just under the wire at its own x (18 / 50 / 82% of the span), so the wire runs in view from
   post to post and the pin grips both */
.print:nth-of-type(1) { left: calc(79 * var(--u)); top: calc((40 + 34.8 + 2) * var(--u)); --rot: 7deg; }
.print:nth-of-type(2) { left: calc(457 * var(--u)); top: calc((40 + 59 + 2) * var(--u)); --rot: -.3deg; }
.print:nth-of-type(3) { left: calc(835 * var(--u)); top: calc((40 + 34.8 + 2) * var(--u)); --rot: -7.2deg; }
.print:nth-of-type(4) { left: calc(79 * var(--u)); top: calc((330 + 34.8 + 2) * var(--u)); --rot: 7.4deg; }
.print:nth-of-type(5) { left: calc(457 * var(--u)); top: calc((330 + 59 + 2) * var(--u)); --rot: .4deg; }
.print:nth-of-type(6) { left: calc(835 * var(--u)); top: calc((330 + 34.8 + 2) * var(--u)); --rot: -7deg; }
@media (max-width: 899.98px) {
  .line-set { --u: calc(100cqw / 400); aspect-ratio: 400 / 580; }
  .ln-wire { --sag: 16; } .ln-wire:nth-of-type(1) { top: calc(24 * var(--u)); } .ln-wire:nth-of-type(2) { top: calc(208 * var(--u)); } .ln-wire:nth-of-type(3) { display: block; top: calc(392 * var(--u)); }
  .ln-wire:nth-of-type(3) { transition-delay: .3s; }
  .ln-post { display: none; }
  /* phones: two prints a wire, 44% wide, the wire in view on both sides and between them, an eye bolt at each edge */
  .print { width: calc(170 * var(--u)); padding: calc(7 * var(--u)); }
  .print .pin { top: calc(-17 * var(--u)); width: calc(13 * var(--u)); margin-left: calc(-6.5 * var(--u)); }
  .print:nth-of-type(odd) { left: calc(18 * var(--u)); --rot: 4.4deg; } .print:nth-of-type(even) { left: calc(212 * var(--u)); --rot: -4.4deg; }
  .print:nth-of-type(1), .print:nth-of-type(2) { top: calc((24 + 12.3 + 1.5) * var(--u)); }
  .print:nth-of-type(3), .print:nth-of-type(4) { top: calc((208 + 12.3 + 1.5) * var(--u)); }
  .print:nth-of-type(5), .print:nth-of-type(6) { top: calc((392 + 12.3 + 1.5) * var(--u)); }
  .ln-eye { display: block; z-index: 3; } .ln-eye.l { left: 3px; } .ln-eye.r { right: 3px; left: auto; margin: -4px; }
  .print:nth-of-type(3) { --rot: 4deg; } .print:nth-of-type(6) { --rot: -4.8deg; }
}
/* spare clothespins left clipped on the wire between prints (computers; the wire's height and tangent at their x) */
.ln-spare { position: absolute; z-index: 2; left: calc((var(--x) - 8) * var(--u)); top: calc((var(--wy) - 13) * var(--u)); width: calc(16 * var(--u)); rotate: var(--r); transform-origin: 50% 28%; }
.ln-spare .pc, .ln-spare img { display: block; width: 100%; height: auto; }
@media (max-width: 899.98px) { .ln-spare { display: none; } }
html.js:not(.still) .photos:not(.b-clip) .ln-spare { opacity: 0; }
html.js .photos.b-clip .ln-spare { transition: opacity .5s ease-out .5s; }
.ln-eye { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; border: 2px solid #9aa3ab; display: none; }
html.js:not(.still) .photos:not(.b-clip) .print { opacity: 0; transform: translateY(-24px); }
html.js .photos.b-clip .print { animation: clip-on .9s ease-out both calc(var(--k) * 90ms); }
@keyframes clip-on { 0% { opacity: 0; transform: translateY(-24px); } 30% { opacity: 1; transform: rotate(5deg); } 55% { transform: rotate(-3deg); } 78% { transform: rotate(1.5deg); } 100% { transform: none; } }
html:not(.still) .photos.b-clip .is-live .print { animation: clip-on .9s ease-out both calc(var(--k) * 90ms), print-sway var(--sw, 5s) ease-in-out calc(.9s + var(--k) * 90ms) infinite alternate; }
/* L4: each clothespin wobbles a little behind its print's swing (0.15 s later; computers) */
@media (min-width: 900px) { html:not(.still) .photos.b-clip .is-live .print .pin { transform-origin: 50% 40%; animation: pin-wobble var(--sw, 5s) ease-in-out calc(1.05s + var(--k) * 90ms) infinite alternate; } }
@keyframes pin-wobble { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } }
.print:nth-of-type(1) { --sw: 4.6s; } .print:nth-of-type(2) { --sw: 5.1s; } .print:nth-of-type(3) { --sw: 5.7s; } .print:nth-of-type(4) { --sw: 6.2s; } .print:nth-of-type(5) { --sw: 4.9s; } .print:nth-of-type(6) { --sw: 5.4s; }
@keyframes print-sway { from { transform: rotate(-.7deg); } to { transform: rotate(.7deg); } }
html:not(.still) .photos .is-live .ln-bounce { animation: wire-bounce 5s ease-in-out infinite alternate; }
@keyframes wire-bounce { from { transform: translateY(-.6px); } to { transform: translateY(.6px); } }
/* phones: the prints fill the screen, so they only stir (idle share stays in budget) */
@media (max-width: 899.98px) { html:not(.still) .photos .is-live .ln-bounce { animation: none; } @keyframes print-sway { from { transform: rotate(-.35deg); } to { transform: rotate(.35deg); } } }
.ln-bounce { position: absolute; inset: 0; }
.line-set .life { position: absolute; z-index: 4; inset: -40px 0 0 0; width: 100%; height: calc(100% + 40px); }

/* ---------------------------------------------------------------- Sizes band */
.sizes-band { padding-top: clamp(36px, 4vw, 54px); padding-bottom: clamp(36px, 4vw, 54px); }

/* ---------------------------------------------------------------- Questions on the porch (page.md 5.6) */
.faq-grid { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; } .faq-grid .section-head { grid-column: 1; } .faq-grid .faq { grid-column: 1; } .porch { grid-column: 2; grid-row: 1 / span 2; } }
.porch { --v: 1; position: relative; width: 100%; max-width: 520px; aspect-ratio: 520 / 640; container-type: inline-size; justify-self: end; }
/* page.md 5.6's radial (120% 110%) left the ceiling, the wall and the boards ending in hard straight edges; every edge
   dissolves into the evening sky (14.2: no hard rectangle edges on vignettes). p4 fix round: the straight fades read as
   a pasted panel, so on computers the picture's own mask (page-porch-mask: an uneven, low-frequency outline kept well
   inside the box; the railing and the azalea past it held to the edge) replaces them, and the railing and the azalea run on past the
   right edge (page-porch-edge, not masked) and thin out into the night. The straight fades stay until the mask has
   come (html.page-art) and on phones (a full-width strip: only its top and foot fade) */
@media (min-width: 900px) {
  .porch .pc-stage { -webkit-mask: linear-gradient(to right, transparent, #000 10%, #000 89%, transparent), linear-gradient(transparent, #000 8%, #000 86%, transparent); -webkit-mask-composite: source-in;
    mask: linear-gradient(to right, transparent, #000 10%, #000 89%, transparent), linear-gradient(transparent, #000 8%, #000 86%, transparent); mask-composite: intersect; }
  html.page-art .porch .pc-stage, html:not(.js) .porch .pc-stage { -webkit-mask: url("../assets/page/page-porch-mask.webp?v=5d0022ed") 0 0 / 100% 100% no-repeat; mask: url("../assets/page/page-porch-mask.webp?v=5d0022ed") 0 0 / 100% 100% no-repeat; }
}
.pc-edge { --u: calc(100cqw / 520); position: absolute; left: calc(520 * var(--u)); top: calc(300 * var(--u)); width: calc(100 * var(--u)); pointer-events: none; }
.pc-edge .pc, .pc-edge img { display: block; width: 100%; height: auto; }
html.js:not(.page-art) .pc-edge { visibility: hidden; }
@media (max-width: 899.98px) { .pc-edge { display: none; } }
@media (min-width: 900px) { .porch { position: sticky; top: calc(var(--head-h) + 32px); } }
@media (min-width: 900px) and (max-height: 760px) { .porch { position: relative; top: 0; } }
.pc-stage { --u: calc(100cqw / 520); position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 520 / 640; }
@media (max-width: 899.98px) {
  .porch { max-width: none; aspect-ratio: auto; height: 340px; justify-self: stretch; margin: 0 calc(-1 * var(--gut)); width: calc(100% + 2 * var(--gut)); -webkit-mask: linear-gradient(transparent, #000 10%, #000 94%, transparent); mask: linear-gradient(transparent, #000 10%, #000 94%, transparent); }
  /* framed on the rocker and the sleeping hound (the porch's two best movers were cut off below the 280 px band) */
  .pc-stage { top: calc(340px - 100cqw * 640 / 520 + 8px); }
}
.pc-stage > * { position: absolute; }
.pc-scene { inset: 0; }
.pc-scene img { width: 100%; height: 100%; }
/* the porch light: jelly jar at (92, 168), warm pool on the wall and ceiling */
.pc-light { left: calc(62 * var(--u)); top: calc(123 * var(--u)); width: calc(60 * var(--u)); }
.pc-glow { left: calc(-158 * var(--u)); top: calc(-82 * var(--u)); width: calc(500 * var(--u)); height: calc(500 * var(--u)); border-radius: 50%; mix-blend-mode: screen; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 244, 214, .95) 0 2.5%, rgba(255, 207, 138, .55) 6%, rgba(255, 207, 138, .2) 28%, rgba(255, 207, 138, .06) 60%, rgba(255, 207, 138, 0)); }
.pc-pool { left: calc(-60 * var(--u)); top: calc(20 * var(--u)); width: calc(420 * var(--u)); height: calc(560 * var(--u)); border-radius: 50%; pointer-events: none; mix-blend-mode: soft-light; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 207, 138, .9), rgba(255, 207, 138, .3) 55%, rgba(255, 207, 138, 0)); }
.faq-sec.b-light :is(.pc-glow, .pc-pool), html:not(.js) :is(.pc-glow, .pc-pool), html.still :is(.pc-glow, .pc-pool) { opacity: 1; }
html:not(.still) .faq-sec.b-light .pc-glow { animation: porch-on .8s steps(1) 1 both, breathe5 5s ease-in-out .8s infinite alternate, porch-dip 13s steps(1) .8s infinite; }
html:not(.still) .faq-sec.b-light .pc-pool { animation: porch-on .8s steps(1) 1 both; }
@keyframes porch-on { 0% { opacity: 0; } 12% { opacity: 1; } 26% { opacity: 0; } 38% { opacity: 1; } 50% { opacity: .2; } 62%, 100% { opacity: 1; } }
@keyframes breathe5 { from { transform: scale(1); } to { transform: scale(1.03); } }
@keyframes porch-dip { 0%, 37%, 39%, 79%, 81%, 100% { filter: none; } 38% { filter: brightness(.7); } 80% { filter: brightness(.8); } }
/* the ceiling fan: hub (300, 52); blades flattened in a scaleY(.30) wrapper, spins up once the light comes on */
.pc-fan { left: calc(180 * var(--u)); top: calc(10 * var(--u)); width: calc(240 * var(--u)); height: calc(120 * var(--u)); }
.pc-fan-body { position: absolute; left: calc(90 * var(--u)); top: 0; width: calc(60 * var(--u)); }
.pc-blades { position: absolute; left: 0; top: calc(-78 * var(--u)); width: calc(240 * var(--u)); height: calc(240 * var(--u)); transform: scaleY(.30); }
.pc-spin { position: absolute; inset: 0; }
.pc-spin .pc { position: absolute; inset: 0; }
.pc-spin .pc img { width: 100%; height: 100%; }
.pc-blur { opacity: 0; }
html:not(.still) .faq-sec .is-live .pc-spin { animation: fan 1.6s linear infinite; }
html:not(.still) .faq-sec.b-light .is-live .pc-spin { animation: fan-up 1.4s ease-in 1 both, fan 1.6s linear 1.4s infinite; }
html:not(.still) .faq-sec .is-live .pc-blur { opacity: .5; }
@keyframes fan { to { transform: rotate(360deg); } }
@keyframes fan-up { from { transform: rotate(0); } to { transform: rotate(240deg); } }
/* the rocking chair: contact (330, 560); a damped rock (3.5 -> 1.2 deg over 14 s) */
.pc-rocker { left: calc(230 * var(--u)); top: calc(340 * var(--u)); width: calc(200 * var(--u)); transform-origin: 50% 95.6%; }
html:not(.still) .faq-sec .is-live .pc-rocker { animation: rock 14s ease-in-out infinite; }
@keyframes rock { 0% { transform: rotate(3.5deg); } 12% { transform: rotate(-3deg); } 24% { transform: rotate(2.5deg); } 36% { transform: rotate(-2deg); } 48% { transform: rotate(1.7deg); } 60% { transform: rotate(-1.4deg); } 72% { transform: rotate(1.2deg); } 86% { transform: rotate(-1.2deg); } 100% { transform: rotate(3.5deg); } }
/* the sleeping hound: breathing body, tail thumps, ear twitch */
/* (p4 fix round) curled up asleep on the doormat in front of the screen door, three-quarters from the front (it was a
   flat side view lying on its side); the tail lies round the front, the top ear over the cheek */
.pc-dog { left: calc(124 * var(--u)); top: calc(510 * var(--u)); width: calc(150 * var(--u)); height: calc(90 * var(--u)); }
.pc-dog-body { position: absolute; inset: 0; transform-origin: 50% 100%; }
.pc-dog-body img { width: 100%; height: 100%; }
html:not(.still) .faq-sec .is-live .pc-dog-body { animation: dogbreath 4.2s ease-in-out infinite alternate; }
@keyframes dogbreath { from { transform: scaleY(1); } to { transform: scaleY(1.025); } }
/* the tail (root by the rump, (72, 3) of its 82 x 28): a lazy thump, the tip lifting off the boards and dropping */
.pc-tail { position: absolute; left: 52%; top: 74.17%; width: 41%; transform-origin: 87.8% 10.7%; }
html:not(.still) .faq-sec.b-thump .is-live .pc-tail { animation: thump 7s ease-in-out infinite; }
@keyframes thump { 0%, 13%, 100% { transform: none; } 2% { transform: rotate(4deg); } 4.3% { transform: none; } 6.5% { transform: rotate(3.5deg); } 8.7% { transform: none; } 10.8% { transform: rotate(2.5deg); } }
/* the top ear (root (16, 3) of its 28 x 46, on the back of the skull) */
.pc-ear { position: absolute; left: 12%; top: 51.67%; width: 14%; transform-origin: 57% 6.5%; }
html:not(.still) .faq-sec .is-live .pc-ear { animation: ear 11s steps(1) infinite 2s; }
@keyframes ear { 0%, 2.3%, 100% { transform: none; } 0.1% { transform: rotate(-7deg) translateY(-.5px); } }
/* wind chime (440, 40), fern (40, 40), sweet tea on the railing (470, 418) */
.pc-chime { left: calc(415 * var(--u)); top: calc(30 * var(--u)); width: calc(50 * var(--u)); transform-origin: 50% 4%; }
html:not(.still) .faq-sec .is-live .pc-chime { animation: chime 3.5s ease-in-out infinite alternate; }
@keyframes chime { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.pc-fern { left: calc(-30 * var(--u)); top: calc(30 * var(--u)); width: calc(140 * var(--u)); transform-origin: 50% 0; }
html:not(.still) .faq-sec .is-live .pc-fern { animation: fern 5.6s ease-in-out infinite alternate; }
@keyframes fern { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg); } }
.pc-tea { left: calc(450 * var(--u)); top: calc(388 * var(--u)); width: calc(40 * var(--u)); }
.pc-tea-glint { left: calc(474 * var(--u)); top: calc(418 * var(--u)); width: calc(10 * var(--u)); height: calc(10 * var(--u)); opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0)); }
html:not(.still) .faq-sec .is-live .pc-tea-glint { animation: tea 10s ease-in-out infinite 4s; }
@keyframes tea { 0%, 100% { opacity: 0; } 3% { opacity: 1; } 7% { opacity: 0; } }
@media (max-width: 899.98px) { .pc-chime, .pc-fern, .pc-tea-glint { animation: none !important; } }
.porch .life { position: absolute; inset: 0; width: 100%; height: 100%; }
.faq-sec .faq { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- Get a quote (page.md 5.7) */
.quote-grid { display: grid; gap: 34px; align-items: start; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; } .quote-grid > .section-head { position: sticky; top: calc(var(--head-h) + 40px); } }
@media (min-width: 900px) and (max-height: 700px) { .quote-grid > .section-head { position: static; } }
@media (max-width: 899.98px) { .quote .clipboard { margin-inline: -6px; } }
.quote .clipboard { margin-top: 40px; justify-self: end; width: 100%; }
.clipboard .life { position: absolute; z-index: 6; left: -60px; top: -100px; width: 320px; height: 300px; }
/* (finisher) 200% page zoom on a phone (a ~195 px layout): the sizes heading and the quote clipboard ran past the edge */
@media (max-width: 259.98px) {
  .st-copy, .quote .clipboard { min-width: 0; width: auto; max-width: 100%; }
  .st-paint { font-size: min(32px, 10.5vw); }
  .quote .clipboard { margin-inline: 0; }
}
