/* Return 2 Play — Version B stylesheet ("The Return").
   Parallel presentation layer over the same content as Version A.
   Brand: #1B75BC / #29ABE2 on white and off-white fields; deep blue is
   the brand's dark surface (file 01, corrected Nov 5, 2026: black is
   not a field color).
   WCAG 2.1 AA: visible cyan focus, AA pairings, reduced motion respected.
   The sticky header never resizes and never touches the hero (Bill's rule). */

:root {
  --blue: #1b75bc;
  --sky: #29abe2;
  --black: #0a0a0a;
  --ink: #111111;
  --paper: #ffffff;
  --offwhite: #f7f9fb;
  --mist: #eef4f8;
  --line: #d7e2e9;
}

/* Self-hosted Archivo variable font (weight 100-900, width 62-125%),
   upright + italic. Design pass Oct 28, 2026: no more Google Fonts CDN,
   no system-ui lead. System sans remains only as a failure fallback. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

* { box-sizing: border-box; }

body.version-b {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: clip;
}

.version-b h1, .version-b h2, .version-b h3,
.version-b .brand, .version-b .step-num, .version-b .door-kicker, .version-b .card-facts {
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
/* Display treatment: expanded, heaviest weight, uppercase, tight.
   The athletic poster voice; body copy stays calm underneath. */
.version-b h1, .version-b h2 {
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
}
.version-b h3 {
  font-weight: 800;
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.15;
}

a { color: var(--blue); }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

/* Header — sticky, identical contents to Version A, never resizes */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 6px rgba(17, 17, 17, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 88rem;
  margin: 0 auto;
  padding: 0.65rem 1rem;
}
.brand-logo { display: block; height: 2.8rem; width: auto; }
/* v5 logo run (-b17): the runner's stride may paint a few px past the
   viewBox bottom for ~3s; the header box itself never changes size. */
.brand-logo-svg { overflow: visible; }
.brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-size: 1.15rem;
  margin-right: auto;
}
.header-phone { color: var(--blue); text-decoration: none; font-weight: 600; }

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 0.55rem 1.1rem;
  border-radius: 0.4rem;
}
.btn:hover { background: #155e97; }
.btn-book { background: var(--blue); white-space: nowrap; }
.btn-secondary {
  background: var(--paper);
  color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.btn-secondary:hover { background: var(--mist); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); }

.main-nav { border-top: 1px solid var(--line); }
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  max-width: 88rem;
  margin: 0 auto;
  padding: 0.45rem 1rem;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.2rem 0;
}
.main-nav a.is-current { color: var(--blue); }
/* Hover only where a pointer really hovers. On touch screens a tap
   leaves :hover stuck on the tapped link, and the back/forward cache
   restores the page with that stale paint frozen in: it reads as a
   current-page highlight naming a page the visitor has already left
   (Bill, Oct 28). The is-current marker above is the only standing
   nav highlight now, and it is rendered per page. */
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--blue); }
}

/* Page body — full-bleed fields break out of this column */
html { scrollbar-gutter: stable; }
html, body { overflow-x: clip; }
/* Stamp -b66 (file 65): the shared site column widens from 72rem to
   88rem, matching the journey section's long-standing measure. The
   caps on .header-inner, .main-nav ul, main, .footer-grid,
   .footer-insurance and .footer-legal and the full-bleed padding
   formula below all restate the same 88rem, so header, content and
   footer share one column edge to edge. The footer's horizontal
   gutter also moves here from .site-footer onto its three children
   (padding: 0 1rem each): with the gutter on .site-footer the cap
   bound inside a box 2rem narrower than the viewport, so at widths
   where 88rem nearly fills the window the footer fell short of the
   column and drifted off its edges (measured ~7px a side at
   1440px); on the children the cap binds against the full width,
   exactly as it does for <main>. */
main { max-width: 88rem; margin: 0 auto; padding: 0 1rem 2.5rem; }
/* Full-bleed dark/light fields: the section itself spans the viewport and
   re-centers its content on the same 88rem column as <main>. */
.hero-b, .title-field, .journey, .founder-band {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  /* Oct 28, 2026 fix: the old calc(50% - 36rem + 1rem) resolved to ~0
     against the centered column, so full-bleed content hugged the
     viewport edge and the hero's tilted photo frame clipped at the
     right. The vw-based formula lands content exactly on the same
     88rem column as the header and <main>, 1rem gutter minimum. */
  padding-left: max(1rem, calc((100vw - 88rem) / 2 + 1rem));
  padding-right: max(1rem, calc((100vw - 88rem) / 2 + 1rem));
}

/* Footer — same structure and facts as Version A. Deep blue field
   since the Nov 5, 2026 brand correction (file 01): blue is the
   brand's dark surface. Text on blue is white at 16px or larger (the
   brief's contrast rule); links carry bold weight. */
.site-footer {
  background: var(--blue);
  color: #fff;
  padding: 2rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  max-width: 88rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-top: 0; }
/* Stamp -b49: skip-ink none so the underline draws continuously
   through the phone number's parentheses; the default auto breaks
   it there and the stranded segment reads as a period. */
