/* Journey variants (Oct 30, 2026, file 36/37): real Davidson route on a
   pre-rendered OSM ground. Loaded when home.php renders a variant;
   since stamp -b55 the Draw variant is the homepage's default
   section, so this sheet loads with the homepage (the camera
   variant remains a ?journey=camera preview).
   Static state (no JS / reduced motion) is the completed map with all
   steps readable; every animated initial state lives under html.jv-on,
   a class the variant script itself adds only when motion is allowed. */

/* Sticky geometry (fix pass 2, file 37): the B site header is sticky
   and TALL, because it carries the nav under the wordmark row. Its
   height by band, from site-b.css at the 16px root: <=560px ~190px
   (3x2 nav grid, and "Pricing & Insurance" wraps to a second line,
   making the lower nav row ~77px); 561-704px ~165px (same grid, no
   wrap); >=705px ~115px (single nav row). --jv-top is that height
   plus ~0.6rem of air, per band, and every sticky stage below uses
   it, so a stuck stage rests FULLY below the header. The shipped
   -b31/-b32 tops (4.05rem phone / 4.6rem camera / 5.4rem desktop)
   ignored the header entirely and hid 125px of the phone stage -
   about a third of the map - behind it (Bill's shots, Oct 30). */
.journey--jv { --jv-top: 7.8rem; --jv-ar: 1.4697; }
@media (max-width: 44rem) { .journey--jv { --jv-top: 10.9rem; } }
@media (max-width: 35rem) { .journey--jv { --jv-top: 12.5rem; } }
/* Balanced crop (stamp -b55, file 53): at 700px and up the ground
   is the regenerated desktop crop, 1150x660 (aspect 1.7424), so
   the route fills 54% x 72% of the frame instead of 36% x 41%.
   The phone layer keeps its own aspect, set in the layer-switch
   block below. */
@media (min-width: 700px) { .journey--jv { --jv-ar: 1.7424; } }

.journey--jv .jv-intro { max-width: 62ch; margin: 0 0 1.5rem; color: #2c3136; }
.jv-scroll { position: relative; }
.jv-stage { position: relative; }
.jv-world { position: relative; }
.jv-map { position: relative; aspect-ratio: 1150 / 660; }
.jv-map picture { display: block; width: 100%; height: 100%; }
.jv-map picture img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0.6rem; }
.jv-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.jv-svg--phone { display: none; }
.jv-labels { position: absolute; inset: 0; pointer-events: none; }
.jv-labels--phone { display: none; }
.jv-planned { stroke: var(--sky); stroke-width: 3.5px; stroke-dasharray: 0.5 9; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.85; }
/* butt cap on the drawn line is load-bearing (fix pass, file 37
   addendum): the visible line is a sub-path that ends exactly at
   the runner dot's centre, and a round cap would paint a semicircle
   of radius = half the stroke width beyond that point - ahead of
   the dot. (Fix pass 3 replaced the dash reveal with the sub-path;
   the cap rule is unchanged and still required.) */
