/* css/pages.css (page agent): the inner pages (docs/spec/page.md 7; 00-overview C14, C15, D9). Sizes, Service area, Get a
   quote, 404: the hero with its living vignette, the size cards, the sticky note, the living map and the town route,
   the golden work order, the questions, the "How it works" cards. No translucent text boxes and no backdrop-filter
   (page.md 1.5, 2.5): hero text sits on the deep zone of the sky with the .sky-text shade. */

/* ---------------------------------------------------------------- hero: text left ~52%, vignette right ~48% */
.page-hero { padding: calc(var(--head-h) + clamp(26px, 4.6vw, 64px)) 0 clamp(30px, 5vw, 64px); }
.hero-grid { display: grid; gap: clamp(18px, 3vw, 44px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.04fr .96fr; } }
.hero-text { min-width: 0; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 72px); max-width: 16ch; color: #fff;
  text-shadow: 0 1px 0 var(--navy), 0 2px 0 var(--navy), 0 3px 0 var(--navy), 0 4px 1px #061428, 0 12px 26px rgba(4, 12, 30, .45); }
.page-hero .lead { font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; color: #eef3fb; max-width: 38ch; margin: 0 0 24px; }
.crumbs { margin: 0 0 16px; font: 700 14px/1.3 var(--text); color: rgba(255, 255, 255, .92); }
.crumbs a { color: #fff; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- the vignettes (aria-hidden; plain images without JS) */
.vig { position: relative; min-width: 0; }
.vig-stage { position: relative; width: 100%; aspect-ratio: var(--ar); --mx: linear-gradient(90deg, transparent 0, #000 12%, #000 90%, transparent 100%);
  -webkit-mask-image: var(--mx), linear-gradient(transparent 0, #000 7%, #000 86%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: var(--mx), linear-gradient(transparent 0, #000 7%, #000 86%, transparent 100%); mask-composite: intersect; }
/* desktop: the vignette runs out to the right edge of the window (no frame, no edge on screen) */
@media (min-width: 980px) {
  .vig-sizes, .vig-nf { margin-right: calc(-1 * max(var(--gut), (100vw - var(--wrap)) / 2)); margin-left: -3%; }
  .vig-sizes .vig-stage { --mx: linear-gradient(90deg, transparent 0, #000 9%, #000 97%, transparent 100%); }
  .vig-nf .vig-stage { --mx: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 8%, #000 20%, #000 97%, transparent 100%); }
}
/* the Sizes lot: the edge pines' crowns reach in from above, so the top dissolves slowly into the page sky */
.vig-sizes .vig-stage { -webkit-mask-image: var(--mx), linear-gradient(transparent 0, #000 10%, #000 86%, transparent 100%); mask-image: var(--mx), linear-gradient(transparent 0, #000 10%, #000 86%, transparent 100%); }
.vig-stage .lyr { position: absolute; }
.vig-stage .lyr .pc, .vig-stage .lyr img { display: block; width: 100%; height: auto; }
.vig-stage .life { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* the noon haze over the far treeline (in-flow light; no text over it) */
.vig-haze { position: absolute; left: 0; right: 0; top: 8%; height: 42%; background: linear-gradient(transparent, rgba(232, 241, 251, .5) 70%, rgba(232, 241, 251, .35)); }
/* Z5 the left corner's young sweetgum sways about its foot; the right edge pine's trunk barely moves (its low limbs ride it) */
.v-sway .pc { transform-origin: 46.7% 93%; }
.v-sway-r .pc { transform-origin: 93.8% 98.3%; }
html:not(.still) .is-live .v-sway-l .pc { animation: vsway 7.2s ease-in-out infinite alternate; }
html:not(.still) .is-live .v-sway-r .pc { animation: vsway-r 8.4s ease-in-out -3s infinite alternate-reverse; }
@keyframes vsway { from { transform: rotate(-.9deg); } to { transform: rotate(.9deg); } }
@keyframes vsway-r { from { transform: rotate(-.3deg); } to { transform: rotate(.3deg); } }
/* 404: evening fog ribbons drifting low over the pasture (the sundown band's fog piece, seamless in x) */
/* the fog lies in the hollow with soft top and bottom edges and feathered ends (it had ruler-straight tops and a hard
   start at the left) */
.v-fog { position: absolute; left: 0; right: 0; top: 57%; height: 20%; overflow: hidden; opacity: .72; pointer-events: none;
  -webkit-mask: linear-gradient(transparent, #000 32%, #000 62%, transparent), linear-gradient(90deg, transparent, #000 14%, #000 88%, transparent); -webkit-mask-composite: source-in;
  mask: linear-gradient(transparent, #000 32%, #000 62%, transparent), linear-gradient(90deg, transparent, #000 14%, #000 88%, transparent); mask-composite: intersect; }
.v-fog i { position: absolute; top: 0; left: 0; width: 400%; height: 100%; background: url("../assets/page/page-sundown-fog.webp?v=dd910d83") 0 0 / 50% 100% repeat-x; }
@media (max-width: 899.98px) { .v-fog i { background-image: url("../assets/page/sd/page-sundown-fog.webp?v=df4c34d8"); } } /* phones: the sd fog (cssVersions adds its hash) */
.v-fog .fog2 { top: 38%; height: 80%; opacity: .7; transform: scaleX(-1); }
html:not(.still) .is-live .v-fog .fog1 { animation: fog-a 52s linear infinite; }
html:not(.still) .is-live .v-fog .fog2 { animation: fog-b 71s linear infinite; }
@keyframes fog-a { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fog-b { from { transform: scaleX(-1) translateX(0); } to { transform: scaleX(-1) translateX(-50%); } }
/* (the map's glass sheen is static: the sweeping UI "shine" is gone; the map's life is its traffic, boats, train,
   cloud shadows and hawk) */
/* phones: the vignette is a full-bleed band under the text (Sizes 260 px, 404 240 px), cover-fit at 55% / bottom */
@media (max-width: 979.98px) {
  /* tablets get the whole drawing (the band grows with the width up to the vignette's own aspect) */
  .vig-sizes, .vig-nf { --bh: clamp(260px, 60.5vw, 470px); height: var(--bh); margin-inline: calc(var(--gut) * -1); overflow: hidden; }
  .vig-nf { --bh: clamp(240px, 55.2vw, 430px); }
  .vig-sizes .vig-stage, .vig-nf .vig-stage { position: absolute; bottom: 0; left: 55%; width: max(100%, calc(var(--bh) * 760 / 460)); transform: translateX(-55%); }
  .vig-nf .vig-stage { width: max(100%, calc(var(--bh) * 760 / 420)); }
}

/* ---------------------------------------------------------------- Sizes: the size cards (C14, C15) */
.sizes-sec { padding-top: clamp(20px, 3vw, 40px); }
.size-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
/* the painted steel side of a J&S box (the home steel panel's paint, ribs and rail), lit from the upper left */
.size-card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 18px; padding: 34px clamp(14px, 1.6vw, 20px) 22px; border-radius: 6px;
  outline: 2px solid #0e2a55; outline-offset: -2px; box-shadow: 0 24px 36px -22px rgba(0, 0, 0, .8);
  background: linear-gradient(to top, rgba(40, 28, 18, .4), rgba(40, 28, 18, 0) 24%), linear-gradient(110deg, rgba(220, 235, 255, .1) 0%, rgba(6, 14, 38, .08) 40%, rgba(4, 10, 30, .34) 100%),
    linear-gradient(90deg, rgba(190, 215, 255, .2) 0 2px, rgba(150, 185, 240, .08) 2px 10px, rgba(5, 15, 40, .48) 10px 13px, rgba(5, 15, 40, .18) 13px 20px, rgba(5, 15, 40, 0) 28px) 0 0 / 104px 100%,
    url("../assets/page/page-steel-tile.webp?v=803cda8a") 0 0 / 512px 512px, #1f5fbf; }
html.js:not(.page-art) .size-card { background-image: linear-gradient(110deg, rgba(220, 235, 255, .1), rgba(4, 10, 30, .34)); }
.sc-rail { position: absolute; z-index: 0; left: 0; right: 0; top: 0; height: 18px; border-radius: 6px 6px 0 0;
  background: radial-gradient(3px 3px at 26px 9px, #8fb6ee 0 20%, #0e2a55 35% 95%, transparent 100%) 0 0 / 52px 18px 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); }
/* the drawing: a blueprint sheet with a faint 16 px grid, held to the steel by a spring clip, a little crooked */
.spec-draw { position: relative; z-index: 1; margin: 0; padding: 26px 10px 30px; border-radius: 2px; rotate: var(--st, 0deg);
  background: linear-gradient(#c9dbf2 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, #c9dbf2 1px, transparent 1px) 0 0 / 16px 16px, #e8f1fb; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 8px 14px -6px rgba(3, 10, 30, .7), 0 1px 2px rgba(3, 10, 30, .5); }
.sc-clip { position: absolute; z-index: 2; left: 50%; top: 22px; width: 64px; height: 22px; margin-left: -32px; border-radius: 3px 3px 8px 8px;
  background: radial-gradient(5px 3px at 50% 62%, #15181c 55%, transparent 70%), linear-gradient(#f4f6f8, #b7bfc8 30%, #7c858f 58%, #d3d9df 75%, #8a939c);
  box-shadow: inset 0 1px 0 #fff, 0 3px 4px rgba(0, 0, 0, .5); }
.sc-clip::before { content: ""; position: absolute; left: 12px; right: 12px; top: -10px; height: 14px; border: 3px solid #a9b2bb; border-bottom: 0; border-radius: 10px 10px 0 0; }
/* the data plate: brushed aluminium riveted to the side, the facts stamped in (real text, dark on the metal) */
.sc-plate { position: relative; z-index: 1; padding: 18px 20px 10px; border-radius: 4px; color: #1b2a3c; rotate: var(--pt, 0deg);
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 1px, rgba(0, 0, 0, .035) 1px 2px),
    linear-gradient(172deg, #eef1f4 0%, #c9d0d7 44%, #e2e6ea 58%, #b1bac3 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(60, 70, 82, .4), 0 4px 8px rgba(3, 10, 30, .55); }
.sc-plate::before { content: ""; position: absolute; inset: 6px; pointer-events: none;
  background: radial-gradient(4px 4px at 4px 4px, #f7f9fb 0 30%, #7e8892 60%, transparent 66%), radial-gradient(4px 4px at calc(100% - 4px) 4px, #f7f9fb 0 30%, #7e8892 60%, transparent 66%),
    radial-gradient(4px 4px at 4px calc(100% - 4px), #f7f9fb 0 30%, #7e8892 60%, transparent 66%), radial-gradient(4px 4px at calc(100% - 4px) calc(100% - 4px), #f7f9fb 0 30%, #7e8892 60%, transparent 66%); }
.size-card h2 { margin: 0 0 12px; font: 400 clamp(22px, 2.1vw, 27px)/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; color: #1d2b3d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .75), 0 -1px 0 rgba(0, 0, 0, .28); }
.size-card h2 .sc-yd { display: inline-block; padding: 2px 8px 0; margin-right: 4px; border-radius: 3px; color: #fff; background: #0b2341; text-shadow: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.dumpster-art { display: block; width: 100%; height: auto; overflow: visible; }
.dims-txt { font: 700 13px/1 var(--text); color: #3c4a5c; }
.dims-txt .ph { font-size: 12.5px; padding: 1px 6px; background: #fff7dd; border-width: 1.5px; }
.dim-l { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); }
.dim-h { position: absolute; right: 8px; top: 6px; }
/* motion: the box rolls in from the left on its rollers (2 turns), stops with a 2 px bounce and a puff of dust, the latch
   clinks; on desktop hover the rear door swings open 18 deg */
.dumpster-art .wheel, .dumpster-art .puff, .dumpster-art .latch, .dumpster-art .door-open { transform-box: fill-box; }
.dumpster-art .wheel { transform-origin: center; }
.dumpster-art .puff { opacity: 0; transform-origin: 50% 100%; }
.dumpster-art .latch { transform-origin: 100% 50%; }
.dumpster-art .door-open { transform-origin: 100% 50%; transform: scaleX(0); transition: transform .5s var(--ease); }
html.js:not(.still) .size-card:not(.is-in) .roll { transform: translateX(-125%); }
html.js:not(.still) .size-card.is-in .roll { animation: roll-in 1.3s cubic-bezier(.3, .75, .35, 1) .1s both; }
html.js:not(.still) .size-card.is-in .wheel { animation: spin 1.2s cubic-bezier(.3, .75, .35, 1) .1s both; }
html.js:not(.still) .size-card.is-in .puff { animation: puff .55s ease-out 1.15s both; }
html.js:not(.still) .size-card.is-in .latch { animation: clink .2s ease-in-out 1.42s 1; }
@keyframes roll-in { 0% { transform: translateX(-125%); } 84% { transform: translateX(0); } 91% { transform: translateY(-2px); } 100% { transform: none; } }
@keyframes spin { from { transform: rotate(-720deg); } to { transform: none; } }
@keyframes puff { 0% { opacity: .85; transform: scale(.4); } 100% { opacity: 0; transform: translateY(-5px) scale(1.7); } }
@keyframes clink { 50% { transform: rotate(8deg); } }
@media (hover: hover) and (min-width: 900px) { .size-card:hover .door-open { transform: scaleX(1); } }
html.still .size-card .roll, html.still .size-card .wheel, html.still .size-card .puff, html.still .size-card .latch { animation: none !important; transform: none; }
.specs { margin: 0; display: grid; gap: 8px; }
.specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(40, 50, 62, .3); box-shadow: 0 1px 0 rgba(255, 255, 255, .55); }
.specs div:last-child { border-bottom: 0; box-shadow: none; }
.specs dt { font-weight: 800; color: #14243a; letter-spacing: .02em; }
.specs dd { margin: 0; text-align: right; color: #1d2b3d; font-weight: 600; }
.size-card .btn { position: relative; z-index: 1; margin-top: auto; align-self: flex-start; }
.size-note { margin: 26px 0 0; max-width: 62ch; font-weight: 600; color: var(--body-on-sky); }

/* "How do I pick a size?" with Josh's sticky note */
.pick-size { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .pick-size { grid-template-columns: 1.35fr .65fr; } }
.pick-size .section-head { margin-bottom: 0; }
.note { position: relative; justify-self: center; max-width: 320px; margin: 10px 0 0; padding: 34px 26px 28px; transform: rotate(-2deg);
  background: linear-gradient(170deg, #fff8cf, #fff4b8 55%, #f6e7a2); color: #1c3f93; border-radius: 2px 2px 3px 18px / 2px 2px 3px 6px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .14), 0 18px 22px -14px rgba(0, 0, 0, .6); }
.note::after { content: ""; position: absolute; z-index: -1; right: 10px; bottom: 12px; width: 62%; height: 24px; box-shadow: 0 14px 14px rgba(0, 0, 0, .4); transform: rotate(4deg); }
.note p { margin: 0; font: italic 600 20px/1.45 var(--text); color: #1c3f93; text-shadow: none; }
.note a { color: #1c3f93; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
.note-tape { position: absolute; top: -13px; left: 50%; width: 96px; height: 26px; margin-left: -48px; transform: rotate(-4deg);
  background: linear-gradient(rgba(240, 233, 212, .82), rgba(228, 220, 196, .82)); box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0) , repeating-linear-gradient(#000 0 3px, transparent 3px 5px);
  -webkit-mask-composite: source-over; }

/* ---------------------------------------------------------------- "How it works" (stills from the ride, 1.10) */
.steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps li { position: relative; padding-top: 0; overflow: hidden; }
.steps li img { display: block; width: calc(100% + 2 * clamp(18px, 2.4vw, 26px)); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  margin: calc(-1 * clamp(18px, 2.4vw, 26px)) calc(-1 * clamp(18px, 2.4vw, 26px)) 18px; }
/* the ride's stills, framed closer on the rig (they are high aerial frames: at card size the rig was a small blue
   rectangle on dirt) */
.steps b { position: absolute; top: 12px; left: 12px; width: 46px; height: 50px; display: grid; place-items: center; padding-bottom: 6px;
  background: linear-gradient(160deg, #3a78d4, #1f5fbf 45%, #164591); color: #f4f6fa; font: 400 26px/1 var(--display); clip-path: polygon(50% 100%, 0 76%, 0 10%, 50% 0, 100% 10%, 100% 76%); /* a stencil on blue steel (1.6: no red) */
  filter: drop-shadow(0 0 0 var(--navy)); box-shadow: inset 0 0 0 2px var(--navy); }
/* until the ride's new stills exist (RQ-4): a drawn header, the rig's box in line art on a navy plate with rivets */
.step-art { display: grid; place-items: center; height: 132px; margin: calc(-1 * clamp(18px, 2.4vw, 26px)) calc(-1 * clamp(18px, 2.4vw, 26px)) 18px;
  background: radial-gradient(4px 4px at 14px 14px, #5d7fb8 40%, transparent 60%), radial-gradient(4px 4px at calc(100% - 14px) 14px, #5d7fb8 40%, transparent 60%),
    linear-gradient(180deg, #17345f, #0f2547); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .12); }
.step-art svg { width: min(62%, 190px); height: auto; overflow: visible; fill: none; stroke: #cfe2fa; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.step-art circle { fill: #0f2547; }
.step-art .b { fill: #2f6fcf; stroke: #e8f1fc; }
.step-art .r { stroke: #174a99; stroke-width: 1.6; }
.step-art .t { fill: #e9edf2; stroke: #e9edf2; }
.step-art .w { fill: #0f2547; stroke: #0f2547; }
.step-art .j { stroke: #f2b33d; }
.step-art .g { stroke: #5d7fb8; stroke-dasharray: 2 5; }
.step-art .m { stroke: #8cc4f2; opacity: .7; }
.steps h3 { color: var(--navy); font-size: 24px; }
.steps p { margin: 0; }
.how-steps .reveal .text-link { color: #fff; }

/* ---------------------------------------------------------------- Service area: the living map (an aerial window) */
.vig-area { margin: 0; perspective: 1400px; }
.map-frame { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 6px solid #fff; background: #1d3a21;
  box-shadow: 0 2px 0 #d6dde6, 0 26px 50px -22px rgba(4, 12, 30, .75); transform: rotateX(4deg); transform-origin: 50% 100%; transition: transform .7s var(--ease); }
.map-frame:hover { transform: none; }
.map-frame > .pc, .map-frame > .pc img { display: block; width: 100%; height: 100%; }
.map-frame .life { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(155deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0) 70%, rgba(11, 35, 65, .16)); }
.vig-area figcaption { margin-top: 12px; font: 600 14px/1.4 var(--text); color: #fff; }
@media (max-width: 979.98px) { .map-frame { transform: none; } }
/* the route Diana -> Longview along US-259: draws on reveal (1.2 s), then the dashes flow (M7) */
.map-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.map-route path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.map-route .rt-case { stroke: rgba(11, 35, 65, .75); stroke-width: 6; }
.map-route .rt-dash { stroke: #fff; stroke-width: 3; stroke-dasharray: 1.6 1.4; }
html.js:not(.still) .map-frame:not(.is-in) .map-route { clip-path: inset(0 0 100% 0); }
html.js:not(.still) .map-frame.is-in .map-route { animation: route-draw 1.2s ease-in-out .5s both; }
@keyframes route-draw { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
html:not(.still) .is-live .map-route .rt-dash { animation: route-flow 6s linear infinite; }
@keyframes route-flow { to { stroke-dashoffset: -6; } }
/* pins (D9: blue / white, no red): a navy shield with the box glyph, a white rim, a label chip; Diana pulses (M5) */
.map-pin { position: absolute; display: grid; justify-items: center; gap: 3px; transform: translate(-50%, calc(-100% + 4px)); transition: transform .25s var(--ease); }
.map-pin > b { position: relative; width: 34px; height: 38px; display: grid; place-items: center; padding-bottom: 7px; background: #fff;
  clip-path: polygon(50% 100%, 6% 74%, 0 12%, 50% 0, 100% 12%, 94% 74%); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .45)); }
.map-pin > b::before { content: ""; position: absolute; inset: 2.5px; clip-path: inherit; background: linear-gradient(#1b3f72, #0b2341); }
.map-pin > b svg { position: relative; width: 22px; height: auto; }
.map-pin > span { order: -1; padding: 3px 8px; border-radius: 7px; background: var(--navy); border: 1.5px solid #fff; color: #fff; font: 800 12.5px/1.2 var(--text); white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
.map-pin .pulse { position: absolute; left: 50%; bottom: 0; width: 22px; height: 10px; margin-left: -11px; border-radius: 50%; border: 2px solid #fff; opacity: 0; }
html:not(.still) .is-live .map-pin .pulse { animation: pin-pulse 2.4s ease-out infinite; }
@keyframes pin-pulse { 0% { opacity: .5; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }
html.js:not(.still) .map-frame:not(.is-in) .map-pin { opacity: 0; transform: translate(-50%, calc(-100% - 30px)); }
html.js:not(.still) .map-frame.is-in .map-pin { animation: pin-drop .7s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
html.js:not(.still) .map-frame.is-in .map-pin + .map-pin { animation-delay: .4s; }
@keyframes pin-drop { from { opacity: 0; transform: translate(-50%, calc(-100% - 30px)); } to { opacity: 1; transform: translate(-50%, calc(-100% + 4px)); } }
/* a row of the town route and its pin light up together (no other interaction) */
main:has(.town-route [data-pin="diana"]:hover) .map-pin[data-pin="diana"], main:has(.town-route [data-pin="longview"]:hover) .map-pin[data-pin="longview"],
.map-pin:hover { transform: translate(-50%, calc(-100% - 2px)) scale(1.08); z-index: 2; }
main:has(.map-pin[data-pin="diana"]:hover) .town-route [data-pin="diana"], main:has(.map-pin[data-pin="longview"]:hover) .town-route [data-pin="longview"],
.town-route li[data-pin]:hover { background: #eef4fc; }

/* ---------------------------------------------------------------- Service area: towns we serve (a paper route card) */
/* computers: the towns card and Josh's note side by side (the card alone left the right half as empty sky) */
.towns-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .towns-grid { grid-template-columns: minmax(0, 700px) 1fr; } }
.towns { max-width: 700px; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3.2vw, 34px); box-shadow: var(--shadow); }
.towns h2 { color: var(--navy); font-size: clamp(28px, 3vw, 38px); }
.town-route { position: relative; list-style: none; margin: 0 0 18px; padding: 0; }
.town-route::before { content: ""; position: absolute; left: 21px; top: 26px; bottom: 26px; border-left: 3px dashed #9db3cc; }
.town-route li { position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 9px 10px 9px 0; border-radius: 10px; transition: background-color .2s; }
.tr-dot { position: relative; justify-self: center; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--navy); }
.tr-dot.home { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(#1b3f72, #0b2341); border: 2px solid #fff; }
.tr-dot.home svg { width: 32px; height: auto; }
.town-route b { font: 400 20px/1.15 var(--display); color: var(--navy); }
.town-route li > span { font-size: 14px; color: var(--ink-2); text-align: right; }
.towns-more { margin: 0; }
.towns-more a { color: var(--navy); font-weight: 800; }

/* ---------------------------------------------------------------- Get a quote: the work order in golden light */
@media (min-width: 980px) { .quote-hero .hero-grid { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.quote-hero .clipboard { margin-top: 26px; }
.next-h { margin: 6px 0 12px; font-size: 24px; color: #fff; }
.next { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.next li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; font: 600 18px/1.45 var(--text); color: var(--body-on-sky); }
.next svg { width: 42px; height: 42px; padding: 8px; border-radius: 11px; background: rgba(11, 35, 65, .62); border: 1px solid rgba(201, 210, 220, .55); color: #fff; }
.rather { font-weight: 700; color: #fff; }
/* the light leak and the dapple stay on the board (clipped to it); they drift, so they're a little larger than it */
.clipboard.golden { --clip: inset(0 round 18px); }
.clipboard.golden .cb-leak, .clipboard.golden .cb-dapple { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 18px; clip-path: var(--clip); }
.clipboard.golden .cb-leak { z-index: 5; mix-blend-mode: screen; }
.clipboard.golden .cb-leak::before { content: ""; position: absolute; inset: -6%;
  background: radial-gradient(80% 66% at 96% 0%, rgba(255, 206, 140, .5), rgba(255, 196, 120, .2) 46%, rgba(255, 190, 110, .05) 82%), linear-gradient(200deg, rgba(255, 190, 110, .16), rgba(255, 190, 110, 0) 72%); }
/* the pines' shadow: a cool violet (the sky's fill light), never grey; soft needle fans and crown blotches drifting */
.clipboard.golden .cb-dapple { z-index: 4; mix-blend-mode: multiply; }
.clipboard.golden .cb-dapple { -webkit-mask: linear-gradient(128deg, #000 0%, rgba(0, 0, 0, .75) 22%, rgba(0, 0, 0, .3) 42%, rgba(0, 0, 0, .12) 60%, rgba(0, 0, 0, .05) 100%); mask: linear-gradient(128deg, #000 0%, rgba(0, 0, 0, .75) 22%, rgba(0, 0, 0, .3) 42%, rgba(0, 0, 0, .12) 60%, rgba(0, 0, 0, .05) 100%); }
.clipboard.golden .cb-dapple::before, .clipboard.golden .cb-dapple::after { content: ""; position: absolute; inset: -40px; background: rgba(84, 72, 150, .1);
  -webkit-mask: url("../assets/page/page-quote-dapple.webp?v=3960676f") 0 0 / 512px 512px; mask: url("../assets/page/page-quote-dapple.webp?v=3960676f") 0 0 / 512px 512px; }
/* a second, higher crown: its shade is fainter and larger, and it sways on its own rhythm */
.clipboard.golden .cb-dapple::after { background: rgba(84, 72, 150, .05); -webkit-mask-position: 190px 260px; mask-position: 190px 260px; -webkit-mask-size: 700px 700px; mask-size: 700px 700px; }
/* the late sun warms the paper and the carbon copies (the form keeps navy ink: contrast stays far over 7:1) */
.clipboard.golden .work-order { background-color: #fbf1dd; background-image: linear-gradient(rgba(252, 243, 224, .94), rgba(250, 238, 214, .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"); }
.clipboard.golden .wo-yellow { background: #fbe6a2; }
.clipboard.golden .wo-pink { background: #f8cfc8; }
html:not(.still) .golden.is-live .cb-leak::before { animation: leak 20s ease-in-out infinite alternate; }
html:not(.still) .golden.is-live .cb-dapple::before { animation: dapple 4.6s ease-in-out infinite alternate; }
html:not(.still) .golden.is-live .cb-dapple::after { animation: dapple2 6.7s ease-in-out -2s infinite alternate; }
@keyframes leak { from { transform: translate(-2%, -1%); opacity: .82; } to { transform: translate(2%, 1%); opacity: 1; } }
@keyframes dapple { 0% { transform: translate(-16px, 4px) rotate(-.7deg); } 45% { transform: translate(5px, -6px) rotate(.2deg); } 100% { transform: translate(16px, 3px) rotate(.7deg); } }
@keyframes dapple2 { 0% { transform: translate(12px, -5px) rotate(.5deg); } 100% { transform: translate(-14px, 6px) rotate(-.5deg); } }
.clipboard.golden .cb-motes { position: absolute; z-index: 6; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); pointer-events: none; }
@media (max-width: 899.98px) { html:not(.still) .golden.is-live .cb-dapple::before, html:not(.still) .golden.is-live .cb-dapple::after { animation: none; } .clipboard.golden .cb-motes { display: none; } }
/* the questions on the quote page */
.qa-grid { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px) { .qa-grid { grid-template-columns: .8fr 1.2fr; } }

/* ---------------------------------------------------------------- 404 */
.page-404 .page-hero { min-height: min(100svh, 860px); display: grid; align-content: center; }