.site-footer a { color: #fff; font-weight: 700; text-decoration-skip-ink: none; }
.footer-insurance, .footer-legal {
  max-width: 88rem;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
  font-size: 1rem;
  color: #fff;
}
.footer-legal { margin-top: 0.75rem; }

/* ---------- Version B: title field (interior pages) ----------
   Deep blue since the Nov 5, 2026 brand correction (file 01): the
   band stays the page's one dark field, in the brand's own dark
   surface instead of black. White title and lede (inherits the
   18px body size), white motif rule. */
.title-field {
  background: var(--blue);
  color: #fff;
  padding-top: 2.25rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.title-field h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 0.5rem; }
.title-field .lede { color: #fff; margin: 0.75rem 0 0; }
.motif-title { display: block; width: min(220px, 60%); height: 24px; }
.motif-title path { stroke: #fff; }

/* ---------- Version B: hero ----------
   Design pass Oct 28, 2026 (Bill's direction, file 32): the hero comes
   OFF the near-black field — Lauren dislikes dark sites. The field is
   light; the one saturated moment is the brand-blue panel carrying the
   booking doors. (Nov 5, 2026: the header and footer followed.
   Black is not a field color anywhere now; see the header, footer,
   and title-field rules.) */
.hero-b {
  background: var(--paper);
  color: var(--ink);
  position: relative;
  /* Longhands only: a padding shorthand here would zero the side
     padding the full-bleed rule above sets, which is exactly what
     pinned the old hero's content to the viewport edge. */
  padding-top: 2.75rem;
  /* Stamp -b50: the bottom padding reserves the hero motif's band.
     .motif-hero sits absolute at bottom 0.5rem with a 60px height,
     a 4.25rem band in all; at 3rem here (and the 2.5rem trim near
     the end of this file) the hero note, the grid's last row, fell
     into that band and the stride curve struck through its text,
     worst on the unfolded Fold in landscape. 4.5rem (72px) leaves
     the note's line box 4px clear of the motif box top at every
     width, and the stroke itself crests lower inside its band. */
  padding-bottom: 4.5rem;
  margin-bottom: 2.25rem;
  overflow: clip;
}
.hero-b-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "copy media"
    "door door"
    "note note";
  gap: 1.5rem 2rem;
  align-items: stretch;
}
.hero-b-copy { grid-area: copy; }
.hero-b-grid .hero-media { grid-area: media; }
.hero-b-grid .front-door { grid-area: door; margin: 0; }
.hero-b-grid .hero-note { grid-area: note; }
/* Stamp -b52: the hero H1 is now the factual service line (file 50
   option 1), much longer than the tagline it replaced, so the
   display treatment softens on every lever the hero rule owns:
   weight drops 900 to 800, the clamp comes down, the leading opens
   to 1.12, and the case goes natural. Natural case is measured, not
   tasted: in the 571px desktop copy column it wraps one to three
   lines shorter than uppercase at every size tried, it matches the
   calm factual voice of the headline on her current site, and the
   all-caps expanded setting was the harshness Jenna named. Four
   lines at desktop is the measured floor inside this grid; three
   lines would take roughly 24px type, smaller than the interior
   page headlines, so the clamp stops at 2.25rem and the four-line
   wrap is the graceful one (full sweep numbers in file 22). The
   tagline sits under it as .hero-tagline, a calm subhead that opts
   out of the shared h1/h2 poster treatment (900, expanded,
   uppercase) so it stays clearly subordinate. */
.hero-b h1 { font-size: clamp(1.9rem, 3.2vw + 0.85rem, 2.25rem); font-weight: 800; text-transform: none; line-height: 1.12; margin: 0 0 0.75rem; }
.hero-b .hero-tagline {
  color: var(--blue);
  font-size: clamp(1.25rem, 1.5vw + 0.6rem, 1.4rem);
  font-weight: 600;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0 0 1rem;
}
.hero-b .lede { color: #2c3136; font-size: 1.18rem; margin: 0; }
.motif-hero {
  position: absolute;
  left: 0;
  bottom: 0.5rem;
  width: 100%;
  height: 60px;
  pointer-events: none;
}
.motif-hero path { stroke: var(--blue); }
/* The blue field moment: a full brand-blue panel, white type, holding
   the two front doors. This is where the logo's pop moved to. */
.front-door {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
  background: var(--blue);
  border-radius: 0.75rem;
  padding: 1.3rem;
  box-shadow: 0 16px 34px rgba(10, 42, 68, 0.22);
}
/* Stamp -b67 (file 66): the doors keep their grid as .helper-doors
   inside the flex panel; the media queries below restyle this
   selector, not the panel. */
.helper-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.door-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-top: 3px solid var(--sky);
  border-radius: 0.6rem;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 8px 20px rgba(10, 42, 68, 0.25);
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.door-card .btn { margin-top: auto; align-self: flex-start; background: #fff; color: var(--blue); }
.door-card .btn:hover { background: var(--mist); }
.door-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  font-weight: 700;
  font-style: italic;
  color: #fff;
}
.door-line { color: #eaf3fa; font-size: 1.05rem; line-height: 1.45; }
.hero-note { color: #44505a; margin: 0; }
.hero-note a { color: var(--blue); white-space: nowrap; }
.hero-media {
  position: relative;
  margin: 0;
  border-radius: 0.35rem;
  overflow: hidden;
  min-height: 20rem;
  background: #fff;
  padding: 0.5rem;
  transform: rotate(-1.6deg);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.18);
}
.hero-media img.hero-poster,
.hero-media video.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media video.hero-video { opacity: 0; transition: opacity 0.3s ease; }
.hero-media video.hero-video.is-playing { opacity: 1; }

/* ---------- Version B: the journey ---------- */
.journey {
  background: var(--offwhite);
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  margin-bottom: 2.25rem;
}
.journey h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0 0 1.5rem; }
.journey-track { position: relative; }
.motif-journey {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.55rem;
  width: 44px;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}
.motif-journey path { stroke: var(--blue); stroke-width: 5px; }
.journey-steps { list-style: none; margin: 0; padding: 0; }
.journey-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;
}
.step-num { grid-area: num; }
.step-body { grid-area: body; }
.step-photo { grid-area: photo; }
.step-num {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 3rem;
  height: 3rem;
  margin-top: 0.1rem;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
}
.step-body h3 { margin: 0.1rem 0 0.35rem; font-size: 1.3rem; }
.step-body p { margin: 0; max-width: 44ch; }
.step-photo {
  grid-column: 2;
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.6rem;
  margin-top: 0.8rem;
  display: block;
}
.journey-cta { margin: 1.25rem 0 0; padding-left: 4.2rem; }

/* ---------- Shared components (same shapes as Version A) ---------- */
.lede { font-size: 1.15rem; color: #2c3136; }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 2rem;
}
.proof-strip > div {
  background: var(--mist);
  border: 1px solid var(--line);
  border-top: 3px solid var(--sky);
  border-radius: 0.5rem;
  padding: 0.7rem 0.9rem;
}
.proof-strip dt {
  font-weight: 700;
  font-style: italic;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
}
.proof-strip dd { margin: 0.2rem 0 0; font-size: 1.05rem; font-weight: 600; }

.index-section { margin: 0 0 2.75rem; }
.index-section h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.group-head {
  border-bottom: 3px solid var(--sky);
  padding-bottom: 0.35rem;
  margin: 0 0 1rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 1px 4px rgba(11, 11, 12, 0.06);
}
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card-media { margin: -1.1rem -1.2rem 1rem; position: relative; }
.card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.6rem 0.6rem 0 0;
}
.card-facts { font-weight: 700; color: var(--blue); }
.card-actions { margin-top: 1rem; }
.section-more { margin-top: 1rem; font-weight: 600; }
.photo-slot {
  background: var(--mist);
  border-radius: 0.6rem 0.6rem 0 0;
  aspect-ratio: 16 / 9;
}
/* Plain .page titles (Team, Pricing, Events, detail pages) sit on the
   same scale as the .title-field band titles, so every B interior page
   opens at the same heading size. */
.page h1 { line-height: 1.15; font-size: clamp(2rem, 5vw, 3rem); }
/* Carried over from the shared interior stylesheet when the last
   A-header templates moved onto header-b: these two classes exist only
   in the provider/event detail templates and had no B rules. Values
   unchanged; family and metrics now come from the B body. */
.provider-line { font-size: 1.1rem; color: #2c3136; margin-top: -0.5rem; }
.event-when { font-weight: 700; font-size: 1.1rem; }
.page-photo { margin: 1rem 0; }
.page-photo img { display: block; max-width: 100%; height: auto; border-radius: 0.5rem; }
.page-text { max-width: 46rem; }
.page-cta { margin-top: 2rem; }
.fact-list { display: grid; gap: 0.75rem; margin: 0 0 1.5rem; }
.fact-list > div {
  background: var(--mist);
  border: 1px solid var(--line);
  border-top: 3px solid var(--sky);
  border-radius: 0.5rem;
  padding: 0.7rem 0.9rem;
}
.fact-list dt {
  font-weight: 700;
  font-style: italic;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
}
.fact-list dd { margin: 0.2rem 0 0; font-size: 1.05rem; font-weight: 600; }
.section-note {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1rem 1.1rem;
  margin-top: 2rem;
}
.section-note h2 { margin-top: 0; font-size: 1.2rem; }
.empty-note {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1rem 1.1rem;
}
.price-list ul { padding-left: 1.2rem; }
.price-list li { margin-bottom: 0.35rem; }

/* Angled band — same gentle geometry as Version A's fixed version */
.section-angle {
  clip-path: polygon(0 0.9rem, 100% 0, 100% calc(100% - 0.9rem), 0 100%);
  padding: 3.25rem 1.25rem 2.75rem;
}
.section-angle--mist { background: var(--mist); }
.locations-band { margin-top: 2.5rem; }
.locations-band h2 { margin-top: 0; }

/* ---------- Version B: founder band ---------- */
.founder-band {
  background: var(--blue);
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 2.25rem;
  display: grid;
  grid-template-columns: 20rem 1fr;
  gap: 2rem;
  align-items: center;
}
.founder-photo {
  width: 100%;
  /* Stamp -b71 (file 76): the band photo is the cropped variant
     (founder-lauren-crop.jpg, 525x533, walls trimmed per file 75);
     the frame takes the crop's own ratio so nothing is cut again. */
  aspect-ratio: 525 / 533;
  object-fit: cover;
  border-radius: 0.6rem;
  display: block;
}
.founder-body h2 { color: #fff; margin-top: 0; font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.founder-body p { max-width: 62ch; }
.founder-band .card-actions { margin-top: 1.25rem; }

/* Inside strip (locations page) */
.inside-strip { margin-top: 2.25rem; }
.inside-photo { margin: 0; }
.inside-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.6rem;
}

/* Closing booking band — brand blue since the Oct 28, 2026 pass took
   the page's big dark fields away; the runner wordmark rides on top. */
.cta-band {
  background: var(--blue);
  color: #fff;
  border-radius: 0.6rem;
  padding: 2.25rem 1.5rem;
  text-align: left;
  margin-top: 2.5rem;
}
.cta-band .btn-book { background: #fff; color: var(--blue); }
.cta-band .btn-book:hover { background: var(--mist); }
.cta-band h2 { color: #fff; margin: 0.75rem 0 1rem; font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
/* The wordmark art is lettered in the two brand blues; on the blue
   band the deep-blue letters vanish, so the mark sits on a small
   white plate and keeps its native contrast. (Nov 5, 2026: the plate
   was black until the brand correction took black out of every field
   role; the plate is a thin graphic backing, not a field.) */
.cta-runner {
  height: 2rem;
  width: auto;
  display: block;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.4rem;
  box-sizing: content-box;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

/* ---------- Bolder photo motion (Bill, Oct 27, 2026) ----------
   Bill's direction: photos were "just squared straight on." Photos now
   arrive angled and in motion — they twist, slide, or dissolve in as
   they scroll into view and settle straight. Final state is always the
   clean, straight photo; the angle is the entrance, not the resting
   pose, so nothing reads tilted or broken once it lands. Persistent
   energy comes from the angled bottom edge on card photos and the
   offset brand shadow on journey/founder/inside photos.
   Initial states exist only under html.js (set by the script tag in
   the header), so no-JS visitors see every photo straight and visible,
   and the reduced-motion block below turns all of this off. Motion is
   opacity/transform only; the header is untouched. */
.card-media img {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.55rem), 0 100%);
}
.step-photo, .founder-photo, .inside-photo img {
  box-shadow: 0.55rem 0.55rem 0 rgba(27, 117, 188, 0.16);
}
/* Stamp -b57 (file 56): card tilt transitions run 0.45s, not 0.65s,
   so a revealed card settles within ~600ms of entering view even at
   the capped stagger delay. Sections keep their 0.5s base fade. */
html.reveal .appear.tilt-l {
  opacity: 0;
  transform: perspective(900px) rotate(-3.2deg) translate(-26px, 14px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 0.8, 0.3, 1);
}
html.reveal .appear.tilt-r {
  opacity: 0;
  transform: perspective(900px) rotate(3.2deg) translate(26px, 14px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 0.8, 0.3, 1);
}
html.reveal .appear.tilt-hero {
  opacity: 0;
  transform: perspective(1000px) rotate(2.4deg) translate(28px, 10px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1);
}
html.reveal .appear.fade-soft {
  opacity: 0;
  transform: none;
  transition: opacity 0.85s ease;
}
html.reveal .appear.tilt-l.is-visible,
html.reveal .appear.tilt-r.is-visible,
html.reveal .appear.tilt-hero.is-visible,
html.reveal .appear.fade-soft.is-visible {
  opacity: 1;
  transform: none;
}

/* Image arrival — lazy images fade from their brand field, never shift layout */
img[loading="lazy"] { animation: b-img-in 0.3s ease; }
@keyframes b-img-in { from { opacity: 0.25; } to { opacity: 1; } }

/* Appear on scroll — B timing; hidden states exist only under html.js */
html.reveal .appear {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
html.reveal .appear.is-visible { opacity: 1; transform: none; }

@media (hover: hover) {
  .card, .door-card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
  .card:hover, .door-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(11, 11, 12, 0.14);
  }
}

@media (max-width: 56rem) {
  .founder-band { grid-template-columns: 1fr; }
  .founder-photo { max-width: 26rem; }
}

@media (max-width: 64rem) {
  .hero-b-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "media" "door" "note";
    gap: 1.25rem;
  }
  .hero-media { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 30rem) {
  .hero-media { aspect-ratio: 4 / 5; }
}
@media (max-width: 48rem) {
  .helper-doors { grid-template-columns: 1fr; }
  .motif-journey { left: 1.55rem; }
}

@media (max-width: 40rem) {
  .header-phone { display: none; }
  .header-inner { padding: 0.55rem 0.75rem; }
  main { padding: 0 1rem 2rem; }
  .journey-step { grid-template-columns: 3.1rem 1fr; }
  .journey-cta { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html.reveal .appear { opacity: 1; transform: none; }
  html.reveal .appear.tilt-l, html.reveal .appear.tilt-r,
  html.reveal .appear.tilt-hero, html.reveal .appear.fade-soft {
    opacity: 1; transform: none;
  }
  .hero-media video.hero-video { display: none; }
}

/* Small screens: the nav becomes a deliberate 3x2 grid instead of a
   ragged wrap (Bill, Oct 27: the 4+2 wrap looked off balance folded). */
@media (max-width: 44rem) {
  .main-nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
  }
  .main-nav li { display: flex; }
  .main-nav li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .main-nav li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
  .main-nav a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.65rem 0.25rem;
    min-height: 2.75rem;
  }
}

/* Unfolded portrait band (36-48rem): doors side by side so the hero
   does not spend a whole screen on two stacked cards (Bill, Oct 27). */
@media (min-width: 36rem) and (max-width: 48rem) {
  .helper-doors { grid-template-columns: 1fr 1fr; }
}

/* Journey waypoints: the rail is a route line, drawn in full like a map.
   Steps light up as they are reached; the current step is filled and
   pulses gently. State is visible at rest, not only mid-scroll. */
.journey-step.is-reached .step-num {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.journey-step.is-current .step-num {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  animation: stepPulse 2.2s ease-out infinite;
}
@keyframes stepPulse {
  0% { box-shadow: 0 0 0 0 rgba(41, 171, 226, 0.5); }
  70% { box-shadow: 0 0 0 13px rgba(41, 171, 226, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 171, 226, 0); }
}

/* Journey steps on wider screens: photo takes the second content
   column so the right of the page is used; the photo side alternates
   down the route. The photo is a direct grid child of the step.
   Stamp -b49: the switch drops from 56rem to 40rem. At 56rem it sat
   above every foldable inner portrait width, so unfolded phones kept
   the stacked layout with dead space at the right. 40rem was chosen
   because the iPhone Duo's upright inner viewport measures 669 CSS
   px; the row layout now engages there, at 750/840 and at 951,
   while phone widths (382/412/466) stay stacked. */
@media (min-width: 40rem) {
  .journey-step {
    grid-template-columns: 3.9rem 1fr 1.15fr;
    grid-template-areas: "num body photo";
    gap: 0 2rem;
  }
  .journey-step:nth-child(even) {
    grid-template-columns: 3.9rem 1.15fr 1fr;
    grid-template-areas: "num photo body";
  }
  .step-body p { max-width: 58ch; }
  .step-photo { max-width: none; width: 100%; margin: 0; }
}

/* Family cards: an even 2x2 in the middle band instead of 3 plus an
   orphan (same balance complaint as the journey, Oct 27). */
@media (min-width: 36rem) and (max-width: 72rem) {
  .family-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Grid areas for the journey children, restated with enough weight to
   beat the base .step-photo column rule: the photo belongs in the
   named photo cell, not stacked in the body column. */
.journey-step .step-num { grid-area: num; }
.journey-step .step-body { grid-area: body; }
.journey-step .step-photo { grid-area: photo; }

/* ---------- Design pass, Oct 28, 2026 (stamp -b11) ----------
   1) Section headlines get display scale under the Archivo system.
   2) Photo treatment at REST (Bill's call, file 32): people and clinic
      photos sit semi-framed — a white print border, a soft shadow, and
      a slight 2-4 degree tilt, like a picture resting on the page.
      Photos only; text blocks and cards stay square. Homepage scopes
      only (.hero-b, .journey, .founder-band, .family-card,
      .locations-band), so interior B pages keep the -b10 treatment.
      The tilt is a resting state, not an animation: the reveal still
      arrives from a larger angle and settles INTO the tilt, and the
      tilt holds with no JavaScript and under reduced motion. */
.journey h2, .index-section h2, .founder-body h2, .cta-band h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
}
.journey .step-photo, .founder-band .founder-photo {
  background: #fff;
  padding: 0.45rem;
  border-radius: 0.3rem;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.16);
}
html:not(.reveal) .journey .step-photo.tilt-l,
html:not(.reveal) .founder-band .founder-photo.tilt-l { transform: rotate(-2.3deg); }
html:not(.reveal) .journey .step-photo.tilt-r { transform: rotate(2.3deg); }
html.reveal .journey .step-photo.appear.tilt-l.is-visible,
html.reveal .founder-band .founder-photo.appear.tilt-l.is-visible { transform: rotate(-2.3deg); }
html.reveal .journey .step-photo.appear.tilt-r.is-visible { transform: rotate(2.3deg); }
html.reveal .hero-b .hero-media.appear.tilt-hero.is-visible { transform: rotate(-1.6deg); }
.family-card .card-media, .locations-band .card-media {
  margin: -0.55rem -0.6rem 1.05rem;
  padding: 0.45rem;
  background: #fff;
  border-radius: 0.3rem;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.14);
}
.family-card .card-media img, .locations-band .card-media img {
  clip-path: none;
  border-radius: 0.2rem;
}
.family-card.tilt-l .card-media,
.locations-band .location-card.tilt-l .card-media { transform: rotate(-2deg); }
.family-card.tilt-r .card-media,
.locations-band .location-card.tilt-r .card-media { transform: rotate(2deg); }

/* Reduced motion: no movement, but the resting photo treatment is a
   static frame, not motion — it stays. */
@media (prefers-reduced-motion: reduce) {
  html.reveal .journey .step-photo.appear.tilt-l,
  html.reveal .founder-band .founder-photo.appear.tilt-l { transform: rotate(-2.3deg); }
  html.reveal .journey .step-photo.appear.tilt-r { transform: rotate(2.3deg); }
  html.reveal .hero-b .hero-media.appear.tilt-hero { transform: rotate(-1.6deg); }
}

/* ---------- Additions, Oct 28, 2026 (stamp -b12) ----------
   Healthy-athlete door, reviews band, differentiators band, map band.
   Spacing trims below offset the added bands; total page height is
   reported honestly in file 33 (bands add content, trims claw some back). */

/* Third door in the blue hero panel: the healthy athlete, full-width
   row under the two booking doors. */
.door-card--wide { grid-column: 1 / -1; }

/* Reviews band: after the journey, never at the top. The written
   reviews carousel below is the whole band since stamp -b28 (Bill's
   decision): the patient video cards that used to sit above it are
   removed from the template, so their .reviews-grid / .review-card
   rules went with them. The clip files stay in assets/web. */
.reviews-band { margin: 0 0 2rem; }
.reviews-band h2, .diff-band h2, .map-band h2 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); }

/* Differentiators band: a blue field moment, Lauren's four proof
   points as quotable plain text. */