.jv-drawn { stroke: var(--blue); stroke-width: 4.5px; stroke-linecap: butt; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.jv-startdot { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.jv-wp .jv-disc { fill: var(--offwhite); stroke: var(--blue); stroke-width: 7; transition: fill 0.35s ease; }
.jv-wp .jv-num { fill: var(--blue); font-family: var(--font-display, Archivo, sans-serif); font-weight: 800; text-anchor: middle; transition: fill 0.35s ease; }
.jv-wp.is-reached .jv-disc { fill: var(--blue); }
.jv-wp.is-reached .jv-num { fill: #fff; }
.jv-ping { fill: none; stroke: var(--sky); stroke-width: 5; opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.jv-wp.is-ping .jv-ping { animation: jv-ping 0.85s ease-out 1; }
@keyframes jv-ping { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.1); } }
.jv-finishmark line { stroke: #111; stroke-width: 6; }
.jv-finishmark path { fill: #111; }
.jv-finishmark circle { fill: var(--blue); stroke: #fff; stroke-width: 3; }
/* Flag colour story (flag addendum, -b36): the cloth's resting state is
   the 4x3 checkerboard drawn in the markup - that is what the no-JS /
   reduced-motion fallback shows, and what the flag becomes when the
   route completes. While the route runs (script live, section not yet
   .is-done) the green overlay covers the cloth; .is-done lands at
   fraction 1.0 and drops it, and scrolling back restores the green -
   symmetric, like every other state in this section. */
.jv-flag-green { display: none; fill: #1e9e57; }
html.jv-on .journey--jv:not(.is-done) .jv-flag-green { display: block; }
.jv-dot { fill: var(--blue); stroke: #fff; stroke-width: 3.5; display: none; }
html.jv-on .jv-dot { display: block; }
.jv-label, .jv-starttag, .jv-finish-tag {
  position: absolute; z-index: 3; white-space: nowrap; pointer-events: none;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: #2e4d68;
  text-shadow: 0 0 4px #f7f9fb, 0 0 4px #f7f9fb, 0 0 7px #f7f9fb, 0 0 7px #f7f9fb;
  transform: var(--lt, translate(-50%, -160%)) rotate(var(--jv-rot, 0deg));
}
.jv-label--clinic { --lt: translate(14px, -50%); }
.jv-label--lake { --lt: translate(-50%, -50%); }
.jv-label--green { --lt: translate(-50%, 110%); }
.jv-label--greenway { --lt: translate(-50%, 130%); }
/* Concord Road (stamp -b55, file 53): the label sits WEST of its
   anchor point on the return leg, right-aligned to it - east of
   the road the fixed-size text would leave the cropped map at
   the split bands' smaller map widths. Placement audited against
   the route, the discs and the other labels at true display
   sizes in the -b55 verification pass. */
.jv-label--concord { --lt: translate(calc(-100% - 12px), -50%); }
/* Desktop-layer placement adjustments for the cropped ground
   (stamp -b55, file 53), all measured in the -b55 collision
   audit at true display sizes:
   - Greenway: the crop moved its anchor to 88.3% of the frame
     height, and the shipped 130% drop (in unscaled CSS px, while
     the map scales) pushes the text past the map's bottom edge
     at split-band map heights. On the desktop layer the label
     sits just below its anchor instead (50%); the phone layer
     keeps its audited placement.
   - Tags: the two-line forms (rendered by the snippet for the
     desktop layer) replace the one-line forms whenever the
     cropped map runs narrower than about 711px - under 1100px
     viewport width, and at any width when the sticky cap binds
     on a short screen (max-height 50rem) and squeezes the map
     (the 1280x640 class) - because the one-line tags reach the
     map's right edge there.
   - Concord Road: in the same conditions the label wraps to
     two lines ("Concord" / "Road", right-aligned toward the
     road) - at those map scales the one-line box would reach
     west across the route's southbound middle leg.
   - Main Street rides BELOW its anchor on the desktop layer:
     north of the anchor sits the Concord label's row, and the
     two boxes collide at split-band map heights; the ground
     below the anchor is empty.
   - Lake Davidson starts east of its anchor: the anchor is the
     crop's west edge by design, and a centred box hangs off
     the map at narrow split widths. */
.jv-labels--desktop .jv-label--greenway { --lt: translate(-50%, 50%); }
.jv-labels--desktop .jv-label--main { --lt: translate(-50%, 55%); }
.jv-labels--desktop .jv-label--lake { --lt: translate(6px, -50%); }
.jv-tag--2l { display: none; }
@media (max-width: 1099.5px), (max-height: 50rem) {
  .jv-labels--desktop .jv-tag--1l { display: none; }
  .jv-labels--desktop .jv-tag--2l { display: block; }
  .jv-labels--desktop .jv-label--concord {
    white-space: normal; width: 4.1rem; line-height: 1.15; text-align: right;
  }
}
.jv-starttag {
  /* Flag addendum (-b36): the tag's anchor is computed in the snippet from
     the flag geometry (right of the flag, centred on the cloth); the old
     left-offset placement landed mid-map and read as naming nothing.
     Tag swap (-b37): this slot is shared with the finish tag (below), so
     the START tag's resting state is HIDDEN - the no-JS / reduced-motion
     fallback is the completed map, which shows BACK IN THE GAME. While
     the route runs (script live, not yet .is-done) the rule below shows
     START; at .is-done it hands the slot over. The fade/settle mirrors
     the finish tag's, so the swap reads as one settle, then still. */
  --lt: translate(0, -50%);
  background: #fff; border: 2px solid var(--blue); color: var(--blue);
  border-radius: 999px; padding: 0.1rem 0.55rem; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.09em; text-shadow: none;
  opacity: 0; margin-top: 8px;
  transition: opacity 0.3s ease, margin-top 0.3s ease;
}
html.jv-on .journey--jv:not(.is-done) .jv-starttag { opacity: 1; margin-top: 0; }
.jv-finish-tag {
  /* Flag addendum (-b36) stacked this tag above the start tag; the tag
     swap (-b37, Bill: "remove the start tag and replace it with back in
     the game tag") moves it INTO the start tag's slot instead - same
     anchor in the snippet, same translate(0, -50%) - so at completion
     the two trade places rather than coexist. The state pattern is the
     one this tag has always used: shown at rest (fallback = completed
     map), hidden while the route runs under the script, shown again at
     .is-done. Symmetric on scroll-back, like the flag colour. */
  --lt: translate(0, -50%);
  background: #111; color: #fff; border-radius: 999px; padding: 0.28rem 0.7rem;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.09em; text-shadow: none;
  transition: opacity 0.45s ease, margin-top 0.45s ease;
}
html.jv-on .jv-finish-tag { opacity: 0; margin-top: 8px; }
html.jv-on .journey--jv.is-done .jv-finish-tag { opacity: 1; margin-top: 0; }
.jv-attrib { font-size: 0.78rem; color: #5a6a76; margin: 0.45rem 0 0; }
/* Phone deck (fix pass 5): hidden by default - the stacked steps
   list is the presentation. The gate block at the end of this file
   turns the deck on (and the list off) only where it belongs. */
.jv-deck { display: none; }
/* Landscape overlay (fix pass 6): likewise hidden by default; the
   landscape gate at the end of this file turns it on. */
.jv-overlay { display: none; }
.jv-steps { list-style: none; margin: 0; padding: 0; }
.jv-step {
  position: relative; display: grid; grid-template-columns: 3.1rem 1fr;
  grid-template-areas: "num body" "num photo"; gap: 0 1.1rem;
  padding: 1.1rem 0; align-items: start;
}
.jv-step .step-num { grid-area: num; }
.jv-step .step-body { grid-area: body; }
.jv-step .step-photo { grid-area: photo; }
/* Ken Burns push-in, Return step only (Bill, Oct 30, 2026): the photo
   sits in a clipping frame; the script scrubs the img scale 1 -> 1.09
   across the step's scroll transit (transform only). Subject checked
   center-safe at origin 42%/45% (file 37). Still under no-JS and
   reduced motion: no transform exists without html.jv-on + script.
   Frame parity (stamp -b74, file 78; Bill, Nov 19, 2026): the frame
   carries the SAME print treatment as the other three stage photos
   (site-b.css .journey .step-photo: white padding, 0.3rem radius,
   the soft shadow), replacing this frame's old hard blue offset
   shadow, and the img inside drops the copy of that treatment it
   used to inherit from the same site-b.css rule, so the photo is
   framed exactly once, on the wrapper, like the founder photo's
   media frame. The Ken Burns zoom is untouched: the img still
   scales inside the frame's content box and the white border
   holds still around it. The deck/overlay strip rules below and
   the camera current-card rule zero this frame's padding and
   background along with its shadow, exactly as they strip the
   other photos, so the card presentations stay frameless for all
   four stages alike. */
.jv-kb-frame {
  grid-area: photo; display: block; overflow: hidden; border-radius: 0.3rem;
  width: 100%; max-width: 30rem; aspect-ratio: 4 / 3; margin-top: 0.8rem;
  background: #fff; padding: 0.45rem;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.16);
}
.jv-kb-frame .jv-kb-img {
  width: 100%; height: 100%; max-width: none; aspect-ratio: auto;
  object-fit: cover; margin: 0; border-radius: 0;
  padding: 0; background: transparent; box-shadow: none;
  transform-origin: 42% 45%; will-change: transform;
}
/* Per-photo focal points (stamp -b58, file 57): every journey
   photo crops somewhere - 16:9 in the steps list and the split
   rails, 4:3 in the phone list and the card photo cells, 2:1 in
   the wide deck - and the default centre crop left the subjects
   where luck put them (the rebuild's lifter stands at the left
   edge of her frame; the right half of that photo is equipment).
   Keyed by stage position, which is locked to the route, so a
   Panel photo swapped for the same stage keeps a sane crop.
   Chosen from the shipped photos: setback - therapist and the
   raised leg span the middle; evaluation - her face high, her
   hands low-centre; rebuild - the lifter at the left; return -
   the athlete centre-right. The Ken Burns transform-origin
   above (42% / 45%, file 37) is a separate audited value and
   is not touched. */
.journey--jv .jv-step[data-wp="setback"] .step-photo,
.journey--jv .jv-card[data-deck="setback"] .step-photo { object-position: 42% 40%; }
.journey--jv .jv-step[data-wp="evaluation"] .step-photo,
.journey--jv .jv-card[data-deck="evaluation"] .step-photo { object-position: 46% 40%; }
.journey--jv .jv-step[data-wp="rebuild"] .step-photo,
.journey--jv .jv-card[data-deck="rebuild"] .step-photo { object-position: 25% 42%; }
.journey--jv .jv-step[data-wp="finish"] .step-photo,
.journey--jv .jv-card[data-deck="finish"] .step-photo { object-position: 50% 38%; }
/* At-rest guarantee (stamp -b58, file 57): exactly one card is
   current at every scroll fraction by construction - the intro
   card carries .is-current in the markup, and the script's
   setSteps maps "no step reached yet" to the intro card and
   holds The return from the finish until the section leaves.
   This rule is the structural backstop for the deck and the
   overlay: if a frame is ever missed and no card carries
   .is-current, the intro card still paints, so the map never
   sits bare in front of the visitor. It cannot fire in any
   state the script produces (a current card always exists
   then), and it is inert wherever the containers are
   display:none. */
.journey--jv[data-jv="draw"] .jv-overlay:not(:has(> .jv-card.is-current)) .jv-card--intro,
.journey--jv[data-jv="draw"] .jv-deck:not(:has(> .jv-card.is-current)) .jv-card--intro {
  opacity: 1; visibility: visible; transform: none;
}
html.jv-on .jv-step { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.jv-on .jv-step.is-reached, html.jv-on .jv-step.is-current { opacity: 1; transform: none; }
.journey--jv.is-done .jv-drawn { animation: jv-pulse 0.9s ease-out 1; }
@keyframes jv-pulse { 0% { stroke: var(--sky); } 100% { stroke: var(--blue); } }

/* ---------- draw variant layout ---------- */
/* Sticky rules are gated on html.jv-on: with no JS (or reduced
   motion, where the script stands down) the section is plain static
   flow - map, then steps - and nothing can ever cover a heading.
   Desktop: the wrapper stretches to the steps column's height and
   the stage sticks inside it, so the sticky range is unchanged. The
   map additionally caps to the height left below the header
   (uniform scale: the %-positioned labels and the viewBox SVG scale
   with the box, so overlays stay aligned).
   Stamp -b55 (file 53): the split is now 2fr / 1fr on a widened
   section (an 88rem cap for the Draw section only, re-based from
   site-b.css's 72rem full-bleed padding), the map is the balanced
   crop (aspect 1.7424), the head rides inside the sticky stage
   (see the in-stage head block below), and the cap allowance is
   13.3rem - the measured in-stage overhead (head about 139px +
   margins + the attribution line) - so the stuck stage (head +
   map + attribution) keeps air under it at 900px and 800px
   viewport heights and lands flush, unclipped, at 640px. */
@media (min-width: 1100px) {
  .journey--jv[data-jv="draw"] {
    padding-left: max(1rem, calc((100vw - 88rem) / 2 + 1rem));
    padding-right: max(1rem, calc((100vw - 88rem) / 2 + 1rem));
  }
  .journey--jv[data-jv="draw"] .jv-scroll { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
  .journey--jv[data-jv="draw"] .jv-stick { align-self: stretch; }
  html.jv-on .journey--jv[data-jv="draw"] .jv-stage { position: sticky; top: var(--jv-top); }
  html.jv-on .journey--jv[data-jv="draw"] .jv-map {
    width: min(100%, calc((100svh - var(--jv-top) - 13.3rem) * 1.7424));
    margin-inline: auto;
  }
  .journey--jv[data-jv="draw"] .jv-head-instage { display: block; }
  @media (max-height: 30rem) {
    html.jv-on .journey--jv[data-jv="draw"] .jv-stage { position: static; }
    html.jv-on .journey--jv[data-jv="draw"] .jv-map { width: auto; margin-inline: 0; }
  }
}

/* ---------- in-stage head (stamp -b55, file 53) ----------
   The head copy inside the stage (rendered by the snippet, words
   from the same Panel fields as the in-flow head) shows only in
   the split bands whose stage can afford its height: at 1100px+
   (rule above), and in the 840-1099.5 split band only at 42rem+
   of viewport height (rule in that band's block, below). Where
   it shows, the in-flow head above the grid is visually hidden
   with the standard clip treatment - NOT display:none - so it
   stays the one heading assistive technology meets; the
   in-stage copy is aria-hidden in the markup. Everywhere else
   the in-flow head stands exactly as shipped. */
.jv-head-instage { display: none; margin: 0 0 1rem; }
.jv-head-instage h2 { margin: 0 0 0.6rem; }
.jv-head-instage .jv-intro { margin: 0; }
@media (min-width: 1100px) {
  .journey--jv[data-jv="draw"] > h2,
  .journey--jv[data-jv="draw"] > .jv-intro {
    position: absolute; width: 1px; height: 1px; margin: -1px;
    padding: 0; overflow: hidden; clip: rect(0 0 0 0);
    clip-path: inset(50%); white-space: nowrap; border: 0;
  }
}
/* ---------- stacked step cards (stamp -b55, file 53) ----------
   Wherever the steps LIST is the presentation - the rails of both
   split bands and the single-column lists below the pinned map -
   the step card is photo over text: a 16:9 photo across the
   card's full width, then the number disc beside the title and
   text. One card language with the phone deck. Scoped to Draw:
   the camera variant's station cards keep their own geometry,
   and the list is display:none wherever a card system (deck or
   overlay) is live, so these rules only ever style a visible
   list. The photos keep the print-frame treatment from
   site-b.css (.journey .step-photo); the frame's padding is
   inside the 16:9 box (border-box). Per-photo object-position
   waits for the real photos (file 53); the Return card's Ken
   Burns origin is re-audited at 16:9 in the -b55 pass. */
.journey--jv[data-jv="draw"] .jv-step {
  grid-template-columns: 3.1rem 1fr;
  grid-template-areas: "photo photo" "num body";
  gap: 0.9rem 1.1rem;
}
.journey--jv[data-jv="draw"] .jv-step .step-photo {
  width: 100%; max-width: none; aspect-ratio: 16 / 9;
  object-fit: cover; box-sizing: border-box; margin: 0;
}
.journey--jv[data-jv="draw"] .jv-kb-frame {
  width: 100%; max-width: none; aspect-ratio: 16 / 9; margin: 0;
}

/* Layer switch (fix pass 3): grounds, SVG overlays and label sets
   change at 699.5px - the same key as the <picture> source and the
   script's phoneMQ - so a Fold open in landscape (~762px window)
   gets the WIDE ground at full content width instead of the
   portrait composition scaled into the middle of a wide screen. */
@media (max-width: 699.5px) {
  .journey--jv { --jv-ar: 0.9615; }
  .jv-map { aspect-ratio: 1500 / 1560; }
  .jv-svg--desktop { display: none; }
  .jv-svg--phone { display: block; }
  .jv-labels--desktop { display: none; }
  .jv-labels--phone { display: block; }
  .jv-label, .jv-starttag, .jv-finish-tag { font-size: 0.74rem; }
  /* Tag swap (-b37): on the phone layer the finish tag keeps its two-line
     text ("Back in" / "the game") but no longer needs its own placement -
     it inherits the start tag's slot and translate(0, -50%) from the base
     rule. Its measured box (89x37px) is narrower than the start tag's
     (106x36px) at the same anchor, so the slot's audited clearances hold
     or improve (audit-tag-swap.mjs). */
}
/* Draw, single column (fix pass 3; pin restored fix pass 4): at or
   below 1099.5px the draw section is title + intro + PINNED MAP +
   steps. Fix pass 3 retired the phone stick entirely (natural
   flow, progress keyed to the stage's own passage); that removed
   pass 2's dead tail but also removed the hold - the map transited
   and its top quarter was gone behind the header before the route
   finished (Bill, on -b34: "you scroll past the map, therefore it's
   all gone before the route finishes"). Fix pass 4 brings the pin
   back, done right: the stage sticks inside .jv-stick at --jv-top,
   and progress is measured across the sticky's own stuck travel
   (wrapper height - stage height, both read live in the script),
   so the pin interval and the progress interval are the same
   interval by construction and the release lands exactly at
   progress 1.0 on any browser. The wrapper is calc(150svh + 26rem):
   the constant roughly covers the stage's own height, so the stuck
   travel lands at ~1.33-1.51 viewport heights across the audited
   sizes (file 37, fix pass 4 addendum) - a comfortable reading
   pace. The steps follow the wrapper in normal flow, so pass 2's
   guarantee stands (no step text ever passes under the map, no
   clipped headings) and there is no empty tail: the wrapper's
   extra height is entirely consumed while the map is on screen.
   The map is height-capped (uniform scale, so labels and the
   viewBox SVG stay aligned) by the space below the header MINUS
   the attribution line, so the whole stage - map + attribution -
   fits inside the viewport while stuck; at max-height 30rem the
   pin comes off (the natural-size stage is taller than those
   viewports) and the composition scrolls top-first, fix pass 2's
   sanctioned short-screen behaviour, with progress falling back
   to the passage formula. All sticky rules stay gated on
   html.jv-on: the no-JS / reduced-motion fallback is plain static
   flow at every width, exactly as before. */
@media (max-width: 1099.5px) {
  /* Fix pass 8: the cap's allowance grows 3.5rem -> 5.5rem. The
     3.5rem figure left the stuck stage's bottom (the attribution
     line) 29px above the viewport bottom at cap-bound sizes -
     on Bill's Fold that strip is exactly where the Samsung
     taskbar overlays the page and where the fixed decision panel
     sat, so the attribution read as cut off at the screen's edge
     (his unfolded-landscape shot 962). 5.5rem puts the stage
     bottom ~61px above the viewport bottom at those sizes. The
     deck band's maps are content-bound, not cap-bound, at every
     audited size, so deck stage heights and travels are
     untouched; the list band's travel grows by the same ~32px
     the stage shrinks, and pin = progress by construction is
     unaffected. ONE EXCEPTION, measured in audit-pass-8: in the
     OVERLAY band the wider allowance shrank the map ~7% at the
     binding size (762x648: 687 -> 639px), the narrower card's
     text column wrapped taller (302px vs the audited 276px),
     and the taller card reached the route and the evaluation
     disc. The overlay band therefore keeps the 3.5rem allowance
     (counter-rule in the overlay gate below) - its geometry is
     the pass-6/7-audited geometry, and Bill's cut-off complaint
     was a list-band size. The air fix applies where he hit it:
     the list band. */
  .journey--jv[data-jv="draw"] .jv-map {
    width: min(100%, calc((100svh - var(--jv-top) - 5.5rem) * var(--jv-ar)));
    margin-inline: auto;
  }
  html.jv-on .journey--jv[data-jv="draw"] .jv-stick { height: calc(150svh + 26rem); }
  html.jv-on .journey--jv[data-jv="draw"] .jv-stage {
    position: sticky; top: var(--jv-top);
  }
  html.jv-on .journey--jv[data-jv="draw"] .jv-step { opacity: 1; transform: none; }
  /* Journey cards, sideways (fix pass 6; the containers' display
     is gated further down): pass 5 stacked a photo strip over the
     words, and the strip cropped the photos badly - a person came
     out as a torso (Bill, Nov 1, with his folded screenshot). Both
     card containers now share ONE sideways card: the photo is a
     full-height LEFT column, the words sit to its right, and the
     number disc rides as a badge on the photo's top corner
     nearest the title instead of eating a grid column beside it.
     That placement is what lets the stage titles keep their full
     1.3rem inside the narrower text column - measured in the
     shipped font (journey-variants/audit-pass-6.py), "The
     evaluation" clears by 42px at the 358px folded stage and by
     12.6px even at a 312px stage; no card title or body text
     overflows its card at any audited size. The Return card's
     Ken Burns frame is its photo column; the script scrubs every
     .jv-kb-img copy, whichever container is on screen. The intro
     card has no photo and stays full-width text; a step whose
     photo is cleared in the Panel falls back to a disc-in-flow
     grid (jv-card--nophoto). The two containers differ only in
     placement and measure: the deck flows under the map; the
     overlay rides ON the map in the landscape gate - a smaller
     measure (28% photo column, 1.19rem titles, 1.06rem body)
     sized by the anchor audit, not by eye. Cards still stack in
     ONE grid cell per container, so a container's height is its
     tallest card's and cannot change when the state swaps - in
     the deck that keeps the stage height, and with it the stuck
     travel, constant through the journey.
     Fix pass 7 (Nov 1, 2026) - two changes, both from Bill's phone:
     (1) THE INTRO CRUSH, diagnosed and fixed at the root. In the
     overlay the intro card took its grid COLUMNS from the overlay
     card rule (28% 1fr, specificity 0,4,0) but its grid AREAS from
     the intro rule ("body", 0,3,0, later in source than the base
     card rule's "photo body"). The single "body" area then mapped
     onto the FIRST column - the 28% photo track - so the intro
     text crushed into a ~76px column, the card ballooned to
     ~940px tall, and the bottom-anchored overlay painted that
     tall translucent panel up over the map and the page above it
     (Bill's screenshot 956; reproduced in a real layout engine,
     journey-variants/probe-pass-7.mjs). The deck never showed it:
     there the intro rule wins columns AND areas together. The fix
     makes every columns/areas pair atomic: the overlay card rule
     now declares its areas with its columns, and the intro and
     no-photo variants declare theirs through selectors scoped to
     EACH container at the overlay rule's own specificity, placed
     after it - no card can ever take columns from one rule and
     areas from another again. As a backstop the overlay also gets
     max-height: calc(100% - 0.75rem), so even a future content
     blow-up clips inside the map box instead of escaping it.
     (2) THE DISC MOVES into the text area (Bill, with his folded
     screenshot 958: the badge sits on the photo where a face will
     be once the real photos land). The disc span now renders
     inside .step-body and the body cell is a grid - "num title" /
     "num text" - so the disc stands beside the title in the text
     column and the photo is bare. Bill accepted the price: the
     titles size down so disc + title hold one line - deck 1.125rem
     under 700px (the full 1.3rem stands at 700px+), overlay disc
     2.25rem with titles 0.875rem under 880px and 1.0625rem above,
     photo column 24% - all measured in the shipped font with the
     anchor audit re-run (journey-variants/audit-pass-7.py): "The
     evaluation" clears by 4.9px at the 358px folded stage and by
     12.0px at the binding 762x648 overlay, and the overlay's
     anchor audit re-run against the rect the browser actually
     produces (the pass-7 probe's measured card, after the
     overlay's anchor moved inside the map): every kept size
     clears, binding at 762x648 on the route + travelling dot at
     2.4px. A sub-375px safety step (smaller
     disc + title) keeps containment absolute at stage widths no
     shipped band member reaches. The phone deck's stage first
     lengthened with the disc's move, then the fit rules above
     funded it back out of the card (measured stage 618px at
     390x844, 636px at 412x860 in the layout engine, against the
     -b44 build's 630/629), and the wrapper constant settles at
     38.98rem with the stuck travel back on the -b44 build's
     measured figures (within 10px at both folded sizes - one
     constant cannot split the two stages' uneven change any
     finer); the 700px+ deck is unchanged. */
  .journey--jv[data-jv="draw"] .jv-deck {
    margin-top: 0.7rem; overflow: hidden;
    background: rgba(255, 255, 255, 0.97); border-radius: 0.7rem;
    box-shadow: 0 10px 30px rgba(10, 30, 50, 0.16);
  }
  .journey--jv[data-jv="draw"] .jv-overlay {
    position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 5;
    width: min(19rem, 37%); max-height: calc(100% - 0.75rem); overflow: hidden;
    background: rgba(255, 255, 255, 0.97); border-radius: 0.7rem;
    box-shadow: 0 10px 30px rgba(10, 30, 50, 0.22);
  }
  .journey--jv[data-jv="draw"] .jv-card {
    grid-area: 1 / 1; display: grid; grid-template-columns: 36% 1fr;
    grid-template-areas: "photo body"; padding: 0; align-items: stretch;
    position: relative;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0.45s;
  }
  .journey--jv[data-jv="draw"] .jv-overlay .jv-card { grid-template-columns: 24% 1fr; grid-template-areas: "photo body"; }
  .journey--jv[data-jv="draw"] .jv-card.is-current {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  /* Body cell (fix pass 7): a grid of its own - disc in the "num"
     column spanning both rows, title and text to its right - so
     the disc stands in the text area beside the title. The disc
     takes grid-area: num from site-b.css, as in the steps list. */
  .journey--jv[data-jv="draw"] .jv-card .step-body {
    grid-area: body; padding: 0.8rem 1rem; align-self: center;
    display: grid; grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-areas: "num title" "num text"; column-gap: 0.7rem;
    align-content: center;
  }
  .journey--jv[data-jv="draw"] .jv-card .step-body h3 { grid-area: title; }
  .journey--jv[data-jv="draw"] .jv-card .step-body p { grid-area: text; max-width: none; }
  .journey--jv[data-jv="draw"] .jv-card .step-num { align-self: start; }
  /* Intro and no-photo variants: columns AND areas declared
     together, through selectors scoped to each container at the
     overlay card rule's specificity and placed after it - the
     pass-7 atomicity fix (see the card block comment above). */
  .journey--jv[data-jv="draw"] .jv-deck .jv-card--intro,
  .journey--jv[data-jv="draw"] .jv-overlay .jv-card--intro {
    grid-template-columns: 1fr; grid-template-areas: "body";
  }
  .journey--jv[data-jv="draw"] .jv-card--intro .step-body { display: block; }
  .journey--jv[data-jv="draw"] .jv-deck .jv-card--nophoto,
  .journey--jv[data-jv="draw"] .jv-overlay .jv-card--nophoto {
    grid-template-columns: 1fr; grid-template-areas: "body";
  }
  /* Overlay measure (fix pass 7): a smaller disc and stepped
     titles fund the disc beside the title in the overlay's narrow
     card (audit-pass-7.py); the deck's measure is below. */
  .journey--jv[data-jv="draw"] .jv-overlay .jv-card .step-body {
    grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: 0.6rem;
  }
  .journey--jv[data-jv="draw"] .jv-overlay .jv-card .step-num {
    width: 2.25rem; height: 2.25rem; font-size: 1.05rem;
  }
  @media (max-width: 699.5px) {
    .journey--jv[data-jv="draw"] .jv-deck .jv-card:not(.jv-card--intro) .step-body h3 { font-size: 1.125rem; }
    /* Phone deck fit (fix pass 7): the disc in the text column
       lengthened the phone cards past the fit under the full
       header (stage 679px vs the 644px available at 390x844 in
       the layout engine's measure). The deck funds the fit back
       the way pass 5 funded the deck itself - out of the card,
       never the map: a narrower photo column (which also widens
       the title's column, margin 4.9px -> 20px+), a one-step
       smaller body, tighter body padding. The columns rule is
       :not-scoped to the photo cards so it can never split the
       intro/no-photo cards' areas from their columns - the
       pass-7 atomicity rule applies to new rules too. */
    .journey--jv[data-jv="draw"] .jv-deck .jv-card:not(.jv-card--intro):not(.jv-card--nophoto) {
      grid-template-columns: 32% 1fr;
    }
    .journey--jv[data-jv="draw"] .jv-deck .jv-card .step-body { padding: 0.7rem 0.9rem; }
    .journey--jv[data-jv="draw"] .jv-deck .jv-card .step-body p { font-size: 1.0625rem; }
  }
  @media (min-width: 880px) {
    .journey--jv[data-jv="draw"] .jv-overlay .step-body h3 { font-size: 1.0625rem; }
  }
  /* Containment safety step for sub-375px stages (no shipped band
     member is this narrow - the Fold cover stage is 358px at a
     390px viewport): smaller disc + title keep disc + title on
     one line with margin to spare (audit-pass-7.py). */
  @media (max-width: 374.5px) {
    .journey--jv[data-jv="draw"] .jv-deck .jv-card .step-body {
      grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 0.6rem; padding-inline: 0.8rem;
    }
    .journey--jv[data-jv="draw"] .jv-deck .step-body h3 { font-size: 1rem; }
    .journey--jv[data-jv="draw"] .jv-deck .step-num { width: 2.5rem; height: 2.5rem; font-size: 1.1rem; }
  }
  /* Photo cells, aspect-fixed (stamp -b58, file 57): the photo no
     longer stretches to the card's full height under object-fit:
     cover. In the overlay's 24% column that was a ~70px-wide
     full-height sliver of the scene - Bill's Fold-landscape shot
     showed half a person and equipment edges - and the deck's
     wider columns had the same disease in milder form, the
     subject wherever the centre crop left it. The photo now
     renders as a proper picture at a fixed aspect, centred in
     its column: 4:3 in the deck's phone band and in the overlay;
     2:1 in the deck's wide band, where a 4:3 cell would outgrow
     the text and lengthen the deck (2:1 keeps every deck height,
     and with it the wrapper constants and stuck travels, exactly
     as audited - journey-variants/audit-b58.py). Card heights
     stay body-driven everywhere: the cell is shorter than the
     text block at every audited size, so no stage height, travel
     or anchor rect changes. The overlay KEEPS its sideways card:
     the photo-over-text restack was modelled first and fails
     the anchor audit at the binding sizes - the taller card
     reaches the Lake Davidson label and the evaluation disc's
     ping (audit-b58.py) - because this band's map is only
     ~400-460px tall and its proven empty region is the bottom
     ~240px the sideways card already fills. Per-photo focal
     points ride on the global [data-wp] / [data-deck] rules
     below. */
  .journey--jv[data-jv="draw"] .jv-deck .step-photo,
  .journey--jv[data-jv="draw"] .jv-overlay .step-photo {
    grid-area: photo; width: 100%; height: auto; max-width: none;
    aspect-ratio: 4 / 3; object-fit: cover; margin: 0;
    border-radius: 0.5rem; align-self: center;
    /* Stamp -b59 (file 58): the print treatment from the base
       .journey .step-photo rule in site-b.css (white padding, paper
       background, soft shadow - written for the steps LIST) leaked
       into these cells; Bill's Fold-landscape shot showed the
       overlay photo wearing it as a white frame. In the deck and
       the overlay the photo is a bare picture in its cell: no
       padding, no background, no shadow. box-sizing is border-box
       throughout, so the reset changes no box size anywhere. */
    padding: 0; background: transparent; box-shadow: none;
  }
  .journey--jv[data-jv="draw"] .jv-deck .jv-kb-frame,
  .journey--jv[data-jv="draw"] .jv-overlay .jv-kb-frame {
    grid-area: photo; width: 100%; height: auto; max-width: none;
    aspect-ratio: 4 / 3; margin: 0; box-shadow: none;
    border-radius: 0.5rem; align-self: center;
    /* Stamp -b74 (file 78): the base .jv-kb-frame now carries the
       print frame's padding and white background (steps-list
       parity); strip both here too, so the Return photo stays a
       bare picture in its cell like the other three. */
    padding: 0; background: transparent;
  }
  @media (min-width: 700px) {
    .journey--jv[data-jv="draw"] .jv-deck .step-photo,
    .journey--jv[data-jv="draw"] .jv-deck .jv-kb-frame { aspect-ratio: 2 / 1; }
  }
  .journey--jv[data-jv="draw"] .jv-overlay .step-body h3 { font-size: 0.875rem; }
  .journey--jv[data-jv="draw"] .jv-overlay .step-body p { font-size: 1.0625rem; }
  /* Fix pass 8: at or under 30rem tall this static branch is now
     a deliberate STILL band, not a degraded animation. Measured
     in the layout engine (probe-pass-8): with the cap + pin
     hypothetically restored at 915x412 / 844x390 / 740x360 the
     height-capped map is 335-412px wide, and at that size the
     scene stops being whole - the clinic label collides with
     the setback disc and (at 360 tall) with the tag slot, and
     the start tag leaves the map entirely at 360. The pin needs
     a map of ~500px+ for the labels, discs and tags to hold
     their audited geometry, and 30rem of height cannot fund
     that under any header. So the script stands the animation
     down at these sizes (jv-still: the completed route, all
     steps listed - the fallback presentation) instead of
     animating by passage under a map that scrolls away, which
     is what Bill's folded-landscape shot (966) showed. Above
     30rem the pin holds and the grazes vanish by ~560px of
     viewport height (map ~557px). */
  @media (max-height: 30rem) {
    .journey--jv[data-jv="draw"] .jv-map { width: auto; margin-inline: 0; }
    html.jv-on .journey--jv[data-jv="draw"] .jv-stick { height: auto; }
    html.jv-on .journey--jv[data-jv="draw"] .jv-stage { position: static; }
  }
}

/* Phone deck gate (fix pass 5): the deck exists only where the
   pinned stage can hold map + deck under the header WITHOUT the
   map giving up height. In this band the map is height-capped in
   landscape shapes - at 762x648 the below-header space is 523px
   and map + attribution already take ~493px of it, leaving ~30px:
   any real deck there could only be funded out of the map, and
   Bill's rule is that the deck's photo shrinks first and the map
   never does. So the deck gates to portrait shapes (aspect at or
   under 9/10) with real height (at least 50rem): folded phones,
   the Fold open in portrait, portrait tablets - everywhere it
   fits whole. Outside the gate the draw section is exactly the
   -b38 build: pinned map, steps in the list below. Inside the
   gate the stick wrapper grows by the deck's height (26rem ->
   40rem of constant at pass 5; 39.11rem / 36.65rem since the
   sideways cards of fix pass 6 shortened the deck; 38.98rem in
   the phone band since fix pass 7 (the disc's move into the text
   column, then the fit funded back out of the card; the constant
   is set from the layout engine's measured stage and travel,
   audit-pass-7 reporting) -
   the 700px+ deck did not change and keeps 36.65rem), so the stuck
   travel - and with it the pacing windows Bill approved - is
   preserved, and progress is
   still measured across the sticky's own travel, so the release
   lands exactly at 1.0 with the taller stage just as it did
   before. The gate is gated on html.jv-on like every animated
   rule here: the fallback never sees the deck. */
@media (max-width: 1099.5px) and (min-height: 50rem) and (max-aspect-ratio: 9/10) {
  html.jv-on .journey--jv[data-jv="draw"] .jv-stick { height: calc(150svh + 38.98rem); }
  html.jv-on .journey--jv[data-jv="draw"] .jv-steps { display: none; }
  html.jv-on .journey--jv[data-jv="draw"] .jv-deck { display: grid; }
  /* Exactly one card system live per band, by construction (fix
     pass 7): this gate names the overlay out as explicitly as the
     landscape gate names the deck out, rather than leaving the
     other container's absence to the base rule alone. */
  html.jv-on .journey--jv[data-jv="draw"] .jv-overlay { display: none; }
}
/* Deck wrapper, wide members of the gate (fix pass 6): the
   sideways deck is SHORTER than the stacked one (211.6px ->
   197.8px at phone widths, 195.7px -> 142px at 700px+), because
   the photo no longer adds a strip under the words. The wrapper
   constant steps down by the same amounts - 39.11rem in the phone
   band, 36.65rem at 700px+ - so the stuck travel stays where
   pass 5 put it: audit-pass-6.py puts the travel within 0.1px of
   the -b39 figures at 390/412/834/768, and progress is still
   measured across the sticky's own travel, so the release still
   lands exactly at 1.0. */
@media (min-width: 700px) and (max-width: 1099.5px) and (min-height: 50rem) and (max-aspect-ratio: 9/10) {
  html.jv-on .journey--jv[data-jv="draw"] .jv-stick { height: calc(150svh + 36.65rem); }
}
/* Landscape overlay gate (fix pass 6): in the single-column
   landscape shapes the pinned map leaves no room for a deck
   below it (pass 5's arithmetic stands - at 762x648, ~30px), so
   the stage cards ride ON the map instead, anchored bottom-left
   of the world in the route's empty south-west region, swapping
   at the same waypoint arrivals from the same current-step
   value, the Return photo's Ken Burns push completing at 1.0
   inside the pin like the deck's. The anchor is an audited hard
   gate, not an eyeball: audit-pass-6.py checks the card rect
   against the route polyline, the travelling dot at every
   fraction (the dot's worst case is the polyline inflated by its
   radius), every waypoint disc + ping, the flag cloth, pole and
   base, both tags, and all five live labels, with every text
   measured in the shipped Archivo font. The gate is drawn only
   around shapes where a compliant card was PROVEN:
   - pinned landscapes at least 40rem tall: at the binding
     762x648 the card (37% x 52% of the map) clears the greenway
     label by 10.0px, the route + dot by 28.5px, every disc by
     33px+, and its tightest title ("The evaluation") fits with
     10.6px to spare; larger sizes clear by more;
   - the <=30rem static class, whose full-width map restores
     the room: 956x440 clears by 56.8px+, 906x430 the same shape
     of margin, the 700x480 gate edge by 7.2px.
   The mid-height pinned landscapes are EXCLUDED on evidence,
   not oversight: there the map is height-capped small while the
   labels keep their CSS-pixel size, and the geometry closes up
   - at 906x512 the map is 487px wide and the same card would
   cover the evaluation disc and four of the five labels, with
   its title margin at -42.7px (the card cannot even hold its
   own words); 834x560 and 1099x600 fail the same audit. Those
   shapes keep the -b43 presentation - pinned map, steps in the
   list below - and are reported as no-compliant-card sizes in
   file 37 rather than covered. In the gate, the stacked list is
   removed under html.jv-on, mirroring the deck; the no-JS /
   reduced-motion fallback keeps the list everywhere. The
   overlay is absolutely positioned and adds no stage height, so
   the wrapper constant and the travel in this band are exactly
   the -b43 figures.
   Fix pass 7 gate note: the <=30rem branch's floor rises from
   700px to 800px wide on fresh evidence - with the disc in the
   text column the real card at 700x480 measures 247x276px and
   its corner clips the route + travelling dot by 4.3px (lake
   label 0.7px), while 800x480 clears by 21.8px (audit-pass-7.py,
   measured rects). 700x480 keeps the list, like the mid-height
   sizes above. */
/* Fix pass 8 (Nov 1, 2026): the gate's second branch (the
   <=30rem static class: 956x440, 906x430, 800x480) is RETIRED.
   Those sizes have no pin, and pass 8 makes them the deliberate
   STILL band (see the max-height block above): the completed
   route with the steps listed, the overlay off, the list on.
   An overlay card anchored to a map that is scrolling away in
   normal flow was part of Bill's folded-landscape complaint
   (shot 966 - the card and the fixed panel fighting at the
   bottom-left while the scene scrolled past). The first branch
   stands unchanged. Pass 8 also confirms a member of that
   branch on fresh evidence: the Fold open in PORTRAIT reports
   a viewport of ~750x671 (its browser chrome and taskbar come
   off the 750x832 panel first), so it lands here, not in the
   deck gate - and the deck genuinely cannot fit it: at 700px+
   widths the deck stage needs ~770px of viewport height
   (a >=600px map for the label geometry + attribution + a
   ~210px deck + the full header), against the 671px on offer.
   The overlay is that shape's deliberate branch; its anchor
   audit at 750x671 passes from live route geometry with
   18.6px+ clearances (audit-pass-8). */
/* Stamp -b60 (Nov 9, 2026, file 59): the gate gains two
   pixel-floor branches beside the original 40rem branch, which is
   unchanged. Bill's landscape shot (file 1071) showed the bare
   pinned map with the steps listed below. His Fold measures
   750x671 portrait and ~832x615 landscape at the device's 16px
   default root (screenshot metrology in file 59: the panel's
   2.625 DPR puts the portrait at exactly the 750px pass 8
   recorded, and the landscape map's height-capped width back-
   solves to ~615px tall) - so the 40rem floor, 640px even at the
   design root, sat above his landscape viewport and the overlay
   never engaged. The two new branches - WIDE (800px+ wide) and
   NARROW (740px+ wide) - pair a pixel floor with the same floor
   in rem at the design root (600px with 37.5rem; 660px with
   41.25rem), and a shape must clear both, so the effective floor
   is the larger of the two: at the default root the pixel floor
   governs and Bill's 615px landscape is in, while enlarged
   system text raises the demand in step with the rem-sized card
   it has to fit. That pairing is load-bearing, not decoration:
   with pixel floors alone, a 20px root admitted short shapes
   whose taller cards covered the route, the discs and the lake
   label (probe-b60); paired, those shapes keep the list at that
   root, exactly as the original floor had them. Every shape the
   branches admit gets the photo-panel card (the step below
   carries the same two branches) and was re-audited against the
   route, the discs and the labels before shipping (probe-b60,
   file 59). Widths under 740px keep the original floor alone:
   there the compact card's clearances are already spoken for
   (the 720x640 corner; at a 17px root a blanket 640px floor
   measured the route covered and a disc at -13.9px at
   720x650/730x660), and the pass-6 excluded mid-height shapes
   stay excluded. */
/* Stamp -b63 (Nov 9, 2026, file 62): the gate is rebuilt around
   the TEXT-ONLY card. Bill's decision (Nov 9): the journey stage
   photos are dropped in every mobile presentation (the block
   after the gate) - the text is the content, and four passes of
   photo geometry on foldables kept missing his phone. With no
   photo to fund, the -b60 paired branches are REMOVED as
   subsumed: NARROW (740px+, 660px/41.25rem) and WIDE (800px+,
   600px/37.5rem) both existed to buy a 140px photo panel its
   height, and the single new branch below is looser than both
   at every root. The new branch pairs a 580px floor with the
   same floor in rem (36.25rem), a shape clearing both: at the
   16px design root the pixel floor governs, and enlarged system
   text raises the demand in step with the rem-sized card it has
   to fit - the -b60 pairing discipline, kept. The floor is
   DERIVED, not fitted (sweep over widths 660-840 x heights
   540-760 x roots 16/17/18/20, file 62): the text-only card's
   height is set by the intro card (233px at the narrow maps),
   and below 580px of viewport height its top edge reaches the
   Lake Davidson label - overlap 17.2px at 540, 3.9px at 560,
   clear at 580 at every width from 720 up, with the route and
   discs clear from 540. Both branches now also start at 705px,
   not 700: at 700-704px the header is still the tall three-row
   one (the slim band starts at 44.01rem), the map is
   width-bound at ~383px tall, and the intro card grazes the
   lake label's box by 1.1px at EVERY height there (route and
   discs fail outright under 600px) - while at 705-719 the same
   heights clear by 25px+. The original branch's only live
   shapes in 700-704 were the single 704x640 cell, so the strip
   keeps the list, as it effectively did. 36.25rem also keeps
   the new branch clear of the 30rem still band at every root,
   as the old floors did. Below 840px the new branch subsumes
   the 40rem branch at every root; at 840px+ the split band
   hides the overlay outright, so nothing there changes. The
   phone layer (<=699.5px) stays out: the overlay has never run
   on its portrait-composition ground and label set, and the
   sweep records those widths as list shapes. */
/* Stamp -b65 (Nov 9, 2026, file 64): branch C is REPLACED by
   four narrower branches (C1-C4 in the gate list below), cut
   to the proven-safe region of the -b64 clearance sweep
   (file 63, recovery run). Branch C as built at -b64 (705px+,
   520px / 31.75rem) never shipped: its sweep failed the hard
   bars in 116 of 184 cells - route or waypoint-disc contact
   across most of the band at enlarged roots (the card grows
   with the root: 248px tall at f17, 262-304px at f18-20,
   against 207px at f16), in the whole f16 height-520 row at
   every width, and in every root-20 cell. The cells that pass
   (route and discs clear; a Lake Davidson label graze is the
   only residual, and only where the sweep recorded it):
   - f16, widths 705-839: heights 540-575 pass (540/556/560
     graze the lake label, by 17.2 / 6.6 / 3.9px of its height;
     575 is fully clean - Bill's measured landscape cell is
     832x575 at this root).
   - f17, widths 760-839 only: heights 575-615 pass (lake
     grazed until 615; widths 705-740 fail at every height,
     heights 540-560 fail at every width).
   - f18, widths 800-839 only: heights 615-650 pass (lake
     grazed at 615; everything narrower or shorter fails).
   - f20: no cell passes. Nothing is admitted at f20.
   Each branch carries the paired px+rem floor of the house
   discipline PLUS a px max-height cap set just under the
   floor the rem term reaches at the next root up, so the
   branch self-extinguishes before it can admit a larger
   root's failing shapes (one pair alone cannot rise steeply
   enough between adjacent roots - at most 17/16 per step -
   and the narrow-width failures at f17/f18 persist to the
   top of their bands). Effective admissions:
   - C1 (705px+, 540px / 33.75rem, cap 549px): the f16 540
     row, heights 540-549 (smaller roots take the same window
     on the px floor, the house pattern); nothing at f17+,
     where the floor (573.75px) exceeds the cap.
   - C2 (705px+, 540px / 34.25rem, cap 579.5px): the f16 main
     band, heights 548-579.5; nothing at f17+, where the
     floor (582.25px) exceeds the cap. C1+C2 together give
     f16 heights 540-579.5 at every width, meeting branch B
     at 580.
   - C3 (760px+, 575px / 33.8rem, cap 607px): the f17 wide
     band, heights 575-607 (at f16 the same shapes pass on
     their own record); nothing at f18+, where the floor
     (608.4px) exceeds the cap. Heights 608-615 at widths
     760-799 stay list at f17: tested clean at 615 only, and
     no cap reaches 615 without also admitting f18's failing
     shapes at the same widths. A conservative gap, kept.
   - C4 (800px+, 615px / 34.1rem, cap 652.4px): the f18
     widest band, heights 615-652.4, meeting branch B at
     652.5; at f17 the same window is clear on its own record
     (615 clean, the rest branch B's shapes), and at f20 the
     floor (682px) exceeds the cap, so nothing is admitted.
   Floors sit at the lowest passing tested values of the -b64
   sweep and width floors at its narrowest passing tested
   widths; no cell that sweep recorded as route/disc-failing
   or at-rest-failing is admitted at its root. The -b65 sweep
   (file 64) re-verifies the admitted region on a denser grid
   before this ships. The phone layer and widths under 705
   stay out, as in branch B. */
@media (min-width: 705px) and (max-width: 1099.5px) and (min-aspect-ratio: 11/10) and (min-height: 40rem),
       (min-width: 705px) and (max-width: 839.5px) and (min-aspect-ratio: 11/10) and (min-height: 580px) and (min-height: 36.25rem),
       (min-width: 705px) and (max-width: 839.5px) and (min-aspect-ratio: 11/10) and (min-height: 540px) and (min-height: 33.75rem) and (max-height: 549px),
       (min-width: 705px) and (max-width: 839.5px) and (min-aspect-ratio: 11/10) and (min-height: 540px) and (min-height: 34.25rem) and (max-height: 579.5px),
       (min-width: 760px) and (max-width: 839.5px) and (min-aspect-ratio: 11/10) and (min-height: 575px) and (min-height: 33.8rem) and (max-height: 607px),
       (min-width: 800px) and (max-width: 839.5px) and (min-aspect-ratio: 11/10) and (min-height: 615px) and (min-height: 34.1rem) and (max-height: 652.4px) {
  html.jv-on .journey--jv[data-jv="draw"] .jv-overlay { display: grid; }
  html.jv-on .journey--jv[data-jv="draw"] .jv-steps { display: none; }
  html.jv-on .journey--jv[data-jv="draw"] .jv-deck { display: none; }
  /* Stamp -b63: inside the gate the card takes the 45% measure
     the -b59/-b60 photo panel was audited at - the width is now
     bought for the words alone, which is what makes the text
     column wide enough that no stage's full text wraps past the
     audited card height. Inert at 840px+, where the split band
     hides the overlay. */
  .journey--jv[data-jv="draw"] .jv-overlay { width: min(23rem, 45%); }
  /* Fix pass 8: this band keeps the pre-pass-8 map allowance
     (see the cap comment in the single-column block): the wider
     5.5rem allowance broke this band's audited anchor geometry
     at its binding size. The fallback (no jv-on) is not scoped
     here - with no card anchored to the map, the smaller map is
     harmless there. */
  html.jv-on .journey--jv[data-jv="draw"] .jv-map {
    width: min(100%, calc((100svh - var(--jv-top) - 3.5rem) * var(--jv-ar)));
  }
}

/* ---------- journey cards text-only below the split (stamp -b63, file 62) ----------
   Bill's decision (Nov 9, 2026): drop the journey stage photos on
   mobile; the desktop split keeps them. Below the split
   presentation's start - the split bands begin at 840px (file 53:
   the 840 floor is set by the rail) - every journey card is
   text-only, in all three mobile presentations:
   - the steps LIST (single-column shapes where neither card gate
     fires, and the no-JS / reduced-motion fallback everywhere
     below the split): the step rows drop the photo area and run
     disc + words on one row, the form a photo-less step already
     used in the rail's markup order;
   - the DECK and the OVERLAY: every step card takes the
     jv-card--nophoto grid (body across the card's full width),
     the form the intro card and Panel-cleared steps already used.
   The photos are display:none, so no image occupies any space in
   these layouts - not a sliver, not a frame. The photo FIELDS stay
   in the Panel and the markup: the split rail at 840px+ renders
   the same markup with its photos, byte- and pixel-identical
   (file 62), and the Return card's Ken Burns frame stays a
   desktop rail treatment. The card selectors carry the pass-7
   :not()s at the photo rules' own specificity, so columns and
   areas can never split across rules (the pass-7 atomicity rule).
   The -b55 deck sub-band text-only block further down is subsumed
   by this one and stands as history. */
@media (max-width: 839.5px) {
  .journey--jv[data-jv="draw"] .jv-step { grid-template-areas: "num body"; }
  .journey--jv[data-jv="draw"] .jv-step .step-photo,
  .journey--jv[data-jv="draw"] .jv-step .jv-kb-frame { display: none; }
  .journey--jv[data-jv="draw"] .jv-deck .jv-card:not(.jv-card--intro):not(.jv-card--nophoto),
  .journey--jv[data-jv="draw"] .jv-overlay .jv-card:not(.jv-card--intro):not(.jv-card--nophoto) {
    grid-template-columns: 1fr; grid-template-areas: "body";
  }
  .journey--jv[data-jv="draw"] .jv-deck .step-photo,
  .journey--jv[data-jv="draw"] .jv-deck .jv-kb-frame,
  .journey--jv[data-jv="draw"] .jv-overlay .step-photo,
  .journey--jv[data-jv="draw"] .jv-overlay .jv-kb-frame { display: none; }
}

/* ---------- overlay photo panel step: REMOVED (stamp -b63, file 62) ----------
   The -b59 full-height photo panel and its -b60 branch extension
   and width bumps (47% narrow, 48% short-wide), together with the
   body-copy step-down that funded them, are deleted. Below the
   split the journey cards are text-only now (the block after the
   landscape gate), so there is no photo left for a panel step to
   widen for; the overlay's 45% width survives as a gate rule,
   bought for the words. The step's rules only ever styled the
   overlay, which the split band hides at 840px+, so nothing at
   or above the split changes. The full -b59/-b60 text is in
   files 58 and 59. */

/* ---------- deck text-only sub-band (stamp -b55, file 53) ----------
   Bill's text-first card rule: if a card's photo impedes getting
   the card's text fully into the viewport, the photo goes - the
   text is never shrunk, and the map is never shrunk to save a
   photo. The shipped defect this answers: at phone-layer widths
   from about 560px up, in tall portrait viewports, the deck stage
   (map + deck under the full header) outgrows the room below the
   header - measured 837px against 777px at 669x951 - so the deck
   card's bottom is clipped for the entire pin. In this sub-band
   the deck cards render text-only (the jv-card--nophoto grid:
   the body takes the card's full width, which also unwraps the
   text), while the map keeps its full size. The selector carries
   both :not()s so its weight matches the pass-7 deck fit rule it
   overrides. Whether text alone fits is measured in the -b55
   audit; the map height cap for this sub-band lives in the next
   block and is scoped by the same gate. */
@media (min-width: 560px) and (max-width: 699.5px) and (min-height: 50rem) and (max-aspect-ratio: 9/10) {
  .journey--jv[data-jv="draw"] .jv-deck .jv-card:not(.jv-card--intro):not(.jv-card--nophoto) {
    grid-template-columns: 1fr; grid-template-areas: "body";
  }
  .journey--jv[data-jv="draw"] .jv-deck .step-photo,
  .journey--jv[data-jv="draw"] .jv-deck .jv-kb-frame { display: none; }
}
/* Deck-band map cap (stamp -b55, file 53): the second lever.
   Text alone does not close the defect - measured in the -b55
   audit, the text-only stage at 669x951 still stands 40px too
   tall, because the deck's height at these widths is set by the
   (already text-only) intro card, not by the step photos. So
   inside the deck gate the map also caps by the room below the
   header minus an allowance for the deck + attribution. The
   study's formula carried a 12.5rem allowance; the audit's
   measured deck heights (159px at the binding widths, against
   the study's ~149px estimate) need 14rem to hold about 25px+
   of air at every binding size, so 14rem is the shipped
   constant. The cap is a no-op wherever the deck already fits:
   at the classic phone sizes (393x852, 412x860) the map is
   width-bound below the cap, so nothing there changes - photos
   stay, map stays. It binds only in the defect's hole, which
   the audit found runs from about 440px up at short heights
   (480x800 clipped 62px unaided), not just the study's sampled
   560-699px. Progress is untouched: the script measures the
   stick wrapper's live travel, so a shorter stage just reads
   as more travel, exactly as before. */
@media (max-width: 699.5px) and (min-height: 50rem) and (max-aspect-ratio: 9/10) {
  .journey--jv[data-jv="draw"] .jv-map {
    width: min(100%, calc((100svh - var(--jv-top) - 14rem) * 0.9615));
  }
}

/* ---------- tablet split band, 840-1099.5px (stamp -b55, file 53) ----------
   The desktop split extends down: 2fr map / 1fr rail inside the
   shipped 72rem column (no widening at this size). The stage
   sticks in the left track exactly as at 1100px+, the stick
   wrapper is the grid track (height auto, stretched), and the
   script needs no change: its single-column progress already
   keys on the stick wrapper's live travel (wrapper height minus
   stage height = the rail's scroll), so the pin interval and
   the progress interval stay the same interval. The deck and
   overlay systems are switched OFF here - the overlay gate above
   would otherwise fire at 951x768-class shapes and hide the
   rail - and the steps stay always visible. The map cap keeps
   the band's 3.5rem allowance (the in-stage head is NOT budgeted
   into it; at 42rem+ viewport heights, where the head joins,
   the stage is width-bound at these sizes and fits regardless -
   measured in the study). At or under 30rem tall the shipped
   still behaviour stands: stage static, map at natural width. */
@media (min-width: 840px) and (max-width: 1099.5px) {
  .journey--jv[data-jv="draw"] .jv-scroll {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2rem; align-items: start;
  }
  .journey--jv[data-jv="draw"] .jv-stick { align-self: stretch; }
  html.jv-on .journey--jv[data-jv="draw"] .jv-stick { height: auto; }
  html.jv-on .journey--jv[data-jv="draw"] .jv-stage {
    position: sticky; top: var(--jv-top);
  }
  .journey--jv[data-jv="draw"] .jv-map {
    width: min(100%, calc((100svh - var(--jv-top) - 3.5rem) * 1.7424));
    margin-inline: auto;
  }
  .journey--jv[data-jv="draw"] .jv-overlay,
  .journey--jv[data-jv="draw"] .jv-deck { display: none !important; }
  html.jv-on .journey--jv[data-jv="draw"] .jv-steps { display: block !important; }
  @media (max-height: 30rem) {
    html.jv-on .journey--jv[data-jv="draw"] .jv-stage { position: static; }
    .journey--jv[data-jv="draw"] .jv-map { width: auto; margin-inline: 0; }
  }
}
/* In-stage head for this band, tall viewports only: below 42rem
   the head stays in flow and the stage keeps the room. */
@media (min-width: 840px) and (max-width: 1099.5px) and (min-height: 42rem) {
  .journey--jv[data-jv="draw"] .jv-head-instage { display: block; }
  .journey--jv[data-jv="draw"] > h2,
  .journey--jv[data-jv="draw"] > .jv-intro {
    position: absolute; width: 1px; height: 1px; margin: -1px;
    padding: 0; overflow: hidden; clip: rect(0 0 0 0);
    clip-path: inset(50%); white-space: nowrap; border: 0;
  }
}

/* ---------- camera variant ---------- */
.journey--jv[data-jv="camera"] .jv-stage { border-radius: 0.6rem; }
html.jv-on .journey--jv[data-jv="camera"] .jv-scroll { height: 330vh; }
html.jv-on .journey--jv[data-jv="camera"] .jv-stage {
  position: sticky; top: var(--jv-top);
  height: min(76vh, 640px, calc(100svh - var(--jv-top) - 0.75rem));
  overflow: hidden; background: #eef3f7;
}
html.jv-on .journey--jv[data-jv="camera"] .jv-world {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  transform-origin: 0 0; will-change: transform;
}
/* World width follows the ground data: 1150px since the -b55
   balanced crop regenerated the desktop ground (was 1724px). */
html.jv-on .journey--jv[data-jv="camera"] .jv-map { position: absolute; left: 0; top: 0; width: 1150px; }
@media (max-width: 699.5px) {
  html.jv-on .journey--jv[data-jv="camera"] .jv-map { width: 1500px; }
}
html.jv-on .journey--jv[data-jv="camera"] .jv-attrib {
  position: absolute; right: 0.6rem; bottom: 0.4rem; z-index: 4; margin: 0;
}
/* Camera corner finish tag (-b38, Bill's shots 907/909): the in-world
   finish tag rides the world transform, so at the finish framing it
   landed at the stage's right edge - half clipped by the stage and
   washed out under THE RETURN station card; on the folded phone layer
   it was also squeezed into the two-line wrap the flag slot had forced.
   Bill's direction: the camera tag belongs at the UPPER RIGHT CORNER
   of the stage, inset ~10px. So on camera the world copies are
   suppressed and the stage-anchored copy (rendered by the snippet as a
   direct child of .jv-stage) takes over: one line at every size -
   measured from the real Archivo font at 154.5px wide, it fits the
   358px folded stage with 193px to spare, so no wrap and no size
   change is needed (audit-camera-corner-tag.mjs). It keeps the shared
   .jv-finish-tag state pattern (shown at rest = the fallback's
   finished map; hidden under html.jv-on until .is-done; symmetric on
   scroll-back; the reduced-motion rule below already kills its
   transition) and paints ABOVE the station cards: .jv-steps sits at
   z-index 5, the tag takes 6. The slot translate is zeroed - it is
   pinned by top/right, not by the flag anchor. The START tag stays
   world-anchored beside the flag, untouched, and the draw variant is
   entirely unaffected (every rule here is scoped to camera). */
.journey--jv[data-jv="camera"] .jv-world .jv-finish-tag { display: none; }
.journey--jv[data-jv="camera"] .jv-finish-tag--corner {
  --lt: translate(0, 0);
  top: 10px; right: 10px; z-index: 6;
}
html.jv-on .journey--jv[data-jv="camera"] .jv-steps {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 0;
}
html.jv-on .journey--jv[data-jv="camera"] .jv-step {
  position: absolute; left: 50%; bottom: 0.9rem; width: min(30rem, calc(100% - 1.5rem));
  transform: translate(-50%, 12px); grid-template-columns: 3.1rem 1fr;
  grid-template-areas: "num body"; background: rgba(255, 255, 255, 0.96);
  border-radius: 0.7rem; padding: 0.9rem 1rem; box-shadow: 0 10px 30px rgba(10, 30, 50, 0.22);
  opacity: 0; pointer-events: none; transition: opacity 0.45s ease, transform 0.45s ease;
}
html.jv-on .journey--jv[data-jv="camera"] .jv-step .step-photo { display: none; }
/* Camera finale exception: the Return station DOES carry its photo
   (with the Ken Burns push) when it is the current station. */
html.jv-on .journey--jv[data-jv="camera"] .jv-kb-frame { display: none; }
html.jv-on .journey--jv[data-jv="camera"] .jv-step[data-wp="finish"].is-current {
  grid-template-areas: "num body" "num photo";
}
html.jv-on .journey--jv[data-jv="camera"] .jv-step[data-wp="finish"].is-current .jv-kb-frame {
  display: block; height: 7.5rem; aspect-ratio: auto; margin-top: 0.6rem; box-shadow: none;
  /* Stamp -b74 (file 78): strip the base frame's padding and
     background as well, as this rule already stripped its shadow. */
  padding: 0; background: transparent;
}
html.jv-on .journey--jv[data-jv="camera"] .jv-step[data-wp="finish"].is-current .jv-kb-img { display: block; }
html.jv-on .journey--jv[data-jv="camera"] .jv-step.is-current {
  opacity: 1; pointer-events: auto; transform: translate(-50%, 0);
}
@media (max-width: 899.5px) {
  html.jv-on .journey--jv[data-jv="camera"] .jv-scroll { height: 360vh; }
  html.jv-on .journey--jv[data-jv="camera"] .jv-stage { height: min(74vh, 600px, calc(100svh - var(--jv-top) - 0.75rem)); }
}

@media (prefers-reduced-motion: reduce) {
  html.jv-on .jv-step { opacity: 1 !important; transform: none !important; transition: none !important; }
  .jv-wp.is-ping .jv-ping, .journey--jv.is-done .jv-drawn { animation: none !important; }
  /* Tag swap (-b37): if a state ever toggles under reduced motion, the
     swap is instant - no fade, no settle. (In practice the script stands
     down under reduced motion and the fallback renders the completed
     state directly.) */
  .jv-starttag, .jv-finish-tag { transition: none !important; }
  /* Phone deck (fix pass 5): if a deck state ever toggles under
     reduced motion, the swap is instant. (In practice the script
     stands down and the fallback shows the stacked list; the deck
     never displays without html.jv-on.) */
  .jv-card { transition: none !important; }
}