.diff-band {
  background: var(--blue);
  color: #fff;
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  margin: 0 0 2.5rem;
  box-shadow: 0 16px 34px rgba(10, 42, 68, 0.22);
}
.diff-band h2 { color: #fff; margin-top: 0; }
/* Stamp -b49: explicit column steps replace auto-fit. The old
   minmax let 750/840/961 land on 3 columns plus a wrapped orphan
   with dead blue space beside it; now the band is 1 column on
   phones, a balanced 2x2 through the foldable band, and 4 across
   from 64rem. */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 35rem) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .diff-grid { grid-template-columns: repeat(4, 1fr); }
}
.diff-item h3 {
  color: #fff;
  border-top: 3px solid var(--sky);
  padding-top: 0.6rem;
}
.diff-item p { color: #eaf3fa; margin-bottom: 0; }

/* Map band: one static grayscale image, pins are plain anchor
   overlays — works with no JavaScript, nothing else loads. The
   frame spans the full content column at every width: the old
   52rem cap (removed Oct 28, 2026, stamp -b20) stopped the map
   short of the column's right edge on wide layout widths and
   read as the map being squeezed in. */
.map-band { margin: 0 0 2rem; }
.map-frame { position: relative; }
.map-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.6rem;
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.14);
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}
.map-pin-dot {
  position: relative; /* the ring is the dot's child and centres on it */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.map-pin--davidson .map-pin-dot { background: var(--blue); }
/* Both pins the deep brand blue (Bill, Nov 1, 2026): the two
   locations stand equal; the text labels do the distinguishing. */
.map-pin--cornelius .map-pin-dot { background: var(--blue); }
.map-pin-label {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.map-attrib { font-size: 0.85rem; color: #44505a; margin: 0.5rem 0 0; }

/* Pin interaction (stamp -b40, Bill, Nov 1, 2026): the journey
   waypoint ping's radiant ring, reused on the map pins. Hover (fine
   pointers only), keyboard focus, or a touch tap radiates ONE ring
   from the pin dot and opens the clinic's address card; both settle
   still. Ring and card accents are the deep brand blue for both
   pins, same as the dots. The cards are children of .map-frame (not
   of the pin anchors) so they can anchor to the frame: at 720px and
   up each card sits on its pin's outer side (Davidson above,
   Cornelius below — the pins stand at the frame's vertical thirds,
   so the outer bands are the free ones); below 720px the frame is
   too short for a card to clear the sibling pin, so the card docks
   under the map instead. All hover rules sit behind the hover
   media query, so touch never inherits a stuck hover state. */
.map-pin-ring {
  position: absolute;
  /* Centred on the dot by construction (fix pass, stamp -b41): the
     ring is a child of .map-pin-dot, so 50%/50% + the -50%,-50%
     translate put its centre on the dot's centre exactly, whatever
     the label height or box model does. The -b40 build instead
     hung the ring off the anchor at top:13px — content-box maths
     (20px + 3px border = 26) that the global border-box rule
     defeats: the dot's outer box is 20px, its centre 10px down
     the anchor, so the ring sat 3px low. Bill caught it on his
     phone ("a little low, aren't centered around the dots"). */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.map-pin.is-open .map-pin-ring,
.map-pin:focus-visible .map-pin-ring {
  animation: map-pin-ping 0.85s ease-out 1;
}
@media (hover: hover) and (pointer: fine) {
  .map-pin:hover .map-pin-ring { animation: map-pin-ping 0.85s ease-out 1; }
}
@keyframes map-pin-ping {
  0% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.1); }
}
.map-pin-card {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: calc(100% + 0.5rem);
  width: 16rem;
  max-width: calc(100vw - 3rem);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0.5rem;
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.22);
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0s linear 0.25s;
}
.map-pin-card-name { display: block; font-weight: 800; font-size: 0.95rem; line-height: 1.25; }
.map-pin-card-addr { display: block; font-size: 0.85rem; line-height: 1.4; margin-top: 0.15rem; color: #33414c; }
.map-pin-card-go { display: block; font-size: 0.78rem; font-weight: 700; color: var(--blue); margin-top: 0.3rem; }
@media (min-width: 720px) {
  .map-pin-card--davidson {
    left: 51.95%;
    top: auto;
    bottom: calc(66.41% + 34px); /* bottom edge 34px above the pin point: anchor half + gap */
    transform: translate(-50%, 6px);
  }
  .map-pin-card--cornelius {
    left: 48.05%;
    top: calc(66.41% + 34px); /* top edge 34px below the pin point */
    transform: translate(-50%, -6px);
  }
}
/* Shown states: JS touch state (data-open on the frame), keyboard
   focus (sibling selector), and hover — hover includes the card
   itself plus a transparent bridge across the gap to the pin, so
   the pointer can travel from pin to card without the card closing
   on the way. */
.map-frame[data-open="davidson"] .map-pin-card--davidson,
.map-frame[data-open="cornelius"] .map-pin-card--cornelius,
.map-pin--davidson:focus-visible ~ .map-pin-card--davidson,
.map-pin--cornelius:focus-visible ~ .map-pin-card--cornelius {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0s;
}
@media (hover: hover) and (pointer: fine) {
  .map-pin--davidson:hover ~ .map-pin-card--davidson,
  .map-pin--cornelius:hover ~ .map-pin-card--cornelius,
  .map-pin-card--davidson:hover,
  .map-pin-card--cornelius:hover {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0s;
  }
}
@media (hover: hover) and (pointer: fine) and (min-width: 720px) {
  .map-pin-card::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; }
  .map-pin-card--davidson::after { bottom: -14px; }
  .map-pin-card--cornelius::after { top: -14px; }
}
@media (prefers-reduced-motion: reduce) {
  .map-pin-ring { animation: none !important; }
  .map-pin-card { transition: none; }
}

/* Spacing trims to offset the added bands. The hero bottom padding
   is not trimmed: it is the -b50 motif reservation (see .hero-b). */
.hero-b { padding-bottom: 4.5rem; margin-bottom: 1.75rem; }
.journey { padding-top: 2.75rem; padding-bottom: 2.75rem; margin-bottom: 1.75rem; }
.proof-strip { margin-bottom: 1.5rem; }
.index-section { margin-bottom: 2.25rem; }
.founder-band { padding-top: 2.5rem; padding-bottom: 2.5rem; margin-bottom: 1.75rem; }
.locations-band { margin-top: 2rem; }
.cta-band { margin-top: 2rem; padding: 2rem 1.5rem; }

/* Header logo runner v3 (homepage only, stamp -b15): MORPH.
   No CSS animation: assets/js/logo-morph.js (loaded only on the
   homepage) interpolates the traced mark's path data between
   hand-authored poses for one ~3.1s run, once per session, then
   restores the exact rest paths. The static mark is the default in
   every state: no-JS, reduced motion, and JS failure all leave the
   markup paths untouched, and the header box never moves. */

/* ---------- Google reviews carousel (stamp -b21) ----------
   Hand-entered reviews from the Panel (Home > Google reviews): the
   whole "In their own words" band since the video cards left at
   stamp -b28. CSS scroll-snap
   track: swipe and native scroll work with no JS at all; site-b.js
   only wires the prev/next buttons and the dots. No autoplay.
   Cards are sized for a 390px portrait phone first. */
.greviews { margin-top: 1.25rem; }
.greviews-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.3rem 0.2rem 0.8rem;
  -webkit-overflow-scrolling: touch;
}
@media (prefers-reduced-motion: reduce) {
  .greviews-track { scroll-behavior: auto; }
}
.greview-card {
  flex: 0 0 min(85%, 21rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 4px rgba(11, 11, 12, 0.06);
}
.greview-stars { display: flex; gap: 0.15rem; margin: 0 0 0.6rem; }
.greview-star { fill: #cfd8de; flex: none; }
.greview-star.is-filled { fill: var(--blue); }
.greview-text {
  margin: 0 0 0.8rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
  /* Honor line breaks stored in the review text (stamp -b27): a
     two-paragraph review renders as two paragraphs. Single-paragraph
     entries have no stored breaks, so they render exactly as before. */
  white-space: pre-line;
}
/* The fold (stamp -b25, Bill's decision): site-b.js adds .is-clamped
   to review text that runs past 6 lines and reveals the Read more
   button under it. The clamp is visual only; the full words stay in
   the page. Without JS the class is never added and the button stays
   hidden, so the whole review simply renders (fail-safe visibility).
   Stamp -b28: the toggle animates — site-b.js drives the height over
   ~400ms and sets this mask inline per frame as a function of the
   height, so the fade dissolves in sync; the mask below is the
   resting folded state the animation lands on. */
.greview-text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 1.4em), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 1.4em), transparent);
}
.greview-more {
  align-self: flex-start;
  min-height: 2.75rem;
  margin: -0.35rem 0 0.35rem;
  padding: 0.55rem 0.9rem 0.55rem 0.25rem;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.greview-more:hover { text-decoration: underline; }
.greview-meta {
  margin: auto 0 0;
  font-size: 0.92rem;
  color: #44505a;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
}
.greview-name { font-weight: 700; color: var(--ink); }
.greview-source { margin: 0.45rem 0 0; font-size: 0.85rem; }
.greview-source a { color: var(--blue); }
.greviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.35rem;
}
.greviews-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--blue);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
.greviews-btn:hover { border-color: var(--blue); }
.greviews-btn:disabled { opacity: 0.35; cursor: default; }
.greviews-btn:disabled:hover { border-color: var(--line); }
.greviews-dots { display: flex; gap: 0.5rem; }
.greviews-dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfd8de;
  cursor: pointer;
}
.greviews-dot.is-active { background: var(--blue); }
@media (min-width: 50rem) {
  .greview-card { flex-basis: 23rem; }
}
/* Small phones (stamp -b25): one card fills the whole content column,
   no peek of the next card narrowing the words, and the print is sized
   to read: 16.8px body at 1.55 line-height, a full 20px of card
   padding, ink-strength body color (only the meta line stays muted). */
@media (max-width: 35rem) {
  .greview-card { flex-basis: 100%; padding: 1.25rem; }
  .greview-text { font-size: 1.05rem; line-height: 1.55; }
}

/* --- Stamp -b51: tap-to-call icon in the phone band ------------------
   The band rule near the top of this file hides .header-phone at
   max-width 40rem, which left the sticky header with no call action
   on exactly the phones most patients use (Lauren's iPhone at 393,
   Bill's Fold folded at 412). This block puts a 44px icon button in
   its place in the same band, brand blue like the number, and hides
   it again above the band where the number shows.
   Fit additions, phone band only: the default header row at 360px
   had 44px of slack in total, so the gap tightens and the logo steps
   down a size in the band. The compact menu state (decision panel)
   already overflowed before -b51: logo, Book and Menu needed 404px
   at 360 and 393 alike, so in that state the logo, the two buttons'
   side padding and the gap step down further. Nothing in this block
   reaches above 40rem, and the desktop header is untouched. */
.header-call { display: none; }
@media (max-width: 40rem) {
  .header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    color: var(--blue);
    border-radius: 0.4rem;
  }
  .header-call svg { display: block; }
  .header-inner { gap: 0.5rem; }
  .brand-logo { height: 2.5rem; }
}

/* --- Stamp -b52: hero headline swap (file 50, option 1) -------------
   The hero H1 is the factual service line now and the tagline is its
   subhead; the working rules live with the hero block near the top of
   this file (.hero-b h1 softened to weight 800 with a smaller clamp,
   .hero-b .hero-tagline opting out of the shared poster treatment).
   This banner is the stamp marker for the pass, same as -b51 above. */

/* --- Stamp -b53: Cornelius badge (merge pass, Nov 7, 2026) ---------
   The Cornelius note (the site's corneliusNote field, "Inside
   CrossFit Cornelius (C2)") renders as a pill badge in three places:
   over the Cornelius card photo on the homepage and on the Locations
   page, and standing still in the Cornelius page's own header, so a
   patient who lands on that page from search sees it before arriving
   at a CrossFit gym. Real text in all three places, never an image,
   so search and AI can quote it. Text comes from the Panel field. */
.loc-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  max-width: calc(100% - 1.2rem);
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(11, 11, 12, 0.3);
}
.loc-badge--static { position: static; display: inline-block; }
.location-badge { margin: 0 0 1rem; }

/* --- Stamp -b55: nav dropdowns, services jump bar (file 54) --------
   Services and Locations each carry a dropdown panel beside a word
   that stays a plain link in every device class. The panel opens on
   hover (fine pointers only) or keyboard focus within the item, or
   when the chevron toggle sets .is-open from site-b.js. Escape sets
   .is-suppressed from the script so the close holds even while focus
   stays inside the item; the class lifts when focus leaves. On small
   screens the panel becomes a full-width sheet under the whole nav
   grid (its expanding section), so it can never overflow a 360px
   viewport. Top-level .main-nav rules also match these nested lists,
   so the panel rules below are written one class deeper to win. */
.main-nav .nav-drop-item { position: relative; }
.nav-parent { display: inline-flex; align-items: center; }
.nav-chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0.4rem;
  color: var(--ink);
  cursor: pointer;
  flex: none;
}
.nav-chev svg { transition: transform 0.15s ease; }
.main-nav .nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  display: block;
  min-width: 16rem;
  max-width: none;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.18);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(2px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s linear 0.12s;
}
.main-nav .nav-drop li { display: block; border: 0; }
.main-nav .nav-drop a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: none;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.35rem;
  text-align: left;
  font-weight: 600;
}
/* Uniform dropdown rhythm (prepared -b73, file 78; shipped -b76,
   file 80): the -b55 nav-drop-all margin/padding made the gap above
   "All Services" 9.6px larger than every other inter-item gap in
   every dropdown (measured -b73: 53.6px step vs 44.0px everywhere
   else, all sizes and root fonts), so Services read as
   looser-spaced than Locations. The border-top never rendered
   anyway: .main-nav .nav-drop li { border: 0 } outranks it. All
   Services keeps a distinction that costs no geometry: a heavier
   weight on its link. */
.main-nav .nav-drop-all a { font-weight: 700; }
.nav-drop-item.is-open .nav-drop,
.nav-drop-item:focus-within .nav-drop {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s;
}
.nav-drop-item.is-suppressed .nav-drop {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.nav-drop-item.is-open .nav-chev svg,
.nav-drop-item:focus-within .nav-chev svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .nav-drop-item:hover .nav-drop {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s;
  }
  .nav-drop-item:hover .nav-chev svg { transform: rotate(180deg); }
  .main-nav .nav-drop a:hover { background: var(--mist); color: var(--blue); }
  .nav-chev:hover { color: var(--blue); }
}
@media (max-width: 44rem) {
  .main-nav { position: relative; }
  .main-nav .nav-drop-item { position: static; }
  .nav-parent { display: flex; flex: 1; align-items: stretch; }
  .nav-parent .nav-chev { align-self: center; }
  .main-nav .nav-drop {
    top: 100%;
    left: 0.5rem;
    right: 0.5rem;
    width: auto;
    min-width: 0;
  }
}

/* Services index: the category jump bar and the anchor offset that
   keeps a jumped-to group clear of the sticky header (header height
   measured at audit time: 126px on the desktop bands, 190px on the
   small-screen grid band, so the offsets below carry air over both). */
.svc-jumpbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}
.svc-jumpbar a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .svc-jumpbar a:hover { background: var(--mist); }
}
.index-section { scroll-margin-top: 9rem; }
@media (max-width: 44rem) {
  .index-section { scroll-margin-top: 13rem; }
}

/* --- Stamp -b56: Events & Promotions hub (file 55) -----------------
   The hub's sections ride the shared .index-section / .group-head /
   .card-grid rules above, anchor offsets included: the -b55
   .index-section scroll margins (9rem over the desktop header,
   13rem over the small-screen grid header) are what land a
   dropdown link to #events or #promotions clear of the sticky
   header, and the audit re-measures them on this page. Only the
   neither-state follow line needs a rule of its own. */
.hub-follow { max-width: 62ch; }

/* --- Stamp -b56: nav alignment (file 55 follow-up, Bill's Fold
   screenshot, Nov 8) ------------------------------------------------
   Diagnosis, measured at 750-1440 before this fix: the -b55 chevron
   buttons made the two dropdown items 44px tall at the row's center,
   while every plain top-level link is a ~26px inline box sitting on
   the shared strut baseline, its center ~9px above that center and
   even poking ~5px above its own li (the inline box is aligned to
   the strut, not to the li). Every plain item therefore rode high
   next to the dropdown words, the current page's item among them.
   The fix makes every top-level link the same box: a 44px inline-flex
   centered on its text, inside an li flexed to the same center, so
   all seven items share one center line in the row bands. The small-
   screen grid band below already centers its links; nothing there
   changes. The anchor keeps flex: 1 from the grid rules there. */
.main-nav li { display: flex; align-items: center; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
@media (max-width: 44rem) {
  .main-nav a { display: flex; }
}

/* --- Stamp -b59: nav fitment (file 58) -------------------------------
   Bill's Fold-landscape screenshot (Nov 8): above the small-screen
   grid (max-width 44rem) the six items still wrapped, and "Events &
   Promotions" spilled onto an unstyled second line under the bar.
   Measured live (probe-b59): the row needs 48.34rem at the shipped
   metrics (1.125rem links, 1.25rem gaps, 1rem inline padding), so
   the spill zone ran from the 44rem breakpoint to ~51.3rem - and
   the wrapped row also inflated the sticky header from 7.9rem to
   ~10.9rem, which tucked the journey stage ~49px under it and
   broke the section anchor landings at the same widths. Above the
   grid breakpoint the bar now runs compact metrics - 1rem links,
   0.55rem gaps, 0.6rem inline padding - a ~40.8rem row: one line
   from the breakpoint up. Every metric is rem, so the fit is
   scale-invariant (verified at 16px and 20px root font sizes);
   the chevron buttons keep their 44px boxes and the header's
   height does not change in any band, so the anchor scroll
   margins and --jv-top stand as tuned. The font selectors reach
   only the top-level items; dropdown panel links keep their
   inherited size, and the panels keep their own padding (the
   .nav-drop rule outranks the ul rule below). */
@media (min-width: 44.01rem) {
  .main-nav ul { column-gap: 0.55rem; padding-left: 0.6rem; padding-right: 0.6rem; }
  .main-nav > ul > li > a,
  .main-nav > ul > li > .nav-parent > a { font-size: 1rem; }
}

/* --- Stamp -b60: nav rhythm (file 59) -------------------------------
   Bill's unfolded shots (Nov 9, files 1069/1071): the -b59 row holds
   one line, but the spacing reads uneven and the portrait row looks
   spread while the landscape row groups left. Measured (probe-b60):
   the item gaps were already one uniform 0.55rem and the row is
   left-aligned at every width - what the eye tracks is word to
   word, and the two dropdown items carry a 2.75rem chevron box
   between their word and the next item, so the word-to-word runs
   alternate ~0.55rem (plain items) and ~3.3rem (after "Services"
   and "Locations"), with the caret floating in the middle of its
   box. The -b59 compaction shrank every other space in the row and
   left the chevron box full-size, which threw the rhythm off.
   Fix, same band: one calmer gap unit (0.85rem) and the chevron's
   layout width shrinks to 1.75rem so the caret tucks against its
   word. The button keeps its 2.75rem height; its tap area is a
   ::after 2.85rem wide whose right reach (0.8rem) stops 0.05rem
   short of the next word inside the 0.85rem gap and whose left
   reach (0.3rem) lands only on its own word's tail - no other
   item's target is covered. Header height is unchanged (the row
   is still 2.75rem tall), so --jv-top and the anchor scroll
   margins stand; the row still fits on one line from the 44rem
   breakpoint up at 16-20px roots (probe-b60). */
@media (min-width: 44.01rem) {
  .main-nav ul { column-gap: 0.85rem; }
  .main-nav .nav-chev { width: 1.75rem; position: relative; }
  .main-nav .nav-chev::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -0.3rem;
    right: -0.8rem;
  }
}

/* Booking helper (stamp -b67, file 66): the guided flow inside the
   hero's blue front-door panel. The panel becomes a flex column
   (head, doors or flow, footer row); the doors keep their own grid
   as .helper-doors. Everything here lives on the blue field in
   white and mist, the same treatment the door cards already use.
   The hidden attribute must win over the doors' grid display, or
   the doors would show through the flow. Option buttons are at
   least 52px tall, the nav and footer controls at least 44px. The
   step fade exists only as the answer to a tap (a step renders
   because the visitor chose something) and the global
   reduced-motion rule stills it; the flow is complete without it. */
.front-door [hidden] { display: none !important; }
.helper-head { margin-bottom: 0.25rem; }
.front-door .helper-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}
.helper-intro { color: #eaf3fa; font-size: 1.02rem; line-height: 1.45; margin: 0; }
.front-door .helper-step-heading {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  outline: none;
}
.helper-step-text { color: #eaf3fa; font-size: 1.02rem; line-height: 1.5; margin: 0 0 0.9rem; }
.helper-options { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
@media (min-width: 48rem) {
  .helper-options { grid-template-columns: 1fr 1fr; }
}
.helper-option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  min-height: 3.25rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-top: 3px solid var(--sky);
  border-radius: 0.6rem;
  padding: 0.7rem 1rem;
  color: #fff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.helper-option:hover { background: rgba(255, 255, 255, 0.16); }
.helper-option:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.helper-option--primary { background: #fff; color: var(--blue); }
.helper-option--primary:hover { background: var(--mist); }
.helper-option-label { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.helper-option-facts { color: #d9ecf8; font-size: 0.92rem; line-height: 1.35; }
.helper-option--primary .helper-option-facts { color: var(--blue); }
.helper-option-note {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.4rem;
  padding: 0.45rem 0.65rem;
  margin-top: 0.3rem;
}
.helper-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.helper-navbtn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
}
.helper-navbtn:hover { background: rgba(255, 255, 255, 0.14); }
.helper-navbtn:focus-visible, .helper-escape:focus-visible, .helper-call:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.helper-end-name { color: #fff; font-size: 1.3rem; font-weight: 800; line-height: 1.25; margin: 0 0 0.4rem; }
.helper-end-facts { color: #eaf3fa; font-size: 1.05rem; line-height: 1.45; margin: 0 0 0.8rem; }
.helper-book { background: #fff; color: var(--blue); }
.helper-book:hover { background: var(--mist); }
.helper-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 0.9rem;
}
.helper-escape {
  background: none;
  border: none;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 2.75rem;
  padding: 0.5rem 0.2rem;
  cursor: pointer;
}
.helper-call {
  color: #fff;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0.5rem 0.2rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .helper-step { animation: helper-in 0.18s ease; }
}
@keyframes helper-in { from { opacity: 0; } to { opacity: 1; } }

/* Founder letter (stamp -b68, file 70): Lauren's scanned letter as
   a sheet of paper in the founder band, filling the field the -b66
   widening left empty (file 65). The paper carries the same white
   frame and offset shadow as the founder photo, tilted the other
   way (+1.8deg against the photo's -2.3deg) over a second sheet
   edge (::before, a plain offset layer, no image), so the pair
   reads as two keepsakes on the blue field. The tilt is a resting
   state: it holds with no JavaScript and under reduced motion.
   Tapping the paper opens the reading view (a native dialog,
   styled below); without JavaScript the paper is a plain link to
   the full-size scan. The band copy and photo are untouched. */
@media (min-width: 75.01rem) {
  .founder-band--letter {
    grid-template-columns: 20rem minmax(0, 1fr) minmax(15rem, 22rem);
  }
}
.founder-letter {
  margin: 0;
  width: 100%;
}
.founder-letter-stack {
  display: block;
  position: relative;
}
.founder-letter-stack::before {
  content: "";
  position: absolute;
  inset: 0.55rem -0.35rem -0.35rem 0.55rem;
  background: #dfe9f2;
  border-radius: 0.3rem;
  transform: rotate(-1.4deg);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.18);
}
.founder-letter-paper {
  display: block;
  position: relative;
  background: #fff;
  padding: 0.45rem;
  border-radius: 0.3rem;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.22);
  transform: rotate(1.8deg);
}
.founder-letter-paper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.15rem;
}
.founder-letter-paper:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
@media (hover: hover) {
  .founder-letter-paper { transition: transform 0.18s ease, box-shadow 0.18s ease; }
  .founder-letter-paper:hover {
    transform: rotate(0.9deg) translateY(-2px);
    box-shadow: 0 16px 30px rgba(17, 17, 17, 0.26);
  }
}
.founder-letter-caption {
  position: relative;
  margin-top: 1rem;
  text-align: center;
  color: #fff;
  font-weight: 700;
}
/* Between the phone stack and the wide three-column band, the
   letter steps under the copy in the second column at a readable
   size rather than squeezing the copy into a rail. */
@media (min-width: 56.01rem) and (max-width: 75rem) {
  .founder-band--letter { grid-template-columns: 20rem minmax(0, 1fr); }
  .founder-letter { grid-column: 2; max-width: 24rem; }
}
@media (max-width: 56rem) {
  .founder-letter { max-width: 26rem; }
}

/* Founder band layout (stamp -b71, file 76; decision file 75):
   Bill found the -b68 arrangement too small on his tablet: photo
   and letter stacked down the left with dead blue field beside
   them. The photo is now the cropped variant (walls trimmed) and
   the two keepsakes sit together as one group at every size:
   - Wide (56.01rem up): photo and letter side by side at the same
     level on the left, copy in a column to their right. The pair
     is height-matched (the letter column is the photo's height
     divided by the scan's own ratio), so their bottoms land even,
     and the resting tilts (photo -2.3deg, paper +1.8deg) tip the
     bottoms toward each other.
   - Mid widths (30.01rem to 56rem): the pair side by side across
     the top of the band, copy below. In landscape from 48rem the
     pair instead takes the left and the copy the right, as in the
     landscape mockup Bill approved.
   - Narrow (30rem and under: closed Fold and phones in
     portrait): the pair overlaps. The letter rides over the
     photo's right edge, raised so its top sits just below the
     photo's top and the two bottoms land nearly even; copy below.
   The letter never covers her face: in the crop her face sits
   left of centre and the overlap takes only the right edge. The
   reading view (the dialog below) is unchanged from -b68, and a
   band with no letter set keeps its previous layout. */
@media (min-width: 56.01rem) {
  .founder-band--letter {
    grid-template-columns: minmax(0, 20rem) minmax(0, 17rem) minmax(0, 1fr);
    column-gap: 1.5rem;
  }
  .founder-band--letter .founder-photo { grid-column: 1; grid-row: 1; }
  .founder-band--letter .founder-letter {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    transform: translateX(-0.75rem);
  }
  .founder-band--letter .founder-body { grid-column: 3; grid-row: 1; }
}
@media (min-width: 30.01rem) and (max-width: 56rem) {
  .founder-band--letter {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    column-gap: 1rem;
    row-gap: 1.75rem;
    align-items: start;
  }
  .founder-band--letter .founder-photo {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
  }
  .founder-band--letter .founder-letter {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    transform: translateX(-1.25rem);
  }
  .founder-band--letter .founder-body { grid-column: 1 / -1; grid-row: 2; }
}
@media (min-width: 48rem) and (max-width: 56rem) and (orientation: landscape) {
  .founder-band--letter {
    grid-template-columns: minmax(0, 15rem) minmax(0, 12.75rem) minmax(0, 1fr);
    column-gap: 1rem;
    align-items: center;
  }
  .founder-band--letter .founder-photo { grid-column: 1; grid-row: 1; }
  .founder-band--letter .founder-letter {
    grid-column: 2;
    grid-row: 1;
    transform: translateX(-0.6rem);
  }
  .founder-band--letter .founder-body { grid-column: 3; grid-row: 1; }
}
@media (max-width: 30rem) {
  .founder-band--letter {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
    align-items: start;
  }
  .founder-band--letter .founder-photo {
    grid-column: 1;
    grid-row: 1;
    width: 63%;
    max-width: none;
    justify-self: start;
  }
  .founder-band--letter .founder-letter {
    grid-column: 1;
    grid-row: 1;
    width: 50%;
    max-width: none;
    justify-self: end;
    margin-top: 1.6rem;
    position: relative;
    z-index: 1;
  }
  .founder-band--letter .founder-body { grid-column: 1; grid-row: 2; }
}

/* Letter reading view (stamp -b68, file 70): a native dialog, so
   Escape, the focus trap, and focus return come from the browser.
   No animation on open or close: the view simply answers the tap,
   which keeps it complete under reduced motion. The full-size
   scan loads only when the view opens (site-b.js sets the src). */
.letter-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: fit-content;
  max-width: 96vw;
  max-height: 96vh;
  overflow: visible;
}
.letter-dialog::backdrop { background: rgba(8, 24, 38, 0.86); }
.letter-dialog-bar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 0.6rem;
}
.letter-dialog-close {
  min-height: 2.75rem;
  padding: 0.6rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.letter-dialog-close:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.letter-dialog-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(96vh - 4.25rem);
  margin: 0 auto;
  background: #fff;
  padding: 0.5rem;
  border-radius: 0.3rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

/* ---------- Version B hero trial (stamp -b72, file 77) ----------
   Full-width background hero per brief file 68 and the settled
   mockups (v3 design, v4 wash, v5b hours treatment), with the
   barbell clip from Lauren's current site as the background
   (amendment, Nov 19, 2026). Everything is scoped to
   .hero-b--trial; the pre-trial hero rules above stay for the
   record and simply find no markup. The soft dark wash sits
   under the left text block only and fades out at its edges;
   the micro dot pattern rides over the whole background. The
   booking form's column width and the hero's minimum height
   are the --hero-form-w / --hero-min-h variables the template
   emits from the Panel, so the balance can be tuned live. */
.hero-b--trial {
  background: #103a5c;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}
.hero-b--trial .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-b--trial .hero-bg-img,
.hero-b--trial .hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}
.hero-b--trial .hero-bg-video { opacity: 0; transition: opacity 0.4s ease; }
.hero-b--trial .hero-bg-video.is-playing { opacity: 1; }
/* The brand-blue grade over the photo: holds the white text and
   ties the background to the site's blue field. */
.hero-b--trial .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 96, 152, 0.40), rgba(11, 47, 76, 0.52));
}
.hero-b--trial .hero-bg-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.30) 1px, transparent 1.4px),
    radial-gradient(rgba(255, 255, 255, 0.20) 1px, transparent 1.4px);
  background-size: 22px 22px;
  background-position: 0 0, 11px 11px;
}
.hero-b--trial .hero-b-grid {
  grid-template-columns: minmax(0, 1fr) var(--hero-form-w, 40rem);
  grid-template-areas: "copy side";
  align-items: start;
  gap: 2rem 3rem;
  min-height: var(--hero-min-h, 0);
  z-index: 1;
}
.hero-b--trial .hero-side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}
.hero-b--trial .hero-side .front-door { margin: 0; width: 100%; }
/* Fit at large root fonts: the door buttons (.btn-book) never
   wrap, so at root font 18-20 on a small phone the widest button
   sets a door card min-content (~336px at font 20) wider than
   the panel and the cards clip at the panel edge. Inside the
   trial hero the cards may shrink below min-content and the
   door buttons may wrap; at the default font nothing changes,
   because everything already fits on one line. */
.hero-b--trial .door-card { min-width: 0; }
.hero-b--trial .door-card .btn { white-space: normal; }
/* The wash: a soft dark field behind the left text only, its
   edges dissolved by the radial falloff (mockup v4). */
.hero-b--trial .hero-b-copy {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
}
.hero-b--trial .hero-b-copy::before {
  content: "";
  position: absolute;
  inset: -2.5rem -5rem -4rem -3.5rem;
  background: radial-gradient(128% 122% at 34% 44%, rgba(7, 33, 55, 0.60) 0%, rgba(7, 33, 55, 0.36) 52%, rgba(7, 33, 55, 0) 74%);
  z-index: -1;
}
.hero-b--trial .hero-headline {
  order: -1;
  color: #fff;
  font-size: clamp(2.5rem, 4.2vw + 1rem, 4rem);
  font-weight: 800;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.04;
  margin: 0 0 1.15rem;
  text-shadow: 0 2px 18px rgba(6, 30, 50, 0.35);
}
.hero-b--trial .hero-fact {
  color: #d9ecf8;
  font-size: clamp(0.98rem, 0.35vw + 0.85rem, 1.12rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  line-height: 1.55;
  margin: 0 0 1.15rem;
  max-width: 36rem;
}
.hero-b--trial .lede {
  color: #eef6fb;
  font-size: 1.22rem;
  line-height: 1.5;
  max-width: 33rem;
  margin: 0;
  text-shadow: 0 1px 10px rgba(6, 30, 50, 0.40);
}
/* The hours line on the background under the form (mockup v5b):
   white text, no strip, no band. */
.hero-b--trial .hero-note {
  color: #fff;
  font-size: 1.02rem;
  margin: 0;
  text-shadow: 0 1px 10px rgba(6, 30, 50, 0.50);
}
.hero-b--trial .hero-note a { color: #fff; font-weight: 700; }
@media (max-width: 64rem) {
  .hero-b--trial .hero-b-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "side";
    gap: 1.75rem;
  }
  .hero-b--trial .hero-b-copy::before { inset: -1.25rem -1.5rem; }
  .hero-b--trial .hero-headline { font-size: clamp(2.1rem, 9vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-b--trial .hero-bg-video { display: none; }
}

/* ---------- Proof strip slim fold (stamp -b76, file 80) ----------
   Bill, Nov 19, 2026: on narrow phones the four visit-fact cards
   under the homepage map (Locations / Hours / Visits / Call)
   squeeze three across at folded-portrait width with the Call
   card dropped to a second row beside dead white space. The base
   rule is a fluid auto-fit grid (minmax(13rem, 1fr)) with no
   breakpoint of its own, so the fold engages at max-width 768px:
   above Bill's failing 750px folded-portrait cell, below the
   832px cell that keeps the card layout, and root-font
   independent so both protected cells hold at 16px and 20px
   roots (px breakpoints have precedent in this sheet, the 720px
   map-pin blocks). Inside the fold the dl becomes one slim band:
   the four label/value pairs run inline and wrap tightly inside
   a single mist panel, no card boxes, no second card row, no
   dead space. The Call link keeps a 2.75rem (44px) minimum touch
   height. Larger screens are untouched. */
@media (max-width: 768px) {
  .proof-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 1.1rem;
    background: var(--mist);
    border: 1px solid var(--line);
    border-top: 3px solid var(--sky);
    border-radius: 0.5rem;
    padding: 0.4rem 0.9rem;
    margin: 0 0 1.5rem;
  }
  .proof-strip > div {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 0;
  }
  .proof-strip dt { font-size: 0.8rem; white-space: nowrap; }
  .proof-strip dd {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
  }
  .proof-strip dd a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 0.35rem;
    margin: 0 -0.35rem;
  }
}

/* ---------- Hero event badge (stamp -b78, file 84) ----------
   One sticker for the next upcoming hub event or promotion,
   rendered by home.php from the hub's own fields only when the
   item is inside its 42 day window; when nothing qualifies,
   nothing renders and the hero is exactly the -b72 hero. The
   sticker floats over the photo at the hero's bottom left and
   scrolls away with the hero: absolute, never fixed, and no
   animation or transition of any kind (Bill's motion rule). The
   has-badge class reserves the sticker's band by deepening the
   hero's bottom padding, so the sticker cannot reach the copy,
   the form, or the hours note at any width or root font; the
   band is empty photo when the sticker sits in it. As shipped
   the field was white, the name brand blue, the accent rule
   sky; the gold recolor at -b87 (file 88) supersedes all three.
   GOLD VALUES, keep through any rebase of this block: field
   #dfa92e, accent rule #dfa92e (set to the field, so it reads
   as part of the sticker), name and date lines both #103a5c
   (5.53:1 on the gold, WCAG AA). Gold is reserved for this
   badge only, nowhere else in the site. */
.hero-b--trial.hero-b--has-badge { padding-bottom: 6.5rem; }
.hero-b--trial .hero-badge {
  position: absolute;
  z-index: 2;
  left: max(1rem, calc((100vw - 88rem) / 2 + 1rem));
  bottom: 0.85rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  max-width: min(22rem, calc(100vw - 3rem));
  padding: 0.7rem 1rem 0.75rem;
  background: #dfa92e;
  border-top: 0.25rem solid #dfa92e;
  border-radius: 0.6rem;
  box-shadow: 0 12px 30px rgba(6, 30, 50, 0.38);
  text-decoration: none;
  transition: none;
}
.hero-b--trial .hero-badge-name {
  color: #103a5c;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}
.hero-b--trial .hero-badge-date {
  color: #103a5c;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Event photo gallery (stamp -b83, file 86) ----------
   The event page's first photo shows large at the top in the
   .page-photo treatment, and tapping it opens the full photo in
   the shared letter-dialog view. With more than one photo, a
   strip of small photos sits under the large one. Each small
   photo sits straight and even in the site's clean white frame
   with its soft photo shadow. The strip scrolls sideways when
   the photos overflow it, and its padding leaves room for the
   shadows so nothing is clipped. Tapping a small photo swaps
   the large one to it in a short crossfade; the photo on show
   takes a blue ring, so
   it is unmistakable.
   Nothing moves on its own: no autoplay, no auto-advance; the
   only change is the answer to a tap. Without scripts the strip
   never appears and a plain grid of all the photos shows under
   the large one instead, straight and unadorned, so every photo
   stays reachable. The dialog reuses the .letter-dialog styles,
   so both large views look and behave the same. */
.event-viewer-caption {
  margin-top: 0.5rem;
  color: #103a5c;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.event-viewer-caption[hidden] { display: none; }
.event-viewer-link { position: relative; display: block; width: fit-content; }
.event-viewer-fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .event-viewer-fade { transition: none; }
}
.event-gallery-caption {
  margin: 0.4rem 0 0;
  color: #103a5c;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.event-strip { display: none; }
.gallery-live .event-strip {
  display: flex;
  gap: 0.9rem;
  margin: 0.25rem 0 0;
  padding: 0.9rem 1.15rem 1.6rem;
  overflow-x: auto;
  overflow-y: hidden;
}
.event-thumb {
  flex: 0 0 auto;
  padding: 0.35rem;
  border: 0;
  border-radius: 0.3rem;
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.16);
  cursor: pointer;
}
.event-thumb img {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
}
.event-thumb:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
.event-thumb[aria-current="true"] {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.event-gallery-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
}
.gallery-live .event-gallery-grid { display: none; }
.event-gallery-item {
  display: block;
  border-radius: 0.5rem;
  overflow: hidden;
}
.event-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.event-gallery-item:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

/* ---------- Event viewer fixed frame (stamp -b89, file 92) ----------
   In the live viewer the large photo now keeps one fixed frame,
   so tapping through the photos changes only the picture, never
   the size of the box: no height jump at the swap or during the
   crossfade. Portrait and landscape photos alike fill the frame
   with a cover crop; the full photo still opens whole in the
   dialog, exactly as before. The single-photo page and the
   no-script state are untouched: neither carries the live-viewer
   class these rules hang from.
   Ratio change (stamp -b120, file 120): Bill chose the shorter
   3:2 frame on Nov 20, 2026, so most photos show whole and the
   occasional 4:3 photo cover-crops instead. The no-script grid
   keeps its own 4:3 rule above; only this live viewer frame
   changed. */
.gallery-live .event-viewer-link {
  width: 100%;
  aspect-ratio: 3 / 2;
}
.gallery-live .event-viewer-link [data-viewer-img] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Event viewer fade layer frame (stamp -b91, file 94) ----------
   The fade layer (the incoming photo that dissolves in over the
   settled one) is an img inside the same .page-photo figure, and
   the figure's general img rule (.page-photo img, height: auto)
   outranks the fade layer's own height: 100% on specificity, so
   the incoming photo painted at its natural aspect height,
   anchored to the top of the fixed frame: a 3:2 photo filled
   only the top 238.8px of the 268.5px frame at 390 wide, and the
   bottom strip of the frame kept showing the old photo through
   the whole fade, then snapped to the new one at the commit.
   Only the one native 4:3 photo matched the frame and faded
   clean. This rule restates the layer's box at the same
   specificity the settled image's rule (above) already uses,
   so both layers now cover the identical frame for the whole
   fade. Scoped to the live viewer, like the frame rule: the
   single-photo page, the no-script grid, and the full-size
   dialog are untouched. */
.gallery-live .event-viewer-link [data-viewer-fade] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge placement on the stacked hero (stamp -b78, file 84):
   Bill's preferred narrow spot was the hero's upper right
   corner, tested first per his instruction at 344/360/380/390/
   412 portrait, root fonts 16 and 20. It collides with the
   headline's first line at every one of those cells (glyph
   overlap 1,662 to 4,681 square px; the headline is left
   aligned but its first line reaches 97 to 223px into the
   badge's span, because the badge's bottom edge lands 15 to
   19px inside the headline's band). Evidence screenshots in
   r2p-b78/shots/corner-topright-*.png, numbers in file 84. The
   nearest clear position on the same side is the bottom right
   of the reserved band: measured zero overlap with headline,
   fact, lede, form, and hours note at all ten cells. Wide
   screens keep the bottom left. */
@media (max-width: 64rem) {
  .hero-b--trial .hero-badge {
    left: auto;
    right: max(1rem, calc((100vw - 88rem) / 2 + 1rem));
  }
}

/* --- Stamp -b81: nav caret fitment (prepared at -b77,
   file 81; reconciled by hand onto the post -b80 bytes and
   shipped at -b81) ------------------------------------------
   Bill's screenshot (Nov 19, -b72 hero live): the one-row nav reads
   unevenly spaced. Measured (probe-b77, file 81): the item boxes are
   already uniform, one 0.85rem column gap in a left-aligned group at
   every one-row width, but the word-to-word runs alternate 13.6px
   (plain items) and 41.6px (after Services and Locations) at a 16px
   root, and 17px / 52px at a 20px root. The -b60 chevron box
   (1.75rem wide) rides inside the run, and the fixed 18px caret icon
   sits centered in it: 5px of empty box before the icon at a 16px
   root (8.5px at 20px), then the rest of the box plus the gap still
   to cross before the next word, so the caret floats mid-space and
   the words group unevenly. Fix, this band only: the chevron box
   shrinks to the icon's own fixed 18px (the icon is a fixed-size
   svg in header-b.php and does not scale with the root font), so
   the caret attaches to its word and the space after every item,
   dropdown items measured from the caret, is the one 0.85rem gap
   unit. The button keeps its 2.75rem height and its -b60 ::after
   tap reach: the right reach still stops 0.05rem short of the next
   word, because the box edge and the gap move together, and the
   left reach still lands only on its own word's tail. The row gets
   20px narrower at a 16px root (34px at 20px), so the one-line fit
   from the 44rem breakpoint up only gains slack, and the header
   height does not change in any band. The small-screen grid band
   keeps its 2.75rem chevron box; it is a different layout and is
   not touched. Dropdown panels are not touched. */
@media (min-width: 44.01rem) {
  .main-nav .nav-chev { width: 18px; }
}

/* --- Stamp -b88: hero badge top band on the stacked hero
   (file 91) --------------------------------------------------
   Bill saw the -b78 narrow placement live on his phone
   (Nov 19, 2026) and rejected it: at the hero's foot the
   sticker is lost, and it reads as something put up last
   minute rather than laid out. His direction: noticeable on
   load, top right corner of the hero. File 84 proved a plain
   overlay in that corner lands on the headline's first line
   at every narrow cell, so this pass solves it with layout,
   not overlay. In the stacked regime only (max-width 64rem,
   the hero's own breakpoint), while a badge is live, the
   hero reserves a band at its top: padding-top grows from
   3rem to 4.75rem, and the sticker anchors at top right
   inside the band (top 0.85rem; the right edge stays the one
   the -b78 addendum set, aligned with the form column). The
   band runs 5.2rem deep from the hero's top edge (0.85rem
   above the sticker plus its 4.35rem height, at any root
   font, because every term is in rem); the copy box starts
   at 4.75rem and the headline's first glyph line lands
   about 0.8rem below the sticker's bottom edge, so nothing
   is covered at any cell and the sticker sits in the first
   screen on load. The -b78 foot reservation is released in
   this regime (bottom padding returns to the base 3.5rem),
   so against the -b78 narrow hero the section ends 1.25rem
   shorter with the sticker at the top. Wide screens keep
   the -b78 placement: bottom left. With no badge live there
   is no band and no class, and the hero is the -b72 hero
   exactly. The badge's gold (file 88, pass -b87) lives in
   the badge block above and is untouched here. */
@media (max-width: 64rem) {
  .hero-b--trial.hero-b--has-badge {
    padding-top: 4.75rem;
    padding-bottom: 3.5rem;
  }
  .hero-b--trial .hero-badge {
    bottom: auto;
    top: 0.85rem;
  }
}

/* Hub event card buttons (stamp -b92, file 95): the standard .btn
   measures 43.94px tall; event card action buttons keep a full
   44px tap target. Scoped to event cards only. */
.event-card .card-actions .btn {
  box-sizing: border-box;
  min-height: 44px;
}

/* Founder band paper float (stamp -b94, file 97): Bill's call on
   the Nov 19, 2026 voice call, looking at the shipped -b71 band.
   Two changes, founder band only.
   1) The letter stops wearing the white print frame. That frame
      belongs on the photo, where it already sits (the Oct 28 -b11
      treatment on .founder-band .founder-photo: white mat, soft
      shadow). The letter is now loose paper: no mat or padding
      frame of its own, and the second offset sheet behind it (the
      -b68 ::before layer) is removed outright. The scan itself is
      the sheet, resting at its +1.8deg tilt with a soft shadow
      under the paper, and it floats over the photo at every size:
      in the side-by-side regimes the letter figure is pulled left
      by 35 percent of its own width, which lands its left edge at
      roughly three quarters of the photo's width in each regime,
      the same landing the narrow overlap already used. In the
      crop her face sits centre-frame, about 40 to 60 percent of
      the photo's width, so the paper takes the photo's right edge
      and the tumbler side and never reaches her face.
   2) The caption words are a button (home.php) that opens the
      same reading view as tapping the paper. The button is styled
      to look exactly like the caption text it replaces; the
      padding that gives it a proper hit area is cancelled by
      equal negative margins, so the visible layout does not move.
   A band with no letter set is untouched, as is every other band. */
.founder-letter-stack::before { content: none; }
.founder-letter-paper {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.30);
}
.founder-letter-paper img { border-radius: 0; }
@media (hover: hover) {
  .founder-letter-paper:hover { box-shadow: 0 18px 32px rgba(17, 17, 17, 0.34); }
}
.founder-band--letter .founder-letter { position: relative; z-index: 1; }
@media (min-width: 56.01rem) {
  .founder-band--letter .founder-letter { transform: translateX(-35%); }
}
@media (min-width: 30.01rem) and (max-width: 56rem) {
  .founder-band--letter .founder-letter { transform: translateX(-35%); }
}
@media (min-width: 48rem) and (max-width: 56rem) and (orientation: landscape) {
  .founder-band--letter .founder-letter { transform: translateX(-35%); }
}
.founder-letter-open-btn {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.7rem 1rem;
  margin: -0.7rem -1rem;
}
.founder-letter-open-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
/* Founder band button and photo (stamp -b96, file 98): two small
   fixes from Bill's phone review. The caption button under the
   letter showed the browser's default tap highlight on touch: a
   sky flash across the button's whole padded hit area every time
   it was tapped (Chrome on Android computes the default as
   rgba(51, 181, 229, 0.4); nothing in the site set that color).
   It is switched off for this button only. The keyboard focus
   ring is untouched: it paints on :focus-visible, which a touch
   tap never triggers, verified in the -b96 probe. Second, the
   founder photo sat flatter than the letter beside it: its soft
   shadow was the shared 0.16 shadow it splits with the journey
   photos, while the letter's paper shadow is 0.30. The photo
   now takes the same lift as the letter, scoped to the founder
   band, so the journey photos keep their 0.16 exactly. */
.founder-letter-open-btn { -webkit-tap-highlight-color: transparent; }
.founder-band .founder-photo { box-shadow: 0 14px 28px rgba(17, 17, 17, 0.30); }

/* Listing card link rule (stamp -b101, file 103; standing default,
   Bill, Nov 19, 2026): on any listing page, a card that leads
   somewhere is clickable as a whole. The title link (.card-link)
   stretches over the card, the heading reads as a clean title (no
   underline, heading color), and any action button (Book,
   directions, signup) stays a separate tap target above the card
   link in .card-actions. New listing cards are built this way
   from the start: add .card--linked to the card and .card-link
   to the title link. */
.card--linked { position: relative; }
.card--linked .card-link { color: inherit; text-decoration: none; }
.card--linked .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.6rem;
}
.card--linked .card-actions { position: relative; z-index: 2; }
.card--linked:hover { border-color: var(--sky); box-shadow: 0 4px 14px rgba(11, 11, 12, 0.10); }
.card--linked:hover .card-link { color: var(--blue); }
.card--linked .card-link:focus-visible { outline: none; }
.card--linked .card-link:focus-visible::after { outline: 3px solid var(--sky); outline-offset: 2px; }

/* --- Stamp -b104: hero wide-screen balance (file 107) --------
   Bill, Nov 20, 2026, from his laptop at wide desktop: the gold
   badge sat at the hero's bottom left, the wash ran underneath
   the booking helper and tinted its left edge, and the wash's
   fade read as a rectangle edge on the large display. Three
   fixes, all inside the wide regime only (min-width 64.01rem);
   the stacked regime below 64rem, including the -b88 badge top
   band, is byte-for-byte untouched.
   1) Badge: while a badge is live the hero reserves its band
   at the TOP instead of the foot (padding-top 6rem, the -b78
   foot reservation released back to the base 3.5rem, so the
   section's total height is unchanged) and the sticker anchors
   at the top right, its right edge on the same column formula
   the -b78 addendum used on narrow, aligned with the form
   column. The band runs 5.2rem deep (0.85rem above the sticker
   plus its 4.35rem height, in rem at any root font); the grid
   starts at 6rem, so the sticker clears the headline block
   and the helper by 0.8rem and overlaps nothing.
   2) Wash: the wash box no longer reaches the helper. Its
   right inset goes from -5rem to -1rem, so the box ends 2rem
   before the form column across the 3rem grid gap, and the
   helper column takes position and z-index 1 so it paints
   fully above the wash wherever the two could still meet
   (measured pre-pass: the copy's z-index 0 stacking context
   painted the wash over the panel's left 2rem, alpha about
   0.27 on the panel blue at 1920).
   3) Fade: the radial falloff is rebuilt with a longer, eased
   tail (six stops, alpha reaching 0 at the ending shape
   instead of 74 percent of it) on a slightly smaller ellipse,
   so on large displays the wash melts into the photo instead
   of ending on a contour the eye reads as a straight edge.
   The core over the text block is unchanged in strength. */
@media (min-width: 64.01rem) {
  .hero-b--trial.hero-b--has-badge {
    padding-top: 6rem;
    padding-bottom: 3.5rem;
  }
  .hero-b--trial .hero-badge {
    left: auto;
    right: max(1rem, calc((100vw - 88rem) / 2 + 1rem));
    top: 0.85rem;
    bottom: auto;
  }
  .hero-b--trial .hero-b-copy::before {
    inset: -2.5rem -1rem -4rem -4.5rem;
    background: radial-gradient(104% 108% at 40% 45%, rgba(7, 33, 55, 0.62) 0%, rgba(7, 33, 55, 0.50) 30%, rgba(7, 33, 55, 0.33) 54%, rgba(7, 33, 55, 0.17) 72%, rgba(7, 33, 55, 0.07) 84%, rgba(7, 33, 55, 0.02) 93%, rgba(7, 33, 55, 0) 100%);
  }
  .hero-b--trial .hero-side {
    position: relative;
    z-index: 1;
  }
}

/* Provider page photo size (stamp -b107, file 110): on the team
   member pages the photo printed at its natural size, up to the
   full column wide and, for the portrait photos, 1500px tall,
   so the bio text began one to two screens down on a laptop.
   The photo now sits in a bounded frame of 22rem: on wide
   screens it floats at the right of the opening text so the
   bio begins beside it, and below that width the same cap
   simply bounds the block. The file served is still the full
   uncropped original; only the printed size changes. Scoped
   to .provider so the event and service lead photos, which
   share the .page-photo figure, keep their own rules. */
.provider .page-photo { max-width: 22rem; }
@media (min-width: 64rem) {
  .provider .page-photo { float: right; margin: 0.35rem 0 1rem 1.75rem; }
  .provider::after { content: ""; display: block; clear: both; }
}

/* --- Stamp -b110: hero full-frame grade and balance (file 110) ---
   Bill, Nov 20, 2026, comparing the -b104 hero at laptop width
   against the reference hero the design was modeled on: the
   local wash behind the text still read as a big gray-blue
   rectangle competing with the booking helper, not well
   balanced, its right and bottom edges visible lines. Cause,
   measured over frames of the real hero video: the -b104
   radial falloff reached full transparency only at the ending
   shape of its ellipse, but the wash box edges sit at about
   half that radius, where the alpha is still 0.30 to 0.35, so
   the box clipped the gradient into straight lines. A softened
   local box (solid field, blurred edges) was built and measured
   in the rig and set aside at Bill's direction: the end state
   removes the local wash in the wide regime altogether. In its
   place the hero's own full-frame grade gains a second layer,
   a horizontal gradient that deepens the frame gently toward
   the left over the full hero width, so there is no box, no
   rectangle, and no edge to find on any side; the booking
   helper stands as the one solid panel on the hero. The text
   column also centers vertically against the helper instead of
   starting at the top of the row. Wide regime only: the badge
   placement and band, the helper itself, the hero height and
   the Panel hero fields, and the stacked hero below 64rem are
   all untouched. */
@media (min-width: 64.01rem) {
  .hero-b--trial .hero-b-copy::before {
    display: none;
  }
  .hero-b--trial .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(6, 28, 48, 0.62) 0%, rgba(6, 28, 48, 0.53) 30%, rgba(6, 28, 48, 0.33) 55%, rgba(6, 28, 48, 0.15) 78%, rgba(6, 28, 48, 0.05) 100%),
      linear-gradient(180deg, rgba(23, 96, 152, 0.40), rgba(11, 47, 76, 0.52));
  }
  .hero-b--trial .hero-b-grid {
    align-items: center;
  }
}

/* --- Stamp -b113: FAQ page, homepage questions strip, footer link (file 114) ---
   The FAQ page is a native details and summary accordion (Bill's
   pinned choice, Nov 20, 2026): every answer is in the served HTML
   whether the item is open or closed, the summary is the keyboard
   and touch target at the 44px minimum, and no JavaScript is
   involved. The homepage strip is plain rows linking to the FAQ
   page; the footer gains its first internal link. */
.faq-intro { margin-bottom: 2.5rem; }
.faq-section { margin: 0 0 2.75rem; }
.faq-section-intro { margin-bottom: 0.5rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); scroll-margin-top: 9rem; }
@media (max-width: 44rem) {
  .faq-item { scroll-margin-top: 13rem; }
}
.faq-item summary {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  padding-left: 1rem;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.faq-answer { padding: 0 0 1.15rem; }
.faq-answer p { margin: 0 0 0.8rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-call { margin-top: 1rem; }
.faq-strip {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  margin: 0 0 2.5rem;
}
.faq-strip h2 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); margin-top: 0; }
.faq-strip-list { list-style: none; margin: 0; padding: 0; }
.faq-strip-list li { border-top: 1px solid var(--line); }
.faq-strip-list a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.faq-strip-list a::after { content: "\2192"; margin-left: auto; padding-left: 1rem; color: var(--blue); }
.faq-strip-more { margin: 1rem 0 0; }
.footer-faq {
  max-width: 88rem;
  margin: 0.75rem auto 0;
  padding: 0 1rem;
  font-size: 1rem;
  color: #fff;
}

/* --- Stamp -b117: homepage questions strip becomes the accordion (file 117) ---
   The strip's five questions now open their answers in place, in
   the same native details and summary accordion as the FAQ page;
   the .faq-item rules from -b113 do the work, so tap targets and
   behavior match the FAQ page exactly. The list keeps the top rule
   the old link rows carried. The old .faq-strip-list li and a rules
   above no longer match anything in the strip. */
.faq-strip-list { border-top: 1px solid var(--line); }

/* Service page photo size (stamp -b118, file 118): the service
   detail pages printed their lead photo at the full column
   width, and with the fact list stacked under it the body text
   began well down the screen (on the evaluation page the photo
   printed 1376 x 917 at laptop width and the text began at
   y 1610, root font 16; the portrait photos printed over
   2000px tall). Same treatment as the provider pages (stamp
   -b107, file 110), scoped to .service: the photo sits in a
   bounded frame of 22rem; on wide screens it floats at the
   right of the opening content so the facts and the text begin
   beside it, and below that width the same cap simply bounds
   the block. The file served is still the full uncropped
   "wide" derivative; only the printed size changes. Pages
   without a photo carry no .page-photo element and are
   untouched. One adaptation the service layout forced: the
   insurance note is a bordered card, and as a plain block its
   box slid under the floated photo on the portrait pages (its
   text wrapped, but its background ran behind the photo's
   lower corner). On photo pages only (the note follows the
   figure in the article) the note now forms its own formatting
   context at wide widths, so its box sits beside the photo
   like the fact list does instead of sliding under it. */
.service .page-photo { max-width: 22rem; }
@media (min-width: 64rem) {
  .service .page-photo { float: right; margin: 0.35rem 0 1rem 1.75rem; }
  .service .page-photo ~ .section-note { display: flow-root; }
  .service::after { content: ""; display: block; clear: both; }
}

/* Founder band centering (stamp -b119, file 119): in the mid
   regime in portrait (30.01rem to 56rem wide, copy below the
   pair), the pair sat left of centre. The photo starts flush at
   the band's left content edge, but the letter figure is pulled
   left by 35 percent of its own width (the -b94 float), so the
   pair's right edge stopped short of the right content edge by
   that same distance and the blue field showed wider on the
   right: measured extra space on the right of 74px at a 500px
   viewport, 99px at 671px, and 136px at 896px, root font 16.
   The pair now shifts right by half the pull, which centres it
   without touching the pair itself. The photo takes a left
   margin of half the pull expressed against its own column
   (the letter column is 0.85 of the photo column, so half the
   pull is 17.5 percent of the letter's width and 14.875
   percent of the photo's), and the letter's pull eases from
   35 percent to 17.5 percent. The overlap, the tilts, the
   shadows and the face clearance stay exactly as -b94 left
   them. Landscape at these widths, the narrow overlap regime
   and the wide three-column regime are untouched. */
@media (min-width: 30.01rem) and (max-width: 56rem) and (orientation: portrait) {
  .founder-band--letter .founder-photo { margin-left: 14.875%; }
  .founder-band--letter .founder-letter { transform: translateX(-17.5%); }
}

/* Services index pill row, variant E (stamp -b121, file 121):
   on narrow screens the four category pills center as a wrap in
   the settled category order, so each long label sits centered on
   its own row and the two short labels share the middle row as a
   centered pair. Every label stays whole on one line; pill
   styling, pill order and the anchor jumps are untouched.
   Scoped to max-width 44rem so wider layouts are unchanged.
   Bill delegated the pick on Nov 20, 2026 ("Make your best
   judgment on the pills"). His own two-row pairing cannot fit:
   the two long labels side by side need 375px against a 358px
   bar at 390 (record 116). E is the only arrangement that keeps
   Lauren's labels whole and centered. */
@media (max-width: 44rem) {
  .svc-jumpbar { justify-content: center; }
}

/* --- Stamp -b125: category page closers and groups (file 125) ---
   The Start Strong offer band rides the FAQ strip's offwhite card
   pattern; the pelvic floor questions reuse the global .faq-item
   rules untouched; the cross-over block and closing lines are plain
   page text. Group sections on Sports Performance reuse the
   Services index .index-section and .group-head rules. */
.cat-offer {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 0 0 2.5rem;
}
.cat-offer h2 { margin-top: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cat-offer-links { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 0; }
.cat-body { max-width: 46rem; margin: 0 0 2rem; }
.cat-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cat-faq { margin: 0 0 2.5rem; }
.cat-faq h2 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); }
.cat-faq-link { margin: 0 0 2rem; }
.cat-cross { margin: 0 0 2.5rem; }
.cat-cross h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 0; }
.cat-cross ul { margin: 0; padding-left: 1.25rem; }
.cat-cross li { margin: 0.35rem 0; }

/* --- Stamp -b128: pinned card actions and clamped card text
   (file 127) ---
   Bill's call, Nov 20, 2026: on the homepage What we do cards
   and the team listing cards, the action buttons pin to the
   card bottom so every button in a row sits on one level line
   (measured before: the team row stagger ran to about 250px
   and the family row to about 50px at desktop, because the
   buttons flowed after text of very different lengths), and
   the card body text folds behind a Show more toggle instead
   of being shortened. The two card sets become flex columns
   and .card-actions takes margin-top auto; its 1rem gap
   survives as padding for the card whose own content is the
   tallest in its row. A card with no actions (Hannah Baker,
   no Book button by the -b112 rule) simply ends at its text
   at the same row height. The fold is the reviews fold's
   treatment (stamp -b25/-b28) carried to these two grids:
   site-b.js adds .is-clamped only when the text runs past
   the card's line count (3 lines on the family cards, 6 on
   the provider cards; the count rides in the markup as
   data-clamp-lines and the script applies it inline), and
   reveals the toggle. The full words stay in the page
   either way. Without JS the class is never added and the
   buttons stay hidden, so every card renders whole. The
   toggle is its own tap target raised above the stretched
   card link, on the -b101 pattern, with a 44px minimum
   height. The clamp text's own bottom margin goes to zero
   inside these cards so the spacing under the text is the
   toggle's or the actions' gap alone, clamped or not. */
.family-card, .provider-card { display: flex; flex-direction: column; }
.family-card .card-actions, .provider-card .card-actions { margin-top: auto; padding-top: 1rem; }
.family-card .card-clamp-text, .provider-card .card-clamp-text { margin-bottom: 0; }
.card-clamp-text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 1.4em), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 1.4em), transparent);
}
.card-more {
  align-self: flex-start;
  min-height: 2.75rem;
  margin: 0.55rem 0 0.5rem;
  padding: 0.55rem 0.9rem 0.55rem 0.25rem;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.card-more:hover { text-decoration: underline; }
.card-more:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* --- Stamp -b131: footer links row takes the footer column (file 130) ---
   Since -b66 the footer's horizontal gutter lives on its children,
   not on .site-footer: .footer-grid, .footer-insurance, .footer-legal
   and .footer-faq each carry the 88rem cap, auto margins, the
   0 1rem padding and a 1rem font size. The .footer-links row (About,
   Privacy Policy, Terms & Conditions, added at -b124) never got that
   rule, so it rendered flush against the left edge of the blue field
   and at the body's 1.125rem, larger than every row above it. It now
   carries the same rule as its siblings: the cap and padding line it
   up with the rest of the footer, and the 1rem size keeps it on one
   line at phone widths, as it was. Its vertical spacing is
   untouched. */
.footer-links {
  max-width: 88rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  font-size: 1rem;
  color: #fff;
}

/* --- Stamp -b133: About joins the nav; About story photos framed,
   tilted and floated; phone nav grid balances seven items
   (file 132) ---
   Bill approved the changes on Nov 21, 2026, and set the placement
   himself: About is a plain link between Team and Pricing &
   Insurance (header-b.php), giving the order Home, Services,
   Locations, Team, About, Pricing & Insurance, Events &
   Promotions. The one-row band keeps its single gap unit and
   settled spacing; the only CSS the menu needs is in the phone
   grid, at the end of this block.
   The About page's two story photos take the framed photo
   treatment the founder and journey photos wear (stamp -b11): a
   white mat, a soft shadow and a slight resting tilt of 2.3
   degrees, the direction alternating with the tilt-l and tilt-r
   classes the figures already carry. The tilt is a resting
   state, not motion: it holds with no JavaScript and under
   reduced motion, the same rule the journey photos follow, and
   no hover effect is added. The photos sit inside the story at
   fixed anchors (the first after the second story paragraph,
   the second after the fourth, about.php); at wide widths they
   float to alternating sides with the text wrapping around them
   (first right, second left). The floats start at 48rem, where
   the 46rem story column stands fully open; below that width
   the photos stack inside the text at capped widths in the same
   order, so the text is never squeezed beside a photo on a
   phone (Bill's standing text-first rule). The story container
   is a flow-root, so the floats are contained and clear the
   difference section below on their own. Scoped to .about so
   the service and provider page photos, which share the
   .page-photo figure, keep their own rules. */
.about .page-photo {
  background: #fff;
  padding: 0.45rem;
  border-radius: 0.3rem;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.16);
}
.about .page-photo img { border-radius: 0.2rem; }
html:not(.reveal) .about .page-photo.tilt-l { transform: rotate(-2.3deg); }
html:not(.reveal) .about .page-photo.tilt-r { transform: rotate(2.3deg); }
html.reveal .about .page-photo.appear.tilt-l.is-visible { transform: rotate(-2.3deg); }
html.reveal .about .page-photo.appear.tilt-r.is-visible { transform: rotate(2.3deg); }
@media (prefers-reduced-motion: reduce) {
  html.reveal .about .page-photo.appear.tilt-l { transform: rotate(-2.3deg); }
  html.reveal .about .page-photo.appear.tilt-r { transform: rotate(2.3deg); }
}
.about-story { display: flow-root; }
.about .page-photo.about-photo-r { max-width: 24rem; }
.about .page-photo.about-photo-l { max-width: 20rem; }
@media (min-width: 48rem) {
  .about .page-photo.about-photo-r {
    float: right;
    max-width: 20rem;
    margin: 0.35rem 0 1rem 1.75rem;
  }
  .about .page-photo.about-photo-l {
    float: left;
    max-width: 16rem;
    margin: 0.35rem 1.75rem 1rem 0;
  }
}
/* One-row band, live menu (same stamp): when a promotion or
   event is live on the hub, Events & Promotions gains its
   chevron and the seven items need about 720px at root font 16
   and about 887px at root font 20, a few pixels past the band's
   44.01rem start, so the row wrapped through a narrow sliver of
   widths (measured in the rig: 705 to 719px at font 16, 881 to
   886px at font 20; Bill's 750 and 832 landscape cells were
   never in it). While the last item carries its dropdown, the
   gap unit tightens to 0.62rem up to 60rem wide, which seats
   the row from the band start with slack (the last item ends
   at 688px at font 16 and 847px at font 20, one row, header
   height unchanged). The plain menu keeps the settled 0.85rem
   unit everywhere, and wide screens keep it in both states:
   the rhythm stays one uniform gap unit per state, the rule
   records 81 and 85 settled; only the unit's size changes, and
   only in the state that needs the room. A browser without
   :has() simply keeps the sliver wrap. Stamp -b161 (file 161):
   the Events & Promotions dropdown is gone, so the last item
   never carries a dropdown now; the tightening applies to the
   seven-item row itself throughout this band, which keeps the
   row seated exactly as it sat while a promotion was live
   (and removes the last sliver cell at root font 20). */
@media (min-width: 44.01rem) and (max-width: 60rem) {
  .main-nav ul { column-gap: 0.62rem; }
}
/* Phone nav grid with seven items (same stamp): three columns
   would deal the items 3, 3, 1 and leave Events & Promotions
   alone in the first column of a third row. A 4-and-3 split was
   measured and set aside: the Services word plus its chevron
   needs about 100px at root font 16 and about 125px at root 20
   (record 81 item widths plus the grid links' side padding),
   against a quarter cell of 86px at 344 wide and 98px at 390.
   Instead the last item spans the full third row, so the grid
   reads 3, 3 and one full-width row: no label is squeezed, tap
   targets keep the grid's 44px minimum, and the wide layout is
   untouched. The span assumes the settled seven-item menu. */
@media (max-width: 44rem) {
  .main-nav ul li:last-child { grid-column: 1 / -1; border-right: 0; }
}

/* --- Stamp -b135: reviews pagination pills with a timer fill --------
   The dots become pills (Bill pulled the parked dots-to-pills item
   forward, Nov 21, 2026, with the autoplay rework in site-b.js): each
   pill is a button at least 44px tall whose visible bar is short and
   grey; the active pill's bar stretches wider and its fill span,
   driven inline by the timer clock, fills in brand blue over the
   ~5s advance interval, so the fill is the visible countdown. When
   the carousel is paused the engine adds .is-paused to the wrapper
   and the fill dims where it froze. The pills box may wrap to a
   second centered row inside the controls instead of pushing the
   prev/next buttons out: fourteen pills at phone widths need it.
   The old .greviews-dot rules above are retired with the dots and
   no element carries that class anymore. (The carousel header
   comment near line 1121 still says "No autoplay"; it predates
   -b75 and stays flagged, as file 79 left it.) */
.greviews-dots {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}
.greviews-pill {
  min-width: 1.5rem;
  min-height: 2.75rem;
  padding: 0 0.2rem;
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.greviews-pill-bar {
  display: block;
  width: 0.65rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #cfd8de;
  overflow: hidden;
  transition: width 0.3s ease;
}
.greviews-pill.is-active .greviews-pill-bar { width: 2.3rem; }
.greviews-pill-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--blue);
  border-radius: 999px;
}
.greviews.is-paused .greviews-pill-fill { opacity: 0.45; }
@media (prefers-reduced-motion: reduce) {
  .greviews-pill-bar { transition: none; }
}

/* --- Stamp -b134: pinned card actions on every remaining card
   set (file 135) ---
   Standing rule (Bill, Nov 21, 2026, file 20): on every card set
   on the site, now and in any future design, the action buttons
   pin to one level line per row, and card text that runs long
   folds behind the Show more toggle instead of being shortened.
   Record 127 (-b128) built the treatment for the homepage What
   we do cards and the team listing cards; this pass carries it
   to the services cards (overview and the four category pages),
   the location cards (locations index and homepage), and the
   Events hub cards (events and promotions). Each set becomes a
   flex column and .card-actions takes margin-top auto, its 1rem
   gap surviving as padding, exactly as -b128. The event card can
   carry two actions rows (Save your spot, then See the
   details); the pair pins as a group, so only the first row
   takes the auto margin and the second keeps its plain 1rem
   gap. The fold needs no new script: the -b128 listing clamp in
   site-b.js is generic over [data-card-more], and the line
   count rides in each text's data-clamp-lines (services intros
   3, location intros 3, hub blurbs
   3). Full text stays in the markup; without JS
   nothing clamps and every toggle stays hidden. */
.service-card, .location-card, .event-card, .promo-card { display: flex; flex-direction: column; }
.service-card .card-actions, .location-card .card-actions, .event-card .card-actions, .promo-card .card-actions { margin-top: auto; padding-top: 1rem; }
.event-card .card-actions ~ .card-actions { margin-top: 1rem; padding-top: 0; }
.service-card .card-clamp-text, .location-card .card-clamp-text, .event-card .card-clamp-text, .promo-card .card-clamp-text { margin-bottom: 0; }

/* --- Stamp -b136: About story column opens to the full site
   column on desktop (file 141) ---
   Bill, Nov 21, 2026, on the finished About page on his
   desktop: the story, text and both photos together, stops at
   the shared .page-text cap of 46rem, so the width to the
   right of the column stands empty. On the provider pages the
   layout uses the full column (the photo floats at the right
   of the column from 64rem up, stamp -b107), and he asked for
   About to fill the space the same way.
   The widening is scoped to the story container alone (the
   .about-story flow-root div the -b133 template wraps around
   the story text and its two photos) and starts at 64rem, the
   provider float's breakpoint. The cap lifts entirely there:
   the story takes the full column, the first photo floats to
   the column's right edge where a provider photo sits, and
   the channel beside it runs about 64rem, the provider lede's
   own channel beside its 22rem photo (about 62rem). Both
   photos keep their -b133 sizes, margins, anchors, white mat
   and tilt; below 64rem this block does not apply, so the
   stacked phone flow and the 48rem float start stand exactly
   as -b133 left them.
   The difference section below the story keeps the 46rem
   reading measure. It is one short paragraph with no photos,
   the page's closing statement; at full width its lines would
   run longer than any other body text on the site, and the
   dead space Bill pointed at belongs to the story, whose
   photos are what fill the wide column. Its heading, like
   every page heading, already spans the column. */
@media (min-width: 64rem) {
  .about .about-story { max-width: none; }
}

/* --- Stamp -b144: shrink-on-scroll phone header (file 144) --------
   Narrow phones only: the band below is the same max-width 44rem
   band where the nav becomes the stacked grid. In that band, past
   a short scroll down, the header trades the full menu for a slim
   bar (small wordmark, the phone number spelled out, a full-width
   Book band) with a half-moon tab hanging from its bottom edge;
   tapping the tab, or any scroll up, brings the full menu back
   with a smooth open in the FAQ glide family. The bar and the tab
   are built by site-b.js out of the header's own elements, so
   without that script neither element exists and the header is
   the full static header exactly as before; every state rule is
   keyed on classes only the script adds, and all of them live
   inside the 44rem band, so wider screens render untouched even
   if a class lingers. The tab's visual is a 56 by 24px semicircle
   in the brand blue at 90 percent; its ::after pad stretches the
   tap to a full 44px tall without growing the visual, the same
   visual-versus-tap split the nav chevrons use. */
.hdr-slim, .hdr-tab { display: none; }
@media (max-width: 44rem) {
  .site-header.is-slim .hdr-full { display: none; }
  .hdr-slim { background: var(--paper); }
  .site-header.is-slim .hdr-slim { display: block; }
  .hdr-slim-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.25rem;
    padding: 0.25rem 0.75rem;
  }
  .hdr-slim-brand { display: flex; align-items: center; min-height: 2.75rem; }
  .hdr-slim-brand img { display: block; height: 1.625rem; width: auto; }
  .hdr-slim-phone {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 2.75rem;
    color: var(--blue);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
  }
  .hdr-slim-phone svg { display: block; width: 20px; height: 20px; }
  .hdr-slim-book {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 1.0625rem;
    text-decoration: none;
  }
  .hdr-tab {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 70;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 56px;
    height: 24px;
    padding: 1px 0 0;
    border: 0;
    border-radius: 0 0 28px 28px;
    background: rgba(27, 117, 188, 0.9);
    box-shadow: 0 3px 8px rgba(17, 17, 17, 0.25);
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }
  .hdr-tab::after {
    content: "";
    position: absolute;
    inset: -4px -8px -16px;
  }
  .site-header .hdr-tab.tab-on {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease, visibility 0s;
  }
  .hdr-tab svg {
    display: block;
    transition: transform 0.4s ease-in-out;
  }
  .site-header .hdr-tab.tab-up svg { transform: rotate(180deg); }
}

/* --- Stamp -b145: header tab tap feedback (file 145) ------------
   From Bill's phone review of the -b144 shrink header, in two
   parts. First, tapping the half-moon tab flashed a square ghost
   for a moment: the browser's default tap highlight painting
   the button's box (Chrome on Android computes the default as
   rgba(51, 181, 229, 0.4), the value measured on this site in
   the -b96 probe; no rule here set that color). The tab's
   visual is a semicircle and its tap box is a 72 by 44px
   rectangle, so the rectangle read as a square ghost on a round
   object. The highlight is switched off for this button only,
   the -b96 pattern exactly; the keyboard focus ring is
   untouched (a touch tap never triggers :focus-visible).
   Second, Bill's replacement feedback, his design: on a tap the
   tab momentarily inverts, its background flashing white and
   its chevron reversing to the brand blue, then both return.
   The inversion is the button's own background, clipped by its
   semicircle border-radius, so the feedback follows the round
   outline exactly and no rectangle paints anywhere. Both
   colors ride one 200ms ease clock, out and back; the script
   holds the pressed look for 200ms so even a quick tap shows
   the full flash, and :active carries the press itself. The
   flash is press-only: scroll-triggered state changes never
   fire it, the menu's 400ms flight proceeds independently, and
   aria-expanded and the real state are untouched. Under
   reduced motion the two colors swap instantly instead of
   fading (the last block below drops them from the animated
   properties). */
.hdr-tab { -webkit-tap-highlight-color: transparent; }
.hdr-tab { transition: opacity 0.2s ease, visibility 0s linear 0.2s, background-color 0.2s ease; }
.site-header .hdr-tab.tab-on { transition: opacity 0.2s ease, visibility 0s, background-color 0.2s ease; }
.hdr-tab svg { transition: transform 0.4s ease-in-out, stroke 0.2s ease; }
.hdr-tab:active, .hdr-tab.tab-press { background: #ffffff; }
.hdr-tab:active svg, .hdr-tab.tab-press svg { stroke: var(--blue); }
@media (prefers-reduced-motion: reduce) {
  .hdr-tab, .site-header .hdr-tab.tab-on { transition-property: opacity, visibility; }
  .hdr-tab svg { transition-property: transform; }
}
/* --- Stamp -b146: hero video pause control (file 146) ------------
   Bill's spec (Nov 21, 2026, from a pattern he likes on
   athletepro.co), built as its own pass Nov 22, 2026. A small,
   quiet, translucent circle in the hero's bottom right corner
   pauses and resumes the background clip; the script in
   site-b.js builds it, so without the script no button exists
   and the still carries the hero exactly as before. The visual
   is 32px; the ::after pad stretches the tap to a full 44px
   without growing the visual, the same visual-versus-tap split
   the nav chevrons and the -b144 header tab use. It sits above
   the background stack (z-index 3, over the badge's 2 and the
   grid's 1) in the hero's bottom padding band, clear of the
   badge (top right in both regimes since -b88 and -b104), the
   booking helper, and the copy at every width; the rig probe
   in file 146 measures the clearances. The tap highlight is
   off from the start (the -b96 and -b145 lesson: the default
   paints the rectangular tap box over a round object). The
   focus ring is the site's standard sky outline. Under
   reduced motion the -b72 rule hides the video entirely;
   when a reduced-motion visitor starts it with this button
   (the tap is their consent to the motion), the script adds
   .hero-video-on to the section and the last rule below lets
   the video show. */
.hero-bg-toggle {
  position: absolute;
  right: max(1rem, calc((100vw - 88rem) / 2 + 1rem));
  bottom: 0.75rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(11, 47, 76, 0.55);
  color: #fff;
  box-shadow: 0 4px 14px rgba(6, 30, 50, 0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hero-bg-toggle::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
}
.hero-bg-toggle:hover { background: rgba(11, 47, 76, 0.78); }
.hero-bg-toggle svg { display: block; fill: currentColor; }
.hero-bg-toggle .hbt-ic--play { display: none; }
.hero-bg-toggle.is-paused .hbt-ic--play { display: block; }
.hero-bg-toggle.is-paused .hbt-ic--pause { display: none; }
.hero-bg-toggle:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .hero-b--trial.hero-video-on .hero-bg-video { display: block; }
}

/* --- Stamp -b148: a vertical gap for stacked button pairs
   (Bill's phone, Nov 22, 2026). The site's button groups, a
   .page-cta paragraph or a .card-actions row in a card, held
   their buttons as inline-blocks in a plain block box: the
   pair's only separation was the collapsed markup whitespace
   between the anchors (measured 3.77px at font 16, 4.70px at
   font 20), and .btn-book never wraps its label, so at narrow
   widths the pair wraps onto two line boxes, each exactly the
   button's height, and stacks with a measured 0.00px gap,
   edges touching. Seen on the Start Strong page pair at every
   narrow width, and on the locations index card pairs (Book
   here / Get directions) at font 20. These groups now lay out
   the way the closing band's .cta-actions already does, as a
   wrapping flex row. Row-gap 0.75rem is the site's button
   group rhythm (.cta-actions measures it in both arrangements:
   12px at font 16, 15px at font 20) and gives a stacked pair
   its vertical gap. Column-gap 0.2092em reproduces the
   whitespace separation it replaces: the rendered space
   measures 3.766px on the groups' 18px font and 4.703px on
   their 22.5px font, a ratio of 0.2092em at both sizes, so a
   pair that stays on one line keeps its exact wide
   arrangement. A one-row group is exactly as tall as its line
   box was, so the card action pinning from -b128 and -b134 is
   untouched, and flex none keeps a button from ever being
   shrunk by the row, matching the inline-block it replaces.
   A group holding one button renders as before. .cta-actions
   and the booking helper's option grid already carry real
   gaps and are not part of this block. */
.page-cta, .card-actions { display: flex; flex-wrap: wrap; row-gap: 0.75rem; column-gap: 0.2092em; align-items: flex-start; }
.page-cta > .btn, .card-actions > .btn { flex: none; }

/* --- Stamp -b150: footer gains the Simple, Transparent Pricing
   block (file 150). The block carries the same inset as every
   other footer row: the 88rem cap, auto margins, the 0 1rem
   padding and the 1rem size (file 130's rule), so it lines up
   with the grid, insurance and legal rows on every page. Its
   paragraph is capped narrower so the long pricing text stays
   readable on wide screens. --- */
.footer-pricing {
  max-width: 88rem;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
  font-size: 1rem;
  color: #fff;
}
.footer-pricing p { margin: 0; max-width: 62rem; }

/* --- Stamp -b161: promotion page photo, second pass (file 161).
   The -b153 treatment floated the poster beside the opening text
   only at 64rem and up. Below that the capped poster stood alone
   at the left of a column that keeps widening toward 88rem, with
   the whole right side of its tall frame empty, because the text
   is a sibling block below the figure and nothing fills beside
   it. Bill's unfolded phone sits in that gap in both orientations
   (671, 750, 832 and 880px wide, under the 64rem float line at
   either root font). The float now engages at a 640px viewport,
   the width where the column still leaves a readable text
   measure beside the poster at both root fonts, and in the float
   the poster takes 42 percent of the column up to the same 22rem
   cap, so it grows into mid-width columns instead of stranding
   at phone size; at desktop widths the cap binds and the frame
   is exactly the -b153 one. Below 640px the stacked layout is
   unchanged. The poster is never cropped: the frame keeps the
   file's own aspect ratio at every width. The 640px line is a
   px value on purpose: the frame cap is in rem, so a rem float
   line would move with the root font and strand the larger
   root again. --- */
.promo .page-photo { max-width: 22rem; }
@media (min-width: 640px) {
  .promo .page-photo { float: right; width: 42%; margin: 0.35rem 0 1rem 1.75rem; }
  .promo .page-photo ~ .section-note { display: flow-root; }
  .promo::after { content: ""; display: block; clear: both; }
}

/* Stamp -b176 (record 176): the photo slot gains its visible note.
   The slot was an empty pale box whose only words were its
   screen-reader label; it now centers a small camera emblem and
   "Photo to come" in soft white. Soft white cannot read on the
   pale mist fill (contrast about 1.1 to 1), so the fill deepens
   to a quiet slate in the site's blue family. The box keeps its
   exact size, radius, and place, so no card shifts. */
.photo-slot {
  background: #5f7e93;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-slot-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}
.photo-slot-icon { display: block; }
.photo-slot-text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

/* --- Stamp -b181: Start Strong closed-state pill (file 181) --------
   Bill (Nov 25, 2026): the record 180 "Booking opens Nov 27" notice
   gets a pill treatment while booking is closed. A status pill, not
   a button: it renders on a span, carries no link, no hover or press
   state and is not focusable, so nothing about it invites a tap.
   Soft mist field with a brand-blue outline and deep blue text
   (#103a5c on #eef4f8, contrast 10.6:1, past AA). Fully rounded in
   the .loc-badge pill family. It renders only inside the two record
   180 gate branches (the promo page CTA and the category offer
   band); when the gates open on Nov 27 the real Book buttons render
   exactly as before and this rule simply matches nothing. Gold
   stays badge-only and is not used here. */
.opens-pill {
  display: inline-block;
  background: var(--mist);
  border: 1px solid rgba(27, 117, 188, 0.45);
  border-radius: 999px;
  color: #103a5c;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.45rem 1rem;
}

/* --- Stamp -b184: booking opens notice becomes a ribbon (file 184) ---
   Bill (Nov 25, 2026): the -b181 pill reads too much like a button;
   people tap it, get nothing, and are discouraged. The closed-state
   notice is now a ribbon: a bar that fills the slot where the booking
   buttons sit, squared ends with a shallow notch cut into each side
   (clip-path swallowtail), a small calendar glyph before the words,
   light brand blue field #dcebf6 with deep blue text (#103a5c on
   #dcebf6, contrast 9.69:1, past AA). Not gold: gold stays badge-only.
   It is still a plain span, no link, no hover or press state, no
   pointer cursor, not focusable, so nothing about it invites a tap.
   This block supersedes the -b181 .opens-pill rule above, which no
   longer matches anything. The one class is shared by the promo page
   CTA, the category offer band and the event page CTA, so every page
   gated by the Booking opens rule (file 183) renders the same notice,
   and when a gate opens the real Book buttons render exactly as
   before and this rule simply matches nothing. */
.opens-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1 1 14rem;
  background: #dcebf6;
  color: #103a5c;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  padding: 0.55rem 1rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(50% - 0.32rem), calc(100% - 0.5rem) 50%, 100% calc(50% + 0.32rem), 100% 100%, 0 100%, 0 calc(50% + 0.32rem), 0.5rem 50%, 0 calc(50% - 0.32rem));
}
.opens-ribbon svg { flex: none; }
