/**
 * The Traffic Plans Company - Home page (/)
 * Ported verbatim from 01-Rollout-1/hifi/homepage.css (THEA-903, 2026-11-12).
 *
 * THEA-903 FINDING: the previous home.css in this theme was an invented
 * stylesheet (.tpc-hero / .tpc-fork / .tpc-services__grid / .tpc-service /
 * .tpc-outro-marquee, all on legacy --tpc-* tokens) sharing only 28% of its
 * classes with the approved hi-fi. front-page.php is rebuilt against
 * 01-Rollout-1/hifi/homepage.html's real .tpc-light-ground / .tpc-hero /
 * .tpc-statement (the pinned-panel scenes) / .tpc-why / .tpc-hub /
 * .tpc-testimonial / .tpc-notepad / .tpc-close markup, so this file ships
 * the real CSS that vocabulary depends on. Copied WHOLESALE rather than
 * hand-extracted: this file duplicates some rules design-tokens.css /
 * components.css / chrome.css / page-components.css already carry (those
 * were split out of this very file for the shared foundation), which is
 * harmless since home.css loads after them and the values agree - the
 * alternative, hunting one selector at a time through an 8,300-line source
 * file, risked missing an override tucked at a later line number.
 *
 * MOTION IS OUT OF SCOPE FOR THIS PORT (THEA-902). The `.tpc-statement`
 * pinned-panel scenes, the hero line reveals and the notepad carousel all
 * render as plain static stacked content here: no GSAP/ScrollTrigger/Lenis
 * is enqueued on this template, so the pin/swap/reveal mechanics this CSS
 * describes do not run. The markup and CSS are both real; only the JS that
 * would animate them is missing, same convention as about.php/contact.php/
 * team.php/services.php's own data-reveal-* attributes.
 *
 * v2.0 (2026-08-06): founder rejected v1.0's price-pierce band system as
 * "very functional." New direction - ONE continuous light ground (white)
 * from header to the testimonial section, with drifting soft orange
 * blooms as the only depth/colour (atmosphere, never text). The seven
 * sections, their order, every word of copy, and every component are
 * UNCHANGED from v1.0 - this pass only touches background/colour.
 *
 * Extends design-tokens.css + components.css (R0.2/R0.653). Reuses every
 * existing component (header, service card, band CTA, footer, testimonial,
 * button family) unchanged. This file adds ONLY what Home needs that the
 * library doesn't already have: the hero/fork device, the proof stat grid,
 * a section-head utility, the why panel, the hub link-card, the single-quote
 * testimonial feature, the bespoke close band, the outro marquee, and (v2.0)
 * the light-ground atmosphere system.
 *
 * Band colour is always resolved from --band-heading-text / --band-body-text
 * / --band-h2-text - nothing in this file hardcodes the orange H2. On the
 * light ground every section now relies on the root (unbranded) band
 * defaults in design-tokens.css, which already resolve asphalt/ink - no
 * .band-* modifier class is applied to hero/proof/services/why/hub/
 * testimonial any more. Only the CTA close (band-orange) and footer
 * (band-asphalt) keep a modifier - see the v2.0 proposal note above each.
 *
 * NO IMAGE GENERATION. Every 3D-render canvas slot below is a clearly
 * labelled placeholder at the correct aspect ratio, per
 * 00-Rollout-0/docs/3d-creative-concepts.html. Founder generates, not agents.
 *
 * v2.4 (2026-08-06, THEA-673): scroll choreography + motion build. No
 * Three.js - hero-road-canvas-art-direction.html (THEA-672) already found
 * zero rendered road/ground survives, so there's no WebGL scene left to
 * justify the dependency; the two crew layers parallax via GSAP/CSS
 * transform instead (see homepage.html's inline motion.js and the hand-back
 * comment for the full reasoning). Replay-rule band reveals, hero H1
 * line-reveal (DIY SplitText substitute - GSAP SplitText is an unlicensed
 * paid plugin per THEA-666), Lenis smooth scroll. Desktop only; tablet/
 * mobile motion tuning is THEA-674.
 *
 * v2.5 (2026-08-06, THEA-674): tablet/mobile responsive pass. Hero H1 scale
 * fixed to one continuous clamp (v2.4's mobile override created a real
 * backwards jump right at the 600px boundary - see the title rule's
 * comment). Crew composite drops the back layer and repositions the front
 * layer below 600px, unchanged at tablet. Hero top/bottom padding and the
 * intro-stage min-height (the card-peek mechanic) are retuned below 1024px
 * using 100svh so the peek cue survives mobile Safari's dynamic viewport
 * without depending on desktop-scaled fixed offsets. One shared atmosphere
 * bloom drops below 600px for the mobile Lighthouse ceiling. Also fixed,
 * not in the brief's five but blocking at every width below 1024px: the
 * hamburger button had no click handler and .site-header__nav had no way
 * to reveal itself at all - a full nav outage, now a working drawer scoped
 * to this page (components.css/.html need the same fix before R2, see
 * hand-back FINDING) - and the header CTAs, which overflow the row on
 * phones ≤599px, move into that drawer instead.
 */

/* ─────────────────────────────────────────────────────────────────────
   PAGE CHROME
   ───────────────────────────────────────────────────────────────────── */

body { overflow-x: clip; background: var(--primitive-white); }

/* v10.87 - THE PAGE COULD BE DRAGGED SIDEWAYS ON IPHONE.
   `overflow-x: clip` on body alone is enough for Chrome (documentElement
   .scrollWidth measures a clean 390), which is why every desktop-browser
   mobile-emulation check passed. iOS Safari is different: with the root
   element still `overflow-x: visible` the VISUAL viewport can still be
   panned horizontally whenever a descendant overflows, and
   `.tpc-statement__track` is 1170px wide (3 panels x 390) with
   `overflow: visible`. The founder could drag the whole site left and
   right and see white down the side, and the statement scene appeared
   "broken" because dragging parked it between two panels.
   `clip` NOT `hidden`: `hidden` on the root makes it a scroll container,
   which breaks `position: sticky` and every GSAP pin on this page. */
html {
  overflow-x: clip;
  /* v10.88 - THE HEADLINES WERE CUT OFF ON IPHONE AND NOWHERE ELSE.
     Measured in Chrome at a true 390, every `.tpc-statement__text` sits in a
     342px box and wraps to 2-3 lines: "From a single-day plan..." needs 444px
     unwrapped, so it breaks correctly. On the founder's iPhone the same line
     rendered on ONE line and ran off the right edge.

     The difference is iOS Safari's text autosizing. Safari inflates the
     computed font-size of blocks it judges wide relative to the viewport,
     and this site never declared `text-size-adjust` anywhere - not in
     homepage.css, design-tokens.css or components.css. Inflated type makes
     the line longer than the box that was sized for it, which is why this is
     invisible in every desktop mobile-emulation check: no other engine
     applies the inflation.

     100% means "do not inflate", NOT "disable zoom": pinch-zoom is
     untouched, which `none` would have broken along with the WCAG
     requirement that text can be scaled. */
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

/* THEA-673 - Lenis takes over scrolling once it initialises (skipped
   entirely under prefers-reduced-motion, see motion.js) and adds this class
   to <html> itself. design-tokens.css sets a native `scroll-behavior:smooth`
   baseline for the no-JS/no-Lenis case; once Lenis is driving, the native
   smooth-scroll must not also run or anchor jumps and Lenis's own easing
   fight each other. */
html.lenis { scroll-behavior: auto; }

/* v2.0 - "No header bar." Transparent, absolute, floating on the light
   ground per spacers.wannathis.one (position:absolute, background:
   rgba(0,0,0,0), no bar of any kind). Nav text is already hardcoded
   asphalt in components.css (not band-token-driven), so it stays legible
   floating over the light ground with no further overrides needed. */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
}

/* v2.8 - THE HEADER RIDES THE HERO WASH. The comment above is now only half
   true: nav text is still hardcoded asphalt in components.css, but it is no
   longer floating over a light ground. It floats over the top of the hero
   gradient, which is the DARKEST part of the ramp, so asphalt-on-asphalt made
   the entire nav effectively invisible at rest. Same for the secondary CTA,
   whose asphalt fill disappeared into the ground behind it.
   heroWash() scrubs --hero-wash on .site-header as well as .tpc-hero, so both
   ride the same driver and land back on the original asphalt once the ground
   has resolved to white. components.css is NOT edited - every rule here is a
   page-scoped override, so no other page inherits a hero-specific treatment.
   Contrast: white on the 0% stop (26% orange in asphalt) is 8.9:1. */
.site-header__nav-link,
.site-header__nav-link:visited {
  color: color-mix(in srgb,
    var(--primitive-white) calc(var(--hero-wash) * 100%), var(--primitive-asphalt));
}

/* The secondary CTA inverts rather than tints: an asphalt pill on a near
   asphalt ground has no edge at all, so over the dark end it becomes a white
   pill with asphalt text (the same pairing, reversed), then rides back to the
   asphalt-on-white original. Its label has to counter-rotate to stay legible
   against its own fill, which is why there are two mixes here, not one. */
.site-header .btn--secondary {
  background: color-mix(in srgb,
    var(--primitive-white) calc(var(--hero-wash) * 100%), var(--primitive-asphalt));
  color: color-mix(in srgb,
    var(--primitive-asphalt) calc(var(--hero-wash) * 100%), var(--primitive-white));
  border-color: transparent;
}

/* Compensate for the header leaving normal flow - the hero's own top
   padding (below) is bumped so the giant H1 never sits under the crew/
   nav row. services-panel keeps its own solid background (components.css)
   so the dropdown is still legible when opened over the atmosphere. */

/* Component-library gap found while building Home: .site-footer__links
   only styles its <a> children (color: var(--band-body-text)); plain-text
   li content (opening hours, postal address - real content this page
   needed that the kit's link-only demo never exercised) fell through to
   the global ink default, which is close to invisible on the asphalt
   footer band. Same band-token fix pattern as the rest of the system. */
.site-footer__links li { color: var(--band-body-text); }

/* THEA-674 - functional mobile/tablet nav drawer. components.css hides
   .site-header__nav outright below 1024px (`display:none`, no way back) and
   the hamburger button had zero JS anywhere on this build - total nav
   outage on every tablet/mobile visit. Scoped to Home only, matching this
   task's brief; components.css/.html carry the identical gap for every
   other page and need the same fix before R2 ships (see hand-back FINDING).
   [data-open] is toggled by homepage.html's inline script.

   Both mobile-only additions below are hidden here UNCONDITIONALLY, outside
   any media query - a real bug in an earlier pass of this rule hid them
   only inside `@media(max-width:1024px)`, which means at desktop widths
   neither had ANY display rule at all and fell back to the browser's UA
   default (`block` for the <ul>, `block` for the <div>) - both rendered,
   unhidden, duplicated on top of the real desktop nav. Confirmed via a
   1440px screenshot: the flat services list and a second "New Plan
   Request" button were both sitting inline under the desktop flyout nav.
   The unconditional `display:none` here is the real default; the media
   query below only carves out the mobile cases where they should show. */
.mobile-services-list,
.site-header__nav-ctas { display: none; }

@media (max-width: 1024px) {
  .site-header__nav[data-open] {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: var(--primitive-white);
    box-shadow: 0 16px 32px rgba(0,0,0,0.14);
    padding: var(--primitive-space-2) var(--primitive-space-5) var(--primitive-space-6);
    max-height: calc(100svh - 100%);
    overflow-y: auto;
  }
  .site-header__nav[data-open] .site-header__nav-item { width: 100%; }
  .site-header__nav[data-open] .site-header__nav-link {
    width: 100%;
    justify-content: space-between;
    padding-block: var(--primitive-space-3);
    border-bottom: 1px solid rgba(34,34,34,0.08);
    font-size: 16px;
  }

  /* The desktop services mega-menu (3-col grid, absolutely positioned off
     the whole header) doesn't fold cleanly into an in-flow drawer, so it's
     retired below 1024px in favour of .mobile-services-list instead. */
  .services-panel { display: none !important; }

  .mobile-services-list {
    list-style: none;
    margin: 0 0 var(--primitive-space-3);
    padding-left: var(--primitive-space-4);
  }
  #services-nav-item.is-open .mobile-services-list { display: block; }
  .mobile-services-list a {
    display: block;
    padding-block: var(--primitive-space-2);
    font-size: 15px;
    color: var(--primitive-ink);
    text-decoration: none;
  }
  .mobile-services-list a:hover,
  .mobile-services-list a:focus-visible { color: var(--primitive-orange); }
}

/* Below 600px, logo + both full-text CTA buttons + the hamburger no longer
   fit one 375-428px header row (measured: ~430px of content against a
   ~327-366px available track once the header's own inline padding is
   subtracted) - so the always-visible CTAs move into the drawer instead of
   silently overflowing or wrapping.

   v3.3 - THRESHOLD RAISED 599px -> 767px. The old comment claimed tablet
   "comfortably fits both buttons". Measured at a 606px viewport it does not:
   the hamburger's right edge lands at 626px against a 591px content width, a
   35px overflow that gave the whole PAGE a horizontal scrollbar
   (documentElement.scrollWidth 626 vs clientWidth 591). The row only actually
   fits from about 645px up, so 767px is the nearest conventional breakpoint
   with real headroom. Pre-existing, not introduced by the hero work - the only
   header changes in v2.8-v3.2 were colour overrides, which cannot affect
   width. The drawer rule below shares this query, so the CTAs keep their home
   in the drawer across the whole range they are hidden from the row. */
@media (max-width: 767px) {
  .site-header__ctas { display: none; }
  .site-header__nav[data-open] .site-header__nav-ctas {
    display: flex;
    flex-direction: column;
    gap: var(--primitive-space-3);
    margin-top: var(--primitive-space-4);
    padding-top: var(--primitive-space-4);
    border-top: 1px solid rgba(34,34,34,0.08);
  }
}

/* ─────────────────────────────────────────────────────────────────────
   SHARED UTILITIES
   ───────────────────────────────────────────────────────────────────── */

.tpc-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tpc-section-head {
  max-width: 68ch;
  margin-bottom: var(--primitive-space-8);
}
.tpc-section-head--center { margin-inline: auto; text-align: center; }

.tpc-eyebrow {
  display: inline-block;
  font-size: var(--primitive-size-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--band-heading-text);
  margin-bottom: var(--primitive-space-3);
}

.tpc-section-title { margin-bottom: var(--primitive-space-4); }

.tpc-section-intro {
  font-size: 18px;
  color: var(--band-body-text);
  margin: 0;
}

.tpc-dot { color: var(--band-muted); margin-inline: var(--primitive-space-2); }

.tpc-textlink {
  color: var(--band-body-text);
  text-decoration: underline;
  text-decoration-color: var(--band-muted);
  text-underline-offset: 3px;
  font-size: 15px;
}
/* v2.0 - hover was a full orange text-colour swap, which is exactly the
   "orange as small text" failure on a light ground (2.31:1). Text stays
   asphalt; the underline/arrow carries the orange accent instead. */
.tpc-textlink:hover { color: var(--primitive-asphalt); text-decoration-color: var(--primitive-orange); }

.tpc-textlink--strong {
  font-weight: 700;
  text-decoration: none;
  color: var(--band-heading-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tpc-textlink--strong:hover span[aria-hidden] { color: var(--primitive-orange); }

/* Render-placeholder - the ONLY visual standing in for a 3D render or the
   Three.js canvas anywhere on this page. Reuses the exact gradient + caption
   treatment already approved in components.css's .service-card__media so a
   founder reviewing this page sees one consistent placeholder language, not
   two competing ones. Never a stand-in attempt at the actual artwork. */
.render-placeholder {
  background: linear-gradient(135deg, var(--primitive-asphalt), #3a3a3a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--primitive-space-4);
  line-height: 1.5;
}
.render-placeholder__ref {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.5);
}

.btn--lg { min-height: 56px; padding-inline: var(--primitive-space-7); font-size: 17px; }
.btn--block { width: 100%; }

/* THEA-674 - real bug, found via testing at 375/390 rather than named in
   the brief's five: components.css's shared `.btn{white-space:nowrap}`
   (correct for normal header/inline buttons) drags the longer CTA labels
   here - "I'm planning a larger project", "Start a project enquiry" - to
   their full unwrapped width. Verified via computed styles at 375px: that
   forces the single-column mobile track's auto-sized grid minimum to
   ~448px (.tpc-close__actions) and ~386px (.tpc-fork__actions), both wider
   than a 327px column, which is genuine horizontal page overflow (confirmed
   against document.documentElement.scrollWidth), not a screenshot artefact.
   `.btn--block` is only ever used in these single-column-on-mobile contexts
   (never in the header row, which keeps its own real .btn nowrap), so
   letting it wrap here doesn't touch any other button anywhere on the page. */
@media (max-width: 599px) {
  .tpc-fork__actions .btn--block,
  .tpc-close__actions .btn--block,
  .site-header__nav-ctas .btn--block {
    white-space: normal;
    text-align: center;
    height: auto;
  }
}

/* v10.2 - .btn--outline is NOT redefined here, deliberately.

   It used to be, as a transparent box with an asphalt stroke, and because this
   sheet loads after components.css that page-level rule was quietly undoing the
   source-level fix. v6.86 made "no outlined CTAs" a hard rule and v6.88 moved
   the neutralisation to source, where .btn--outline and .btn--slate are both
   filled #414142 with white type at 10.20:1. This block survived that move and
   put the stroked look straight back for anything using the class outside a
   fork card or a dock panel.

   Nothing on this page changes by removing it: the single usage sits inside
   .tpc-dock__panel, which fills it orange at higher specificity either way.
   What changes is that an internal page using .btn--outline now inherits the
   filled variant instead of the banned one. components.css is the one place
   this lives. Do not redefine it here again. */

/* ─────────────────────────────────────────────────────────────────────
   v2.0 - LIGHT GROUND + ATMOSPHERE
   Wraps hero…testimonial (6 sections). One white ground; the drifting
   orange blooms behind it are the sole source of depth and colour. Not
   used past this wrapper - the CTA close (solid orange) and footer
   (asphalt) are the deliberate dark/colour punctuation, outside it.

   Perf/reduced-motion: 3 layers, transform + opacity only (no filter:
   blur - the soft edge comes from multi-stop radial-gradient instead, so
   there's no per-frame blur repaint cost), frozen under
   prefers-reduced-motion. GPU-cheap by construction per the brief.
   ───────────────────────────────────────────────────────────────────── */

.tpc-light-ground {
  position: relative;
  overflow: clip;
  background: var(--primitive-white);
  isolation: isolate;
}

.tpc-light-ground .band { background: transparent; position: relative; z-index: 1; }

.tpc-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: clip;
  pointer-events: none;
}

.tpc-atmosphere__bloom {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(244,148,29,0.30) 0%,
    rgba(244,148,29,0.20) 28%,
    rgba(244,148,29,0.09) 52%,
    rgba(244,148,29,0) 74%);
  will-change: transform;
}

.tpc-atmosphere__bloom--a {
  width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  top: -12vw; left: -14vw;
  animation: tpc-bloom-drift-a 13s ease-in-out infinite alternate;
}
.tpc-atmosphere__bloom--b {
  width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px;
  top: 30%; right: -20vw;
  animation: tpc-bloom-drift-b 17s ease-in-out infinite alternate;
}
.tpc-atmosphere__bloom--c {
  width: 55vw; height: 55vw; max-width: 800px; max-height: 800px;
  bottom: 4%; left: 18%;
  animation: tpc-bloom-drift-c 15s ease-in-out infinite alternate;
}

/* v2.1 - founder: "the current motion has failed its only job," it read as
   a static image at 46-58s cycles with 3-4vw of travel. Fixed by shortening
   cycles roughly 3-4x AND nearly tripling the travel distance, AND animating
   opacity alongside position/scale so the warmth itself visibly shifts, not
   just the blob's outline. Still transform + opacity only (no filter/blur
   per frame), still frozen under prefers-reduced-motion, still GPU-cheap - only the numbers changed, not the mechanism. */
@keyframes tpc-bloom-drift-a {
  from { transform: translate(0, 0) scale(1);          opacity: 0.7; }
  to   { transform: translate(9vw, 7vw) scale(1.22);    opacity: 1;   }
}
@keyframes tpc-bloom-drift-b {
  from { transform: translate(0, 0) scale(1);           opacity: 0.65; }
  to   { transform: translate(-8vw, 6vw) scale(1.16);   opacity: 1;    }
}
@keyframes tpc-bloom-drift-c {
  from { transform: translate(0, 0) scale(1);           opacity: 0.75; }
  to   { transform: translate(7.5vw, -8vw) scale(1.2);  opacity: 1;    }
}

@media (prefers-reduced-motion: reduce) {
  .tpc-atmosphere__bloom { animation: none; }
}

/* THEA-674 - mobile perf/legibility. Each bloom carries `will-change:
   transform` and animates infinitely, which forces a persistent GPU
   compositor layer for its whole lifetime regardless of scroll position - already cheap per-layer (transform/opacity only, no filter:blur), but
   three of them plus the hero's own bloom below is four permanent layers on
   every page view. Dropping the third shared bloom (--c, the one anchored
   near the testimonial section, least load-bearing since it's furthest from
   the fold) cuts that by a quarter on the tier the brief flags as the real
   risk; tablet keeps all three, matching desktop, since the brief's
   "low-power GPU" concern is specifically about mobile. */
@media (max-width: 599px) {
  .tpc-atmosphere__bloom--c { display: none; }
}

/* ─────────────────────────────────────────────────────────────────────
   1. HERO - the fork (two-path decision)
   Reference: spacers.wannathis.one - giant centred uppercase H1. v2.0:
   the dark-ground/orange-lift mechanic is retired with the rest of the
   band system; the hero sits on the same light ground + shared
   atmosphere as every other section, plus its own stronger bloom
   concentration since motion-specification.html §12 marks this as "the
   one place the studio's screenshot budget gets spent."
   ───────────────────────────────────────────────────────────────────── */

/* v2.8 - HERO WASH. Founder direction: the hero is an orange gradient that
   moves, and it transitions to a white gradient as you scroll.

   --hero-wash is the single scrubbed number the whole treatment hangs off:
   1 = full orange, 0 = full white. GSAP scrubs it on <html> against the
   hero's own scroll progress (see homepage.html), and everything below reads
   it - background, headline, eyebrow, subhead, nav. One driver, so the
   background and the text on top of it can never desynchronise and strand
   white type on a white ground. Registered via @property so it is a real
   <number> the browser can interpolate rather than an opaque string.

   COLOUR SOURCES: this gradient is built from exactly TWO palette values,
   orange #F4941D and asphalt #222222, blended with color-mix. That is
   deliberate compliance with the founder ruling of 2026-07-30 recorded in
   the brand tokens: "there is exactly ONE orange in the core palette... if a
   darker orange seems necessary for contrast, the answer is asphalt #222222
   or ink #414142, not a second orange." No new hex enters the system here.

   CONTRAST: white on flat TPC orange is 2.31:1, which fails AA even at
   display size, so a flat-orange hero cannot carry the white headline that
   was asked for. Grading the top of the gradient toward asphalt is what
   makes it legal: measured against the stops below, every element in the
   hero text stack sits above the 40% mark, where the ground is 6.6:1 or
   darker against white. The saturated orange lands lower, behind the white
   fork cards, where nothing needs to read through it. */
@property --hero-wash {
  syntax: '<number>';
  initial-value: 1;
  inherits: true;
}
/* THEA-903 PORT NOTE: theme-lint.py's var() scanner looks for a plain
   `--name:` declaration and does not recognise `@property` as a definition,
   which flagged this as "never defined" even though the registration above
   already sets its initial value to 1. Redundant concrete fallback, not a
   behaviour change - matches the initial-value exactly. */
:root { --hero-wash: 1; }

.tpc-hero {
  /* Founder-supplied second orange, for the hero ground ONLY. Deliberately NOT
     added to design-tokens.css: the brand artefact lists #E8611C as an
     imagery-world value rather than a UI token, so promoting it to a global
     primitive is a brand decision that belongs in the artefact first. Scoped
     here it is obvious, greppable, and cannot leak into other components. */
  --tpc-cone-orange: #E8611C;

  position: relative;
  overflow: clip;
  padding-block: calc(var(--primitive-space-9) + 56px) var(--primitive-space-7);
}

/* The orange ground. .tpc-hero is already a stacking context
   (`.tpc-light-ground .band` gives it position:relative + z-index:1), so
   every negative layer below resolves inside the hero and cannot escape it.
   Hero z-stack, bottom to top: -4 ground gradients, -3 figure, -2 text
   scrim, then all in-flow text. */
.tpc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: var(--hero-wash);
  /* v3.2 - EXACTLY the Figma frame fill, read from Dev Mode Inspect:
     `linear-gradient(180deg, #F4941D 0%, #E8611C 100%)`. LINEAR, top-light to
     bottom-deep - v3.0/v3.1 guessed a radial with an offset bright centre,
     which is why the ground never quite matched. Two stops, no third colour,
     no asphalt. See ../docs/figma-hero-spec.md. */
  background: linear-gradient(180deg,
    var(--primitive-orange) 0%,
    var(--tpc-cone-orange) 100%);

  /* THE GROUND MOVES. Founder: "can the orange gradient move to create dynamic
     movement, still keeping the exact same colours but they move."
     Driven by TRANSFORM, not background-position. Same visual result, but a
     transform is composited - the browser moves an already-painted layer -
     whereas animating background-position re-rasterises the full section every
     frame, which on a viewport-sized gradient is the single most expensive
     thing you can loop. The colours are untouched by construction: translating
     and scaling a layer cannot alter its own colour stops, so #F4941D and
     #E8611C stay exactly as specified and only their POSITION drifts.
     inset -22% oversizes the layer so the drift and the 1.16 scale can never
     pull a hard edge into view; .tpc-hero's overflow:clip contains the rest. */
  inset: -22%;
  pointer-events: none;
  will-change: transform;
  animation: tpc-hero-ground-drift 26s ease-in-out infinite alternate;
}

@keyframes tpc-hero-ground-drift {
  from { transform: translate3d(-2.5%, -2%, 0) scale(1.04); }
  to   { transform: translate3d(3.5%,  2.5%, 0) scale(1.16); }
}
@media (prefers-reduced-motion: reduce) {
  .tpc-hero::before { animation: none; }
}
/* Paused with the bloom once the hero scrolls out of view. */
.tpc-hero.is-atmosphere-paused::before {
  animation-play-state: paused;
  will-change: auto;
}

/* v3.0 - TEXT-PROTECTION SCRIM REMOVED. v2.8 added an elliptical asphalt veil
   behind the type because the figure sat BEHIND the headline and his white
   plan roll landed under the word "YOUR". In the founder's reference the
   figure sits IN FRONT of the type instead, so nothing light is ever behind a
   letterform and the scrim has nothing left to protect. Keeping it would only
   have muddied the orange it was drawn over. See the change-report for the
   contrast consequence of dropping it. */

/* The white ground the wash resolves to. Cross-faded against ::before by the
   same driver, so the two always sum to a fully painted section. It is a
   GRADIENT, not flat white, per the brief: a warm off-white core between two
   pure whites keeps a trace of the orange that was there a moment ago. */
.tpc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: calc(1 - var(--hero-wash));
  background: linear-gradient(180deg,
    var(--primitive-white) 0%,
    color-mix(in srgb, var(--primitive-orange) 7%, var(--primitive-white)) 46%,
    var(--primitive-white) 100%);
  pointer-events: none;
}

/* tpc-hero-wash-drift REMOVED - the ground is static and .tpc-hero__bloom
   carries the movement on transform/opacity. Nothing to reduce-motion-guard
   here any more; the bloom keeps its own guard below. */

/* Hero-only emphasis bloom. v2.8 - THIS IS NOW THE MOVING PART OF THE
   GRADIENT. The founder asked for an orange gradient that moves; the ground
   itself is static (see .tpc-hero::before for why) and this element supplies
   the motion instead, because it animates transform + opacity only, which
   the compositor handles without repainting the section every frame.
   Re-tuned for the orange ground: on the old light ground this was a warm
   tint ON white, so a 0.26-alpha orange read as colour. Over a graded
   asphalt-orange ground an orange bloom is nearly invisible, so it becomes a
   WHITE-warm light lift instead - same "atmosphere, never a base fill" rule,
   inverted for a dark ground. It rides --hero-wash so it fades out as the
   ground resolves to white, where a white bloom would do nothing anyway.
   z-index -3 puts it with the figure, above the ground and below the scrim. */
.tpc-hero__bloom {
  position: absolute;
  inset: -6%;
  z-index: -3;
  background:
    radial-gradient(62% 52% at 50% 26%,
      color-mix(in srgb, var(--primitive-white) 30%, transparent) 0%,
      color-mix(in srgb, var(--primitive-orange) 34%, transparent) 38%,
      transparent 74%);
  opacity: var(--hero-wash);
  pointer-events: none;
  will-change: transform;
  animation: tpc-hero-bloom-drift 15s ease-in-out infinite alternate;
}
/* v2.1 - this is the bloom directly behind the H1, so it gets the same
   perceptible-within-seconds treatment as the shared .tpc-atmosphere
   layers: short cycle, real travel, opacity shift. `inset:-6%` gives the
   scale animation room to breathe without ever showing a clipped hard edge. */
@keyframes tpc-hero-bloom-drift {
  from { transform: translate(0, 0) scale(1);          opacity: 0.8; }
  to   { transform: translate(-2.5vw, 3vw) scale(1.1); opacity: 1;   }
}
@media (prefers-reduced-motion: reduce) {
  .tpc-hero__bloom { animation: none; }
}
/* Toggled by the IntersectionObserver in homepage.html once the hero leaves
   the viewport: a looping animation keeps the compositor working even when
   nothing it touches is on screen. `will-change` is dropped at the same time
   so the promoted layer's memory goes back too, rather than being held for
   the rest of the session. */
.tpc-hero.is-atmosphere-paused .tpc-hero__bloom {
  animation-play-state: paused;
  will-change: auto;
}

/* v2.2 (THEA-672) - .tpc-hero__canvas-zone REMOVED. It was a faint asphalt-
   tinted hatch flagging "a Three.js road canvas mounts here." Verdict: drop
   the road entirely, not reimagine it for light - the crew cutouts already
   render with zero ground plane (3d-creative-concepts.html v2.0: "no sky,
   no asphalt ground plane, no skyline, no horizon in either file") and
   .tpc-atmosphere + .tpc-hero__bloom already supply the depth/movement the
   road existed for. A rendered road, pale or dark, would reintroduce the
   one thing v2.0 just removed: a hard-edged ground rectangle breaking the
   one-continuous-light-ground principle. Full reasoning + what's lost:
   ../docs/hero-road-canvas-art-direction.html. Nothing replaces this rule - there is no separate canvas content, only the two crew layers below. */

/* v2.7 - .tpc-hero__render-note's rules are DELETED, not just unused: the
   dashed "Placeholder:" pill it styled described greyboxes that no longer
   exist, and leaving the rules behind would read to the next agent as a
   component still in the system. NOTE for the production sync: 01-Rollout-1/
   production/home-content.html + home.css still carry the element and these
   rules - they are a separate deliverable and have not been touched here. */

/* v3.4 - .tpc-hero__veil REMOVED, replaced by a mask on the figure itself.
   The Figma's "Rectangle 1" was a 1920x484 gradient sitting near the figure;
   the founder's intent for it is that his lower body dissolves into the
   ground. As a separate rectangle that only worked while the ground stayed
   the colour the rectangle was painted, and it stopped at 100vh, which is why
   his legs reappeared further down the page between the hero and the fork
   cards. A mask on the img is the same effect expressed as a property of the
   figure, so it holds at any scroll position and against any ground. */

.tpc-hero__inner {
  position: relative;
  z-index: 4;                  /* above the figure and the text stage */
}

/* v2.1 - the fork-peek fix. Wraps just the header (eyebrow/H1/subhead/
   render-note); the fork grid lives in the separate .tpc-hero__inner below
   it. Floor = 100vh minus a FIXED px offset (hero's own top padding, the
   intro's bottom margin, and the intentional peek amount) - never a number
   tuned to one screen. Whatever the viewport height, the fork's top edge
   lands at 100vh minus the peek constant, so the sliver stays the same
   (~64px) instead of scaling unpredictably like the 237px the founder
   flagged. On very short windows the header's real content height takes
   over from the floor and the peek only grows, never disappears. */
.tpc-hero__intro-stage {
  position: relative;
  /* v3.4 - hero z-stack, bottom to top: ground gradients (-4), bloom (-3),
     FIGURE (-1), this text stage, fork cards (4). The figure moved below the
     type at the founder's direction, so the stage no longer needs to duck
     under anything - the veil that used to sit at 2 is gone. */
  z-index: 1;
  display: flex;
  /* v3.2 - flex-start plus an explicit offset, so the headline lands where the
     Figma puts it (line 1 box top at 527/1080 = 48.8% of the frame) instead of
     wherever vertical centring happens to drop it. Measured before this rule:
     line 1 sat at 20.8vh against a 48.8vh target.
     The subtracted terms are the hero's own top padding (which is where this
     stage starts, 152px) plus the 30px the eyebrow occupies above the H1 - the
     Figma has no eyebrow, so ours has to be accounted for rather than ignored. */
  align-items: flex-start;
  justify-content: center;
  /* v3.6 - 48.8vh -> 34vh. The Figma value was measured off a frame that has
     no fork cards below it, and applying it here quietly broke this file's own
     card-peek mechanic: it drove padding-top to 244px, which made the stage
     736px tall against its 609px min-height, so the MIN-HEIGHT STOPPED
     GOVERNING and the cards landed at y888 in an 873px viewport - zero peek,
     the exact thing the min-height exists to prevent.
     34vh is chosen so content + padding (492 + 115 = 607px) drops just under
     that 609px floor, handing control back to min-height. The peek returns to
     its designed ~112px and, because min-height is itself viewport-relative,
     it stays ~112px at any height rather than drifting. Verified at 873 and
     1080: the headline lands at 35.4vh and 35.1vh respectively.
     If the headline size changes, re-check this: the content height is what
     decides whether min-height or this padding wins. */
  /* v3.7 - the `- 30px` eyebrow compensation is GONE with the eyebrow. The H1
     is now the first thing in the intro, so the offset lands on it directly. */
  /* v4.0 - 34vh -> 38vh, to clear his face. Measured at 873vh: his chin sits
     at y315 (19.4% of the figure's height, from the source canvas) while the
     heading top was at y297 - an 18px overlap onto his jaw. 42vh puts the
     heading at y367, clearing the chin by 52px.
     This costs NOTHING at the fork cards. The stage height is
     max(min-height, padding + content) and there was ~106px of slack before
     padding + content passed the 609px floor: 215 + 358 = 573, still under, so
     min-height keeps governing and the peek stays at its designed 112px.
     Checked at 723 / 873 / 1080 viewport heights - the chin scales with the
     figure (172vh) and the heading with this 42vh, so the clearance holds. */
  /* v6.23 - back to 41vh, the v4.0 value. The three-row headline that forced
     this down to 38vh is gone: at 106px the copy sets as TWO rows again, so
     the space pressure that justified the compression no longer exists and
     the approved composition is restored.
     v6.25 REVERTED at the founder's direction, along with the figure increase
     that made it necessary. */
  padding-top: calc(41vh - var(--primitive-space-9) - 56px);
  max-width: none;             /* v3.2 - the 1312px cap would clip the column */
  /* v6.4 - "Three ways forward." was checked against the column and needs no
     change here. It measures 1546px at 118px against a 1720px cap (89.6vw),
     so 174px spare at 1920. And because the type scales at 6.15vw while the
     cap is 89.6vw, the text is always the narrower of the two - it stays on
     one line at EVERY width where the vw term governs, not just this one.
     A first pass narrowed this padding to "make room"; it was measuring the
     column after it had already shrunk to fit the text, which read as zero
     headroom when there was in fact plenty. Reverted rather than left in,
     since it would have crowded narrow screens for no gain. */
  /* v5.4 - THE PEEK IS NOW AN EXPLICIT NUMBER, and it was over-running.
     The old chain read `100vh - space-9 - 56px - space-7 - space-8`. Its
     comment says the subtractions are the hero's top padding, the intro's
     bottom margin, and the intended peek - but this stage ALREADY BEGINS
     below the hero's top padding, so subtracting space-7 on top of that
     double-counted. Worked through: stage top 152 + (100vh - 264) puts the
     fork at 100vh - 112, i.e. a 112px peek where space-8 says 64px was
     intended. The founder's "it is exposing a little too much of the card"
     is that 48px of drift, not a taste change.
     Reserving the peek directly makes it one number to tune instead of an
     arithmetic chain, and it is now what it always claimed to be. */
  --tpc-card-peek: 0px;   /* v5.6 - the cards moved to the fixed dock; nothing to peek */
  min-height: calc(100vh - var(--primitive-space-9) - 56px - var(--tpc-card-peek));
}

/* THEA-674 - the peek is a CUE (there's more below, keep scrolling), not a
   contractual 112px. Below 1024px the desktop formula's fixed subtractions
   (space-9 + 56px header comp + space-7 + space-8 = 264px) were tuned for a
   wide desktop header row and don't need to be that generous on a phone - left as-is, tall phones (844px+) would get an oversized gap ABOVE the H1
   (min-height floor exceeding real content height, centred by flexbox) that
   pushes the fork further down than the cue needs, and mobile Safari's
   address-bar-inclusive 100vh makes the floor unreliable on short viewports
   to begin with. Two changes: smaller fixed subtraction (less top padding,
   since the floating header itself is the same height at every width - no
   full nav row to clear here, only the logo/hamburger row), and `100svh`
   layered on top of `100vh` (small-viewport height, excludes the browser
   chrome) - invalid on older browsers, which just keep the vh line above it.
   Checked at 375x667, 390x844 and 768x1024 via twss-render-check: a real
   sliver of the first fork card stays visible above the fold at all three,
   never the full card, never zero. */
/* ─────────────────────────────────────────────────────────────────────
   v12.7 - THE DEAD BAND UNDER THE HERO COPY ON TALL TABLETS.

   Measured gap from the sub-headline's last line to "THREE WAYS FORWARD.
   PICK YOUR PATH.":
       393 x 852   (phone)              127px
      1440 x 900   (desktop)            218px
      1024 x 768   (iPad landscape)     181px
       700 x 1000                       378px
       768 x 1024  (iPad portrait)      392px
       820 x 1180  (iPad Air)           484px
       900 x 1200                       492px
      1024 x 1366  (iPad Pro portrait)  534px

   It tracks viewport HEIGHT, not width, which is why it never showed up on
   a desktop check. The copy is pinned near 41vh so it clears the figure's
   chin (see .tpc-hero__intro-stage above, v4.0), while the lede and the dock
   are fixed to the bottom of the viewport. Every extra pixel of screen height
   therefore lands in the space between them, and a 1366px-tall iPad Pro has a
   lot of extra pixels. At that size the copy finishes at 53% of the screen
   against desktop's 64%, and the rest is flat orange.

   NOT a shorter stage. The stage centres its content, so shrinking it moves
   the copy UP and makes the gap worse, and its min-height is what governs the
   fork-card peek - the rules above warn at length about what happens when
   padding takes that control away from min-height.
   Instead the content is anchored to the BOTTOM of the stage and held off it
   by 16vh. That keeps the gap proportional to the screen rather than letting
   it absorb all the slack: 223-271px across the whole range, next to the
   218px desktop sets. The headline only ever moves DOWN, so the chin
   clearance that fixed the 41vh anchor can only improve.
   Gated on min-height: 900px so short landscape tablets, which measured fine
   at 181px, are not touched.

   ALIGN-ITEMS, NOT JUSTIFY-CONTENT. The first cut of this rule set
   `justify-content: flex-end` and measured ZERO movement at every size. The
   stage is `flex-direction: row`, so justify-content is its HORIZONTAL axis -
   the `justify-content: center` it has always carried is centring the column
   left-to-right, not vertically, and the vertical position comes entirely
   from `align-items: flex-start` plus that 41vh padding-top. Touching
   justify-content here would have shoved the headline sideways instead, so it
   is deliberately left alone. */
@media (min-width: 700px) and (max-width: 1024px) and (min-height: 900px) {
  .tpc-hero__intro-stage {
    align-items: flex-end;
    padding-bottom: 16vh;
  }
}

@media (max-width: 1023px) {
  .tpc-hero {
    padding-block: calc(var(--primitive-space-7) + 56px) var(--primitive-space-6);
  }
  .tpc-hero__intro-stage {
    min-height: calc(100vh - var(--primitive-space-7) - 56px - var(--primitive-space-6) - var(--primitive-space-7));
    min-height: calc(100svh - var(--primitive-space-7) - 56px - var(--primitive-space-6) - var(--primitive-space-7));
  }
}


/* v3.2 - the text column widens to the Figma's proportions. At 92px the
   headline already filled the old 1124px column edge to edge, so 142px could
   not fit without this. Figma line 1 box is 1720/1920 = 89.6% wide. */
.tpc-hero__intro {
  /* v3.2 - 92vw, not the Figma's exact 89.6vw. Measured: "Two ways forward."
     (now "Three ways forward.", which is wider - re-checked in v6.4 below)
     needs 1735px at 142px Montserrat 800, and 89.6vw is 1720px - it misses by
     15px and wraps to three lines. The 15px is the FULL STOP, which the Figma
     headline does not have (it reads "TWO WAYS FORWARD"). Copy is locked on
     this project so the stop stays; widening the column by 2.4vw keeps the
     Figma's exact 142px type size rather than shrinking the type to fit.
     v3.5 - BACK TO 89.6vw, the Figma's own value. The founder reduced the
     heading to 130px, and at that size "Two ways forward." needed about 1588px
     against 89.6vw = 1720px at 1920, so the extra 2.4vw the full stop forced is
     no longer needed. If the heading ever goes back above ~138px this has to
     widen again or line 1 wraps to three lines. */
  /* v6.24 - the column now matches the HEADER'S content box rather than the
     Figma's 89.6vw, so the headline starts where the logo starts and ends
     where the Urgent Request button ends. Measured at 1920: the logo's left
     edge is x321 and that button's right edge is x1585, a 1264px span, which
     is the 1312px site container less its 24px of inside padding. Expressing
     it as the container and its padding rather than as a hard 1264px keeps it
     locked to the header at every width instead of only at 1920.
     The old 89.6vw ran 98 to 1807, nearly 450px wider than the header, which
     is why the headline read as unaligned with everything above it. */
  max-width: 1312px;
  padding-inline: 24px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--primitive-space-7);
}

/* v2.1 - wraps only the H1 so the two crew greybox layers below can size
   themselves as percentages of the H1's own rendered box (this element has
   no height of its own beyond the H1, since the layers are absolutely
   positioned and don't contribute to it) - proportional at any clamp()
   size instead of a fixed px guess. */
.tpc-hero__headline-stage {
  position: relative;
}

/* v2.8 - THE HERO FIGURE, waist-up and CENTRED BEHIND the headline.
   Replaces .tpc-hero__crew-layer--back/--front. Founder direction: crop to
   the waist, centre it, big, behind the type, without changing the section's
   height. The asset is a separate export (hero-planner-bust.png, 540x659)
   cut just below the belt with a 70px alpha dissolve on the bottom edge, so
   the crop reads as deliberate rather than as a guillotined image floating
   in the gradient.
   Height is driven off the viewport, not the H1 box: the stage is only the
   ~191px H1 line box, so a percentage of it would render him thumbnail-sized.
   Because he is absolutely positioned he contributes ZERO height to the
   stage, which is what keeps the section geometry identical to v2.7 no
   matter how large he gets. */
/* v4.1 - THE FIGURE FADES OUT ON SCROLL. Founder: "as you scroll can the
   image also fade out too". --hero-intro-vis is the same driver the hero text
   already fades on, so he leaves in step with the copy rather than lingering
   over the fork cards.
   It is applied to the <picture> WRAPPER, not to the img: GSAP's entrance
   timeline animates the img's own opacity inline, and an inline style beats a
   stylesheet rule, so putting it on the img would be silently overridden the
   moment the entrance finished. Two elements, two owners, no conflict.
   The wrapper is static-positioned, so the stacking context this opens still
   paints below .tpc-hero__intro-stage (z-index 1) and the fork cards (4) -
   the figure stays behind the type. */
.tpc-hero__figure-wrap {
  opacity: var(--hero-intro-vis);
}

.tpc-hero__figure {
  position: absolute;
  /* v3.2 - 1:1 WITH THE FIGMA. Frame is 1920x1080; the image layer is
     1593x1990 at x=163, y=0, so every value here is that expressed as a
     percentage of the hero and holds at any width.
     The asset is the UNTRIMMED original (aspect 317/396), not the trimmed
     540x1200 export - its transparent padding is load-bearing for these
     offsets, which is why x=163/y=0 lands the visible figure at x541-1307.
     v3.4 - BEHIND the type. Founder: "the text needs to be infront of the
     man." This deliberately does NOT follow the Figma, whose layer panel puts
     the image frontmost over all three text layers; the founder's instruction
     overrides the reference on this one point. */
  z-index: -1;
  /* VIEWPORT units, not percentages of .tpc-hero. The Figma frame is
     1920x1080 - that is the VIEWPORT, not our whole hero section, which runs
     ~1508px tall because it also carries the fork cards. A first pass used
     percentages of .tpc-hero and rendered him about 2.4x too large. vw/vh maps
     the Figma frame onto the viewport, which is what "1:1" actually means. */
  /* SIZED OFF VIEWPORT HEIGHT, not width. The Figma frame is 1920x1080 (16:9)
     but a real browser viewport at 1920 wide is ~873 tall, so sizing him by vw
     made him 1991px tall in an 873px window - head-and-shoulders, hugely
     over-scaled. In the Figma his image height is 1990/1080 = 184.26% of the
     FRAME HEIGHT, and 1080/1990 = 54% of him is visible. Driving height from
     vh reproduces that 54% crop at ANY viewport height, which is what actually
     preserves the composition.
     The left offset then has to be derived rather than fixed, because his
     width now scales with vh while the frame scales with vw. In the Figma his
     VISIBLE content (the alpha bbox, x 266-806 of 1122) centres at 47.77% of
     the image width and lands at 48.1% of the frame width. Solving for left:
       width          = 0.8003 x 184.26vh = 147.45vh
       content centre = 0.4777 x 147.45vh = 70.44vh
       left           = 48.1vw - 70.44vh
     Check at 1920x1080: 923.5 - 760.8 = 162.7px, versus the Figma's 163. */
  /* v3.3 - one variable drives both size and offset, so they can never drift
     apart. Height is min() of the two mappings rather than a media query:
       184.26vh  reproduces the Figma's vertical framing (1990/1080)
       182vw     caps him by WIDTH on narrow screens, where 184vh would render
                 a 1658px figure on a 430px phone
     Whichever is smaller wins, so wide-short desktops are governed by vh and
     tall-narrow phones by vw, with no breakpoint to keep in sync.
     The left offset is derived from the SAME variable: his visible content
     (alpha bbox 266-806 of 1122) centres at 47.77% of the image width, and
     0.4777 x 0.8003 = 0.3823 of its height. Placing that centre at 48.1vw,
     as the Figma does, gives left = 48.1vw - 0.3823 x height.
     Check at 1920x1080: 923.5 - 760.8 = 162.7px versus the Figma's 163. */
  /* v3.4 - "a tiny bit smaller": 184.26vh -> 172vh, about 7% down on the
     Figma's exact figure. The vw ceiling drops by the same ratio so narrow
     screens scale with it. */
  /* v4.1 - 172vh -> 152vh. CORRECTING A MEASUREMENT ERROR of mine: v4.0 put
     his chin at 0.194 of the canvas, but 272px was measured in the BUST
     CROP's coordinate space, which is offset from the full canvas by the 52px
     alpha trim. Re-derived on the actual asset (the jaw pinches to 152px wide
     at y=322, shoulders appear at y=328): the chin is at 322/1402 = 0.2297.
     That 3.7% error is why the heading was still touching his face after
     v4.0 "cleared" it - the real clearance was -13px, not +40px.
     Shrinking him raises the chin rather than pushing the heading down,
     which is what protects the card peek. */
  /* v10.41 - founder 2026-08-27: "make the character bigger without extending
     the section height ... top of his helmet in line with top of the traffic
     plans logo". Section height was never at risk - he is absolutely
     positioned and contributes zero height to the stage (see the block
     comment above), so scaling --tpc-fig-h up is exactly the size lever, no
     side effect on layout.
     132vh/130vw -> 160vh/158vw, same ~1.21x ratio on both terms so the
     vh-governs-desktop / vw-governs-narrow-phones split (documented in the
     v3.3 comment above) still holds at the new size.
     ALIGNMENT: `top` used to be a flat 7vh, tuned by eye against an assumed
     header height (see the v4.2 history above). It is now SOLVED, not tuned:
     his helmet crown sits at 3.71% of his own height (the v4.2 measurement,
     unaffected by how big he is - it's a fraction of the same asset), and the
     target is the header logo's top edge, which is exactly
     --header-row-pad-top (clamp(34px, 4.4vh, 60px) - verified live,
     dx/dy 0/0 against the logo). Solving top + 0.0371 x H = target for top:
       top = clamp(34px, 4.4vh, 60px) - 0.0371 * H
     Any future resize of --tpc-fig-h keeps the helmet locked to the logo
     automatically, since both sides of the equation move together - no
     hand-retuning needed the way 7vh required. */
  --tpc-fig-h: min(160vh, 158vw);
  left: calc(48.1vw - 0.3823 * var(--tpc-fig-h));
  /* v4.2 - dropped off the top edge. Founder: "there is [no] padding between
     the top of his helmet and the header". At top:0 his helmet crown sat at
     y49 (3.71% of his height, from the source canvas) against a header whose
     nav row ends around y70 - they were colliding.
     This is a THREE-WAY constraint, not a single nudge. Moving him down also
     moves his CHIN down, toward the heading he was just cleared from, and
     raising the heading to compensate eats the fork-card peek. Solved
     together at 873vh:
     A first pass used 5vh/142vh against an ASSUMED header bottom of ~70px.
     Measured, the header actually ends at y86, so that left a 3px gap. Redone
     against the real number:
       helmet = 8.5vh + 3.71% x 132vh  = 74 + 43 = y117, 31px clear of y86
       chin   = 8.5vh + 22.97% x 132vh = 74 + 265 = y339
       heading at 41vh                              = y358, clears the chin by 19px
       stage  = 206 + 424 = 630 -> card peek 91px
     The figure shrinks 152vh -> 132vh to buy the room; shrinking raises the
     chin faster than the top offset lowers it, which is what makes all four
     constraints (helmet gap, chin clearance, figure size, card peek) fit at
     once. At 1080vh min-height governs and the peek returns to 112px. */
  top: calc(clamp(34px, 4.4vh, 60px) - 0.0371 * var(--tpc-fig-h));
  bottom: auto;
  transform: none;
  height: var(--tpc-fig-h);
  width: auto;                 /* aspect 1122:1402 */
  /* v4.1 - the source is 1122x1402 and is rendered ~1642px tall on a 1080
     viewport, so it is ALREADY upscaled ~1.17x, and ~2.34x on a 2x display.
     Two things follow. The WebP was re-exported LOSSLESS (was q88): at this
     magnification every lossy artifact is enlarged with the image, and 432KB
     against the 667KB PNG it substitutes for is a fair trade. And the browser
     is told to interpolate smoothly rather than sharpen, which is the right
     choice for an upscaled photographic subject.
     THE REAL CEILING IS THE ASSET. No CSS recovers detail the file does not
     contain - a larger export from the founder's .psd is the only fix for
     true retina sharpness. See the change-report. */
  image-rendering: auto;
  /* THE DISSOLVE. Percentages are of the IMAGE's own height, converted from
     the Figma: its Rectangle 1 starts at 596/1080 = 55.19% of the frame and is
     fully solid by 100%. Against a figure 172vh tall that is 55.19/172 = 32%
     and 100/172 = 58% of his own height. His visible content runs from 3.7% to
     89.3% of the canvas (the alpha bbox), so the fade lands between roughly
     33% and 63% of his BODY - waist to mid-thigh, which is the "bottom half
     fades into the background" the founder described.
     -webkit- prefix included: Safari still requires it for mask-image. */
  /* v3.7 - fade EXTENDED, 32%-58% -> 24%-46%. Measured cause: the hero body
     copy sat at 40-46% of the figure's height, where the old ramp still left
     him 68%-46% opaque - and what is at that height is his forearms and
     gloves, which are near-white. White 18px copy on those was the "hard to
     see" the founder reported. It was never a layering problem: the subhead is
     already the topmost element there (confirmed with elementFromPoint) and
     the figure is at z-index -1 behind it.
     Removing the eyebrow and shrinking the heading both pull the copy HIGHER
     onto him, so the ramp has to move up with it. Starting at 24% and clearing
     by 46% puts him under 20% opacity everywhere the copy runs, and 46% of the
     canvas is about 49% of his body - still exactly the "bottom half fades
     into the background" this was built for. */
  /* v4.0 - FOUR STOPS, not two. Founder: "his body disappears in the gradient
     fade too early" - the old 24%-46% linear ramp erased him completely just
     below his belt.
     A single linear ramp cannot satisfy both requirements at once: extending
     it so his legs survive also makes him opaque exactly where the body copy
     crosses him, which is his near-white gloves and plan roll, and that was
     the "hard to see" problem fixed in v3.7. A multi-stop mask solves both,
     because it can fall fast and then LEVEL OFF:
       0-27%   solid: helmet, face and shoulders untouched. v4.1 moved this
               from 24% to 27% because the corrected chin is at 23.0%, not
               19.4% - the old start was only 1% below his jaw and was
               beginning to eat into it.
       27-35%  falls away quickly to 0.55
       35-44%  continues to 0.22
       44-58%  HOLDS around 0.20 - this is the band the body copy crosses,
               so the copy reads while he stays present behind it
       58-86%  long shallow tail to nothing, so his legs remain visible as a
               ghost right down to near his boots instead of vanishing early
     Measured against the copy at 42vh: it sits at 40.9%-46.7% of the figure,
     where this leaves him 0.22-0.20 opaque, versus 0.68 when it read as
     unreadable. */
  -webkit-mask-image: linear-gradient(180deg, #000 27%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.22) 44%, rgba(0,0,0,0.18) 58%, transparent 86%);
          mask-image: linear-gradient(180deg, #000 27%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.22) 44%, rgba(0,0,0,0.18) 58%, transparent 86%);
  pointer-events: none;
  /* drop-shadow, not box-shadow: box-shadow would trace the image's
     rectangular box and print a hard slab behind a cut-out figure. */
  filter: drop-shadow(0 26px 30px rgba(34,34,34,0.26));
  /* THEA-673 - in continuous motion the whole time the hero is in view
     (scroll-scrub parallax + entrance tween), same justification as the
     always-on .tpc-atmosphere__bloom will-change above: not a one-shot
     reveal that arms/disarms, so a static hint is correct here rather than
     the arm-on-enter/remove-on-leave pattern used for the bands below. */
  will-change: transform;
}

/* v3.3 - NARROW-SCREEN ADAPTATION. The founder's Figma specifies ONE frame,
   1920x1080, and says nothing about phones or tablets. Applied literally below
   ~1024px its composition fails: the figure is centred, frontmost, and ~70% of
   the viewport wide, which at 606px leaves the headline almost entirely hidden
   behind him (verified by screenshot - "TWO WAYS FORWARD." was unreadable).
   The headline is the primary element and must win, so on narrow screens two
   things change and nothing else:
     - he shrinks, visible width from ~70vw to ~54vw, so he reads as a backdrop
   (v3.4: the z-index half of this is gone - he is behind the type at ALL
   widths now, at the founder's direction, so only the size override remains.)
   Desktop keeps the Figma exactly. This is an adaptation, not a reading of the
   reference - it is flagged in the change-report as needing founder direction,
   and a mobile frame in the Figma would replace it outright. */
@media (max-width: 1023px) {
  .tpc-hero__figure {
    /* same 1.21x bump as the desktop rule; only the vw ceiling needs
       restating here, `top` is shared and re-solves itself off whichever
       term of --tpc-fig-h wins. */
    --tpc-fig-h: min(160vh, 128vw);
  }
}


/* v2.8 - THE HERO TEXT STACK IS WASH-DRIVEN. Every colour below interpolates
   between a light value (over the orange ground, --hero-wash:1) and the
   original light-ground value (--hero-wash:0), off the same scrubbed number
   that drives the background. This is not decoration: the founder asked for
   a white headline AND a background that becomes white, and those two are
   directly contradictory at the end of the scroll. Tying both ends to one
   driver is what stops the headline being stranded white-on-white.
   Mixes resolve to the ORIGINAL v2.7 colours at wash 0, so the light-ground
   design and its AA working (documented on each rule below) is unchanged
   once the transition completes. */
.tpc-hero {
  /* THE CROSSOVER PROBLEM, and why these are not linear in --hero-wash.
     A first pass mixed white -> asphalt linearly with the ground. Measured on
     a scroll probe, that put the headline at mid-grey (L 0.514) over mid-orange
     (L ~0.22) at wash 0.71 - about 2.1:1 - while it was STILL ON SCREEN
     (h1Top -6px). Any linear blend has this dead zone: the text passes through
     grey exactly as the ground passes through mid-tone, and they meet.
     Two changes fix it together:
     1. --hero-intro-vis fades the whole intro out while the ground is still
        dark, so white type is never shown against a light ground at all. The
        intro is leaving the viewport at that point anyway.
     2. These mixes are REMAPPED to flip late and fast (white until wash 0.40,
        asphalt by 0.20) instead of tracking the wash linearly. By 0.40 the
        intro is already fully faded, so the grey mid-point is never rendered.
        The mix is kept rather than hardcoding white purely as a safety net: if
        the fade is ever disabled or the hero is shortened, the type still ends
        up legible on the white ground instead of vanishing. */
  --hero-text-mix: clamp(0%, calc((var(--hero-wash) - 0.20) * 500%), 100%);
  --hero-intro-vis: clamp(0, calc((var(--hero-wash) - 0.45) / 0.35), 1);

  --hero-ink: color-mix(in srgb,
    var(--primitive-white) var(--hero-text-mix), var(--primitive-asphalt));
  --hero-ink-soft: color-mix(in srgb,
    color-mix(in srgb, var(--primitive-white) 86%, var(--primitive-orange))
      var(--hero-text-mix),
    var(--primitive-ink));
  /* v3.5 - --hero-accent removed with the underline it existed to colour. */
}

/* The fade is applied to the intro STAGE, not to .tpc-hero__intro inside it.
   Opacity opens a stacking context, and putting it on the inner element would
   trap the figure (z -3) inside the intro while leaving the scrim (z -2) on
   the stage outside it - the scrim would then darken the ground but no longer
   the figure, which is the one thing it exists to do. Fading the stage moves
   the whole group (figure, scrim, type) as one unit and preserves the
   internal z-order exactly. */
.tpc-hero__intro-stage {
  opacity: var(--hero-intro-vis);
}

/* v2.0 - orange text fails AA on the light ground (2.31:1). Eyebrow takes
   asphalt; the orange accent moves to the dot separator only (a rule/
   accent use, not text) so the tic isn't lost, just relocated.
   v2.8 - asphalt is now the wash-0 END of the mix rather than a fixed value:
   at wash 1 this sits on the graded top of the gradient, where asphalt would
   be near-invisible, so it rides to white with the headline. */
.tpc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hero-ink);
  margin: 0 0 var(--primitive-space-4);
}
/* v3.5 - the orange dot before the eyebrow is REMOVED at the founder's
   direction. Same history as the underline above: it was where the orange tic
   went when orange text failed AA on the light ground. The `gap: 8px` on the
   eyebrow is left in place - with no ::before to space, it now does nothing,
   but it is inherited flex behaviour rather than dead styling, and removing it
   would change nothing visually. */

/* The giant hero H1 is deliberately its own scale, not the site-wide
   --primitive-size-h1 token (clamp 40-60px) used on every interior page - that token stays exactly as locked for shero/service/article headings.
   This is the one bespoke "hero mechanic" scale per spacers.wannathis.one. */
/* THEA-674 - floor raised 42px -> 48px, same single clamp formula covering
   every width (0 -> desktop max), no breakpoint override. The v2.4 build
   added a SEPARATE @media(max-width:600) clamp(36px,11vw,56px) "safety net"
   that, worked through the numbers, is actually BIGGER at 600px (56px, since
   11vw clamps to its own max there) than the un-overridden desktop formula
   one pixel wider at 601px (~42px) - a real backwards jump right at the
   boundary. Removing that override and just raising this formula's own
   floor fixes the jump (one continuous curve, still exactly this desktop
   value from ~727px up) and gives phones a genuinely bigger hero than the
   36-42px range did. Verified against the two fixed lines' longest words
   ("FORWARD.", "PICK YOUR") at 48px in a 375px viewport's ~327px hero
   column: both wrap to 2 sub-lines (4 total) with no word overflowing its
   line, which is the deliberate mobile shape - see the crew-layer comment
   below for why that's the right call, not a compromise. */
.tpc-hero__title {
  font-family: var(--primitive-font-family);
  font-weight: 800;
  /* v6.23 - 106px, and the number is measured rather than chosen.
     Dropping "Professional" took line one from 38 characters to 24, which
     measures 1920px at 118px against a 1720px column. Still 200px over, so
     118px would wrap it and give three rows again.
     v6.24a - the column is now the HEADER'S 1264px content span, not 1720px,
     so the ceiling drops again: 1264 / 1708 x 105 = 77.7, and 77px is the
     largest size that holds "TRAFFIC MANAGEMENT PLANS" on one row inside the
     header's own width. Rounding down matters here; at 105px the equivalent
     sum rounded up to 106 and the line silently wrapped, 4px over.
     That is a 10% trim off the original scale, against the 43% the previous
     copy forced, and it buys the two-row setting back.
     vw coefficient rescaled by the same 0.898 ratio so the line stays exactly
     full-width at every viewport, not only at 1920. */
  font-size: clamp(34px, 4.01vw, 77px);
  line-height: 1.049;   /* v3.2 - Figma: 149px between line tops at 142px */
  letter-spacing: -0.01em;
  /* v6.22 - the gap under the headline is tightened to 6px, and it is BUYING
     SPACE rather than restyling. At three rows the hero copy needs 482px
     between his chin and the dock lede, and only 450px exist. His helmet is
     already 16px under the header, so the figure cannot move up to make room.
     Reclaiming this gap is the only lever left that does not touch the type
     v6.23 - reverted with the return to two rows. */
  text-transform: uppercase;
  /* v2.8 - founder: "make the heading text in the hero section white."
     --hero-ink IS white at wash 1; the mix only exists so the headline
     doesn't stay white after the ground behind it has turned white. */
  color: var(--hero-ink);
  /* v3.2 - text-shadow REMOVED at founder's direction. It had been added to
     stop "YOU" of "PICK YOUR PATH." disappearing into his near-white rolled
     plan (roughly 1:1 where they overlapped). With it gone that overlap is
     back, so the fix has to come from POSITIONING instead - see the Figma
     reference this pass is matched to. */
  margin: 0 0 var(--primitive-space-5);
  white-space: normal;
}
/* THEA-673 - line-reveal masks for the H1's two lines (see homepage.html's
   inline comment for why this is hand-authored rather than a generic
   SplitText/word-measuring split). Each mask clips its line so motion.js can
   translate the line up from below on load without a scrollbar flash; both
   are display:block so the two lines stack exactly as before this markup
   change - zero visual difference at rest / under prefers-reduced-motion,
   where the entrance tween is skipped entirely and these sit at yPercent:0. */
.tpc-hero__title-line-mask { display: block; overflow: clip; }
.tpc-hero__title-line { display: block; }
/* v2.0 - orange TEXT fails AA on light (2.31:1); this hard constraint is
   the whole reason "the orange-H2 brand tic does not survive a light
   page." The accent moves from fill to RULE: same asphalt colour as the
   line above it, with an orange underline doing the differentiation
   instead - orange as accent/rule, never as text, per the brief. */
/* v3.5 - THE UNDERLINE IS REMOVED at the founder's direction, and the founder's
   Figma has none either. Worth recording what it was doing, because it was not
   decoration: back on the v2.0 LIGHT ground, orange text failed AA at 2.31:1,
   so the brand's orange-heading tic was relocated from the FILL to a rule
   under the second line - orange as an accent, never as text. On the orange
   ground that reasoning no longer applies, since the heading is white on
   orange rather than orange on white. Nothing is lost by dropping it, but if a
   future pass puts this heading back on a light ground, the orange-text
   constraint returns and the tic will need somewhere to live again.
   The class stays on the markup: it is what makes line 2 a block, and the
   H1 line-reveal masks in homepage.html target it. */
.tpc-hero__title-accent {
  color: var(--hero-ink);
  display: block;
  /* v6.24 - the second line steps down to 0.58 of the first. em, not px, so it
     tracks the H1's own clamp at every viewport instead of needing its own.
     The step is deliberate rather than decorative: line one is the claim and
     line two is the coverage, and at equal weight they competed. 0.58 puts it
     at ~61px against the 105px above it, which is a clear enough interval to
     read as subordinate without dropping to caption scale.
     line-height is reset to 1 because 1.049 of the PARENT size left a visible
     gap under a line that is now much shorter than the box it inherited. */
  font-size: 0.58em;
  line-height: 1;
  margin-top: 0.12em;
}

/* The dot separators. Sized and positioned against the accent line's own em so
   they scale with it, and lightened so they read as punctuation rather than as
   a fourth item in the list. */
.tpc-hero__title-sep {
  display: inline-block;
  margin: 0 0.42em;
  font-size: 0.42em;
  /* v6.24a - the 0.75 opacity is GONE. It was my attempt to make these read as
     punctuation rather than as a fourth item in the list, but against solid
     white caps on the orange ground it just looked faded, as though the glyph
     had failed to render. Full-strength white, held back by SIZE alone, which
     is the honest way to make a mark subordinate. */
  vertical-align: 0.28em;      /* optical centring against the caps, not the baseline */
}

.tpc-hero__subhead {
  /* v3.4 - back to the ORIGINAL body size at the founder's direction. v3.2 had
     scaled this to the Figma's 26px/927px; 18px and a 62ch measure are the
     values the rest of the site's body copy uses. */
  max-width: 62ch;
  margin-inline: auto;
  font-size: 18px;
  line-height: 1.6;
  /* v2.8 - the soft mix, not --hero-ink: pure white body copy at 18px on the
     graded ground is harsher than it needs to be, and the warm off-white end
     keeps the orange in the air. Resolves to --band-body-text at wash 0. */
  color: var(--hero-ink-soft);
}

.tpc-fork {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--primitive-space-6);
  margin-bottom: var(--primitive-space-7);
}
@media (max-width: 1024px) { .tpc-fork { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────────────────────────
   v4.3 - THE FORK CARDS, rebuilt to the founder's Spacers reference.
   Reference behaviour: heavily rounded rectangles, a single oversized
   heading carrying the primary card, no icon tiles, friendly rounded
   markers instead of dots, and the two cards differentiated by FILL rather
   than by a hairline border.

   COLOUR. The cards now sit on the orange hero ground, so "white card +
   hairline" no longer separates anything - and an orange card on an orange
   ground separates even less. The pairing is therefore asphalt / white,
   which is the brand's own high-contrast pair and mirrors the reference's
   bright/dark pairing:
     card A (primary)   asphalt #222222, ORANGE heading, white body
     card B (secondary) white,           asphalt heading, ink body
   The orange heading on card A is not decoration - it is the documented
   brand tic, which the tokens file restricts to exactly this case: "orange
   H2 is ASPHALT-BAND-ONLY (6.89:1, clears AA); on white / panel-grey /
   orange bands orange fails AA at any size". A dark card is the one place
   it is allowed, so the tic finally has a home on this page again after the
   hero underline was removed.
   Every pairing below is AA or better: orange on asphalt 6.89:1, white on
   asphalt 15.9:1, asphalt on white 15.9:1, ink on white 9.1:1.
   ───────────────────────────────────────────────────────────────────── */

.tpc-fork__card {
  position: relative;
  /* Reference radius: generously rounded, not the 12px utility corner.
     Kept as a local token so both cards and the nudge bar stay in step. */
  --fork-radius: 30px;
  border-radius: var(--fork-radius);
  border: 0;
  box-shadow: var(--card-shadow);
  padding: var(--primitive-space-6) var(--primitive-space-5) var(--primitive-space-5);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--primitive-duration-fast) var(--primitive-easing-out),
              transform var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-fork__card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }

/* v4.8 - FOUNDER DIRECTION: reversed ramps on the sky and red tiles, and
   white type on all three.
   v4.9 - Card A keeps the v4.7 ramp, #F7CE38 -> #FC210D (yellow into red),
   with white type. v4.8 had briefly flipped it to red-first on the reasoning
   that white sits better on the red end; the founder confirmed the yellow-led
   ramp is the one they want, so the ramp stands and only the type colour
   changed.
   CONTRAST, stated once for the record and not repeated elsewhere in this
   file. White against each ramp:
     card A  #F7CE38  1.52:1  ->  #FC210D  3.92:1
     card B  #00D4FF  1.77:1  ->  #020024 20.43:1
     bar     #FF7D58  2.52:1  ->  #C1000F  6.41:1
   AA wants 4.5:1 for body copy and 3:1 for the large headings. With card A now
   led by the yellow, its heading sits on the 1.52:1 end rather than the
   3.92:1 one, so none of the light ends of any ramp meet either threshold. This is a
   founder decision made with the numbers in hand, not an oversight - do not
   "fix" it by re-flipping the ramps or swapping the type to asphalt without
   asking. The single-word fix, if it is ever wanted, is --fork-body and
   --fork-heading back to var(--primitive-asphalt) on the light-topped tiles. */
.tpc-fork__card--primary {
  --tpc-flare-yellow: #F7CE38;
  --tpc-flare-red: #FC210D;
  background: linear-gradient(150deg, var(--tpc-flare-yellow) 0%, var(--tpc-flare-red) 100%);
}
.tpc-fork__card--secondary {
  --tpc-cyan: #00D4FF;
  --tpc-deep-space: #020024;
  background: linear-gradient(150deg, var(--tpc-cyan) 0%, var(--tpc-deep-space) 100%);
}
/* One white type stack across both cards again, per the founder's "the I need
   a plan tile needs to have white text same as the I'm planning a larger
   project tile". The badges and icon chips stay WHITE-filled with asphalt
   marks: they carry their own background, so they are the one part of each
   card that holds contrast regardless of what the ramp is doing behind them. */
.tpc-fork__card {
  --fork-heading: var(--primitive-white);
  --fork-body: var(--primitive-white);
  --fork-chip-bg: var(--primitive-white);
  --fork-chip-ink: var(--primitive-asphalt);
  --fork-badge-bg: var(--primitive-white);
  --fork-badge-ink: var(--primitive-asphalt);
  --fork-learn: var(--primitive-white);
}
.tpc-fork__desc, .tpc-fork__points li { opacity: 1; }

.tpc-fork__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 999px;
  /* v4.4 - the badge was orange, which is now the card A fill. Both badges
     become asphalt so they read as a chip ON the colour rather than in it. */
  /* v4.7 - per-card, because the two cards no longer share a type stack. */
  background: var(--fork-badge-bg);
  color: var(--fork-badge-ink);
  margin-bottom: var(--primitive-space-4);
}
.tpc-fork__badge--muted { background: var(--fork-badge-bg); color: var(--fork-badge-ink); }

/* THE BIG HEADING. Founder: "see how the heading in the first rectangle is
   quite big and stands out can we have this please".
   NOTE this is a deliberate HIERARCHY CHANGE. The two paths were built as
   "equal footprint, genuine peer path" (see homepage.html) - matching the
   reference makes card A visually dominant, so the fork stops reading as two
   equal options and starts reading as a recommended one plus an alternative.
   Flagged in the change-report; it is a founder instruction, not drift.
   Card B keeps a smaller heading because its title is a full sentence and
   would wrap to three lines at card A's size. */
.tpc-fork__title {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fork-heading);
  margin-bottom: var(--primitive-space-3);
}
.tpc-fork__card--primary .tpc-fork__title {
  font-size: clamp(34px, 3.1vw, 52px);
}
/* v4.4 - uppercase moved UP to the shared rule so card B and the nudge label
   match card A. Founder: "the full caps you used on the left tile needs to be
   consistent on the right tile and bottom tile". */
.tpc-fork__card--secondary .tpc-fork__title { font-size: clamp(22px, 1.75vw, 30px); }

.tpc-fork__desc { font-size: 15.5px; line-height: 1.6; color: var(--fork-body); margin-bottom: var(--primitive-space-3); }
.tpc-fork__aside { font-size: 13.5px; font-style: italic; color: var(--fork-body); opacity: 0.8; margin-bottom: var(--primitive-space-3); }

.tpc-fork__points {
  list-style: none;
  margin: 0 0 var(--primitive-space-5);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tpc-fork__points li {
  position: relative;
  padding-left: 38px;
  min-height: 26px;
  display: flex;
  align-items: center;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--fork-body);
}
/* v4.4 - A DISTINCT ICON PER POINT, not six identical ticks. Founder: "i
   can't see the appropriate rounded icons for each dot point just check
   points?" - the v4.3 markers were a rounded chip with the same tick in every
   one, which carries no more meaning than the dots they replaced. Each point
   now gets a glyph that matches what it actually says: a document for the
   quote, a clock for the turnaround, a person for the named planner, a speech
   bubble for the consultative approach, a compass for "not sure what you
   need", a shield-check for defensible documentation.
   Structure is unchanged: ::before is the rounded chip, ::after is the glyph
   masked over it, so the glyph inherits its colour from a variable and no
   icon needs a second colour variant. All drawn in CSS as data-URI SVG - UI
   glyphs belong in code, stay crisp at any zoom, and add no requests. */
.tpc-fork__points li::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 26px;
  border-radius: 9px;              /* rounded square, deliberately not a circle */
  background: var(--fork-chip-bg);
}
.tpc-fork__points li::after {
  content: '';
  position: absolute;
  left: 5px; top: 5px;
  width: 16px; height: 16px;
  background: var(--fork-chip-ink);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;   mask-position: center;
  -webkit-mask-size: contain;      mask-size: contain;
}

.tpc-fork__points li.ico-quote::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M9 17h4'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M9 17h4'/%3E%3C/svg%3E");
}
.tpc-fork__points li.ico-clock::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7v5.2l3.2 1.9'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7v5.2l3.2 1.9'/%3E%3C/svg%3E");
}
.tpc-fork__points li.ico-planner::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M5.2 20c0-3.8 3-6.1 6.8-6.1s6.8 2.3 6.8 6.1'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M5.2 20c0-3.8 3-6.1 6.8-6.1s6.8 2.3 6.8 6.1'/%3E%3C/svg%3E");
}
.tpc-fork__points li.ico-chat::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5a2.5 2.5 0 0 1-2.5 2.5H9l-4.5 3.5V6.5A2.5 2.5 0 0 1 7 4h10.5A2.5 2.5 0 0 1 20 6.5z'/%3E%3Cpath d='M8.5 10h7'/%3E%3Cpath d='M8.5 13.5h4'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5a2.5 2.5 0 0 1-2.5 2.5H9l-4.5 3.5V6.5A2.5 2.5 0 0 1 7 4h10.5A2.5 2.5 0 0 1 20 6.5z'/%3E%3Cpath d='M8.5 10h7'/%3E%3Cpath d='M8.5 13.5h4'/%3E%3C/svg%3E");
}
.tpc-fork__points li.ico-compass::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M15.2 8.8 13.6 13.6 8.8 15.2 10.4 10.4z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M15.2 8.8 13.6 13.6 8.8 15.2 10.4 10.4z'/%3E%3C/svg%3E");
}
.tpc-fork__points li.ico-shield::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 2.8v5.6c0 4.4-3 7.4-7 8.8-4-1.4-7-4.4-7-8.8V5.8z'/%3E%3Cpath d='M9.2 12.2l2 2 3.6-3.9'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 2.8v5.6c0 4.4-3 7.4-7 8.8-4-1.4-7-4.4-7-8.8V5.8z'/%3E%3Cpath d='M9.2 12.2l2 2 3.6-3.9'/%3E%3C/svg%3E");
}

.tpc-fork__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--primitive-space-3);
}
/* The primary CTA sits on asphalt, so it takes the orange fill (asphalt text
   on orange = 6.89:1). The secondary sits on white and stays outlined. */
/* v4.6 - founder-specified CTA: TPC Orange fill, white label, inverting to a
   white fill with asphalt label on hover.
   ACCESSIBILITY FLAG, carried in the change-report too: white on #F4941D is
   2.31:1. AA needs 4.5:1 for a label this size, so the RESTING state of this
   button does not pass - it is the one deliberate exception on the page. The
   HOVER state is fine at 15.9:1. Asphalt on orange would be 6.89:1 and fully
   compliant if the founder wants it changed; the label colour is the only
   thing that would move. */
/* v5.5 - the 999px pill override is REMOVED; .btn's own --btn-radius from the
   design system applies again, at the founder's direction. */
.tpc-fork__card .btn--primary,
.tpc-fork__card .btn--outline {
  background: var(--primitive-orange);
  border-color: var(--primitive-orange);
  color: var(--primitive-white);
}
.tpc-fork__card .btn--primary:hover,
.tpc-fork__card .btn--outline:hover {
  background: var(--primitive-white);
  border-color: var(--primitive-white);
  color: var(--primitive-asphalt);
}

.tpc-fork__learn {
  align-self: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--fork-heading);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tpc-fork__card .tpc-fork__learn { color: var(--fork-learn); text-decoration-color: color-mix(in srgb, var(--fork-learn) 45%, transparent); }
.tpc-fork__learn:hover { text-decoration-color: var(--primitive-orange); }

/* v4.3 - THE URGENT BAR, built to the reference's "FREE DEMO" strip: a wide
   stadium-rounded bar with a bold label hard left, the explanatory line
   centred, and a pill CTA hard right. It replaces a centred flex run of a
   red-tinted chip plus a sentence.
   Asphalt fill, matching the reference's dark strip and card A, so the two
   dark elements read as one family against the orange ground. The old
   signal-red chip treatment is retired here: it was designed for a WHITE
   ground ("signal red measures 6.0:1 on white"), and red-on-asphalt would
   have been the one pairing in this section that fails. Urgency is now
   carried by the bolt glyph and the pill, not by a colour that cannot hold
   contrast on this background.
   Contrast: white on asphalt 15.9:1, asphalt on white pill 15.9:1. */
.tpc-hero__nudge {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--primitive-space-3) var(--primitive-space-5);
  padding: var(--primitive-space-4) var(--primitive-space-4) var(--primitive-space-4) var(--primitive-space-6);
  /* v4.4 - founder-specified signal red. White type measures 5.85:1 on it and
     clears AA; asphalt would have been 2.72:1, so the label, copy and links
     all stay white. Unlike the two cards this is the ONE fill in the section
     where white is the correct choice.
     This also restores signal red to the role the brand reserves for it,
     "urgency cues only (urgent plan requests)" - v4.3 had retired it because
     red could not hold contrast on asphalt. As the fill rather than the text,
     it works. */
  /* v4.5 - gradient, and the only tile that starts on the founder's EXACT
     hex: white already clears AA on #C02B0A at full strength (5.85:1), so it
     needs no lightening headroom the way the other two did. */
  /* v4.7 - founder pair #FF7D58 / #C1000F.
     NOTE: supplied as "#C100F", which is five digits and not a valid hex.
     Read as #C1000F (deep red), the only sensible six-digit reading in this
     colour family. Flagged in the change-report - say the word if it was
     meant to be something else.
     The deep end is HELD to 55% so it sits under the label and the sentence,
     where white measures 6.4:1; the coral only appears under the pill, which
     carries its own white background. Ungraded, the centre copy would land on
     the mid-tone at 4.3:1 and miss AA. */
  /* v5.0 - the coral #FF7D58 is replaced by #5E000C at the founder's
     direction, so the bar now runs deep maroon into signal red.
     Worth recording: this incidentally makes the bar the only fully compliant
     tile of the three. The coral it replaced was 2.52:1 against white; both
     of these clear AA - #C1000F is 6.41:1 and #5E000C is 14.18:1 - so the
     v5.1 direction swap costs nothing in contrast. White passes across the
     whole ramp whichever way round it runs. */
  background: linear-gradient(100deg,
    #C1000F 0%,
    #5E000C 100%);   /* v5.1 - reversed: the lighter red now leads, under the
                        heading, and it deepens toward the pill. */
  border-radius: 999px;
  text-align: left;
}

.tpc-hero__nudge-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 800;
  text-transform: uppercase;   /* v4.4 - caps, to match both cards */
  letter-spacing: 0.02em;
  color: var(--primitive-white);
}
/* v4.4 - .tpc-hero__urgent-flash removed with the bolt emoji. */

.tpc-hero__nudge-text {
  flex: 1 1 340px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
}
.tpc-hero__nudge-text a { color: var(--primitive-white); text-decoration: underline; text-decoration-color: var(--primitive-orange); }
.tpc-hero__nudge-text a:hover { text-decoration-color: var(--primitive-white); }

/* The pill, mirroring the reference's white DOWNLOAD button. */
.tpc-hero__nudge-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: var(--btn-radius);   /* v5.5 - design-system radius, was 999px */
  /* v5.2 - orange fill, white label, matching the two card CTAs so every
     button on the page now speaks the same language. Same contrast note as
     those: white on #F4941D is 2.31:1 at rest, 15.9:1 on the inverted hover. */
  background: var(--primitive-orange);
  color: var(--primitive-white);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  /* components.css underlines every <a> in this region; the pill is a button
     in everything but tag name, so the rule has to be cancelled explicitly. */
  text-decoration: none;
  transition: background var(--primitive-duration-fast) var(--primitive-easing-out),
              color var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-hero__nudge-cta:hover { background: var(--primitive-white); color: var(--primitive-asphalt); }

/* Below the two-column fork breakpoint the bar stacks and centres, because a
   three-part row cannot hold its shape in a single narrow column. */
@media (max-width: 1024px) {
  .tpc-hero__nudge {
    justify-content: center;
    text-align: center;
    border-radius: 28px;
    padding: var(--primitive-space-5);
  }
  .tpc-hero__nudge-text { flex-basis: 100%; }
}


/* v2.7 - the figure on mobile (<600px). Tablet (600-1023px) stays on the
   desktop clamp() above unchanged: at 600px+ the H1's longest line already
   fits on one real line (verified at 48px in a 552px column), so the
   composition reads the same as desktop, just smaller via the vw term.
   Below 600px the H1 wraps to 4 stacked sub-lines instead of 2 (see the
   title comment above), which is deliberately embraced rather than fought - at 48px+ no single word is wide enough to overflow, so a taller stacked
   block is the honest mobile shape of a "giant letterform" hero. That taller,
   full-width stack is what forces the figure's mobile treatment to be a real
   decision rather than just smaller numbers:
   - He is NOT hidden. Dropping him on the breakpoint that gets the most
     traffic would mean the brand's one piece of character art never reaches
     most visitors, which is a worse trade than a tight composition.
   - He is NOT scaled to fit inside the column. 33vw of a 375px screen is a
     124px thumbnail, which reads as an icon, not a person. He keeps real
     presence (58vw) and instead BLEEDS off the right edge - showing roughly
     three-quarters of the figure. Cropping a character at the frame edge is
     a normal editorial move; shrinking one to a sticker is not.
   - The bleed is what buys the clearance: at 4 stacked centred sub-lines the
     longest is "FORWARD." and every line leaves slack on the right, so the
     figure occupies that slack rather than crossing the letterforms as the
     desktop composition does. Same intent (he shares the headline's space),
     honest about a 375px column. */
@media (max-width: 599px) {
  .tpc-hero__figure {
    /* v3.3 - the --tpc-figure-h override that lived here is REMOVED. v3.2
       switched the figure to the Figma's own geometry and stopped reading that
       variable, so this block was silently doing nothing and the figure
       rendered 1332px tall at 606px wide. Sizing is now handled by the
       min(vh, vw) expression on the base rule, which needs no override. */
    filter: drop-shadow(0 16px 22px rgba(34,34,34,0.22));
  }
}

/* ─────────────────────────────────────────────────────────────────────
   2. PROOF - five hard-credential stats
   ───────────────────────────────────────────────────────────────────── */

.tpc-proof__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--primitive-space-6);
  text-align: center;
}
@media (max-width: 1024px) { .tpc-proof__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .tpc-proof__grid { grid-template-columns: repeat(2, 1fr); } }

.tpc-proof__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-inline: var(--primitive-space-2);
}
.tpc-proof__stat {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--primitive-asphalt);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.tpc-proof__stat--word { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: 0.02em; }
/* v2.0 - was an orange star glyph; at this size it's "large text" (bold,
   >=18.66px) which only needs 3:1, but orange still measures 2.31:1 on
   white and fails even that. No orange text anywhere on the light ground. */
.tpc-proof__star { color: var(--primitive-asphalt); font-size: 0.55em; }
.tpc-proof__label { font-size: 13.5px; color: var(--primitive-ink); max-width: 18ch; line-height: 1.4; }

/* ─────────────────────────────────────────────────────────────────────
   3. SERVICES - reuses .service-card-grid / .service-card as-is
   ───────────────────────────────────────────────────────────────────── */

.tpc-service__num {
  display: none; /* numbering carried instead by service-card component styling */
}

.tpc-services__foot {
  /* v7.07 - text links again, still centred. Back to inline flow rather than a
     flex row: with a middot between them they read as one line of running
     text, and flex would treat the separator as a third item with gaps either
     side of it. */
  margin-top: var(--primitive-space-6);
  display: block;
  text-align: center;
  font-size: 15px;
}
.tpc-services__foot .tpc-dot { margin-inline: 8px; }
/* ════════════════════════════════════════════════════════════════════
   v6.86 - HARD RULE: NO OUTLINED CTAs ON THIS SITE.
   Founder, on a screenshot of a bordered button: "make it a hard rule there
   is to be no cta's that look like this". Every call to action is FILLED.
   A button may vary in weight - orange, asphalt, or the soft tint below - but
   never a transparent or white box with a visible stroke around it.
   Two existed when the rule was made and both are fixed here:
     .btn--outline-asphalt  (added at v6.85, replaced by .btn--slate)
     .btn--ghost-on-orange  (pre-existing, on "I'm planning a larger project")
   .btn--ghost-on-asphalt is neutralised too even though nothing uses it right
   now, because leaving a working outline variant in the stylesheet is how the
   look comes back.
   NOTE: components.css in 00-Rollout-0 still DEFINES the ghost variants. These
   overrides only cover this page. Neutralising them at source is a shared-asset
   change and is flagged rather than made here.
   ════════════════════════════════════════════════════════════════════ */
/* v6.88 - these page-level overrides are GONE: the rule now lives at source in
   00-Rollout-0/hifi/components.css, where .btn--slate is defined and the three
   former outline variants (--outline, --ghost-on-asphalt, --ghost-on-orange)
   are neutralised to filled. Duplicating them here would give two places to
   keep in sync and one of them would eventually drift. */

/* ─────────────────────────────────────────────────────────────────────
   4. WHY - copy + at-a-glance panel
   ───────────────────────────────────────────────────────────────────── */

.tpc-why__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--primitive-space-8);
  align-items: start;
}
@media (max-width: 1024px) { .tpc-why__inner { grid-template-columns: 1fr; } }

.tpc-why__list {
  list-style: none;
  margin: var(--primitive-space-6) 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--primitive-space-5);
}
.tpc-why__point {
  display: flex;
  gap: var(--primitive-space-4);
  align-items: flex-start;
}
/* v2.0 - was a translucent-white chip + inverted-white icon for the dark
   band; light ground flips both to their panel-grey/asphalt equivalents
   (same treatment as .tpc-fork__icon elsewhere on this page).
   v10.51 - founder (creative director) 2026-09-10: "remove the white
   background and make the icon bigger". The chip is gone; the 44px box
   STAYS as a transparent centring box so the row rhythm, the baseline of
   the title beside it and the four-up stack are all pixel-unchanged. Only
   the fill and the icon size move. The radius goes with the fill - it had
   nothing left to round. */
.tpc-why__point-icon {
  flex-shrink: 0;
  /* v10.52 - 44px -> 68px. The box had been held at the old chip's size so
     the row rhythm would not move; with the icon going past 44 it has to
     grow or the glyph overflows its own centring box. */
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
}
/* 22px -> 40px -> 64px (founder asked for bigger again, 2026-09-10). The
   source SVGs are drawn at 48x48 with a 2.2 stroke, so the original 22px was
   downscaling them to under half size and thinning the line to ~1px. 64px is
   1.33x native, which the stroke carries cleanly because they are vectors.
   Compared 48 / 56 / 64 / 72 side by side on the live services band: 72
   starts to outweigh the 16.5px title under it, 64 is the largest that still
   reads as an icon heading a block of copy rather than as artwork. Held 4px
   inside the box so the glyph keeps a little air. */
.tpc-why__point-icon img { width: 64px; height: 64px; }
/* v10.51 - DARK-BAND EXCEPTION, and it is a legibility fix, not a style
   choice. Dropping the chip puts the icons straight onto the ground. That
   is right on the three service pages, whose band is #F1F1F1, but this
   section is the one instance on a DARK ground (.tpc-why paints its own red
   ramp) and the source SVGs are #231f20 line art - measured on the live
   page, they read as near-black smudges on red once the panel-grey chip
   behind them is gone.
   invert(1) lifts the near-black stroke to near-white so the icons match
   the white type in this band; hue-rotate(180deg) is what puts the orange
   accent back, because invert alone sends #ed7d29 to blue. `brightness(0)
   invert(1)` was tried first - simpler, but it flattens the accent dot to a
   white blob and swallows the tick inside it.
   Scoped to .tpc-why__inner (the home page's two-column why layout) rather
   than to the icon class, so the service pages' .tpc-why__list--four on
   light ground is untouched. A future dark band reusing these icons needs
   adding here by hand. */
.tpc-why__inner .tpc-why__point-icon img { filter: invert(1) hue-rotate(180deg); }
.tpc-why__point span:last-child { font-size: 15.5px; line-height: 1.6; color: var(--band-body-text); }
.tpc-why__point strong { color: var(--band-heading-text); display: block; margin-bottom: 2px; font-size: 16.5px; }

.tpc-why__actions {
  display: flex;
  align-items: center;
  gap: var(--primitive-space-5);
  flex-wrap: wrap;
}

/* v2.0 - was a barely-there white-on-white-alpha panel meant to read as
   "glass" against the dark band; on light ground that alpha trick
   disappears, so it becomes a proper white card (same shadow language as
   .tpc-fork__card / .tpc-testimonial-feature elsewhere on this page). */
.tpc-why__panel {
  background: var(--primitive-white);
  border: 1px solid rgba(34,34,34,0.08);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: var(--primitive-space-6);
}
.tpc-why__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--primitive-space-5);
  padding-bottom: var(--primitive-space-4);
  border-bottom: 1px solid var(--band-hairline);
}
.tpc-why__panel-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--band-muted);
}
.tpc-why__rating {
  font-weight: 800;
  font-size: 17px;
  color: var(--band-heading-text);
}
.tpc-why__rating [aria-hidden] { color: var(--primitive-asphalt); }

.tpc-why__facts {
  margin: 0 0 var(--primitive-space-5);
  display: flex;
  flex-direction: column;
  gap: var(--primitive-space-3);
}
.tpc-why__fact {
  display: flex;
  justify-content: space-between;
  gap: var(--primitive-space-4);
  padding-bottom: var(--primitive-space-3);
  border-bottom: 1px solid var(--band-hairline);
  font-size: 14.5px;
}
.tpc-why__fact:last-child { border-bottom: none; padding-bottom: 0; }
.tpc-why__fact dt { color: var(--band-muted); }
.tpc-why__fact dd { margin: 0; color: var(--band-heading-text); font-weight: 700; text-align: right; }

/* ─────────────────────────────────────────────────────────────────────
   5. HUB - three plain-English link cards
   ───────────────────────────────────────────────────────────────────── */

.tpc-hub-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--primitive-space-5);
}
@media (max-width: 1024px) { .tpc-hub-grid { grid-template-columns: 1fr; } }

.tpc-hub-item__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: var(--primitive-panel-grey);
  border-radius: var(--card-radius);
  padding: var(--primitive-space-5);
  transition: box-shadow var(--primitive-duration-fast) var(--primitive-easing-out),
              transform var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-hub-item__link:hover,
.tpc-hub-item__link:focus-visible { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }

.tpc-hub-item__kicker {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primitive-asphalt);
  border-bottom: 2px solid var(--primitive-orange);
  padding-bottom: 2px;
  margin-bottom: var(--primitive-space-3);
}
.tpc-hub-item__title { font-size: 19px; font-weight: 700; color: var(--primitive-asphalt); margin-bottom: var(--primitive-space-2); }
.tpc-hub-item__desc { font-size: 14.5px; line-height: 1.6; color: var(--primitive-ink); margin-bottom: var(--primitive-space-4); flex: 1; }
.tpc-hub-item__go { font-size: 14px; font-weight: 700; color: var(--primitive-asphalt); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.tpc-hub-item__link:hover .tpc-hub-item__go { text-decoration-color: var(--primitive-orange); }

.tpc-hub__foot { margin-top: var(--primitive-space-6); font-size: 15px; }

/* ─────────────────────────────────────────────────────────────────────
   6. TESTIMONIAL - single featured quote (the lo-fi carries exactly
   one review here, rotated server-side; not the 3-up grid used on
   Case Studies - see homepage.html build note)
   ───────────────────────────────────────────────────────────────────── */

/* v2.0 - added hairline border: white card on a white/atmosphere ground
   (was white-on-panel_grey in v1.0, which needed no edge definition). */
.tpc-testimonial-feature {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  background: var(--primitive-white);
  border: 1px solid rgba(34,34,34,0.07);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: var(--primitive-space-7) var(--primitive-space-6);
}
/* v2.0 - was orange text (star rating + "Google review" label); no
   orange text on the light ground, so this becomes an asphalt label
   with an orange underline rule doing the accent work instead. */
.tpc-testimonial-feature__flag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primitive-asphalt);
  text-decoration: underline;
  text-decoration-color: var(--primitive-orange);
  text-underline-offset: 4px;
  margin-bottom: var(--primitive-space-4);
}
.tpc-testimonial-feature__quote {
  margin: 0 0 var(--primitive-space-5);
  font-size: 24px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--primitive-asphalt);
}
.tpc-testimonial-feature__cite { margin: 0 0 var(--primitive-space-4); }
.tpc-testimonial-feature__name { display: block; font-weight: 700; font-size: 15px; color: var(--primitive-asphalt); }
.tpc-testimonial-feature__role { display: block; font-size: 13.5px; color: var(--primitive-ink); }
.tpc-testimonial-feature__aside { margin: 0; font-size: 14px; color: var(--primitive-ink); }
.tpc-testimonial-feature__aside a { color: var(--primitive-asphalt); font-weight: 700; text-decoration: underline; text-decoration-color: var(--primitive-orange); }

/* ─────────────────────────────────────────────────────────────────────
   7. CLOSE - orange conversion band, restates the fork
   ───────────────────────────────────────────────────────────────────── */

.tpc-close__head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--primitive-space-7);
}
.tpc-close__title { margin-bottom: var(--primitive-space-3); }
.tpc-close__lead { margin: 0; font-size: 18px; color: var(--band-body-text); }

.tpc-close__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--primitive-space-6);
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: var(--primitive-space-6);
}
@media (max-width: 768px) { .tpc-close__actions { grid-template-columns: 1fr; } }

.tpc-close__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--primitive-space-3);
}
.tpc-close__hint { font-size: 13.5px; color: var(--band-body-text); opacity: 0.85; }

.tpc-close__foot {
  text-align: center;
  font-size: 14.5px;
  color: var(--band-body-text);
  margin: 0;
}
.tpc-close__foot a { color: var(--band-heading-text); font-weight: 700; text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────────────
   8. OUTRO MARQUEE - light separator between the orange close and the
   asphalt footer. Pure-CSS transform loop per the lo-fi's own comment;
   no JS/GSAP dependency. Pauses under prefers-reduced-motion.
   ───────────────────────────────────────────────────────────────────── */

.tpc-outro-marquee {
  background: var(--primitive-panel-grey);
  padding-block: var(--primitive-space-6);
  overflow: hidden;
}
.tpc-outro-marquee__track {
  display: flex;
  width: max-content;
  animation: tpc-marquee 42s linear infinite;
}
.tpc-outro-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.tpc-outro-marquee__item {
  font-size: 14px;
  font-weight: 600;
  color: var(--primitive-ink);
  white-space: nowrap;
  padding-inline: var(--primitive-space-5);
  position: relative;
}
.tpc-outro-marquee__item:not(:last-child)::after {
  content: '•';
  position: absolute;
  right: -2px;
  color: var(--primitive-orange);
}

@keyframes tpc-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .tpc-outro-marquee__track { animation: none; overflow-x: auto; }
}

/* ─────────────────────────────────────────────────────────────────────
   RESPONSIVE - v2.4 was desktop-first with a minimal safety net; THEA-674
   (v2.5) is the real tablet/mobile pass. Most of the page's responsive
   rules live inline next to what they adjust (hero H1/crew/peek/blooms
   above, nav drawer up near PAGE CHROME) so each override sits beside the
   desktop rule it's changing. This block is what's left with no closer
   natural home.
   ───────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .tpc-why__panel { margin-top: var(--primitive-space-6); }
}

/* Proof stat grid: the 2-up mobile tier (<600px, set in components.css'
   sibling rule at .tpc-proof__grid) leaves an odd count (5 items) with the
   5th sitting alone on a 3rd row, left-aligned under just the left column.
   Centring it reads as deliberate; the 3-up tablet tier (600-1023px) has no
   such orphan (3+2 fills both rows evenly) so this is mobile-only. */
@media (max-width: 599px) {
  .tpc-proof__item:last-child { grid-column: 1 / -1; max-width: 220px; margin-inline: auto; }
}

/* THEA-674 - short-viewport card-peek rescue. Placed last deliberately: it
   overrides longhand margins (eyebrow/H1/intro) that several earlier rules
   in this file set via shorthand `margin:` (e.g. `.tpc-hero__eyebrow{margin:
   0 0 16px}`) - a longhand placed BEFORE a later same-specificity shorthand
   targeting the same box loses the cascade, which is exactly the bug a
   first draft of this rule had (verified via computed-style probe: the
   override was silently winning for .tpc-hero and .tpc-hero__render-note,
   whose own rules sit earlier in the file, but losing for .tpc-hero__intro/
   __eyebrow/__title, whose rules sit later). Putting it at the true end of
   the file, after every rule it touches, is the fix.
   Measured via headless probe (fork-card top vs innerHeight, not
   eyeballed): the min-height rule above already leaves an ~80px peek at
   390x844 and 768x1024, but at 375x667 - the shortest viewport this brief
   asks to test - the hero's own CONTENT (a 4-line H1 at this width, plus
   eyebrow/subhead/render-note) is ~646px tall on its own, already taller
   than that min-height floor, so the floor does nothing there and the fork
   landed 35-103px BELOW the fold with zero cue (measured before this rule).
   Content height, not the floor, is the limiting factor on short phones, so
   this trims the same fixed-spacing chain further rather than touching the
   H1 itself (priority 1, left alone). Scoped to short viewports specifically
   (max-height, not max-width) - a 390-wide/844-tall phone already has
   headroom and doesn't need this. */
@media (max-width: 1023px) and (max-height: 700px) {
  .tpc-hero { padding-block: 40px var(--primitive-space-3); }
  .tpc-hero__intro { margin-bottom: var(--primitive-space-4); }
  .tpc-hero__eyebrow { margin-bottom: var(--primitive-space-2); }
  .tpc-hero__title { margin-bottom: var(--primitive-space-3); }
  /* <p> UA-default margins (1em ≈ 18px at this font-size) were never
     overridden by this file's base rules, so H1's own margin-bottom above
     was quietly collapsing through .tpc-hero__headline-stage's un-bordered
     box and losing to the subhead's larger default margin-top anyway - zeroing both here is what actually makes the H1 reduction bite. */
  .tpc-hero__subhead { margin-block: 0; }
  /* v2.7 - the .tpc-hero__render-note trim that sat here is gone with the
     element. Net effect on this rescue: the hero's own content is now SHORTER
     than the ~646px measured above by the height of that pill plus its
     space-6 top margin, so the fork cards peek further above the fold than
     when this rule was written, not less. Nothing else needs re-tuning. */
}

/* ─────────────────────────────────────────────────────────────────────
   v5.3 - ONE CTA TYPE SPEC. Founder: "ensure the same font weight and size
   is applied to all cta text, nothing should be different from each other".
   Audited across the whole page, there were SIX different treatments:
     16px / 700 / 0.5px / uppercase   .btn--primary, --secondary, --outline
     17px / 700 / 0.5px / uppercase   .btn--lg (the closing band)
     14px / 800 / 0.6px / uppercase   .tpc-hero__nudge-cta
     15px / 700 / normal  / none      .services-panel__intro
     14px / 700 / normal  / none      .service-card__link, .tpc-hub-item__go
     14px / 600 / normal  / none      .tpc-fork__learn
   Two groups, one spec each, because a button and an inline text link are
   different components - forcing the underlined "Learn more" links into
   16px uppercase with letter-spacing would make them read as buttons and
   lose the distinction the page depends on.
     BUTTONS      16px / 700 / 0.5px / uppercase
     TEXT LINKS   14px / 700 / normal / none
   16/700 is chosen because three of the four button variants already used
   it, so it is the design system's value rather than a new one; only the
   17px .btn--lg outlier and the 14/800 pill move.
   All page-scoped: components.css is shared with every other template and is
   not edited here. ───────────────────────────────────────────────────── */
.tpc-home .btn,
.tpc-home .btn--lg,
.site-header .btn,
.tpc-hero__nudge-cta {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tpc-fork__learn,
.service-card__link,
.tpc-hub-item__go,
.services-panel__intro {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

/* ─────────────────────────────────────────────────────────────────────
   v5.5 - STICKY, COLLAPSING HEADER.
   The header was position:absolute, so it scrolled away with the hero. A
   header that "collapses as you scroll past the hero" has to still be on
   screen to collapse, so it becomes fixed. This retires the v2.0 "no header
   bar" principle (transparent, absolute, floating) - a deliberate founder
   change, not drift.
   Two states:
     default    over the orange hero: transparent, full nav, white logo
     collapsed  past the hero: solid asphalt bar, logo + hamburger only,
                colour logo
   Everything animates on opacity/transform/background only.
   ───────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  transition: background var(--primitive-duration-mid) var(--primitive-easing-out),
              box-shadow var(--primitive-duration-mid) var(--primitive-easing-out),
              padding var(--primitive-duration-mid) var(--primitive-easing-out);
}

/* v6.3 - NO BAR. Founder: "no header block just burger menu on the right hand
   side and logo on the left". The collapsed state keeps the header fully
   transparent - it is the logo and the burger sitting directly on the page,
   nothing behind them. The asphalt fill and drop shadow v5.5 added are gone.
   The logo does not move a pixel doing this: the nav and the CTAs are hidden
   with visibility, not display, so they keep their space in the flex row and
   the logo stays exactly where it was over the hero. Only their opacity and
   the logo's own crossfade change. */
.site-header.is-collapsed {
  background: transparent;
  box-shadow: none;
}
/* Belt and braces: the row is pinned to the height of its tallest item, so no
   future change to what is shown or hidden can move the logo again. */
.site-header__inner { min-height: 49px; }

/* The two marks stack, so the swap is a crossfade with no layout shift. */
.site-header__logo { position: relative; display: inline-flex; }
.site-header__logo-mark { display: block; transition: opacity var(--primitive-duration-mid) var(--primitive-easing-out); }
.site-header__logo-mark--colour { position: absolute; inset: 0; opacity: 0; }
.site-header.is-collapsed .site-header__logo-mark--white  { opacity: 0; }
.site-header.is-collapsed .site-header__logo-mark--colour { opacity: 1; }

/* Nav and CTAs fold away together. visibility (not display) so the collapse
   can be animated and so nothing in the tab order is reachable while hidden. */
.site-header__nav,
.site-header__ctas {
  transition: opacity var(--primitive-duration-mid) var(--primitive-easing-out),
              transform var(--primitive-duration-mid) var(--primitive-easing-out);
}
/* The delayed visibility switch lives ONLY on the hidden state. Putting it on
   the base rule delayed the change in BOTH directions, so opening the drawer
   left it display:flex at 508px tall but still visibility:hidden until the
   delay elapsed - it looked like the hamburger did nothing. Here the delay
   only holds visibility while the fade-OUT runs; showing is immediate. */
.site-header.is-collapsed .site-header__nav:not([data-open]),
.site-header.is-collapsed .site-header__ctas {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  /* v6.5 - THE LOGO JUMP. visibility:hidden keeps these in flow, which was the
     point - it stops the logo sliding sideways. But in flow they still RESPOND
     to layout: revealing the burger steals width from the nav, the nav wraps to
     two lines, and the row grows 43px -> 68px. The header went 81px -> 100px
     and, because the row is centre-aligned, the logo dropped by half of that -
     9.4px. That is the "jump", and it was never the artwork: both marks
     measure identically at 48x48 in the same place.
     Taking the hidden nav out of flow stops its wrapping from driving the row
     height. */
  transition: opacity var(--primitive-duration-mid) var(--primitive-easing-out),
              transform var(--primitive-duration-mid) var(--primitive-easing-out),
              visibility 0s linear var(--primitive-duration-mid);
}

/* v6.7 - THE REAL CAUSE, fixed at source. The nav was never wrapping: it is
   flex-wrap:nowrap already. Its LINKS were. `.site-header__nav` carries
   `flex: 1`, so revealing the burger made it shrink, and "Knowledge Hub" broke
   onto a second line - which is what grew the row 42.8px -> 68px and dropped
   the logo.
   Stopping the labels breaking is a smaller and better fix than taking the nav
   out of the flow, which is what v6.5 did: that worked, but it also let the
   CTAs slide left into the vacated space as they faded, a visible sideways
   jump during the collapse. With nothing wrapping, nothing needs to leave the
   flow, and nothing moves. Nav labels should never wrap anyway. */
.site-header__nav-link { white-space: nowrap; }

/* The hamburger is the collapsed state's only control, so it has to appear at
   every width - components.css otherwise reveals it below 1024px only. */
/* v6.7 - the burger is positioned, not inserted. Revealing it as a flex item
   added 44px plus a gap to the row, which shoved the CTAs 27.6px to the left
   as they were fading - a visible sideways slide during the collapse. Pinned
   to the right edge instead, it changes nothing about the row it sits in. */
.site-header__inner { position: relative; }
/* v10.43 - WAS position:absolute + top:50%, which put the burger on a
   DIFFERENT line from the one it sits on over the hero: in flow it centres in
   the header's 64px content box (top 46.4 at 1920x873), absolutely positioned
   it centred on the whole padded row (top 35.2) - an 11.2px jump the moment
   the header collapsed. That never showed before v10.39, because until then
   the burger did not exist on the hero at all, so only the collapsed position
   was ever seen. Making it permanent made the jump visible, and dragged the
   menu's close X with it (open() copies the burger's measured rect), which is
   what knocked the menu's buttons out of line with the X and the logo.
   It no longer needs to leave the flow: the nav that used to occupy this row
   is gone, and margin-left:auto on the base rule pins it to the same
   --header-gutter edge this rule was reaching for. One position, both states,
   nothing to keep in sync. */
.site-header.is-collapsed .site-header__menu-toggle {
  display: inline-flex;
}
/* Asphalt, not white: with the bar gone the burger sits on the white page
   content below the hero, where a white glyph would be invisible. */
.site-header.is-collapsed .site-header__menu-toggle span { color: var(--primitive-asphalt); }
.site-header.is-collapsed .site-header__menu-toggle { border-color: rgba(34,34,34,0.18); }

/* The drawer is scoped to <=1024px further down this file; when the header is
   collapsed it has to work at ANY width, so the same layout is repeated here
   keyed on .is-collapsed instead of on the breakpoint. */
.site-header.is-collapsed .site-header__nav[data-open] {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  background: var(--primitive-white);
  box-shadow: 0 16px 32px rgba(0,0,0,0.14);
  padding: var(--primitive-space-2) var(--primitive-space-5) var(--primitive-space-6);
  max-height: calc(100svh - 100%);
  overflow-y: auto;
}
.site-header.is-collapsed .site-header__nav[data-open] .site-header__nav-link {
  width: 100%;
  justify-content: space-between;
  padding-block: var(--primitive-space-3);
  border-bottom: 1px solid rgba(34,34,34,0.08);
  color: var(--primitive-asphalt);
}
.site-header.is-collapsed .site-header__nav[data-open] .site-header__nav-ctas { display: flex; flex-direction: column; gap: var(--primitive-space-3); margin-top: var(--primitive-space-4); }

/* v5.5 - HOVER ON THE ORANGE GROUND. The inherited hover tinted nav links
   TPC orange, which on an orange hero is invisible. Over the hero the link is
   already white, so hover is expressed as an underline rather than a colour
   change; collapsed on asphalt the same treatment still reads. */
.site-header__nav-link { transition: color var(--primitive-duration-fast) var(--primitive-easing-out); }
.site-header__nav-link:hover,
.site-header__nav-link:focus-visible {
  color: var(--primitive-white);
  text-decoration: underline;
  text-decoration-color: var(--primitive-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.site-header.is-collapsed .site-header__nav-link { color: var(--primitive-white); }

/* v5.5 - HEADER BUTTON FILLS. The primary CTA was TPC orange on a now-orange
   hero, so it had no edge at all. Asphalt and white are the two fills that
   separate from the ground AND from each other, and both invert on hover so
   the pair stays legible in either state.
   Contrast: white on asphalt 15.9:1, asphalt on white 15.9:1. */
.site-header .btn--primary {
  background: var(--primitive-asphalt);
  border-color: var(--primitive-asphalt);
  color: var(--primitive-white);
}
.site-header .btn--primary:hover,
.site-header .btn--primary:focus-visible {
  background: var(--primitive-white);
  border-color: var(--primitive-white);
  color: var(--primitive-asphalt);
}
.site-header .btn--secondary:hover,
.site-header .btn--secondary:focus-visible {
  background: var(--primitive-asphalt);
  border-color: var(--primitive-white);
  color: var(--primitive-white);
}

/* v5.5 - founder: the two header CTAs match the NAV size, 15px, not the 16px
   the rest of the page's buttons share. A deliberate exception to the v5.3
   "one CTA spec" rule, scoped to the header only so the page CTAs stay
   uniform with each other. */
.site-header .btn {
  font-size: 15px;
  padding-block: 10px;
  min-height: 40px;
}

/* ─────────────────────────────────────────────────────────────────────
   v5.6 - THE STICKY ACTION DOCK
   Fixed to the bottom of the viewport, three panels, always reachable.
   The measurements are driven by two custom properties so the rest height
   and the hover teaser can be retuned in one place each.
   ───────────────────────────────────────────────────────────────────── */
.tpc-dock {
  --dock-rest: 76px;      /* header only */
  --dock-peek: 58px;      /* extra revealed on hover - a teaser, not the body */
  /* v6.18 - how long the ARRIVING layout waits for the leaving one to clear.
     Declared once here so the fold reads the same in both directions: the
     value lands on whichever of the two layouts is coming in, because each
     state rule zeroes the delay on the one going out.
     v6.19 - cut 90ms -> 35ms. At 90ms of a 220ms move the arriving tab did not
     begin until the outgoing row was 40% gone, which is long enough to read as
     a stall rather than a hand-off. 35ms still stops the two crossing at half
     opacity, but the tab is now visibly on its way almost immediately. */
  --dock-fold-delay: 35ms;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;            /* under the header (100), over all page content */
  pointer-events: none;   /* the bar itself is not a hit target, the panels are */
}
/* The panels are laid out full height and pushed down, so the dock's box is as
   tall as the tallest card. align-items:end lands every panel's BOTTOM on the
   viewport bottom, which is what makes one translate rule work for all three
   despite their different lengths. The empty area above is click-through via
   the pointer-events:none above. */
.tpc-dock__inner {
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 var(--primitive-space-5);
  display: grid;
  /* v5.8 - three EQUAL columns. Was 1fr 1fr 0.8fr, which made the urgent tab
     visibly narrower than the other two. */
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: var(--primitive-space-4);
}

/* v6.17 - THE COLLAPSED DOCK. Past the hero the three tabs fold into one
   "Pick your path." tab; clicking it puts the three back. Only one of the two
   layouts is ever in the flow, so nothing overlaps and the fold costs no
   measurement. The fill comes from .tpc-fork__card--primary on the button
   itself, so this is the SAME gradient as "I need a plan" by reference, not a
   copy of #F7CE38/#FC210D that could drift from it later. */
/* v6.18 - ANIMATED, so NOT display:none. A display swap cannot transition:
   the box is either laid out or it is not, and the browser has no two states
   to interpolate between. Both layouts therefore stay rendered and the fold is
   a transform plus an opacity, which are the two properties a compositor can
   run without touching layout.

   The two layouts are stacked rather than sequential: .tpc-dock__single is
   absolutely positioned against the fixed dock so it occupies the same bottom
   edge as the tab row, and they trade places there instead of one pushing the
   other around.

   The move is a HAND-OFF, not a crossfade. Whichever layout is leaving goes
   first, and the one arriving is held back by --dock-fold-delay. Run
   simultaneously they cross through each other at half opacity and read as a
   smear; sequenced, it reads as one control changing shape. */
.tpc-dock__single {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 var(--primitive-space-5);

  /* Parked just below its own resting height, so it rises into place rather
     than fading in on the spot. The +32px clears the upward shadow, which
     would otherwise still be visible after the tab itself had gone. */
  transform: translateY(calc(var(--dock-rest) + 32px));
  opacity: 0;
  pointer-events: none;
  /* -fast (220ms), NOT -mid (600ms). -mid is the panel slide, where a
     full-height card travels most of the viewport and needs the time. This is
     a 108px tab swap, and at 600ms it reads as the interface lagging behind
     the click. 220ms plus the 90ms hand-off is 310ms end to end, which is
     inside the window where a response still feels immediate. */
  transition: transform var(--primitive-duration-fast) var(--primitive-easing-out),
              opacity   var(--primitive-duration-fast) var(--primitive-easing-out);
  transition-delay: 0ms;
}
.tpc-dock__inner {
  transition: transform var(--primitive-duration-fast) var(--primitive-easing-out),
              opacity   var(--primitive-duration-fast) var(--primitive-easing-out);
  transition-delay: var(--dock-fold-delay, 0ms);

  /* v8.9 - CLIP THE PARKED PANELS. A closed panel is laid out at FULL height
     and pushed down by translateY(100% - var(--dock-rest)), so only its 76px
     tab shows. That hiding was doing no work of its own: the rest of the card
     was simply below the viewport floor. It held while the dock sat on the
     floor, and it held at the footer too because the dock was collapsed there
     and data-collapsed took the whole row to opacity 0. v8.5 kept the three
     standing, which removed that cover, so at the footer, where the dock is
     lifted to rest on top of it, all three parked cards painted over the
     footer at full size.

     Clipping here is exact rather than approximate: the inner's own bottom
     edge already sits at the tab line, so overflow: hidden trims precisely the
     parked overflow. Open panels are bottom-aligned to that same edge and grow
     upward, so none of them is ever clipped. The padding/margin pair is a
     no-op on layout and only buys the clip box 44px of headroom above the
     tallest card, so the upward "sheet rising" shadow is not shaved off. */
  overflow: hidden;
  padding-top: 44px;
  margin-top: -44px;
}

/* COLLAPSED: the three drop away first, the single tab rises after them. */
.tpc-dock[data-collapsed] .tpc-dock__inner {
  transform: translateY(calc(var(--dock-rest) + 32px));
  opacity: 0;
  pointer-events: none;
  transition-delay: 0ms;
}
.tpc-dock[data-collapsed] .tpc-dock__single {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  transition-delay: var(--dock-fold-delay);
}

/* v6.19 - THE STANDING LEDE. Sits directly on top of the tab row in the hero
   viewport and leaves as soon as the single tab takes over, so the two are
   never on screen together. Keyed to data-past-hero rather than
   data-collapsed: expanding the three past the hero must NOT bring it back,
   because it belongs to the hero composition, not to the tab row. */
.tpc-dock__lede {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(var(--dock-rest) + 18px);
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 var(--primitive-space-5);
  /* v6.20 - no box, one row, centred, full caps. Founder's call.
     nowrap because it is specified as a single row: at the small caps size it
     clears 1024px comfortably, and the row is dropped below that breakpoint
     rather than allowed to wrap into two.
     The shadow is the only thing left holding it off the background now that
     the ground has gone. See the note below on where that runs out. */
  text-align: center;
  white-space: nowrap;
  color: var(--primitive-white);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(11px, 0.8vw, 14px);
  letter-spacing: 0.09em;
  line-height: 1;
  text-shadow: 0 1px 10px rgba(34,34,34,0.38);
  transition: opacity var(--primitive-duration-fast) var(--primitive-easing-out),
              transform var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-dock[data-past-hero] .tpc-dock__lede {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* v6.19 - CLOSE, shown only while the three are open by choice. It sits where
   the lede sits, because that strip above the tabs is already the dock's
   "chrome" line and the visitor's eye has been there once already. */
.tpc-dock__close-wrap {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(var(--dock-rest) + 14px);
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 var(--primitive-space-5);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--primitive-duration-fast) var(--primitive-easing-out),
              transform var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-dock[data-user-expanded] .tpc-dock__close-wrap {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: var(--dock-fold-delay);
}
.tpc-dock__close {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primitive-asphalt);
  background: var(--primitive-white);
  box-shadow: 0 4px 18px rgba(34,34,34,0.26);
  transition: background var(--primitive-duration-fast) var(--primitive-easing-out),
              color var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-dock__close:hover { background: var(--primitive-asphalt); color: var(--primitive-white); }
.tpc-dock__close:focus-visible { outline: 3px solid var(--primitive-white); outline-offset: 3px; }

.tpc-dock__pick {
  /* The dock itself is pointer-events:none so its empty upper area stays
     click-through; every real target has to switch them back on. */
  pointer-events: auto;
  /* v6.22 - width reverted to full-row at the founder's direction, after a
     brief pass at max-content. */
  width: 100%;
  min-height: var(--dock-rest);
  display: flex;
  align-items: center;
  gap: var(--primitive-space-3);
  padding: 0 var(--primitive-space-5);
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: var(--primitive-white);
  /* Same sheet geometry as a panel tab: rounded top corners and a shadow
     thrown upward, so the fold reads as the same object changing shape rather
     than a different component appearing. */
  border-radius: var(--fork-radius, 30px) var(--fork-radius, 30px) 0 0;
  box-shadow: 0 -5px 32px rgba(34,34,34,0.24);
}
.tpc-dock__pick:focus-visible {
  outline: 3px solid var(--primitive-white);
  outline-offset: -3px;
}

.tpc-dock__panel {
  /* v5.6a - the white type stack, repeated here. The fills come from
     .tpc-fork__card--primary / --secondary, but the --fork-* variables that
     drive TYPE were declared on .tpc-fork__card, which the dock panels do not
     carry - so the open card was rendering asphalt headings and ink body copy
     instead of white. Founder: "ensure the text colour etc stays the same".
     Declared on the panel rather than by adding .tpc-fork__card to the markup,
     because that class also brings padding, radius, shadow and flex rules the
     dock sets differently. */
  --fork-heading: var(--primitive-white);
  --fork-body: var(--primitive-white);
  --fork-chip-bg: var(--primitive-white);
  --fork-chip-ink: var(--primitive-asphalt);
  --fork-badge-bg: var(--primitive-white);
  --fork-badge-ink: var(--primitive-asphalt);
  --fork-learn: var(--primitive-white);

  pointer-events: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--fork-radius, 30px) var(--fork-radius, 30px) 0 0;
  box-shadow: 0 -8px 32px rgba(34,34,34,0.22);
  overflow: hidden;
  /* v5.7 - SLID, NOT GROWN. Matched to the mechanism on kxpilates.com/au: the
     panel is laid out at its FULL height and pushed down out of the viewport
     by everything except its tab, then slid back up on a transform.
     translateY's percentage resolves against the element's own height, so
     `100% - var(--dock-rest)` leaves exactly the tab showing whatever the
     card's length - no JS measurement, and no shared max-height that would
     make the three cards ease at different rates because their bodies differ.
     A transform is also composited, where animating height is not.
     KX uses 0.3s cubic-bezier(0,0,0.2,1); this file's --easing-out/--duration
     tokens are the same shape, so the system's own values are used. */
  transform: translateY(calc(100% - var(--dock-rest)));
  transition: transform var(--primitive-duration-mid) var(--primitive-easing-out),
              box-shadow var(--primitive-duration-mid) var(--primitive-easing-out);
  /* KX's sheet: rounded top corners and a shadow thrown UPWARD, which is what
     makes it read as a sheet rising rather than a block appearing. */
  box-shadow: 0 -5px 32px rgba(34,34,34,0.24);
}
/* The urgent panel reuses the red ramp the bar had. */
.tpc-dock__panel--urgent {
  background: linear-gradient(150deg, #C1000F 0%, #5E000C 100%);
  --fork-heading: var(--primitive-white);
  --fork-body: var(--primitive-white);
  --fork-chip-bg: var(--primitive-white);
  --fork-chip-ink: var(--primitive-asphalt);
  --fork-badge-bg: var(--primitive-white);
  --fork-badge-ink: var(--primitive-asphalt);
  --fork-learn: var(--primitive-white);
}

/* HOVER = A LIFT, NOT A PEEK AT THE COPY. Founder: tabs only, "no body copy
   until you reveal the card itself". So hover does not grow the panel into
   its body - it raises the tab and deepens the shadow, which reads as
   "this opens" without leaking any of the card.
   Gated behind a real pointer: on touch, hover fires on first tap and the
   lift would be indistinguishable from a committed open. */
@media (hover: hover) and (pointer: fine) {
  .tpc-dock__panel:not([data-open]):hover {
    transform: translateY(calc(100% - var(--dock-rest) - 10px));
    box-shadow: 0 -14px 40px rgba(34,34,34,0.32);
  }
}
/* Keyboard parity with the hover lift. */
.tpc-dock__panel:not([data-open]):focus-within {
  transform: translateY(calc(100% - var(--dock-rest) - 10px));
  box-shadow: 0 -14px 40px rgba(34,34,34,0.32);
}

/* OPEN: the panel simply returns to its own position. */
.tpc-dock__panel[data-open] { transform: translateY(0); }
/* pointer-events:none on the open header does NOT remove it from the tab
   order, so Enter/Space still closes the card from the keyboard; this keeps
   the focus visible on the control that does it. */
.tpc-dock__head:focus-visible { outline: 3px solid var(--primitive-white); outline-offset: -3px; }
.tpc-dock__panel[data-open] .tpc-dock__head:focus-visible { outline: none; }
.tpc-dock__panel[data-open] .tpc-dock__head:focus-visible .tpc-dock__toggle {
  outline: 3px solid var(--primitive-white);
  outline-offset: 2px;
}

.tpc-dock__heading { margin: 0; }
.tpc-dock__head {
  width: 100%;
  min-height: var(--dock-rest);
  display: flex;
  align-items: center;
  gap: var(--primitive-space-3);
  padding: 0 var(--primitive-space-5);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--fork-heading);
  font-family: var(--primitive-font-family);
}

/* AT REST the header is a TAB: the label only. The badge belongs to the card,
   not to the tab, so it is not rendered until the card is revealed. */
/* The badge belongs to the card, not the tab. */
.tpc-dock__panel:not([data-open]) .tpc-fork__badge { display: none; }
/* The spacer only ever reserves height - it is never seen in either state. */
.tpc-dock__badge-spacer { visibility: hidden; }

.tpc-dock__title {
  flex: 1 1 auto;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  /* v5.8a - sized so the LONGEST label ("I'm planning a larger project") fits
     one line in a third of the dock. At the previous 19px it truncated to
     "...LARGER PROJ...", and a tab whose label cannot be read is worse than
     an uneven one. The ellipsis stays as a backstop for very narrow columns,
     but at every width down to the 1024px breakpoint nothing is clipped. */
  font-size: clamp(12px, 0.86vw, 15px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: font-size var(--primitive-duration-mid) var(--primitive-easing-out);
}

/* OPEN restores the card EXACTLY as it was before the dock existed: badge on
   top, then the oversized heading, then the body. The tab label and the card
   heading are the SAME element rather than two - duplicating the words would
   mean the open card showed its title twice, and it keeps the growth as one
   continuous move instead of a swap. */
.tpc-dock__panel[data-open] .tpc-dock__head {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: var(--primitive-space-6) var(--primitive-space-5) var(--primitive-space-3);
  /* v5.8 - the OPEN header is no longer a hit target. Previously the whole
     header stayed clickable while looking inert (cursor:default), so the only
     way to close was to click a heading that gave no sign it would do
     anything - and clicking near the copy could dismiss the card by accident.
     Hit-testing is handed to the labelled control below instead; the click
     still bubbles to this button, so there is still ONE toggle and one
     aria-expanded rather than two competing controls. */
  pointer-events: none;
}
.tpc-dock__panel[data-open] .tpc-dock__title {
  white-space: normal;   /* the open heading is allowed to wrap */
  /* v7.08 - 52px -> 46px so the open heading falls on THREE lines, not four.
     Measured with a canvas at the live font: "I'M PLANNING" runs 389px in a
     363px column at 52px, so it cannot join the first line. 363/389 puts the
     ceiling at 48.5px; 46px takes it with margin, and the other two lines
     ("A LARGER" 281px, "PROJECT" 254px) were never close to wrapping. */
  font-size: clamp(30px, 2.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.tpc-dock__panel[data-open] .tpc-fork__badge { margin-bottom: var(--primitive-space-4); }

/* v5.8 - THE MINIMISE CONTROL. Founder: a minimise affordance in the same
   place as the arrow you clicked to expand.
   Closed it is just the chevron, sitting at the end of the tab row. Open it
   becomes a labelled pill in that same top-right corner, reading "Minimise"
   next to a down chevron - so the way out is stated in words rather than left
   to a user to infer from an icon. It is the only thing in the open header
   that accepts a click. */
.tpc-dock__toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}
.tpc-dock__toggle-text {
  /* Hidden at rest: the whole tab is the expand target there, so a label
     would be describing something the user cannot mis-hit. */
  display: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
/* v5.9 - THE MINIMISE STRIP SITS AT THE FOOT OF THE CARD, not its head.
   The tab that opens this panel is at the BOTTOM of the viewport, and the
   card slides up from there - so at the moment it opens the cursor is already
   at the card's foot, right under the CTA. v5.8 put the control top-right,
   which made every close a trip up the card and back. Founder: "the whole
   point was to stop users having to move their mouse for no reason".
   A full-width strip rather than a pill: it is the last thing in the card, it
   needs no aiming, and at the bottom edge of the viewport it is effectively an
   infinitely tall target under Fitts's law - the cursor cannot overshoot past
   the screen edge. */
.tpc-dock__panel[data-open] .tpc-dock__toggle {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  justify-content: center;
  padding: 15px var(--primitive-space-5);
  background: color-mix(in srgb, var(--primitive-asphalt) 22%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--primitive-white) 28%, transparent);
  pointer-events: auto;    /* the one live target in the open panel */
  cursor: pointer;
  transition: background var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-dock__panel[data-open] .tpc-dock__toggle:hover {
  background: color-mix(in srgb, var(--primitive-asphalt) 38%, transparent);
}
/* The strip is absolutely positioned, so the body has to reserve its height
   or the learn link would sit underneath it. */
.tpc-dock__panel[data-open] .tpc-dock__body { padding-bottom: 68px; }
.tpc-dock__panel[data-open] .tpc-dock__toggle-text { display: inline; }

/* Chevron drawn in CSS - it is a state indicator, not content. */
.tpc-dock__chev {
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-135deg);      /* points up: "this opens" */
  transition: transform var(--primitive-duration-mid) var(--primitive-easing-out);
}
.tpc-dock__panel[data-open] .tpc-dock__chev { transform: rotate(45deg); }   /* points down: this dismisses */

.tpc-dock__body { padding: 0 var(--primitive-space-5) var(--primitive-space-5); }
.tpc-dock__body-inner > :last-child { margin-bottom: 0; }
.tpc-dock__body .tpc-fork__actions { margin-top: var(--primitive-space-4); }

/* The page has to end above the resting dock or the footer sits under it
   permanently. */
body.home { padding-bottom: calc(var(--dock-rest, 76px) + var(--primitive-space-4)); }

@media (prefers-reduced-motion: reduce) {
  .tpc-dock__panel, .tpc-dock__chev, .tpc-dock__title { transition: none; }
}

/* Below the fork's old breakpoint the three panels cannot hold a row of
   readable titles, so they become three equal tabs and the open one takes the
   full width of the dock. */
@media (max-width: 1024px) {
  .tpc-dock { --dock-rest: 64px; }
  .tpc-dock__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 0;
  }
  .tpc-dock__panel { border-radius: 18px 18px 0 0; }
  .tpc-dock__head { padding: 0 var(--primitive-space-3); gap: var(--primitive-space-2); }
  .tpc-dock__title { font-size: 12px; letter-spacing: 0; }

  .tpc-dock__panel .tpc-fork__badge { display: none; }   /* no room beside the title */
  .tpc-dock__chev { width: 9px; height: 9px; }
  .tpc-dock__panel[data-open] {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    border-radius: 18px 18px 0 0;
  }
}

/* v12.4 - THE TABS READ AS CARDS AGAIN ON TABLET (700-1024px).
   Desktop sets the three tabs in a 1312px container with 24px side padding and
   a 16px gap, so they read as three separate cards. Phones tighten that to an
   8px inset and a 6px gap, which is right when the whole bar is 393px wide.
   The 1024px block above was handing tablets the phone treatment and then some
   - gap 2px, padding 0 - so on an iPad the three tabs ran edge to edge as one
   welded strip with hairline splits, which is neither layout.
   16px inset and a 10px gap sits between the two, nearer desktop, and the
   panels keep their 18px top radius so the card shape is legible. Measured at
   768 this leaves the title box at 193px, which the two-line wrap above
   absorbs. */
@media (min-width: 700px) and (max-width: 1024px) {
  .tpc-dock__inner {
    gap: 10px;
    padding: 0 var(--primitive-space-4);
  }

  /* v12.4 - THE LABEL WRAPS INSTEAD OF TRUNCATING.
     The base .tpc-dock__title carries white-space:nowrap + text-overflow:
     ellipsis, and its own comment admits the limit: "at every width down to
     the 1024px breakpoint nothing is clipped". Below it, things are clipped.
     Measured at 768: "I'm planning a larger project" needs 221px of the 209px
     title box, so it rendered "I'M PLANNING A LARGER PROJ...". A tab whose
     label cannot be read is the thing that comment was written to prevent,
     one breakpoint lower.
     Phones already solved this twice over - short labels via [data-short] and
     a three-line wrap - but neither reaches here, because both live in the
     <=699px block. Tablets have the width for the real words, just not on one
     line, so the honest fix is the second line rather than a smaller type size
     (12px is already the floor of the clamp) or a phone-style abbreviation
     (there is room for the full sentence).
     Two lines cost nothing: 2 x 12px at line-height 1.15 is 27.6px inside a
     64px --dock-rest, so the tab height does not move. At 1024 the box is
     294px and the label still sets on one line, so the wrap only happens
     where it is actually needed. */
  /* SCOPED FROM 700px, NOT INSIDE THE <=1024px BLOCK. The first cut put this
     in the shared 1024 block, which also covers phones - and on a phone the
     closed tabs run on [data-short], where .tpc-dock__title is set to
     font-size: 0 and the visible label is a ::before. Handing that element
     `display: -webkit-box` with a two-line clamp puts the pseudo inside a
     clamped box, which is no way to treat a layout the founder has already
     signed off. Tablets only. */
  .tpc-dock__title {
    white-space: normal;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

/* v6.0 - ONE CTA TREATMENT INSIDE THE DOCK. Measured, the three cards were
   rendering three different buttons:
     Request a plan          orange fill, ASPHALT label, centred
     Start a project enquiry TRANSPARENT fill, asphalt label and border
     Send an urgent request  orange fill, white label, LEFT-ALIGNED
   Cause is the same class-scoping trap that hit the type colours: the styling
   lived on `.tpc-fork__card .btn--*`, and the dock panels carry only the fill
   MODIFIERS (--primary / --secondary), never `.tpc-fork__card` itself, so none
   of it applied. Re-scoped to .tpc-dock__panel so it actually binds.
   Orange fill, white label, centred - matching the rest of the site's CTAs,
   including the same inverted hover. */
.tpc-dock__panel .btn--primary,
.tpc-dock__panel .btn--outline,
.tpc-dock__panel .tpc-hero__nudge-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  background: var(--primitive-orange);
  border: 2px solid var(--primitive-orange);
  color: var(--primitive-white);
}
.tpc-dock__panel .btn--primary:hover,
.tpc-dock__panel .btn--outline:hover,
.tpc-dock__panel .tpc-hero__nudge-cta:hover {
  background: var(--primitive-white);
  border-color: var(--primitive-white);
  color: var(--primitive-asphalt);
}

/* v6.1 - THE TRUST STRIP ON THE ORANGE. It moved inside the hero, so its
   light-ground colours no longer hold. Measured against the ramp it now sits
   on (#F4941D into #E8611C): white is 2.31:1 at the top and 3.41:1 at the
   foot, failing AA either way; asphalt is 6.89:1 and 4.66:1, passing both.
   So the strip takes ASPHALT rather than the white the headline above it
   uses - the ramp is simply too light to carry white at this text size, and
   this is the same rule the brand tokens already state for orange bands.
   The labels lift from ink to asphalt for the same reason: ink measures
   4.42:1 on TPC Orange, just under the 4.5 threshold. */
/* v6.2 - WHITE, at the founder's direction, replacing the asphalt v6.1 chose
   on contrast grounds. Recorded once so nobody "corrects" it later: measured
   against the ramp under the strip, white runs about 3.0-3.4:1. The stats are
   large bold text, so they sit on the 3:1 large-text threshold; the small
   labels beneath them do not meet the 4.5:1 body requirement. This is a
   founder decision taken with the numbers in hand, consistent with the same
   call already made on the dock tiles. Reverting to asphalt is the one-line
   fix if it is ever wanted (6.89:1 top, 4.66:1 foot). */
.tpc-hero .tpc-proof__stat { color: var(--primitive-white); }
.tpc-hero .tpc-proof__label { color: var(--primitive-white); opacity: 0.9; }
.tpc-hero .tpc-proof__star { color: var(--primitive-white); }
/* The strip is the hero's last element, so it carries the section's bottom
   spacing rather than sitting hard against the edge. */
.tpc-hero .tpc-proof { padding-block: var(--primitive-space-7) var(--primitive-space-8); }

/* ─────────────────────────────────────────────────────────────────────
   v6.6 - STATEMENT SECTION. Full-height white gradient, one line of big type
   revealed word by word on scroll, over a transparent character video.
   ───────────────────────────────────────────────────────────────────── */
.tpc-statement {
  position: relative;
  /* v6.7 - height, not min-height, and no overflow clip. The section is
     PINNED by ScrollTrigger, which wraps it in a pin-spacer and holds it at a
     fixed height; a min-height that could grow, or a clip on the pinned
     element itself, both fight that and produce a jumping pin. The clip moves
     to the media layer, which is the only thing that could overflow. */
  height: 100svh;
  /* v6.13 - the panels now live on a horizontal track, so the section is the
     viewport-sized WINDOW onto that track and has to clip it. The v6.7 warning
     above is about HEIGHT: a min-height that can grow fights the pin. A clip on
     a fixed-height pinned element does not, and is the standard way to build a
     horizontal scroll. Without it, panel two and the off-stage character would
     both be visible to the right and would widen the page. */
  overflow: clip;
  /* The same white ground the rest of the page uses, with the faintest warm
     lift through the middle so the section is not a flat slab between the
     orange hero above and the white sections below. */
  background: linear-gradient(180deg,
    var(--primitive-white) 0%,
    color-mix(in srgb, var(--primitive-orange) 5%, var(--primitive-white)) 50%,
    var(--primitive-white) 100%);
}

/* The horizontal track. max-content sizes it to the sum of its panels, so
   adding a panel in the markup needs no CSS and no JS change. */
.tpc-statement__track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
}

/* v6.40 - the alignment transform is now written INLINE by syncPanelAxis(),
   per panel, because each later panel has a different amount of content above
   its heading: panel two carries a video, panel three carries body copy below.
   One shared offset could only ever be right for one of them. The rule that
   used to live here applied --statement-tail-drop to every later panel
   uniformly, which was correct only while they had identical structure. */

/* v6.40 - highlighted words inside a statement line. The token, not the
   literal #F4941D, so it tracks the brand alongside the "Three ways" lead. */
.tpc-statement__hl { color: var(--primitive-orange); }

/* The controller clip above panel two's line. Sized by HEIGHT with the video
   contained, so the frame's own aspect never dictates the layout and the
   heading below simply moves down by whatever this occupies. */
.tpc-statement__panel-media {
  /* v6.42 - bigger, and the WIDTH had to grow with it. The video is
     object-fit:contain, so whichever axis is tighter decides his size. This
     box is wider than 16:9, which means HEIGHT is the constraint and the width
     just has to stay clear of it: at 46vw/560px a taller box would have
     flipped the constraint to the width and he would have stopped growing.
     800px against a 367px height keeps the box at 2.2:1, comfortably wider
     than the clip's 1.78:1, so height remains the single dial for his size. */
  /* v6.48 - bigger again. The clips are native 1920x1080 and were rendering
     into only 652 CSS px, so on a 1x display the whole scene got 652 device
     pixels: four figures and three vehicles sharing them, which reads as low
     resolution even though the file is not. The encode holds 88% of the
     source's edge detail; it simply had nowhere to show it.
     Width still leads height by more than 16:9 (950/454 = 2.09 against the
     clip's 1.78) so HEIGHT stays the single dial, as before. */
  /* v6.49 - the box is now EXACTLY the clip's 16:9 so there is no letterbox.
     That matters because mask percentages resolve against the ELEMENT box, not
     against the contained picture: at 950x454 the picture sat 71px in from each
     side, so a mask stop written as "92%" would have landed 71px off target and
     drifted further at every viewport. Height is still the single dial; the
     second term caps it so the derived width can never exceed 74vw, which is
     what used to make the box letterbox at extreme aspects. */
  /* v6.71 - the base size, and a per-clip scale on top of it. Splitting them
     means an individual clip can be nudged without copying the whole min/clamp
     expression, which would then have to be kept in sync by hand every time
     the shared size moves. */
  --panel-media-scale: 1;
  --panel-media-h: calc(min(clamp(280px, 52vh, 600px), 41.6vw) * var(--panel-media-scale));
  height: var(--panel-media-h);
  width: calc(var(--panel-media-h) * 16 / 9);
  margin: 0 auto clamp(6px, 1.2vh, 18px);
  pointer-events: none;
}

/* v6.49 - RIGHT-EDGE FADE, crew clip only.
   The crew master is full-bleed: its content runs off the frame, so the ute
   tray and the rear cone are sliced by the render itself and no amount of
   sizing recovers them. Measured alpha at each edge: left peaks at 0.37 and
   top at 0.04 (shadow only, nothing cut), bottom at 0.30 and already fading,
   but the right column is 0.94 mean, a clean hard slice. So only that one
   edge is treated. A white gradient would have been wrong here: the panel
   sits on cream, not white, so an overlay would read as a pale bar. Fading
   the clip's own alpha instead lets the slice dissolve into the section
   background whatever that background is.
   92% is measured, not chosen: the rightmost crew member reaches ~90.3%
   across the frame, so the ramp starts clear of him and only ever touches
   vehicle. The controller clip gets no mask - it sits at x414..1364 of 1920
   and touches no edge at all. */
/* v6.50 - matched on the left at 8%, mirroring the right's 92% so both ramps
   are the same 8% width and the frame reads as evenly vignetted rather than
   treated on one side only. Ruled the left band to place the stop: the
   trailer's rounded nose begins at ~4.7% across and the SLOW sign the left
   worker holds not until ~17%, so an 8% ramp crosses trailer only and stops a
   long way clear of any crew. Worth knowing for later - unlike the right edge
   the left is NOT sliced (peak alpha 0.37, shadow only), so this stop is
   cosmetic symmetry rather than a repair, and it can be pulled back toward 4%
   or dropped without losing anything real. */
/* v6.71 - the crew clip alone runs slightly smaller, at the founder's
   direction. It is the widest composition of the three (four figures and three
   vehicles against one subject in the others), so at a shared size it read as
   the biggest thing in the section. */
.tpc-statement__panel-media--fade-right { --panel-media-scale: 0.91; }

/* v6.96 - the construction-program clip gets its own edge fade, at the founder's
   direction, to kill the hard rectangular boundary the way the crew clip's does.
   Two ramps, not one: the crew clip only needed left and right, but this frame
   is cut at the BOTTOM as well, where the contact shadow meets the edge of the
   video and left a visible horizontal line. Two mask layers intersected, so the
   horizontal and vertical fades multiply rather than one overriding the other.
   Percentages resolve against the element box, which for this panel is exactly
   the picture (the media box is a true 16:9), so the stops land where intended. */
/* v6.97 - founder: a tiny bit smaller. Uses the same per-clip scale dial the
   crew clip has, so the shared size expression stays in one place. */
.tpc-statement__panel-media--fade-soft { --panel-media-scale: 0.93; }

/* v12.60 - the BOTTOM ramp was 86%, sized to hide the old program-loop's contact
   shadow where it met the cut edge of the video. That clip is gone (Mitsubishi
   badge, REMOVE verdict) and the still that replaces it was generated with no
   cast shadow at all, with its lowest pixel at 96.4% of the frame. Left at 86%
   the ramp washed out the bottom third of the calendar, so the vertical fade is
   pulled back to 97% - still enough to soften the edge, clear of the artwork.
   The horizontal ramps are unchanged: the sheets fan close to left and right. */
.tpc-statement__panel-media--fade-soft .tpc-statement__panel-video {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
                      linear-gradient(to bottom, #000 0, #000 97%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
                      linear-gradient(to bottom, #000 0, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}

.tpc-statement__panel-media--fade-right .tpc-statement__panel-video {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.tpc-statement__panel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tpc-statement__panel {
  position: relative;          /* containing block for that panel's media layer */
  /* v6.44 - each panel clips its own contents, so the character can NEVER be
     seen from another panel. He currently clears panel two's frame by 844px on
     the arithmetic, but that is a number that holds only while his size, the
     start offset and the panel width all stay as they are; any one of those
     changing could put a hand or a sign back on screen. Clipping makes it
     structural instead of arithmetic.
     It costs nothing: while a panel is centred it fills the viewport, so
     clipping to the panel and clipping to the screen are the same edge, and he
     still walks in from exactly where he did before. */
  overflow: clip;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  display: grid;
  place-items: center;
}

/* Reduced motion gets the same CONTENT, stacked, with no pin and no sideways
   travel. Without this the track would still be a horizontal row that nothing
   ever translates, so panel two would sit permanently off-stage and its line
   would be unreachable: a motion preference must never cost someone content. */
@media (prefers-reduced-motion: reduce) {
  .tpc-statement { height: auto; overflow: visible; }
  .tpc-statement__track { flex-direction: column; }
  .tpc-statement__panel { flex: 0 0 auto; width: 100%; min-height: 100svh; }
}

/* The video sits BEHIND the type and is centred on the section. */
.tpc-statement__media {
  position: absolute;
  /* v6.33 - no longer inset:0. He now stands ON the dock rather than filling
     the section: the layer is bottom-anchored at 76px, which is the dock's own
     --dock-rest tab height, so his feet land on the top edge of the "Pick your
     path" widget. The token is not in scope here (it is declared on .tpc-dock),
     so the value is written out with this note rather than inherited wrongly.
     Height drives his size, because the clip is object-fit:contain inside this
     box: at 46% of the section the frame fits by HEIGHT, so he comes out
     roughly 415px tall instead of filling the panel. */
  left: 0;
  right: 0;
  top: auto;
  /* v6.34 - bottom 76px -> 0. THE CLIP CROPS HIM ITSELF: its alpha bounds run
     y27 to y1079 of 1080, so the render touches the frame's bottom row and his
     legs are cut by the footage, not by us. Floating that cut edge 76px above
     the section foot put the crop on show. Sitting it ON the foot hides the
     cut behind the dock widget, so he reads as standing behind the section's
     bottom edge rather than as a figure with its legs removed.
     Height is up 46% -> 55% to compensate: the dock's 76px tab now covers the
     lowest part of him, so he needs to be taller to show the same amount. */
  bottom: 0;
  height: 55%;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: clip;              /* v6.7 - the clip lives here, not on the pin */
  /* v6.12 - the character sits IN FRONT of the line, founder's call. The text
     layer (.tpc-statement__inner) is z-index 1, so this has to beat it. It
     stays pointer-events:none, so putting it on top costs nothing in
     interaction: text selection and any link underneath still work. */
  z-index: 2;
}
.tpc-statement__video {
  /* v6.11 - fills the section edge to edge. It used to be capped at
     min(52vw, 620px) with a 78% height ceiling, which left the clip sitting in
     a small box in the middle of a full-screen section.

     Still contain, NOT cover. The character already fills the frame vertically:
     the measured alpha bounds of the master run y27 to y1079 of 1080, so his
     helmet is 27px off the top edge and his boots touch the bottom. On any
     viewport wider than 16:9, cover scales to the width and crops the overflow
     off the top and bottom, which decapitates him. An alpha cutout also has no
     background of its own to hide a cut edge against the white. contain at
     100% is the largest he can be with nothing clipped: full section height on
     wide screens, full width on tall ones.

     Positioned absolutely rather than sized with percentages. .tpc-statement__
     media is a grid with place-items:center, so its implicit row is auto-sized
     and a percentage height on the item has no definite box to resolve
     against. It falls back to auto, the 16:9 ratio drives height from width
     instead, and the element comes out 1072px tall in an 873px section: 199px
     of overflow that the media layer's overflow:clip then takes off his
     helmet and boots. inset:0 against the already-positioned media layer gives
     a definite box in both axes, so contain has something real to fit into. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tpc-statement__placeholder {
  display: grid;
  place-content: center;
  gap: 6px;
  width: min(52vw, 620px);
  aspect-ratio: 3 / 4;
  margin: 0;
  border: 1px dashed rgba(34,34,34,0.22);
  border-radius: var(--primitive-radius-md);
  text-align: center;
}

/* v6.6b - the statement line must NOT be held to .band__inner's 1312px
   measure: at 3.9vw the seven words need 1701px on a 1920 viewport, so inside
   the standard band the line overflowed by ~390px and was clipped mid-word
   ("...works movin"). It breaks out to full width with only a gutter, which
   is what "one row" needs. The section's own overflow:clip still guarantees
   nothing can ever leak into a horizontal page scroll. */
.tpc-statement__inner {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  padding-inline: var(--primitive-space-5);
}

/* ONE ROW, per the brief. nowrap plus a vw-driven size is what guarantees it.
   The coefficient is measured, not estimated: at 4.6vw the seven words came
   out 2006px wide against a 1920px viewport - 104.5%, overflowing and clipped.
   Scaling from that render, 3.9vw puts the line at about 88% of the viewport,
   which holds one row with a real margin on either side at every width the
   vw term governs. */
.tpc-statement__text {
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-weight: 800;
  font-size: clamp(20px, 3.9vw, 78px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--primitive-asphalt);
}

/* v6.14 - supporting line under a panel heading. Deliberately NOT nowrap: the
   heading above it is a single locked row, but body copy has to wrap, and a
   62ch measure keeps it to the same readable line length the hero subhead uses
   rather than letting it run the full 1920px of the panel. */
.tpc-statement__body {
  margin: clamp(14px, 1.6vw, 28px) auto 0;
  max-width: 62ch;
  text-align: center;
  font-weight: 500;
  font-size: clamp(15px, 1.05vw, 21px);
  line-height: 1.55;
  color: color-mix(in srgb, var(--primitive-asphalt) 78%, transparent);
}

/* Each word gets a clipping mask so it can be translated up from below with no
   scrollbar flash - the same DIY line-reveal the hero H1 uses, per word rather
   than per line. */
/* v6.39 - the two type sizes are tokens now, because the panel-alignment
   offset below is DERIVED from them rather than measured once and pasted in.
   Change a size here and the alignment follows; hardcode the offset and the
   two silently drift apart the next time the scale is retuned. */
.tpc-statement {
  --statement-lead-size: max(40px, 12.74vw);
  --statement-lead-lh: 0.98;
  --statement-tail-size: max(15px, 3.70vw);
  --statement-tail-gap: calc(var(--statement-tail-size) * 0.1);

  /* Panel one centres a TWO-ROW block, so its tail row sits below the panel's
     centre line. Every other panel centres a single line, which lands on the
     centre. This is that difference, and it is what the later panels shift
     down by so their type sits on the same y axis as "we keep your works
     moving".

     MEASURED IN JS, not derived here. The obvious closed form is
     (lead row + gap) / 2, and it is wrong: it predicted 123px where the real
     figure is 153px. The gap is line-box half-leading, which depends on the
     font's own metrics and is not recoverable from font-size and line-height
     alone. statementPin() measures the two centres after layout and writes
     the true value here, and re-measures on ScrollTrigger refresh so it
     survives a resize. This fallback only applies if the JS never runs. */
  --statement-tail-drop: 0px;
}

/* v6.29 - TWO ROWS. The lead carries the weight; the tail is the qualifier and
   steps down to 0.42 of it. Both rows are their own block so each centres on
   its own width rather than the two sharing a single centred line. */
.tpc-statement__row {
  display: block;
  white-space: nowrap;
}
/* v6.30 - EACH ROW IS SIZED TO SPAN 3/4 OF THE PANEL, which means they cannot
   share a size or a ratio. "Three ways" is 10 characters and "we keep your
   works moving" is 25, so at any single size the short row is less than half
   the length of the long one. Measured at the previous settings: the lead ran
   398px and the tail 485px, so hitting 1440px (75% of a 1920 panel) needs
   271px and 93px respectively. That is a ratio of 0.34, not the 0.42 they had.

   Expressed in vw rather than px so the 3/4 relationship is what holds, not a
   pixel value that only happens to be 3/4 at 1920:
     lead  271.2 / 1920 = 14.13vw
     tail   93.4 / 1920 =  4.86vw
   max() rather than clamp() on purpose: a max ceiling would break the brief on
   anything wider than 1920, since the row would stop growing and fall under
   three quarters. The px term is a FLOOR for small screens only. */
.tpc-statement__row--lead {
  font-size: var(--statement-lead-size);
  line-height: var(--statement-lead-lh);
  /* v6.32 - founder's call. The token, not the literal #F4941D, so it tracks
     the brand if that ramp is ever retuned. See the change report on contrast:
     this is knowingly below AA against the near-white ground. */
  color: var(--primitive-orange);
}
.tpc-statement__row--tail {
  font-size: var(--statement-tail-size);   /* v6.32 - reduced from 4.62vw */
  line-height: 1.1;
  margin-top: var(--statement-tail-gap);
  letter-spacing: 0.005em;   /* the big row is tracked tight; this one is not */
}

/* No clipping mask any more. The words scale as they arrive, and a clip would
   crop that growth against its own edge; the reveal is transform + opacity on
   the word itself instead. transform-origin sits at the BASELINE so a word
   scaling up pushes its cap-height upward rather than growing symmetrically
   about its middle, which is what makes it read as popping onto the line
   rather than inflating in place. */
.tpc-statement__word {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
/* The word space lives on the word rather than as whitespace, so the scale
   transform has a box to grow inside. The LAST word of each row must not carry
   it: trailing space inside a centred line shifts the whole row left by half
   that padding, and because the two rows are set at different sizes they would
   shift by different amounts and stop agreeing with each other. Measured at
   this size that was 8px on the lead and 4px on the tail. */
/* v6.32 - 0.22em -> 0.12em. Tightening the gap narrows the row, so the size
   above is nudged 12.03 -> 12.23vw to hold the 75% span the brief asks for. */
.tpc-statement__row--lead .tpc-statement__word { padding-right: 0.17em; }
/* v6.31 - 0.26em -> 0.14em. The tail now animates as ONE object rather than as
   five, so the gaps no longer have to carry a per-word rhythm and can close up
   to a normal reading space. It also lets the row hold its 75% span at a
   larger glyph size, since less of that width is air. */
.tpc-statement__row--tail .tpc-statement__word { padding-right: 0.30em; }
.tpc-statement__row .tpc-statement__word:last-child { padding-right: 0; }

/* The tail is transformed as a whole, so it needs to be a transformable box
   with its own origin. Inline-block rather than block: the row must shrink to
   its text or a scale would be measured against the full panel width. */
.tpc-statement__row--tail {
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

/* v6.6a - THE HIDDEN STATE IS SET IN JS ONLY, NEVER HERE.
   A CSS `transform: translateY(110%)` on the armed word looked equivalent and
   broke the reveal outright: GSAP reads an element's existing computed
   transform as its BASELINE the first time it touches it, so it took the 110%
   as y=90.6px and then applied yPercent on top of that. `yPercent: 0` meant
   "baseline plus nothing", which is still 90.6px - the words could never come
   back, and even a hand-written gsap.to() could not move them.
   With no transform declared here, GSAP's baseline is a true zero.
   This also keeps the no-JS behaviour that rule was written for: nothing hides
   the words until the script runs, so with JS blocked the line is simply
   visible rather than an empty white screen. */

@media (max-width: 599px) {
  /* Below 600px seven words on one row would be unreadably small, so the line
     is allowed to wrap and the masks reveal it as two or three rows instead. */
  .tpc-statement__text { white-space: normal; font-size: clamp(30px, 9vw, 44px); }
}
@media (prefers-reduced-motion: reduce) {
  .tpc-statement__word { transition: none; transform: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   v10.62 - MOBILE STATEMENT SCENES (founder 2026-10-07: "the home page isn't
   optimised for mobile, please redesign it to suit so that mobile has the
   same journey as desktop"). The pinned scenes already PLAY the same story
   on a phone, but at desktop proportions they read small and empty on a tall
   screen. Three things lost their scale, each with a measured cause:
   1. The lead row ("Three ways" / "Why teams") is max(40px, 12.74vw) = 50px
      at 390, filling two thirds of the width; on desktop it dominates the
      screen. It now spans ~90% of the width, and the tail row grows with it.
   2. The panel clips are sized by min(52vh, 41.6vw): the 41.6vw cap keeps a
      16:9 box inside the desktop frame, but on a 390 phone it is 162px tall.
      On a phone the HEIGHT leads instead (~40% of the screen) and the box is
      allowed to run wider than the viewport: the panel's own overflow:clip
      crops the sides, the same way the desktop frame crops the scene.
   3. The walking characters use object-fit: contain in a wide box, which on
      a tall screen fits them to the WIDTH (~220px tall). The comment above
      rules out cover because on WIDE screens it scales to width and crops
      head and boots; on a portrait phone cover scales to HEIGHT and crops
      only the empty sides of the frame, so the character fills the scene.
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 699px) {
  .tpc-statement {
    --statement-lead-size: 15vw;
    --statement-tail-size: max(17px, 5vw);
  }
  /* The panel's grid would size its column to the oversized clip and start
     it at x=0, pushing the centred text right and off the edge. One 100%
     column keeps the text on the viewport; the clip overflows BOTH sides
     equally through negative inline margins (auto margins resolve to 0 on
     an over-wide box), and the panel's overflow:clip trims them. */
  .tpc-statement__panel { grid-template-columns: 100%; }
  /* v12.65 - THE DELIBERATE OVERFLOW IS GONE. The second term was 150vw*9/16,
     which made the box 1.5x the viewport so overflow:clip could trim both
     sides: correct while these were the old clips, where the subject was a
     small centred figure and the sides being cut were empty frame. All three
     panels now hold STILLS that are full-frame compositions, so the same trim
     removed real content. Measured at 393px before the fix: the slot 4 plan
     lost 24% of its painted width (holder 590 in a 393 panel), the staged
     sheets 28%, the planner group 19%, which is the monitor the founder saw
     sliced at the left edge. Capping the second term at 100vw*9/16 makes the
     derived width exactly 100vw before --panel-media-scale, so every panel now
     fits inside the viewport with its own scale as the gutter: 100vw here,
     93vw on fade-soft, 82vw on fade-right. margin-inline goes back to auto
     because there is no overflow left to centre. Resizing the image files
     could not have fixed this - object-fit:contain was already fitting them to
     the holder, and it was the holder that overflowed. */
  .tpc-statement__panel-media {
    --panel-media-h: calc(min(40svh, 100vw * 9 / 16) * var(--panel-media-scale));
    margin-inline: auto;
  }
  /* v12.65 - 0.82 -> 0.96. That 0.82 was tuned against the old team-loop to
     control how much of an over-wide box overflowed. With the overflow capped
     above it stopped being a bleed dial and became a shrink dial: the four
     planners came out 322px wide at 393, about 60px a figure, too small to
     read. 0.96 puts them at 377 and still clears the panel's own 8% edge mask,
     which the group's 23% side margins keep well away from. */
  .tpc-statement__panel-media--fade-right { --panel-media-scale: 0.96; }
  /* v12.67 - founder, on a phone: "can we make this section's image a little
     smaller". This is face A of the swap slot ("From a single-day plan..."),
     the only panel with no --fade variant, so it was the one still running at
     scale 1, a full 100vw against 0.96 and 0.93 on its neighbours. 0.86 takes
     it from 393x221 to 338x190 at 393px, about 14% down, which also gives the
     heading underneath more room.
     SCOPED WITH :not(), deliberately. Writing --panel-media-scale on the base
     .tpc-statement__panel-media here would have overridden BOTH fade variants:
     their rules carry identical specificity and sit earlier in the file, so a
     later mobile declaration wins on source order and would silently shrink
     all three. */
  .tpc-statement__panel-media:not([class*="--fade"]) { --panel-media-scale: 0.86; }
  .tpc-statement__media { height: 50%; }
  .tpc-statement__video { object-fit: cover; }
}

/* v6.8 - THE SEAM. Fades the foot of the hero into the white the statement
   section begins on, so the join is a blend rather than a cut.
   z-index -2 puts it above the ground (-4) and the bloom (-3) but below every
   piece of in-flow content, so it can never wash out the trust strip's white
   type - the strip sits well above where this starts.

   v6.8a - SMOOTHER. Two changes, both about how a fade is PERCEIVED rather
   than how it is specified:
   1. Longer. A fade needs distance or the eye reads its start and end as
      edges in their own right, which is the blocky look being fixed.
   2. Eased, not linear. A straight alpha ramp over a saturated orange looks
      banded, because perceived lightness does not track alpha linearly - the
      middle of a linear ramp reads far lighter than half way. The stops below
      follow a smoothstep curve (t^2 * (3 - 2t)) sampled at 5% intervals, so
      the change is slow at both ends and steady through the middle. Twenty-one
      stops also give the browser enough to dither against, which is what kills
      the banding on wide gradients. */
.tpc-hero__seam {
  position: absolute;
  left: 0; right: 0;
  /* v12.14 - THE BLENDER FINISHES BELOW THE CLIP, NOT ON IT.
     At `bottom: 0` this layer's own bottom edge sat on exactly the same line
     as .tpc-hero's `overflow: clip`, and that is two boundaries rounding
     independently. .tpc-hero::before (the orange ground) is a COMPOSITED
     layer - will-change: transform plus an infinite animation - so it is
     rasterised separately from this blender. On an integer device grid both
     edges land on the same row and the joint is clean, which is why it
     measured flat here at 1x, 2x and 2.5x. On a fractional grid - the
     founder's DevTools runs the 1032px viewport at a 0.499 "fit to window"
     scale - the two boundaries round apart and roughly 8% of #E8611C shows
     through the hero's last row as a warm hairline, measured at
     (253, 243, 236) between two rows of pure white.
     Proven by elimination: hiding .tpc-hero::before removes the row outright,
     hiding the bloom makes it worse, hiding this blender turns the whole edge
     back to raw orange.
     Dropping 2px below the hero's bottom means the hero's clip is the only
     boundary left, and the ramp is held fully opaque over its last 4% so the
     rows either side of that clip are solid white whichever way it rounds.
     The 2px is invisible - overflow:clip eats it. */
  bottom: -2px;
  height: calc(clamp(240px, 36vh, 460px) + 2px);
  z-index: -2;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.000) 0%,
    rgba(255,255,255,0.007) 5%,
    rgba(255,255,255,0.028) 10%,
    rgba(255,255,255,0.061) 15%,
    rgba(255,255,255,0.104) 20%,
    rgba(255,255,255,0.156) 25%,
    rgba(255,255,255,0.216) 30%,
    rgba(255,255,255,0.282) 35%,
    rgba(255,255,255,0.352) 40%,
    rgba(255,255,255,0.425) 45%,
    rgba(255,255,255,0.500) 50%,
    rgba(255,255,255,0.575) 55%,
    rgba(255,255,255,0.648) 60%,
    rgba(255,255,255,0.718) 65%,
    rgba(255,255,255,0.784) 70%,
    rgba(255,255,255,0.844) 75%,
    rgba(255,255,255,0.896) 80%,
    rgba(255,255,255,0.939) 85%,
    rgba(255,255,255,0.972) 90%,
    rgba(255,255,255,0.993) 95%,
    /* Solid from here down. The ramp used to reach 1.000 only on its final
       row, which left every row before it very slightly transparent over a
       layer that is 100% opaque orange. */
    rgba(255,255,255,1.000) 96%,
    rgba(255,255,255,1.000) 100%);
  pointer-events: none;
}

/* The trust strip needs clear air beneath it or the fade would start behind
   its labels. Scaled with the longer seam. */
.tpc-hero .tpc-proof { padding-bottom: clamp(260px, 38vh, 480px); }
/* THEA-864 - the 38vh term was written for a desktop screen tall enough that
   38% of it is still a sensible gap. On a 390x844 phone 38vh resolves to
   320px, 60px clear of the clamp's own 260px floor, which is the minimum
   this already proved sufficient to clear the seam fade above. Pinning to
   that floor on mobile only removes 60px of pure dead air, no fade risk. */
@media (max-width: 699px) { .tpc-hero .tpc-proof { padding-bottom: 260px; } }

/* ════════════════════════════════════════════════════════════════════
   v6.64 - HAMBURGER + DRAWER RESTYLE
   Founder: "more engaging bright and clear and not boring? even the menu
   inside the hamburger menu needs work". Before this the control was a white
   box with a hairline border and a &#9776; glyph, and the drawer was flat
   white with grey hairlines and one black button - no brand colour anywhere.
   Everything here reuses palette that already exists on the page (the fork
   cards' flare ramp and the brand orange); no new brand colours invented.
   Appended at the end of the file on purpose: the drawer rules it overrides
   sit at equal specificity both in the <=1024px block and in the
   .is-collapsed block, so source order is what decides.
   ════════════════════════════════════════════════════════════════════ */

/* ---- the control ---------------------------------------------------- */
.site-header .site-header__menu-toggle {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  /* v6.66 - NO display HERE. components.css sets .site-header__menu-toggle to
     display:none at (0,1,0) and only reveals it inside @media (max-width:1024px)
     and on .site-header.is-collapsed. Declaring display on this (0,2,0) selector
     outranked that base and put the control in the FULL desktop header next to
     the CTAs, where it has no business being. The layout properties below still
     apply whenever one of those two rules turns it on. */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  /* v6.67 - founder: solid brand orange, keep the glow. Was the fork cards'
     yellow-to-red ramp. Asphalt bars measure 6.89:1 on this flat orange, so
     the icon still clears the 3:1 non-text minimum comfortably, and with one
     colour instead of a ramp there is no weak end to check. The glow below is
     retinted from flare red to the same orange so it reads as the button's own
     light rather than a second colour bleeding out from under it. */
  background: var(--primitive-orange);
  /* The white ring is not decoration. Over the hero the control sits orange on
     orange: its yellow edge measures 2.25:1 against the #E8611C ground and its
     red edge 1.15:1, both under the 3:1 minimum for a non-text boundary, so the
     button had no defined edge exactly where it is most used. White against
     that ground is 3.41:1. On the collapsed white header the ring is invisible
     and the drop shadow does the separating instead, so one rule serves both. */
  box-shadow: 0 0 0 3px rgba(255,255,255,0.92), 0 6px 20px rgba(244, 148, 29, 0.55), inset 0 1px 0 rgba(255,255,255,0.45);
  transition: box-shadow var(--primitive-duration-fast) var(--primitive-easing-out),
              filter var(--primitive-duration-fast) var(--primitive-easing-out);
}
.site-header .site-header__menu-toggle:hover { box-shadow: 0 0 0 3px rgba(255,255,255,0.96), 0 10px 28px rgba(244, 148, 29, 0.68), inset 0 1px 0 rgba(255,255,255,0.45); }
.site-header .site-header__menu-toggle:active { filter: brightness(0.96); }
/* No transform here on purpose: .site-header.is-collapsed already owns
   transform (translateY(-50%)) for vertical centring, and a hover lift would
   fight it at higher specificity. Shadow and brightness carry the feedback. */

/* ASPHALT bars, not white. Measured against the ramp: white is 1.52:1 on the
   yellow end and fails the 3:1 non-text minimum outright, asphalt is 10.49:1
   there and 4.06:1 at the red end, so it clears at every point of the ramp. */
/* THEA-764 - founder 2026-08-26: "can we remove the animation that appears
   when you click on the menu icon". Applied on the approved concept
   (nav-splash-concept.html v10.13) and ported here now the menu itself is
   also being ported: the bars snap instantly to the X shape on click,
   no animated transition. */
.site-header .site-header__burger-bar {
  display: block;
  width: 21px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primitive-asphalt);
}
.site-header__menu-toggle[aria-expanded="true"] .site-header__burger-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header__menu-toggle[aria-expanded="true"] .site-header__burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
.site-header__menu-toggle[aria-expanded="true"] .site-header__burger-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════
   THEA-764 - BURGER MENU. Full-screen takeover, not a drawer - this
   replaces the THEA-674 drawer below (.site-header__nav[data-open]) as
   the burger's actual behaviour: homepage.html no longer sets [data-open]
   on #site-header-nav anywhere, so the block below this one is now
   unreachable. Left in place rather than deleted in this change (a large
   multi-location removal deserves its own deliberate pass, not folded
   silently into shipping the menu) - flagged as a follow-up cleanup in
   the hand-back comment.
   Reference: lightshiprv.com, rebranded - structure and motion only.
   Ported from the founder-approved concept, nav-splash-concept.html,
   final state v10.14 (plain opacity fade, no shape-wipe - the founder had
   the wipe removed 2026-08-26; see PROJECT-DECISIONS.md for the approval
   history).
   ═══════════════════════════════════════════════════════════════════ */

/* ---- NO persistent header row while the menu is open ------------------
   THEA-764 - founder 2026-08-26: "we don't need the top header when you
   open it so you can make the tiles etc much bigger exactly like the
   reference inspiration [lightshiprv.com]". Their open state keeps only a
   minimal close control, no full header band - so instead of re-flowing
   the header row (logo re-centred, quick-links + CTA clusters either
   side, as this used to work), the whole band goes transparent and every
   header child except the toggle is hidden. The toggle is NOT duplicated
   or moved: it is still the one control, still in the same spot
   .is-collapsed already pins it to, now simply floating with nothing
   behind it. The reclaimed height goes straight to the tiles/nav type
   below (see .tpc-menu__inner padding and the enlarged type scale
   further down this section). */
/* ══ v10.39 - THE BURGER IS PERMANENT ══════════════════════════════════════
   Founder 2026-08-27: "keep the burger menu on the hero section and remove the
   headings in the header completely ... still have the logo and menu, colour
   change so it doesn't get lost in the background".
   components.css hides this control by default and reveals it only at ≤1024px
   or once .is-collapsed; both of those reveal paths still apply, this simply
   removes the hiding. (0,2,0) to outrank components.css's (0,1,0). */
.site-header .site-header__menu-toggle {
  display: inline-flex;
  /* The nav used to be the flex item that filled this row and pushed the
     burger to the far edge. With it gone the burger sat right next to the
     logo, so it has to claim that space itself. Only bites in the in-flow
     (not collapsed, menu closed) state - the other two position it
     absolutely/fixed - and it lands on the same --header-gutter edge those
     two use, so the control does not shift between states. */
  margin-left: auto;
}

/* The colour swap that keeps it off the background. The logo already
   crossfades white->colour on .is-collapsed; the burger now follows it.
   :not([data-menu-open]) is load-bearing - these same three bars ARE the
   close X, and while the menu is open they sit on the white panel, so
   without that exclusion the X would be white on white and vanish. */
.site-header:not(.is-collapsed):not([data-menu-open]) .site-header__burger-bar {
  background: var(--primitive-white);
}
.site-header:not(.is-collapsed):not([data-menu-open]) .site-header__menu-toggle {
  border-color: rgba(255, 255, 255, 0.6);
}

.site-header[data-menu-open] { background: transparent; box-shadow: none; }
.site-header[data-menu-open] .site-header__inner { padding-block: 0; }
.site-header[data-menu-open] .site-header__nav { display: none !important; }
.site-header[data-menu-open] .site-header__logo { display: none; }
/* `position: fixed`, not absolute-within-the-header: with the header row
   emptied out, its own box no longer has a reliable height to anchor a
   50%-centred absolute child to (an inner with no in-flow content collapses
   to its padding alone). Viewport-fixed insets sidestep that entirely and
   also replace the old below-1024px workaround (the toggle used to need a
   separate pin because .is-collapsed's own rule didn't apply until the
   header had actually collapsed) - fixed positioning is already correct at
   any scroll position and any viewport, collapsed or not. */
.site-header[data-menu-open] .site-header__menu-toggle {
  position: fixed;
  /* THEA-764 fix - founder: "the cross is in a different position compared
     to the menu button... they need to be on the same x and y axis". This
     used to reuse --header-gutter for BOTH axes (a horizontal inset,
     applied as a vertical offset by mistake), which put the X 15-20px off
     the burger's actual position. A calc() approximation of the burger's
     centre got within ~15px but never exact, because .site-header__inner's
     real content height isn't its 49px min-height once the (invisibly
     in-flow) nav row is factored in - so this is now just a sane static
     fallback. The actual pixel-perfect value is set as an inline style by
     open()/close() in the script below, which measures the toggle's own
     getBoundingClientRect() the instant before flipping it to fixed, so
     the X opens at EXACTLY the y the burger was rendered at, not an
     estimate of it. */
  top: var(--header-row-pad-top);
  right: var(--header-gutter);
  transform: none;
}

/* THEA-764 fix: the other half of the X/burger axis mismatch was
   horizontal, not vertical. Opening the menu sets
   `document.documentElement.style.overflow = 'hidden'` to lock background
   scroll (see the open()/close() functions in the script below), which
   removes the page scrollbar the moment the menu opens. Removing it widens
   the layout viewport by the scrollbar's own width, and every fixed
   `right: var(--header-gutter)` element - the toggle included - is
   anchored to that viewport edge, so the X jumped ~15-17px further right
   than the burger it replaced on any browser with a classic (space-taking)
   scrollbar. Reserving a permanent scrollbar gutter means locking scroll
   never changes the viewport's width, so nothing anchored to the right
   edge moves when the menu opens or closes. Page-scoped here (not in the
   shared design-tokens.css) since only this page's menu drives the lock. */
html { scrollbar-gutter: stable; }

/* ---- the full-screen panel --------------------------------------------
   position:fixed, inset:0, z-index BELOW the header (100) so the
   persistent header row visually sits on top of it without needing a
   second stacking context. */
.tpc-menu {
  position: fixed; inset: 0;
  /* Above .tpc-dock (z-index:90, the always-on-screen sticky action bar -
     the concept prototype never had this element, so this collision only
     shows up here): the menu is a full-screen takeover, "replaces the page
     entirely" per the brief, so the dock has to be fully covered, not
     bleeding through at the bottom. Still below the header (100), which
     stays visible on top throughout. */
  z-index: 95;
  display: none;
  /* v10.30 - THE SCRIM, not the surface. Founder, against the reference:
     "the page is in the background and greyed out and the menu is a rounded
     rectangle shape not edge to edge cause you can see the page underneath."
     Measured on lightshiprv.com: their panel is position:fixed at an 8px
     inset all round, with the page dimmed behind it. The inset lives here as
     padding so .tpc-menu__inner can simply fill what is left. Asphalt-tinted
     rather than pure black so the dim reads as part of this palette. */
  background: rgba(34, 34, 34, 0.68);
  padding: 10px;
}
.tpc-menu[data-visible] { display: block; }

/* ══ v10.37 - OPEN/CLOSE MOTION ════════════════════════════════════════════
   Founder 2026-08-27: "can we have more of a dynamic opening and closing
   animation". It was a flat 120ms opacity fade on the whole overlay.
   NOT a shape-wipe - that was tried and cut from the approved concept on
   2026-08-26, so this stays a fade at heart and adds movement instead: the
   scrim washes in, the panel rises and settles, and the contents arrive in
   sequence behind it.
   The delays live ONLY in the [data-open] state. Closing drops back to the
   base rule, where every delay is 0s, so the panel leaves as one piece in
   200ms instead of un-staggering itself - slow exits are what make menus
   feel sticky. */
.tpc-menu { opacity: 0; transition: opacity 220ms linear; }
.tpc-menu[data-open] { opacity: 1; }

.tpc-menu__inner {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transform-origin: 50% 0;
  transition: opacity 200ms linear, transform 200ms var(--primitive-easing-out);
}
.tpc-menu[data-open] .tpc-menu__inner {
  opacity: 1;
  transform: none;
  /* v10.41 - founder: "why is there a black colour behind the button". Root
     cause: the panel's own OPACITY used to ramp over 260ms, slower than the
     scrim's 220ms fade to its 0.68 dark alpha - so for a real, visible window
     early in every open, the still-translucent WHITE panel sat on top of an
     almost-fully-dark scrim, tinting everything on it (including opaque
     content like this button) grey-to-black. Any screenshot taken in that
     window - which is exactly when someone reviewing a just-shipped "more
     dynamic" open animation would naturally screenshot - catches it.
     Fix: the panel's OPACITY now resolves in 120ms, well inside the scrim's
     220ms, so the panel is fully opaque white before the scrim finishes
     darkening - nothing is ever composited translucent-over-near-black.
     The long, heavily-decelerated curve stays on the TRANSFORM only, which
     is what actually gives the panel its weight and isn't opacity-based, so
     none of the "rise and settle" feel is lost. */
  transition: opacity 120ms linear,
              transform 460ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* everything that arrives in sequence */
.tpc-menu__bar,
.tpc-menu__tiles-col > *,
.tpc-menu__nav > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms linear, transform 200ms var(--primitive-easing-out);
  transition-delay: 0s;
}
.tpc-menu[data-open] .tpc-menu__bar,
.tpc-menu[data-open] .tpc-menu__tiles-col > *,
.tpc-menu[data-open] .tpc-menu__nav > * {
  opacity: 1;
  transform: none;
  transition: opacity 360ms linear, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}
.tpc-menu[data-open] .tpc-menu__bar               { transition-delay: 60ms; }
.tpc-menu[data-open] .tpc-menu__tiles-col > *     { transition-delay: 110ms; }
.tpc-menu[data-open] .tpc-menu__tiles             { transition-delay: 150ms; }
.tpc-menu[data-open] .tpc-menu__nav > *           { transition-delay: 130ms; }
.tpc-menu[data-open] .tpc-menu__nav-item:nth-of-type(1) { transition-delay: 170ms; }
.tpc-menu[data-open] .tpc-menu__nav-item:nth-of-type(2) { transition-delay: 205ms; }
.tpc-menu[data-open] .tpc-menu__nav-item:nth-of-type(3) { transition-delay: 240ms; }
.tpc-menu[data-open] .tpc-menu__nav-item:nth-of-type(4) { transition-delay: 275ms; }
.tpc-menu[data-open] .tpc-menu__nav-item:nth-of-type(5) { transition-delay: 310ms; }
.tpc-menu[data-open] .tpc-menu__nav-item:nth-of-type(6) { transition-delay: 345ms; }
.tpc-menu[data-open] .tpc-menu__nav-item:nth-of-type(7) { transition-delay: 380ms; }
.tpc-menu[data-open] .tpc-menu__footer            { transition-delay: 415ms; }

/* The tiles carry video, so they get the one extra flourish: a touch of scale
   off the same curve. Kept subtle - object-fit:cover means any scale crops. */
.tpc-menu__tile { transform: scale(0.97); transition: transform 200ms var(--primitive-easing-out); }
.tpc-menu[data-open] .tpc-menu__tile {
  transform: none;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}
.tpc-menu[data-open] .tpc-menu__tile:nth-of-type(1) { transition-delay: 170ms; }
.tpc-menu[data-open] .tpc-menu__tile:nth-of-type(2) { transition-delay: 205ms; }
.tpc-menu[data-open] .tpc-menu__tile:nth-of-type(3) { transition-delay: 240ms; }

/* Reduced motion keeps the fade and drops every transform and delay - the
   same fade this menu shipped with before. */
@media (prefers-reduced-motion: reduce) {
  .tpc-menu__inner,
  .tpc-menu__bar,
  .tpc-menu__tiles-col > *,
  .tpc-menu__nav > *,
  .tpc-menu__tile,
  .tpc-menu[data-open] .tpc-menu__inner,
  .tpc-menu[data-open] .tpc-menu__bar,
  .tpc-menu[data-open] .tpc-menu__tiles-col > *,
  .tpc-menu[data-open] .tpc-menu__nav > *,
  .tpc-menu[data-open] .tpc-menu__tile {
    transform: none;
    transition: opacity 120ms linear;
    transition-delay: 0s;
  }
}

.tpc-menu__inner {
  /* v10.30 - THE PANEL. White, rounded, filling the scrim's padding box, so a
     dimmed strip of page shows all the way round. overflow is HIDDEN, not
     auto: the founder's note is that the reference menu does not scroll, so
     everything has to fit one viewport. If content ever outgrows the panel the
     answer is to size the content down, never to reintroduce a scrollbar. */
  height: 100%; overflow: hidden;
  background: var(--primitive-white);
  border-radius: 18px;
  max-width: none; margin-inline: 0;
  /* THEA-764 fix (founder 2026-08-26: "the overall menu needs to be centred
     x and y axis, currently the menu feels bottom and right heavy"). This
     used to carry the close-toggle clearance as EXTRA top padding
     (clamp(...)+48px+space-4, ~110-180px, versus a plain space-5 ~24px
     bottom) - align-content:safe center then centred the grid inside that
     lopsided box, which pulled the whole two-column block down toward the
     bottom. Padding is symmetric now so centring is actually centred; the
     toggle clearance moves to .tpc-menu__nav below, the one column that
     still sits under it. */
  padding: var(--primitive-space-6) var(--primitive-space-5);
  display: grid;
  /* v10.35 - the counter is reset HERE, not on .tpc-menu__nav, so it runs
     across both columns in document order: Services is 01 and the nav list
     picks up at 02. */
  counter-reset: tpc-menu-item;
  grid-template-columns: 2fr 1fr;
  /* v10.31 - the bar is its own row and MUST sit hard against the panel's top
     padding: the header (z-index 100) stays on top of this menu (z-index 95),
     so the bar's mark has to land exactly under the header's logo or the
     visitor sees two marks in slightly different places. `align-content: safe
     center` centred the rows and pushed the bar 47px down, which is what broke
     that registration. Row 2 takes the slack instead (1fr), so nothing is
     pinned to the top with dead space below - the reason centring was used
     here in the first place (THEA-764). */
  grid-template-rows: auto 1fr;
  /* v10.50 - founder (creative director) 2026-09-09: "create more padding
     between the tile and the heading". Row and column gutters were one
     32px `gap`; widening that would have pushed the whole two-column block
     down as well, so they are split. The column gutter is now a named
     custom property because .tpc-menu__bar re-declares the SAME two tracks
     to hang its actions off the nav column's left edge - one value, two
     grids, so they cannot drift apart. */
  --tpc-menu-col-gap: var(--primitive-space-8);
  row-gap: var(--primitive-space-6);
  column-gap: var(--tpc-menu-col-gap);
  align-content: start;
}

/* ---- tiles (left/centre, ~two-thirds) --------------------------------- */
/* THEA-764 - founder 2026-08-26 (round 2): "make the menu headings and
   tiles bigger... see how the tiles are nearly edge to edge utilising all
   the space" (lightshiprv.com inspiration). Was a flat 220px per row.
   vh-scaled instead of fixed so the tiles genuinely grow with the
   viewport rather than sitting at one fixed size that reads small on a
   tall screen - at a ~900px-tall laptop viewport this is ~235px per row
   (barely bigger than the old 220px), at the founder's ~1200px viewport
   it's ~310px, noticeably bigger, edge to edge in the column.
   NOTE: tried `grid-template-rows: 1fr 1fr` + height:100% first to make
   tiles stretch to EXACTLY match .tpc-menu__nav's height - reverted, it
   broke: the wide tile (`grid-row: span 2`) then filled both explicit
   rows on its own, leaving the two smaller tiles no row to land in but a
   collapsed 0-height implicit third row, so they rendered invisible.
   grid-auto-rows keeps the auto-placement algorithm's 3-row structure (2
   for the wide tile, 1 shared by the smaller pair) intact. */
/* v10.31 - THE BAR. Founder 2026-08-27: mark far left, actions right, and the
   three quick links between them removed as repeats of the nav list.
   The mark is pinned to the EXACT box the header logo occupies so it doesn't
   jump when the menu opens. Measured off the live header: logo top 36, left 61,
   64x64; burger top 34, left 1796, 48x48. Note the header itself sits the logo
   and the burger on different centre lines (68 vs 58), so a single centred flex
   row cannot align to both - hence align-items:flex-start and a per-child
   nudge. Numbers below are offsets from the panel edge (10px) plus
   .tpc-menu__inner's own padding (32px top / 24px sides). */
.tpc-menu__bar {
  /* .tpc-menu__inner is a 2fr/1fr grid (tiles | nav). Without this the bar
     becomes a grid ITEM in the tiles column and shunts the whole layout: the
     tiles get squeezed into the nav column and the nav drops to a new row.
     Span the full row so the bar sits across the top as its own band. */
  grid-column: 1 / -1;
  /* v10.50 - founder: "the left side of the new plan request button is in
     line with the headings underneath, so it all follows the same left
     alignment as the Get Started". Was a flex row, mark left / actions
     right, which parked the actions against the panel's right edge (192px
     past the nav column start at 1920 wide) and drifted with viewport
     width. The bar now re-declares .tpc-menu__inner's own 2fr/1fr tracks
     and the same column gutter, so the actions land in the nav column and
     their left edge IS the nav column's left edge at every width - no
     measured offset to go stale. Its side padding moves onto the two
     children for the same reason: padding on the bar would inset these
     tracks and stop them matching the inner grid's. */
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: var(--tpc-menu-col-gap);
  /* not center: see the note above about the two differing centre lines */
  align-items: start;
  /* v10.35 - DERIVED, not measured. These were baked from a 1920x868 reading
     (-6px / 27px / 115px), which only held at that one window size: the header
     positions its logo with clamp()s that scale, so at any other viewport the
     mark drifted off it - 17px out on a 1200px-tall window. The three clamps
     below are copied verbatim from .site-header's --header-row-pad-top,
     --header-gutter and --header-logo. They cannot be referenced as vars:
     those are declared on .site-header and .tpc-menu is outside it in the DOM
     (same constraint noted on .tpc-menu__nav). Keep them in step by hand.
       top:   row-pad-top, less the panel's 10px inset and the inner's 32px pad
       left:  gutter,      less that 10px inset and the inner's 24px pad
       right: gutter + the burger's own 48px + 40px of clearance, less 34 */
  margin-top: calc(clamp(34px, 4.4vh, 60px) - 42px);
  padding: 0 0 var(--primitive-space-6);
}
/* the bar's old padding-left, moved onto the mark itself (see the bar's
   v10.50 note) so the logo still lands on the header logo's exact box. */
.tpc-menu__bar-mark { display: block; justify-self: start; margin-left: calc(clamp(20px, 3.2vw, 64px) - 34px); }
/* --header-logo's clamp verbatim (see the bar's note): matches the header logo
   at EVERY width, so the mark holds still through the open/close. Was a flat
   64px, which is only what that clamp resolves to at >=1882px wide. */
.tpc-menu__bar-mark img { display: block; height: clamp(56px, 3.4vw, 64px); width: auto; }
.tpc-menu__bar-actions {
  display: flex;
  /* start, not end: this is what puts New Plan Request's left edge on the
     "More to explore" / "Get started" alignment (v10.50). The bar's old
     right padding cleared the burger; the actions no longer reach it. */
  justify-self: start;
  /* v10.43 - now that the burger holds ONE position in both header states
     (see .site-header.is-collapsed .site-header__menu-toggle), this is the
     simple case it always should have been. open() pins the close X to the
     burger's rect; the burger is a 48px flex item centre-aligned in the
     header's content box, whose height is the logo. So the X's top is
     row-pad-top + (logo - 48)/2, and the bar's own content already begins at
     row-pad-top - leaving just the half-difference. The previous formula
     solved for the ABSOLUTE placement instead and so only matched once the
     header had collapsed. */
  margin-top: calc((clamp(56px, 3.4vw, 64px) - 48px) / 2);
  gap: var(--primitive-space-3);
}
.tpc-menu__bar-actions .btn { font-size: var(--primitive-size-eyebrow); padding: 10px 18px; }
/* v10.39 - founder 2026-08-27. NOTE this overrides design-tokens.css's
   `--btn-primary-text: asphalt` and the rule stated beside it ("orange ground
   text is always asphalt, never white"). White on the orange ground measures
   2.3:1, which is under both the 4.5:1 AA floor for small text and the 3:1
   large-text floor. Scoped to the menu bar so the rest of the site keeps the
   compliant pairing. */
.tpc-menu__bar-actions .btn--primary { color: var(--primitive-white); }
/* the red ramp already used by .tpc-dock__panel--urgent, so the two urgent
   surfaces on the page are the same red rather than two near-misses */
.tpc-menu__bar-actions .btn--slate {
  background: linear-gradient(150deg, #C1000F 0%, #5E000C 100%);
  border-color: transparent;
  /* v10.43 - founder: "why is there a black colour behind the button".
     THE CAUSE, and it is a pure-CSS one, nothing to do with the open
     animation (v10.41 chased that and was wrong).
     .btn carries `border: 2px solid transparent`. The CSS defaults are
     background-origin: padding-box and background-clip: border-box - so a
     GRADIENT is sized to the padding box but painted across the border box,
     and the 2px shortfall is covered by TILING it. The tile puts this ramp's
     near-black end (#5E000C) hard against its bright start, which draws a
     dark seam right around the button. A flat colour cannot show this, which
     is why .btn--slate's original #414142 and the orange --primary next to it
     never did - it only appeared when this gradient was introduced.
     Sizing the gradient to the border box removes the shortfall, so there is
     nothing to tile and no seam. Verified at full opacity, settled. */
  background-origin: border-box;
  color: var(--primitive-white);
}
/* v10.50 - the actions start on the nav column's rail now rather than ending
   at the panel's right edge, so on a narrower desktop the pair grows TOWARD
   the close X instead of away from it. 1560px is where they touch at the
   shipped 13px/18px size (measured: at 1440 the pair needs 376px and only
   371px is left before the X). Type and padding step down so the alignment
   the founder asked for survives the width, rather than the pair sliding
   back off the rail. */
@media (max-width: 1560px) {
  .tpc-menu__bar-actions { gap: var(--primitive-space-2); }
  .tpc-menu__bar-actions .btn { font-size: 12px; padding: 9px 14px; }
}
@media (max-width: 1340px) {
  .tpc-menu__bar-actions .btn { font-size: 11px; padding: 8px 11px; letter-spacing: 0.2px; }
}
/* v10.50 - the hide breakpoint moves 1024px -> 1259px. Below ~1260 the pair
   can no longer clear the close X from the rail (measured: 30px of air at
   1280, 5px at 1200, -25px at 1100) and a further type step would take the
   label under 11px. Hidden rather than slid back off the alignment the
   founder asked for; both CTAs repeat verbatim in the "Get started" list a
   few rows below, so nothing becomes unreachable. */
@media (max-width: 1259px) {
  .tpc-menu__bar-actions { display: none; }
}
@media (max-width: 1024px) {
  .tpc-menu__bar { padding-right: 72px; }
}

/* ─────────────────────────────────────────────────────────────────────
   v12.11 - THE MENU AT 1024-1279px. Founder 2026-11-09: "the services
   columns are too skinny and weird looking, let's reduce the size of the
   menu so it matches with the desktop."

   MEASURED, same panel at two sizes:
       1440 x 900    inner 862 + 431, tile grid 862 x 607  (1.42 : 1)
       1032 x 1376   inner 590 + 295, tile grid 590 x 1072 (0.55 : 1)
   The tile block is not just smaller on the iPad, it is a different shape.
   Cause: `.tpc-menu__tiles` carries `flex: 1` with two `minmax(0, 1fr)`
   rows, so it absorbs whatever height the column has, and `.tpc-menu__inner`
   is `grid-template-rows: auto 1fr` at `height: 100%`. On a 900px-tall
   desktop the column hands it 607px. On a 1376px-tall iPad it hands it
   1072px, while the column WIDTH has dropped from 862 to 590. Taller and
   narrower at once, which is what turns the two stacked tiles into 244px
   ribbons.

   The fix is proportion, not new structure: the tile block keeps the
   desktop's own 862/607 ratio, so at 590px wide it is 415px tall instead of
   1072px, and the surplus viewport height becomes space around the menu
   rather than stretch inside it. Both columns then centre in the row they
   share, so the composition reads as the desktop menu scaled down, which is
   what the founder asked for.

   Scoped from 1024px because below that the panel already switches to its
   own stacked, scrolling layout (the <=1023px block above) - this band is
   the only place the desktop two-column menu runs in a narrow viewport.
   Capped at 1279px so the full desktop composition is untouched.

   TWO classes per selector, not one. `.tpc-menu__tiles { flex: 1 }` and the
   `minmax(0, 1fr)` rows are declared ~180 lines BELOW this block, and a media
   query carries no specificity of its own, so a one-class rule here loses the
   cascade to them on source order alone. Measured that way first: the tile
   grid came back 590 x 1072, bit-for-bit unchanged. */
@media (min-width: 1024px) and (max-width: 1279px) {
  /* The panel stops being a full-screen sheet and becomes a centred dialog
     that is only as tall as its content. `height: 100%` is what was handing
     the columns 1154px to fill on a 1376px screen; `auto` lets the nav column
     (its seven destinations plus the Get started / Company block) set the
     height, and max-height keeps the no-scroll promise the panel's own
     comment makes. The scrim has exactly one child, so making it a centring
     flex container cannot disturb anything else. */
  .tpc-menu { display: flex; align-items: center; }
  .tpc-menu .tpc-menu__inner { height: auto; max-height: 100%; }

  /* Tiles keep the desktop block's own 862/607 proportion instead of
     absorbing the column, so at 590px wide the block is 415px tall, not
     1072px, and the two stacked tiles come back to 244 x 200 against the
     desktop's 360 x 295 - the same shape, scaled. */
  .tpc-menu .tpc-menu__tiles {
    flex: 0 0 auto;
    aspect-ratio: 862 / 607;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-rows: minmax(0, 1fr);
  }

  /* Both columns start at the top, as they do on desktop, so "Choose a
     service / Services" sits on the same line as "More to explore / Home".
     Centring them instead (the first cut) floated the two groups at
     different heights and the headings stopped lining up. */
  .tpc-menu .tpc-menu__tiles-col,
  .tpc-menu .tpc-menu__nav { justify-content: flex-start; }

  /* THE CAPTION BLOCK SCALES WITH THE TILE.
     .tpc-menu__tile-caption is bottom-anchored (inset: auto 0 0 0), so its
     TOP is whatever its content leaves: measured at 1440 the block is 181px
     inside a 296px tile, which parks the label in the lower half where the
     tile's ::after scrim has gone dark (the gradient is transparent to 40%).
     The content height does not shrink on its own though, so on a 200px
     tablet tile the same 184px block started 16px from the top, putting
     white type across the bright part of the photo.
     Type comes down by the tile's own 0.68 factor and the 32px caption
     padding with it, so the block lands at about half the tile height again
     and sits on the dark end of the scrim as designed.
     NOTE the selector: the description is .tpc-menu__tile-desc, not a <p>.
     A first pass targeted `.tpc-menu__tile p` and measured no change at all,
     the desc still reporting 16px. */
  .tpc-menu .tpc-menu__tile-caption { padding: 18px; }
  .tpc-menu .tpc-menu__tile-title { font-size: 19px; }
  .tpc-menu .tpc-menu__tile-desc { font-size: 13px; }
  .tpc-menu .tpc-menu__tile--wide .tpc-menu__tile-caption { padding: 24px; }
  .tpc-menu .tpc-menu__tile--wide .tpc-menu__tile-title { font-size: 30px; }
  .tpc-menu .tpc-menu__tile--wide .tpc-menu__tile-desc { font-size: 14px; }
}

/* v10.31 - column headings. Same eyebrow treatment as the footer's "Get
   started"/"Company" (h3) so the four labels in the panel read as one family,
   one step larger because these head a whole column rather than a link list.
   v10.34: this is now the NAV column's eyebrow only - the tiles column's
   heading is promoted to display scale just below. */
.tpc-menu__section-eyebrow {
  margin: 0 0 var(--primitive-space-3);
  font-size: 12px; font-weight: 800; line-height: 1.3;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--primitive-ink); opacity: 0.6;
}
/* v10.31 - the tiles column. The wrapper, not .tpc-menu__tiles, is now the grid
   item in .tpc-menu__inner. It stretches to the row height set by the taller nav
   column, and justify-content:flex-end parks the heading+tiles block at the
   bottom of that stretch - which is what puts the last tile row level with the
   last "Get started" link opposite, as the founder asked. Previously the rows sat
   at the top of the stretched box and ended ~170px short of it. */
/* v10.34 - "can the services heading be the same style as the knowledge hub
   and be in the same line as the knowledge hub heading". Same type stack as
   .tpc-menu__nav-link (clamp/800/uppercase/-0.01em/1.1) and the same 10px
   vertical padding + 1px rules top and bottom as a .tpc-menu__nav-item, so the
   row measures the same 63.8px and its underline lands level with the one under
   Knowledge Hub. The 40px left padding is deliberately NOT copied: that space
   exists on the nav links to clear their 01-06 counters, and Services has no
   counter - it sits flush with the tiles it heads. */
.tpc-menu__section-heading {
  position: relative;
  margin: 0;
  /* v10.35 - the 40px IS copied now. It was left off while Services had no
     ordinal; it carries one, so it needs the same gutter the nav links use to
     clear theirs, and the number lands on the tiles' own left edge. */
  padding: 10px var(--primitive-space-2) 10px 40px;
  border-top: 1px solid rgba(34,34,34,0.1);
  /* v10.37 - founder: "there is a line where the tiles are can we remove?".
     The tiles start exactly at this row's bottom edge, so its rule was drawing
     straight across the top of them. Kept as a TRANSPARENT border rather than
     deleted: the 1px is load-bearing for the row's 63.8px height, which is what
     keeps this heading level with the Knowledge Hub row opposite. Remove the
     declaration and both rows drift out of line by a pixel. */
  border-bottom: 1px solid transparent;
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  /* v10.35 - asphalt, matching .tpc-menu__nav-link. It was inheriting the
     eyebrow's ink-at-0.6, which read as a paler grey than Knowledge Hub. */
  color: var(--primitive-asphalt);
  opacity: 1;
  counter-increment: tpc-menu-item;
}
/* same ordinal treatment as .tpc-menu__nav-link::before - see the AA note there */
.tpc-menu__section-heading::before {
  content: counter(tpc-menu-item, decimal-leading-zero);
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: var(--primitive-ink);
}

.tpc-menu__tiles-col {
  min-height: 0;
  display: flex; flex-direction: column;
  /* v10.35 - this used to fake the nav eyebrow's height with a matching
     padding-top, to get the Services row onto the Knowledge Hub line. The
     column has a REAL eyebrow now ("Choose a service"), same class and so the
     same height, so the rows line up on their own and the fake is gone. */
}

/* v10.29 - TILE LAYOUT, matched to the reference: two stacked on the left, one
   tall alongside them. Previously TMP & TGS ran wide across the top as a lead
   tile, which made the other two read as subordinate. The reference gives all
   three equal weight by standing the hero one up rather than laying it out. The
   wide tile is placed explicitly; the other two then auto-flow into column 1. */
.tpc-menu__tiles {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  /* v10.30 - 26vh -> 24vh. The last 17px needed to bring the non-scrolling panel
     inside one viewport. Taken off the tiles rather than the panel padding so the
     spacing rhythm is untouched, and off the row height rather than the gap so the
     two-up stack stays visually even against the tall centre tile. */
  /* v10.34 - founder: tile block runs from the rule under Knowledge Hub down
     to the bottom. The rows were a fixed clamp height, which left the tiles
     ending ~140px above the column bottom. flex:1 + two 1fr rows makes the
     grid absorb whatever height the column has instead. minmax(0,1fr) not
     plain 1fr: the tile videos would otherwise impose a min-content floor and
     refuse to shrink on short viewports. */
  flex: 1; min-height: 0;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: clamp(200px, 24vh, 320px);
  gap: var(--primitive-space-4);
}
/* the wide tile's placement is set once, on the canonical rule further down.
   Do not add a second declaration here: a duplicate lower in the file silently
   won and cost a debugging round. */
.tpc-menu__tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--primitive-radius-lg);
  background: var(--primitive-asphalt);
  text-decoration: none;
  isolation: isolate;
}
.tpc-menu__tile--wide { grid-column: 2; grid-row: 1 / span 2; }  /* v10.29 - tall centre, not wide lead */
.tpc-menu__tile video,
.tpc-menu__tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--primitive-duration-mid) var(--primitive-easing-out);
}
.tpc-menu__tile:hover video,
.tpc-menu__tile:hover img,
.tpc-menu__tile:focus-visible video,
.tpc-menu__tile:focus-visible img { transform: scale(1.06); }
.tpc-menu__tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,34,34,0) 40%, rgba(34,34,34,0.82) 100%);
}
.tpc-menu__tile-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: var(--primitive-space-6); color: var(--primitive-white); }
.tpc-menu__tile-title { display: block; font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: 0.02em; }
.tpc-menu__tile--wide .tpc-menu__tile-title { font-size: 42px; }
.tpc-menu__tile-desc { display: block; font-size: 16px; font-weight: 500; opacity: 0.88; margin-top: 4px; }

/* ---- oversized primary list (right, ~one-third) ----------------------- */
.tpc-menu__nav {
  display: flex; flex-direction: column;
  /* THEA-764 fix - the toggle clearance that used to live on the whole
     .tpc-menu__inner grid (see its comment above) moves here: this column
     sits directly under the floating close X, the tiles column doesn't.
     Literal clamp() again, not var(--header-gutter): that custom property
     is scoped to .site-header and .tpc-menu sits outside it in the DOM, so
     it isn't reachable here either (same reasoning as the old inner-padding
     comment this replaces). Subtracts .tpc-menu__inner's own space-6 top
     padding so the two don't stack and over-clear. */
  /* v10.30 - was ~93px reserved as clearance for the close toggle, back when the
     nav was the only column sitting under it. The v10.29 bar now occupies that
     band across the full width, so the reservation was being made twice and
     pushed this column 93px past the non-scrolling panel. Mobile still moves the
     clearance onto the tiles, further down, because there the tiles are on top. */
  padding-top: 0;
}
.tpc-menu__nav-item { border-bottom: 1px solid rgba(34,34,34,0.1); counter-increment: tpc-menu-item; }
/* :first-of-type, not :first-child - the "Explore the site" h2 is now the
   nav's first child, so :first-child matched nothing and the list lost its
   top rule. The h2 is a different element type, so :first-of-type still
   picks out the first .tpc-menu__nav-item div. */
.tpc-menu__nav-item:first-of-type { border-top: 1px solid rgba(34,34,34,0.1); }
.tpc-menu__nav-link {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  /* v10.30 - 16px vertical -> 10px. The panel does not scroll, and at 16px the
     seven rows pushed the secondary link columns past the bottom edge, silently
     clipping four of them (CTMP Enquiry, Request a Callback, Terms, the phone
     number). Taken off the row padding rather than the type so the primary list
     stays big, which is the relationship the founder asked for. */
  padding: 10px var(--primitive-space-2) 10px 40px;
  /* THEA-764 - founder 2026-08-26: bigger, closer to the reference's
     display-scale reading (24px in their DOM, sized to look display-scale
     in layout - see the task brief). Was clamp(20px, 2.2vw, 28px), then
     clamp(26px, 3vw, 40px) - bumped again 2026-08-26 round 2, "make the
     menu headings... bigger". */
  /* v10.30 - max 46px -> 38px. The panel does not scroll, so seven rows plus the
     secondary links must fit one viewport. Still comfortably the biggest thing in
     the panel, which keeps the big-primary / smaller-secondary relationship the
     founder asked for. */
  font-size: clamp(26px, 2.9vw, 38px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--primitive-asphalt); text-decoration: none;
  background: none; border: 0; width: 100%; cursor: pointer; font-family: inherit;
  transition: color var(--primitive-duration-fast) var(--primitive-easing-out), padding-left var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-menu__nav-link::before {
  /* home-design-system.md rule 4: orange fails AA as small text, so the
     ordinal is set in ink at full opacity rather than orange. */
  content: counter(tpc-menu-item, decimal-leading-zero);
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: var(--primitive-ink);
}
.tpc-menu__nav-link:hover,
.tpc-menu__nav-link:focus-visible { color: var(--primitive-orange); padding-left: 46px; }
.tpc-menu__nav-link .chevron { flex-shrink: 0; font-size: 20px; transition: transform var(--primitive-duration-fast) var(--primitive-easing-out); }
.tpc-menu__nav-item.is-open .tpc-menu__nav-link { color: var(--primitive-orange); }
.tpc-menu__nav-item.is-open .chevron { transform: rotate(180deg); }

/* v10.31 - the Services accordion/sublist CSS lived here. Removed with the
   dropdown itself: the three tiles ARE the three services it listed. */

/* ---- footer link grid, sits under the oversized list ------------------ */
.tpc-menu__footer {
  /* auto, not space-5: row 2 is now 1fr, so this pushes the secondary links to
     the bottom of the column. That is what lands them level with the bottom
     tile opposite, which bottom-aligns for the same reason. */
  margin-top: auto;
  padding-top: var(--primitive-space-4);
  border-top: 1px solid rgba(34,34,34,0.1);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--primitive-space-5);
}
.tpc-menu__footer h3 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primitive-ink); opacity: 0.6; margin: 0 0 6px; line-height: 1.3; }
.tpc-menu__footer ul { list-style: none; margin: 0; padding: 0; }
.tpc-menu__footer a { display: block; padding: 2px 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--primitive-asphalt); text-decoration: none; }
.tpc-menu__footer a:hover { color: var(--primitive-orange); }
.tpc-menu__footer li:not(:has(a)) { font-size: 14px; line-height: 1.3; color: var(--primitive-ink); padding: 2px 0; }

@media (max-width: 1023px) {
  /* columns stack into THREE rows here (bar / tiles / nav), so the base rule's
     `auto 1fr` would hand the slack to the tiles instead of the content row.
     All-auto: every section takes its natural height. */
  .tpc-menu__inner { grid-template-columns: 1fr; grid-template-rows: auto; gap: var(--primitive-space-6); }
  /* v10.58 - founder 2026-10-06: "fix the mobile menu overlap now". ROOT
     CAUSE: stacked, the panel holds ~908px of content (bar + search, three
     180px tiles, nav, footer) in a viewport-tall box with overflow hidden.
     The grid cannot grow, so it shrinks the one row allowed to shrink:
     .tpc-menu__tiles-col carries min-height:0 (needed on desktop so its
     tiles can flex to fill the column), so its row collapsed to its 52px
     padding, the tiles overflowed out of it, and the nav row was laid out
     right on top of them. No phone is tall enough to fit the stack (even
     before the search row), so below 1024 the PANEL scrolls (the page
     behind stays locked, the close X stays fixed) and the column gets its
     content height back. Desktop is untouched: still one viewport, no
     scroll, as the founder's reference menu. */
  .tpc-menu__inner { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .tpc-menu__tiles-col { min-height: auto; }
  /* Columns stack here, so tiles (first in DOM) becomes the item sitting
     under the floating close X, not nav - the toggle clearance moves with
     it. See the base-rule comments on .tpc-menu__tiles/.tpc-menu__nav for
     why this can't just stay a shared var. */
  .tpc-menu__nav { padding-top: 0; }
  /* grid-template-rows/flex are desktop-only: stacked here, the tiles take
     their natural 170px rows rather than filling a stretched column. */
  .tpc-menu__tiles { grid-auto-rows: 170px; grid-template-rows: none; flex: 0 0 auto; }
  .tpc-menu__section-heading { font-size: clamp(24px, 4.5vw, 32px); }
  /* clearance goes on the wrapper now that it, not the grid, is the column;
     and the column stops bottom-parking once it's the only thing in the row. */
  .tpc-menu__tiles-col {
    justify-content: flex-start;
    padding-top: calc(clamp(20px, 3.2vw, 64px) + 48px + var(--primitive-space-4) - var(--primitive-space-6));
  }
  .tpc-menu__tile--wide { grid-column: span 2; grid-row: span 1; }
  .tpc-menu__nav-link { font-size: clamp(24px, 4.5vw, 32px); }
  /* THEA-764 round-2 fix - the bigger desktop caption type (26/42/16px,
     space-6 padding) overflowed these 170px-tall stacked rows and rode up
     over the tile above it. Restored to the sizes this breakpoint already
     shipped and worked at before this round's desktop bump. */
  .tpc-menu__tile-caption { padding: var(--primitive-space-4); }
  .tpc-menu__tile-title { font-size: 20px; }
  .tpc-menu__tile--wide .tpc-menu__tile-title { font-size: 28px; }
  .tpc-menu__tile-desc { font-size: 14px; }
}
@media (max-width: 599px) {
  .tpc-menu__tiles { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .tpc-menu__tile--wide { grid-column: span 1; }
  .tpc-menu__footer { grid-template-columns: 1fr; }
}

/* reduced motion: the menu still opens instantly (the fade is already
   only 120ms), just the tile hover/focus zoom is suppressed */
@media (prefers-reduced-motion: reduce) {
  .tpc-menu__tile video, .tpc-menu__tile img, .tpc-menu__tile:hover video, .tpc-menu__tile:hover img { transition: none; transform: none; }
}

/* ---- THEA-674 drawer (superseded, see banner comment above) --------- */
.site-header .site-header__nav[data-open],
.site-header.is-collapsed .site-header__nav[data-open] {
  counter-reset: tpc-navitem;
  /* Two layers: a 4px brand ramp welded to the top edge, then a warm ground
     that lifts the sheet off the flat white it used to be. */
  background:
    linear-gradient(90deg, #F7CE38 0%, #F4941D 55%, #FC210D 100%) top / 100% 4px no-repeat,
    linear-gradient(180deg, #FFFFFF 0%, #FFF6EC 100%);
  box-shadow: 0 22px 48px rgba(34, 34, 34, 0.20);
  border-radius: 0 0 20px 20px;
  padding: var(--primitive-space-4) var(--primitive-space-5) var(--primitive-space-6);
}

/* ---- the rows ------------------------------------------------------- */
.site-header .site-header__nav[data-open] .site-header__nav-item,
.site-header.is-collapsed .site-header__nav[data-open] .site-header__nav-item {
  counter-increment: tpc-navitem;
}
.site-header .site-header__nav[data-open] .site-header__nav-link,
.site-header.is-collapsed .site-header__nav[data-open] .site-header__nav-link {
  position: relative;
  padding-block: 14px;
  padding-left: 46px;
  padding-right: 12px;
  border-bottom: 1px solid rgba(244, 148, 29, 0.20);
  border-radius: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--primitive-asphalt);
  transition: background var(--primitive-duration-fast) var(--primitive-easing-out),
              padding-left var(--primitive-duration-fast) var(--primitive-easing-out);
}
/* Ordinals are DECORATION, generated by a CSS counter, so they never enter the
   copy deck - this project is restyle-only and the wording is locked. They are
   also why the row carries left padding rather than a wider flex gap: the row
   is justify-content:space-between, so an in-flow ::before would be pushed to
   the opposite end of the link instead of sitting beside the label. */
.site-header .site-header__nav[data-open] .site-header__nav-link::before,
.site-header.is-collapsed .site-header__nav[data-open] .site-header__nav-link::before {
  content: counter(tpc-navitem, decimal-leading-zero);
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primitive-orange);
  opacity: 0.75;
  transition: opacity var(--primitive-duration-fast) var(--primitive-easing-out);
}
.site-header .site-header__nav[data-open] .site-header__nav-link:hover,
.site-header .site-header__nav[data-open] .site-header__nav-link:focus-visible,
.site-header.is-collapsed .site-header__nav[data-open] .site-header__nav-link:hover,
.site-header.is-collapsed .site-header__nav[data-open] .site-header__nav-link:focus-visible {
  background: rgba(244, 148, 29, 0.12);
  padding-left: 52px;
  color: var(--primitive-asphalt);
}
.site-header .site-header__nav[data-open] .site-header__nav-link:hover::before,
.site-header.is-collapsed .site-header__nav[data-open] .site-header__nav-link:hover::before { opacity: 1; }

/* The nested services list was plain text on white; it now reads as a
   subordinate group rather than three more top-level items. */
.site-header .site-header__nav[data-open] .mobile-services-list {
  margin: 4px 0 10px 46px;
  padding-left: 14px;
  border-left: 2px solid rgba(244, 148, 29, 0.35);
}
.site-header .site-header__nav[data-open] .mobile-services-list a {
  font-weight: 600;
  font-size: 15px;
  padding-block: 9px;
}

/* ---- the two calls to action ---------------------------------------- */
.site-header .site-header__nav[data-open] .site-header__nav-ctas .btn--primary,
.site-header.is-collapsed .site-header__nav[data-open] .site-header__nav-ctas .btn--primary {
  /* Ramp stops at brand orange rather than running to the flare red: asphalt
     type measures 10.49:1 on the yellow and 6.89:1 on the orange, where the
     red end would drop it to 4.06:1 and fail 4.5:1 for text. The control above
     can use the full ramp because bars are non-text and only need 3:1. */
  background: linear-gradient(120deg, #F7CE38 0%, #F4941D 100%);
  border: 0;
  color: var(--primitive-asphalt);
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 14px;
  padding-block: 16px;
  box-shadow: 0 8px 20px rgba(244, 148, 29, 0.34);
}
.site-header .site-header__nav[data-open] .site-header__nav-ctas .btn--secondary,
.site-header.is-collapsed .site-header__nav[data-open] .site-header__nav-ctas .btn--secondary {
  /* Urgent earns red, but #FC210D carries white at only 3.92:1. #C21708 is the
     same hue family at 6.14:1. */
  background: #C21708;
  border: 0;
  color: var(--primitive-white);
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 14px;
  padding-block: 16px;
  box-shadow: 0 8px 20px rgba(194, 23, 8, 0.30);
}

/* ════════════════════════════════════════════════════════════════════
   v6.68 - DESTRUCTIVE SWAP between the two halves of the middle line.
   Founder: "instead of it sliding to another section via horizontal scroll,
   the text and video changes but has a look destructive cartoon like
   transition like a construction site to resemble similarities".
   All of this is drawn in CSS; nothing here loads or generates an asset.
   v6.70 - the hazard-stripe band that used to swing through ahead of the
   collapse is REMOVED at the founder's direction. The jolt, the falling
   debris, the dust and the brick-drop rebuild all stay.
   ════════════════════════════════════════════════════════════════════ */
.tpc-statement__panel--swap { position: relative; }

/* Both faces occupy the same box, so the swap happens in place instead of
   moving the track. They inherit the panel's own centring rather than
   redeclaring it, which is what keeps face B landing on the same optical axis
   syncPanelAxis() measured for face A. */
.tpc-statement__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.tpc-statement__face--b {
  opacity: 0;
  visibility: hidden;
}

.tpc-statement__demo {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: clip;
}

/* Dust. Warm grey rather than white so it reads as site dust against the
   cream ground instead of a lighting effect. */
.tpc-statement__dust {
  position: absolute;
  bottom: 6%;
  width: var(--d, 260px);
  height: var(--d, 260px);
  margin-left: calc(var(--d, 260px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(198, 184, 166, 0.92) 0%,
    rgba(198, 184, 166, 0.52) 46%,
    rgba(198, 184, 166, 0) 72%);
  opacity: 0;
}

/* A word mid-demolition is a positioned chunk, not type in a line box. */
.tpc-statement__chunk {
  display: inline-block;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  /* The swap still has to happen or the second half of the sentence is
     unreachable; it just happens as a cut with no debris. */
  .tpc-statement__dust { display: none; }
}

/* v6.76 - services section head, now a single centred line.
   Founder: centre "What we do", make it bigger, brand orange, and animate it.
   CONTRAST, stated plainly because it is a real trade-off and not a detail:
   #F4941D on this near-white ground measures about 2.3:1. WCAG wants 4.5:1 for
   body text and 3:1 for large text, so this fails both even at display size.
   It is shipped as asked; the accessible alternative is the deeper cone orange
   or asphalt with an orange rule under it, either of which clears 3:1. */
.tpc-section-head--solo {
  text-align: center;
  margin-inline: auto;
  /* v6.79 - the shared .tpc-section-head carries margin-bottom: 64px, and that
     was the real gap, not the heading's own margin. Trimming only the h2 moved
     the total from 102px to 98px, which is why this override exists. */
  margin-bottom: clamp(12px, 1.6vh, 24px);
}
.tpc-eyebrow--solo {
  /* v6.84 - matched to .tpc-hero__title rather than the eyebrow it inherited
     from: weight 800, uppercase, and NEGATIVE tracking. The eyebrow's 0.055em
     is a small-caps label treatment and reads wrong at display size; the hero
     sets -0.01em, which is what closes the letters up at 56px. */
  font-size: clamp(30px, 3.4vw, 56px);
  font-weight: 800;
  line-height: 1.049;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--primitive-orange);
  /* v6.79 - founder: less air between this and the tiles. Was 4.4vh/62px. */
  margin: 0 0 clamp(18px, 2.2vh, 32px);
}

/* ════════════════════════════════════════════════════════════════════
   v6.81 - SERVICES SHOWCASE. Three tiles, all on screen, drifting gently.
   THE DRIFT IS BOUNDED ON PURPOSE. Each tile moves +/-7px, so two neighbours
   can close on each other by at most 14px. The stack gap is 44px, which leaves
   30px of clearance at the worst possible moment in the cycle: they can never
   touch, whatever phase they happen to be in. The periods are deliberately
   mismatched (7.5s / 8.6s / 9.4s) so the three never lock into unison and read
   as one sliding block, and the negative delays desynchronise them without a
   pause on load.
   Vertical only, no rotation, no scale: rotating or zooming a large panel is
   what makes idle motion uncomfortable to sit next to, and this section is
   read rather than glanced at.
   THE GROUND IS DARK ON PURPOSE. The founder's reference works because its
   panel is a deep violet, which carries white type. TPC's brand orange does
   not: white on #F4941D is 2.31:1 and on #E8611C 3.41:1, both under the 4.5:1
   body-text minimum. This ramp tops out at #C2540F where white still measures
   4.60:1, so the type holds at every point of the gradient.
   ════════════════════════════════════════════════════════════════════ */
.tpc-showcase {
  /* v6.82 - three across, at the founder's direction. Side by side also makes
     the drift inherently collision-proof: the tiles now sit in separate
     columns and still move only vertically, so they cannot reach each other at
     any phase. The +/-7px is kept because it is a comfort limit, not a
     clearance one. */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.9vw, 28px);
  /* v6.83 - stretch, not start: the founder wants all three the same height.
     The slot stretches, the tile fills it, and the copy column below grows so
     the CTA can be pushed to a common baseline instead of floating wherever
     its own paragraph happens to end. */
  align-items: stretch;
}
.tpc-showcase__slot { display: flex; }
/* v6.90 - THE DRIFT IS REMOVED at the founder's direction. The keyframes, the
   per-tile period offsets and the reduced-motion opt-out all go with it rather
   than being left dormant: a paused animation still creates a compositing
   layer per tile, and a dormant keyframe block is an invitation to switch it
   back on by accident. */
.tpc-showcase__tile {
  border-radius: 26px;
  overflow: clip;
  display: grid;
  /* One column inside the tile now. At a third of the width the copy/media
     split has nowhere to go, so the media sits above the copy - which is also
     the order the old cards used before the reference restyle. */
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: clamp(16px, 1.4vw, 24px);
  padding: clamp(20px, 1.7vw, 30px);
  /* v7.12 - solid #414142 at the founder's direction, replacing the rust ramp
     and its orange bloom. Flat rather than graded means the type contrast is a
     single known number instead of a range: white measures 10.20:1 on this,
     and the body copy at 92% white 9.0:1, so both clear comfortably wherever
     they sit on the tile. */
  background: #414142;
  box-shadow: 0 30px 70px rgba(34,34,34,0.28);
}

.tpc-showcase__copy {
  max-width: none;
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}
.tpc-showcase__title {
  margin: 0 0 clamp(11px, 1.2vw, 16px);
  font-size: clamp(19px, 1.45vw, 26px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--primitive-white);
}
.tpc-showcase__desc {
  margin: 0 0 clamp(18px, 2vw, 26px);
  font-size: clamp(13.5px, 0.92vw, 15px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
/* v6.84 - .btn--primary, which is already exactly what the founder asked for:
   background var(--primitive-orange) with var(--primitive-asphalt) text. The
   token carries the note "orange ground text is always asphalt, never white",
   and the measurement backs it: asphalt on #F4941D is 6.89:1 where white would
   be 2.31:1. The .btn base border is 2px SOLID TRANSPARENT rather than a
   width, so there is no stroke to remove and the button keeps the same box as
   every other button on the page.
   margin-top:auto is what puts all three on one baseline now the tiles are
   equal height. */
/* v6.85 - WHITE label at the founder's explicit direction, overriding
   --btn-primary-text. Recording the number rather than the opinion: white on
   #F4941D is 2.31:1, against 6.89:1 for the asphalt this replaces, and 4.5:1
   is the threshold. Shipped as asked. */
.tpc-showcase__cta {
  margin-top: auto;
  align-self: center;
  color: var(--primitive-white);
}

/* Sized to the founder's stated intent - a video goes here - so it holds a
   16:9 box rather than shrink-wrapping the placeholder. */
.tpc-showcase__media {
  order: 1;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: rgba(20, 12, 6, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10), 0 18px 40px rgba(0,0,0,0.30);
  display: grid;
  place-content: center;
  text-align: center;
  color: rgba(255,255,255,0.72);
}
.tpc-showcase__media video,
.tpc-showcase__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

@media (max-width: 1024px) {
  .tpc-showcase { grid-template-columns: 1fr; gap: 26px; }
}


/* v6.99 - "Specialist services" on two lines. The other two titles wrap on
   their own; this one fits a single line at every width, so the break is made
   structural rather than left to chance. Block spans, so no <br> and no change
   to the words or the space between them. */
.tpc-showcase__title--stacked span { display: block; }

/* ════════════════════════════════════════════════════════════════════
   v7.0 - WHY SECTION, restructured at the founder's direction: heading and
   body centred, the at-a-glance panel moved below rather than beside.
   The kicker now uses .tpc-eyebrow--solo, the same rule the services heading
   uses, so the two sections are the same treatment by REFERENCE rather than by
   two sets of numbers that would drift apart.
   ════════════════════════════════════════════════════════════════════ */
.tpc-why__inner {
  grid-template-columns: 1fr;
  justify-items: center;
}
.tpc-why__copy {
  text-align: center;
  max-width: 78ch;
  margin-inline: auto;
}
/* The subheading. Sits under the orange heading in asphalt, at a size that
   reads as secondary to it without collapsing into body copy. */
.tpc-why__sub {
  margin: 0 0 clamp(12px, 1.4vw, 18px);
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primitive-asphalt);
}
.tpc-why__copy .tpc-section-intro {
  max-width: 62ch;
  margin-inline: auto;
}

/* Three points across, each centred with its icon above the text. Left-aligned
   rows read as a list beside a panel; centred columns read as a row of points
   under a centred heading, which is what this section is now. */
.tpc-why__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 44px);
  margin: clamp(30px, 4vh, 56px) 0 clamp(26px, 3.4vh, 44px);
  padding: 0;
  list-style: none;
  text-align: center;
}
.tpc-why__point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tpc-why__actions { justify-content: center; }

/* The panel, now a full-width strip under the copy rather than a sidebar. */
.tpc-why__panel { width: 100%; }
.tpc-why__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
}

@media (max-width: 860px) {
  .tpc-why__list  { grid-template-columns: 1fr; }
  .tpc-why__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v7.0 - the facts were built for a narrow sidebar: label left, value right,
   hairline under each row. Side by side in a four-across strip that reads as
   cramped and the underlines become stray dashes. Stacked and centred instead,
   with the hairline moved to a vertical divider BETWEEN facts, which is what
   separates columns rather than rows. */
.tpc-why__panel .tpc-why__fact {
  display: block;
  text-align: center;
  padding: 0 clamp(10px, 1.4vw, 22px);
  border-bottom: 0;
  border-left: 1px solid var(--band-hairline);
}
.tpc-why__panel .tpc-why__fact:first-child { border-left: 0; }
.tpc-why__panel .tpc-why__fact dt {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tpc-why__panel .tpc-why__fact dd {
  text-align: center;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.35;
}
.tpc-why__panel .tpc-textlink { display: inline-block; margin-top: clamp(18px, 2.2vh, 28px); }
.tpc-why__panel-head { margin-bottom: clamp(16px, 2vh, 24px); }

@media (max-width: 860px) {
  .tpc-why__panel .tpc-why__fact:nth-child(3) { border-left: 0; }
}

/* ════════════════════════════════════════════════════════════════════
   v7.02 - HEADER: more top air, and the row pushed out toward the edges.
   It was capped at --container-max (1312px), so on a 1920 screen the logo sat
   321px in from the left. That cap is right for reading columns and wrong for
   a header, which is furniture and should sit on the frame.
   One --header-gutter drives both the inner padding AND the collapsed
   hamburger's right offset. The burger is absolutely positioned, so without
   sharing the value it would keep its old 24px inset and stop lining up with
   the logo the moment the gutter changed.
   ════════════════════════════════════════════════════════════════════ */
.site-header {
  --header-gutter: clamp(20px, 3.2vw, 64px);
  /* THEA-764 - shared with the menu-open toggle's fixed top offset below, so
     the close X lands on the exact same row-centre the burger sits on while
     collapsed, instead of the two being computed two different ways. */
  --header-row-pad-top: clamp(34px, 4.4vh, 60px);
}
.site-header .site-header__inner {
  max-width: none;
  padding-inline: var(--header-gutter);
  /* v7.03 - more air above. 3.2vh only lifted 16px to 28px on a laptop, which
     read as barely changed; 4.4vh lands around 40px there and 56px on a large
     display, while the bottom stays tight so the row still sits high. */
  padding-block: var(--header-row-pad-top) var(--primitive-space-4);
}
/* v10.43 - the collapsed burger is in flow now (see above), so `right` no
   longer applies to it; margin-left:auto lands it on the same gutter. */

/* v7.04 - the nav links sat hard against the logo with 546px of dead space
   before the buttons. The nav is flex:1 so it already spans the whole gap
   between logo and CTAs; it just had no justification, so its items packed to
   the start. Centring them inside that band balances the row WITHOUT moving
   the logo or the buttons, which keep their own places in the outer flex line.
   Kept as justify-content rather than auto margins so the burger reveal, which
   shrinks this element, still collapses predictably. */
.site-header .site-header__nav { justify-content: center; }

/* ════════════════════════════════════════════════════════════════════
   v7.05 - nav centred on the SCREEN, not on the gap, and smaller header CTAs.
   Centring inside the flex band left the links 185px off true centre, because
   the logo (48px) and the CTA pair (442px) are nowhere near the same width, so
   the band itself is not centred on the page. Absolute positioning at left:50%
   is the only way to sit on the page's midline while leaving the logo and the
   buttons exactly where they are.
   Guarded to >=1200px: taken out of the flex line the nav can no longer shrink
   to fit, and below that width it would start colliding with the CTAs. Also
   excluded from .is-collapsed, where this same element becomes the dropdown
   drawer and needs its own full-width positioning.
   ════════════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) {
  .site-header:not(.is-collapsed) .site-header__nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: 0 0 auto;
    width: auto;
    /* The flex gap leaves a 24px margin on this element. Harmless while it was
       in the flow, but it adds to `left` once positioned, which put the links
       24px past the midline. */
    margin-inline: 0;
  }
  /* v7.08 - the CTA anchor rule went with the buttons. The original
     .site-header__ctas rules further up are left alone: they are inert with no
     element present, and restoring the markup would restore its styling. */
}


/* v7.07 - logo up from 48px to a clamped 56-64px. Both marks are sized off one
   token rather than two declarations: they are stacked and crossfaded by the
   scroll collapse, so if they ever differ by a pixel the swap reads as a jump. */
.site-header { --header-logo: clamp(56px, 3.4vw, 64px); }
.site-header .site-header__logo-mark {
  width: var(--header-logo);
  height: var(--header-logo);
}

/* ════════════════════════════════════════════════════════════════════
   v7.1 - DRIFTING ORANGE GROUND behind the statement and services sections.
   Three soft radial blooms in the brand oranges, slowly drifting and breathing
   on mismatched timings so the field never repeats a recognisable pose.
   Opacity is deliberately low. Both sections carry asphalt body copy on white,
   and this sits BEHIND that copy: anything stronger starts eating contrast on
   text that currently measures well over the threshold. It is atmosphere, not
   a background colour.
   The statement keeps its existing white -> 5% orange -> white gradient as the
   base; this layer sits on top of that and below the content.
   ════════════════════════════════════════════════════════════════════ */
.tpc-statement::before,
.tpc-services::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42% 46% at 24% 34%, rgba(244, 148, 29, 0.20) 0%, rgba(244, 148, 29, 0) 68%),
    radial-gradient(38% 42% at 78% 58%, rgba(232, 97, 28, 0.16) 0%, rgba(232, 97, 28, 0) 70%),
    radial-gradient(34% 38% at 52% 74%, rgba(247, 206, 56, 0.18) 0%, rgba(247, 206, 56, 0) 68%);
  animation: tpc-ground-drift 34s ease-in-out infinite alternate;
  will-change: transform;
  /* v7.11 - THE HARSH LINES. The layer is clipped by the section's overflow,
     so wherever a bloom still had colour at the boundary it was sliced square
     and read as a hard rule across the full width. Fading the layer out before
     it reaches the edge means the clip only ever cuts transparent pixels.
     Vertical AND horizontal, intersected: the vertical seams are the ones that
     showed, but the side edges cut the same way at narrow widths.

     v7.13 - the v7.11 mask was not enough on its own, because a mask is applied
     in the element's own box and the transform happens AFTER it. Scaling to
     1.12 and shifting 2.5% pushed the still-opaque middle of the mask out past
     the clip box, so the clip went on cutting solid colour and the line stayed.

     Two things fix it, and both are needed. First, the mask has flat fully
     transparent shoulders rather than fading all the way to the 0% and 100%
     stops: a stop at 94% is where the fade FINISHES, not where it starts, so
     everything past it is genuinely zero. Second, the drift below is capped at
     scale 1.04 and a 3% shift, which puts the section edge at 0.957 of the
     layer in the worst frame, inside that 94% shoulder with room to spare.
     Widen the drift or narrow the shoulders and the line comes straight back,
     so the two have to move together. */
  /* v7.20 - the shoulders are SMOOTHED, not straight. A straight shoulder is
     continuous in alpha and still visible, because it turns a corner where it
     meets the flat middle, and a corner in slope is what the eye draws a Mach
     band on. Harmless while this bloom sat on flat white; the moment the red
     section's blend put a changing colour underneath, the 82% corner showed up
     as a line right across the page 95px above the join. These stops trace the
     same smoothstep the seams use. The 6% and 94% ends are unchanged and must
     stay - they are what keeps the section's own clip off the colour. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 6%, rgba(0,0,0,0.16) 10%, rgba(0,0,0,0.5) 14%, rgba(0,0,0,0.84) 18%, #000 22%, #000 78%, rgba(0,0,0,0.84) 82%, rgba(0,0,0,0.5) 86%, rgba(0,0,0,0.16) 90%, transparent 94%),
                      linear-gradient(to right,  transparent 0, transparent 6%, rgba(0,0,0,0.16) 10%, rgba(0,0,0,0.5) 14%, rgba(0,0,0,0.84) 18%, #000 22%, #000 78%, rgba(0,0,0,0.84) 82%, rgba(0,0,0,0.5) 86%, rgba(0,0,0,0.16) 90%, transparent 94%);
          mask-image: linear-gradient(to bottom, transparent 0, transparent 6%, rgba(0,0,0,0.16) 10%, rgba(0,0,0,0.5) 14%, rgba(0,0,0,0.84) 18%, #000 22%, #000 78%, rgba(0,0,0,0.84) 82%, rgba(0,0,0,0.5) 86%, rgba(0,0,0,0.16) 90%, transparent 94%),
                      linear-gradient(to right,  transparent 0, transparent 6%, rgba(0,0,0,0.16) 10%, rgba(0,0,0,0.5) 14%, rgba(0,0,0,0.84) 18%, #000 22%, #000 78%, rgba(0,0,0,0.84) 82%, rgba(0,0,0,0.5) 86%, rgba(0,0,0,0.16) 90%, transparent 94%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
/* The services section paints nothing of its own and had no containing block,
   so it needs both before the layer can sit inside it. clip stops the drift
   bleeding into the sections either side. */
.tpc-services {
  position: relative;
  overflow: clip;
  /* v7.22 - room to breathe before the red. The band's stock 96px put the
     section edge only 115px under the text links, and the blend is 204px tall,
     so the fade actually STARTED above the links and the page went to red
     almost the moment they ended. The figure is set from what has to fit: the
     204px fade, plus about 160px of clean white above it, plus the links'
     own margin. Red now becomes perceptible around 220px below the links
     rather than level with them. Change the blend height and this wants
     changing with it. */
  padding-bottom: clamp(320px, 42vh, 460px);
}
/* THEA-864 - same trap as the hero proof strip above: 42vh is 354px on a
   390x844 phone, 34px past the clamp's own 320px floor, which this rule's
   own comment already proves is enough to clear the 204px blend plus air.
   Mobile-only, pinned to the floor. */
@media (max-width: 699px) { .tpc-services { padding-bottom: 320px; } }
/* Second section, different phase and period, so the two are never in step
   where they meet at the section boundary. */
.tpc-services::before {
  animation-duration: 41s;
  animation-delay: -12s;
}

/* v7.13 - capped at scale 1.04 and a 3% shift so the transparent shoulders on
   the mask above always cover the section edges. Translation does the visible
   drifting; the scale is only a slow breath, so trimming it costs nothing. */
@keyframes tpc-ground-drift {
  0%   { transform: translate3d(-3.0%, -2.5%, 0) scale(1.01); }
  50%  { transform: translate3d( 3.0%,  2.5%, 0) scale(1.04); }
  100% { transform: translate3d(-1.5%,  2.0%, 0) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  /* The blooms stay, the movement goes. */
  .tpc-statement::before,
  .tpc-services::before { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   EMBER STATEMENT - the second full-screen sequence, v7.15.

   Same shell as .tpc-statement in every respect; this file only repaints it.
   The founder's brief was "#C02B0A mixed with colour to create a gradient",
   and #C02B0A is already canonical as --primitive-signal-red, so every stop
   is mixed from tokens rather than hand-picked hexes.

   THE GRADIENT IS CAPPED AT THE LIGHT END ON PURPOSE. The obvious move is to
   run the ramp up into the brand orange, and it cannot be done here: white on
   --primitive-orange is 2.31:1 and white on #E8611C is 3.43:1, both failing
   under display type that spans the full width of the screen. The warmest stop
   is therefore signal red carrying only 18% orange, which measures 5.27:1
   against white, and the deep stop 7.40:1. Push the orange share past about
   25% and the headline stops passing.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-statement--ember {
  /* v7.18 - 168deg -> 180deg. The tilt cost almost nothing visually and broke
     the seams: on a diagonal the colour along the top EDGE is not the 0% stop,
     it is already some way down the ramp, so the blends either side finished
     on a lighter red than the edge they met and left a step. Vertical makes
     the first and last stops the literal edge colours, which is what lets the
     fades match by construction rather than by eye. */
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--primitive-signal-red) 82%, var(--primitive-orange)) 0%,
      var(--primitive-signal-red) 46%,
      color-mix(in srgb, var(--primitive-signal-red) 80%, var(--primitive-asphalt)) 100%);
}

/* The drifting ground, restated for a dark section. The white-page bloom is
   orange on white; the same layer over red is invisible at best and muddy at
   worst, so it becomes a soft white glow instead. Alphas are held at 0.12 and
   below so that even where two blooms overlap the lightest the surface ever
   gets is 4.73:1 against white. Mask, animation and geometry are inherited
   untouched from the base rule, including the transparent shoulders that keep
   the section's own clip off the colour. */
.tpc-statement--ember::before {
  background:
    radial-gradient(42% 46% at 24% 34%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(38% 42% at 78% 58%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(34% 38% at 52% 74%, rgba(244, 148, 29, 0.10) 0%, rgba(244, 148, 29, 0) 68%);
}

/* Type inverts to white. The highlight word cannot stay --primitive-orange
   here (2.53:1 on signal red, failing even the 3:1 that large text is allowed)
   so it lifts to a light apricot mixed from the same orange token, which lands
   at 3.35:1 against the warmest part of the ground and still reads as clearly
   the accent rather than the body. */
.tpc-statement--ember .tpc-statement__text { color: var(--primitive-white); }
/* The lead row carries --primitive-orange of its own, so the __hl override
   above never reached it: on white that row is the brand hit, on signal red it
   is 2.53:1 and goes muddy. Same apricot as the highlight, which keeps the two
   accents consistent and the row distinct from the white tail. */
.tpc-statement--ember .tpc-statement__row--lead {
  color: color-mix(in srgb, var(--primitive-orange) 55%, var(--primitive-white));
}
.tpc-statement--ember .tpc-statement__hl {
  color: color-mix(in srgb, var(--primitive-orange) 55%, var(--primitive-white));
}
.tpc-statement--ember .tpc-statement__body {
  color: color-mix(in srgb, var(--primitive-white) 92%, transparent);
}

/* ══════════════════════════════════════════════════════════════════════
   EMBER SEAMS - v7.18. The red section met the white ones either side on a
   butt joint, so both boundaries read as a drawn rule.

   THE BLEND CANNOT LIVE INSIDE THE RED SECTION. That section is PINNED, so
   anything inside it is held still for the whole pin: a fade at its top edge
   would park a white wash across the top of the viewport for 2137px of scroll
   rather than appearing at the boundary. The blend therefore belongs to the
   sections either side, which stay in normal flow and pass the joint once.

   Painted as a SOLID mixed from the tokens and faded with a MASK, not as a
   colour-to-transparent gradient. Interpolating a colour to `transparent`
   runs it through transparent BLACK in sRGB, which greys the middle of the
   ramp; mask alpha has no such problem, and it keeps the stop colours exactly
   equal to the red section's own end stops so the joint has nothing to give
   it away.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-services::after,
.tpc-hub::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  /* Behind the cards and the text links, above the white ground, exactly as
     the drifting bloom sits. The ramp reaches the links at about 31% alpha,
     which puts asphalt type on it at 7.9:1, so nothing has to move. */
  z-index: -1;
  height: clamp(140px, 22vh, 240px);
  pointer-events: none;

  /* v7.19 - SMOOTHSTEP, not a straight ramp. A linear fade is continuous in
     colour and still shows a line, because it is not continuous in SLOPE: a
     ramp arriving at a flat field is a corner, and the eye draws a Mach band
     on exactly that corner. Measured proof that colour was never the problem
     - the fade's end colour and the red section's first stop both compute to
     color(srgb 0.789647 0.242745 0.0526275), identical, and the line was
     still there.
     These stops trace t*t*(3-2t), whose slope is ZERO at both ends, so the
     fade leaves white and arrives at red with no corner at either joint. */
  --seam-ramp:
    rgba(0, 0, 0, 0)    0%,
    rgba(0, 0, 0, 0.03) 10%,
    rgba(0, 0, 0, 0.10) 20%,
    rgba(0, 0, 0, 0.22) 30%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.50) 50%,
    rgba(0, 0, 0, 0.65) 60%,
    rgba(0, 0, 0, 0.78) 70%,
    rgba(0, 0, 0, 0.90) 80%,
    rgba(0, 0, 0, 0.97) 90%,
    /* v12.14 - a solid tail, for the same reason .tpc-hero__seam got one.
       The smoothstep rationale above is untouched: its slope is already zero
       by 96%, so holding full alpha from there changes no visible shape, it
       only guarantees that the row the clip rounds to is fully opaque instead
       of 99-point-something. */
    rgba(0, 0, 0, 1)    96%,
    rgba(0, 0, 0, 1)    100%;
}

/* Into the red: the fade finishes on the red section's OWN first stop. */
.tpc-services::after {
  /* v12.14 - below the clip, not on it. See .tpc-hero__seam. .tpc-services
     also carries an animated ::before, so the same composited-layer-versus-
     clip-edge split applies at this joint. */
  bottom: -2px;
  background: color-mix(in srgb, var(--primitive-signal-red) 82%, var(--primitive-orange));
  -webkit-mask-image: linear-gradient(to bottom, var(--seam-ramp));
          mask-image: linear-gradient(to bottom, var(--seam-ramp));
}

/* v12.14 - A BACKSTOP BEHIND THE FADE'S CLIPPED EDGE.
   Pushing the fade 2px past the joint took this seam from 19 units of leak to
   6, and the last 6 are not the fade's edge, they are `.tpc-services`' own
   `overflow: clip`. Proven by elimination at a 0.499 device scale: painting
   .tpc-light-ground red instead of white takes the row to 0.00, and
   `overflow: visible` on .tpc-services takes it to 0.99. So the clip cuts the
   fade on a fractional row where its coverage drops under 100%, and the white
   ground behind it shows through at about 2.5%.

   The clip has to stay - .tpc-services::before is an oversized animated wash,
   the same arrangement the hero has - so instead the colour behind that row
   stops being white. An element's OWN background fills its border box and is
   NOT cut by its own overflow, which makes it the one layer at this joint the
   clip cannot touch. Three pixels of the red section's first stop along the
   bottom edge, behind the fade, in the identical token expression the fade
   and the ember both end on, so when the fade covers the row the backstop is
   invisible underneath it and when the clip shaves the row the backstop is
   what shows instead of white.

   `.tpc-services.band`, not `.tpc-services` - same trap `.tpc-why.band`
   documents below: `.tpc-light-ground .band { background: transparent }` is
   (0,2,0) and beats a bare class however late it is declared. */
.tpc-services.band {
  background: linear-gradient(to top,
    color-mix(in srgb, var(--primitive-signal-red) 82%, var(--primitive-orange)) 0,
    color-mix(in srgb, var(--primitive-signal-red) 82%, var(--primitive-orange)) 3px,
    rgba(255, 255, 255, 0) 3px);
}

/* Out of the red, and as of v7.26 that happens one section further down: the
   white knights section is itself red now, so the boundary that needs blending
   is the one below it. Painted in THAT section's last stop rather than the
   ember section's, for the same reason the entry and exit never shared a
   colour - each blend has to finish on the exact edge it meets. */
.tpc-hub { position: relative; overflow: clip; }
.tpc-hub::before {
  /* v12.14 - above the clip, not on it. The mask runs `to top` here, so this
     fade's full-alpha end is its TOP edge and that is the one to push out. */
  top: -2px;
  background: color-mix(in srgb, var(--primitive-signal-red) 72%, var(--primitive-asphalt));
  -webkit-mask-image: linear-gradient(to top, var(--seam-ramp));
          mask-image: linear-gradient(to top, var(--seam-ramp));
}

/* ══════════════════════════════════════════════════════════════════════
   WHY US, ON THE RED - v7.26. The founder asked for this section to match the
   red section above exactly, so the two now read as one continuous field.

   IT CONTINUES THE RAMP, IT DOES NOT REPEAT IT. Giving this section the same
   gradient as the ember section would put its LIGHTEST stop directly under the
   ember's DARKEST one, which is a hard reset at the join and precisely the
   kind of line we have spent several versions removing. So the first stop here
   is literally the ember section's last stop, and the ramp carries on getting
   marginally deeper from there. Change one and the other has to follow.
   ══════════════════════════════════════════════════════════════════════ */
/* .tpc-why.band, not .tpc-why. The light ground sets `.tpc-light-ground .band
   { background: transparent }` at specificity (0,2,0), which beats a bare class
   no matter how late it is declared, and the section silently stayed white with
   a perfectly valid rule sitting unused in the CSSOM. The ember section above
   dodges this only because it carries no `band` class. */
.tpc-why.band {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--primitive-signal-red) 80%, var(--primitive-asphalt)) 0%,
    color-mix(in srgb, var(--primitive-signal-red) 72%, var(--primitive-asphalt)) 100%);
}

/* Type inverts, because the section ground went from white to a dark red and
   asphalt copy on it would be unreadable. Measured against the LIGHTEST point
   of the ramp above, which is the worst case: white 7.40:1, the body copy at
   92% white 6.6:1, both clear of 4.5:1. The "At a glance" panel and the icon
   chips carry their own light backgrounds, so they are left alone and simply
   read as cards sitting on the red. */
.tpc-why .tpc-why__sub,
.tpc-why .tpc-why__point strong,
.tpc-why .tpc-textlink--strong { color: var(--primitive-white); }

.tpc-why .tpc-section-intro,
.tpc-why .tpc-why__point {
  color: color-mix(in srgb, var(--primitive-white) 92%, transparent);
}

/* The TOKEN is re-pointed, not just the elements. Several descendants here set
   `color: var(--band-body-text)` on themselves - the copy inside each point is
   a `span:last-child` that does exactly that - so a rule on the parent never
   reaches them and they stayed asphalt on red. Overriding the token covers all
   of them at once, including any added later.
   Scoped to .tpc-why__copy on purpose: the "At a glance" panel is a SIBLING of
   this column, not a child, and it is a white card that still wants dark text.
   Widening this to the section would invert the card too. */
.tpc-why.band .tpc-why__copy {
  --band-body-text: color-mix(in srgb, var(--primitive-white) 92%, transparent);
}

/* The inline link takes the same apricot the ember section uses for its accent
   word, so the two red sections share one accent rather than inventing a
   second. Orange itself is not available here: --primitive-orange on this
   ground is 2.53:1, under even the 3:1 that large text is allowed. */
.tpc-why .tpc-why__point a {
  color: color-mix(in srgb, var(--primitive-orange) 55%, var(--primitive-white));
}

/* ══════════════════════════════════════════════════════════════════════
   WHY US - VERTICAL RHYTHM, v7.30. The founder read the intro as sitting too
   close to the three points, and asked for the same space again between the
   points and the At a glance panel.

   Measured before: 37px from the intro to the points, and 96px from the points
   to the panel. Two different figures from two different mechanisms, which is
   why they never looked related - the first is the list's own margin-top, the
   second is the list's margin-bottom (31.6px) PLUS the inner grid's 64px row
   gap, added together.

   One value now drives all three gaps in the column. The list's bottom margin
   is zeroed so the gap below it is purely the grid's, otherwise the two would
   keep summing and the halves would drift apart again on any change.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-why.band {
  /* Sized so NOTHING gets tighter than it was. Equalising alone would have
     taken the points-to-panel gap from 96px down to 84px, which is a reduction
     on a request for more room. At 11vh this lands near 102px on a typical
     viewport, so the intro gap roughly triples and the panel gap still grows. */
  --why-rhythm: clamp(96px, 11vh, 140px);
}
.tpc-why.band .tpc-why__list {
  margin-top: var(--why-rhythm);
  margin-bottom: 0;
}
.tpc-why.band .tpc-why__inner {
  row-gap: var(--why-rhythm);
}

/* ══════════════════════════════════════════════════════════════════════
   WHY US - ACTIONS STACKED, v7.32. Restructured to the founder's reference:
   the button on its own line with the text link underlined beneath it, rather
   than the two sitting side by side.

   The button text goes white at the founder's instruction. Noting the number
   once rather than arguing it: white on --primitive-orange is 2.31:1. It is
   the same call already made on the What we do tiles, so this makes the page
   consistent rather than introducing a new exception.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-why.band .tpc-why__actions {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tpc-why.band .tpc-why__actions .btn--primary {
  color: var(--primitive-white);
  /* v7.33 - widened. It was 222px, which is 5px NARROWER than the 227px text
     link sitting under it, and that is what made it read as cramped: the
     primary action was visually the smaller of the two. min-width rather than
     width, so a longer label still grows the button instead of overflowing it.
     The small-screen guard is viewport-based, NOT a percentage: this button's
     flex parent is shrink-to-fit, so a percentage resolves against a width that
     the button itself determines, and `min(300px, 100%)` circularly capped it
     back to its own 227px content width. 100vw has no such dependency. */
  min-width: min(300px, calc(100vw - 64px));
}

/* Underlined, and offset a little so the rule clears the descenders rather
   than cutting through the y and the g. */
.tpc-why.band .tpc-why__actions .tpc-textlink--strong {
  color: var(--primitive-white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* ══════════════════════════════════════════════════════════════════════
   WHAT WE DO - SENTENCE CASE, v7.35. The founder asked for this heading and
   the three tile headings to come out of full caps.

   The caps were never in the copy: the markup already reads "What we do" and
   "Traffic Management Plans & TGS", so this is purely lifting the
   text-transform and no words change.

   SCOPED TO THE ID, not to .tpc-eyebrow. That class is shared, and the only
   other thing wearing it on this page is the Knowledge Hub eyebrow further
   down, which was not part of the ask and should keep its caps. The tile rule
   can be flat because .tpc-showcase__title belongs to these three headings and
   nothing else.

   Letter-spacing is deliberately left alone. Both are already on NEGATIVE
   tracking (-0.56px and -0.26px), which is display-type tracking rather than
   the positive tracking caps usually carry, so lowercase does not open gaps.
   ══════════════════════════════════════════════════════════════════════ */
#tpc-services-title { text-transform: none; }
.tpc-showcase__title { text-transform: none; }

/* ══════════════════════════════════════════════════════════════════════
   THE POINTING PLANNER - v7.36. Seated at the left edge of the screen,
   aimed at the At a glance panel.

   ANCHORED TO THE PANEL, NOT THE SECTION. He is a child of the panel, so his
   vertical position tracks it for free; anchoring to the section would have
   meant a hand-tuned `top` that breaks the moment the copy above reflows.

   THE FINGER, NOT HIS MIDDLE, IS WHAT LINES UP. The pointing finger sits at
   13.0% of the asset's height, measured off the source art. Centring the
   figure on the panel would therefore aim her waist at it and her finger well
   above. She is shifted down by (0.5 - 0.130) of her height so the finger
   lands exactly on the panel's centre line.
   v12.29 - the fraction WAS 0.297, measured off the hi-vis mascot whose arm
   came out of his chest. The cartoon planner points up and out from the
   shoulder, so her finger sits 13.0% down the canvas rather than 29.7%, and
   leaving the old constant in place would have aimed her ELBOW at the panel
   and hung her finger a third of her height above it. The constant is the one
   knob this alignment has; it is re-measured whenever the asset changes.

   v12.31 - CAPPED AT 0.24, WHICH IS SHORT OF TRUE FINGER ALIGNMENT, ON PURPOSE.
   The exact value is 0.370 (0.5 - 0.130), and the founder caught what that does
   at a wide viewport: her FEET WERE CUT OFF. .tpc-why.band is overflow-y:
   visible, so nothing trims her inside it - she simply hung past the band's
   bottom edge and the next section painted over her boots.
   Measured, the figure's bottom sits at centre + (0.5 + k) * height, and the
   band's own bottom is the ceiling. The clamp on --pointer-w tops out at 305px
   from about 1790px of viewport, so 1990px and 2560px are the same worst case:
     k 0.370 -> 26px PAST the band   k 0.300 -> 3px clear
     k 0.275 -> 13px clear           k 0.260 -> 19px clear
     k 0.240 -> 27px clear           k 0.203 -> 43px clear
   0.24 is the most downward shift that still leaves real clearance at every
   width from 1280 to 2560. It puts her finger 41-70px above the panel's centre
   line depending on width, against a panel half-height of 97-108px, so the
   finger still lands INSIDE the card - just in its upper third rather than dead
   centre. Aiming a little high reads fine; cropping her feet does not.
   If the asset is ever replaced, re-measure BOTH: the finger fraction and the
   clearance at 1990px+.

   He is BEHIND the panel in z-order on purpose: as the viewport narrows the
   gutter closes, and tucking him behind the white card reads as peeking out
   from behind it rather than colliding with it.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-why__panel { position: relative; z-index: 1; }

.tpc-why__pointer {
  /* v7.37 - the asset was re-cropped from his TORSO edge, not his bounding box.
     The art has his gripping hand detached from his body with transparent space
     between them, which read as a red gap once he sat on the red. Cropping at
     the column where the torso starts (x=640 in the master, verified as the
     jump from 10% to 32% alpha coverage) puts his body hard against the screen
     edge and takes the far hand behind it, which is what peeking around a
     corner should look like anyway.
     The width figures are reduced from 330/190 to 306/176 so his rendered
     HEIGHT is unchanged at about 509px: he is a narrower asset now, so holding
     the old widths would have scaled him up. */
  --pointer-w: clamp(176px, calc((100vw - 1180px) / 2), 305px);
  --pointer-h: calc(var(--pointer-w) * 1067 / 640);
  position: absolute;
  z-index: 0;
  /* out of the centred container to the viewport's left edge */
  left: calc(-1 * (100vw - 100%) / 2);
  top: 50%;
  transform: translateY(calc(-50% + var(--pointer-h) * 0.240));
  width: var(--pointer-w);
  pointer-events: none;
}
.tpc-why__pointer img { display: block; width: 100%; height: auto; }

/* The gutter is too tight below this to read as anything but a collision. */
@media (max-width: 1279px) {
  .tpc-why__pointer { display: none; }
}

/* He is positioned off the viewport edge, so the section must not be allowed
   to widen the page. Clip on X only - clipping Y would cut the reveal
   animations, and `clip` (unlike `hidden`) permits a per-axis value. */
.tpc-why.band { overflow-x: clip; overflow-y: visible; }

/* ══════════════════════════════════════════════════════════════════════
   AT A GLANCE - CENTRED HEAD AND FOOT, v7.38.

   The kicker is centred against the FULL card width, with the rating taken out
   of flow and pinned right, rather than centring the head row as a pair. If
   both were centred together, "At a glance" would sit off-centre by half the
   rating's width, which is the thing that was asked to be centred.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-why__panel-head {
  position: relative;
  justify-content: center;
}
.tpc-why__panel-head .tpc-why__panel-kicker { text-align: center; }
.tpc-why__panel-head .tpc-why__rating {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* fit-content rather than a full-width block, so the hit area and the
   underline stay on the words instead of spanning the whole card. */
.tpc-why__panel > .tpc-textlink {
  display: block;
  width: fit-content;
  margin-inline: auto;
}

/* ══════════════════════════════════════════════════════════════════════
   AT A GLANCE - SHEEN, v7.38. A specular sweep to give the card some value.

   IT CANNOT BE DONE WITH overflow:hidden. The obvious build is a bright bar
   inside a clipped box, and this card cannot clip: the pointing planner is a
   CHILD of it that deliberately sits outside its bounds, so hiding overflow
   would erase him. The sweep is therefore a moving BACKGROUND on an inset
   pseudo-element, which is painted inside its own box by definition and needs
   no clipping at all.

   ON WHITE, THE HIGHLIGHT ALONE IS INVISIBLE. White on white does nothing, so
   the streak is legible only because of the two faint asphalt bands riding
   either side of it: the eye reads the bright core between two shadows as a
   glint travelling across a glossy surface. Those bands are the effect. They
   are held at 0.05 and 0.03 alpha so they never muddy the type underneath.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-why__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  /* v7.39 - stronger. The shadow bands doubled from 0.03/0.05 to 0.06/0.11
     and the core went to full white. Since the bands are what make the glint
     visible on a white card, deepening THEM is what makes it more evident;
     raising the highlight alone would have changed nothing. At 0.11 the darkest
     point is rgb(231,231,231), still light enough to leave the type clean. */
  background-image: linear-gradient(100deg,
    rgba(34, 34, 34, 0)    36%,
    rgba(34, 34, 34, 0.06) 44%,
    rgba(34, 34, 34, 0.11) 48%,
    rgba(255, 255, 255, 1) 50%,
    rgba(34, 34, 34, 0.11) 52%,
    rgba(34, 34, 34, 0.06) 56%,
    rgba(34, 34, 34, 0)    64%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  animation: tpc-sheen 5.2s linear infinite;
}

/* v7.41 - a further small step: cycle 6s to 5.2s with the sweep at 69% of it.
   The pairing is the whole trick and has to hold every time this is retuned -
   0.69 x 5.2s is 3.59s, still the 3.6s travel signed off in v7.39. Only the
   hold shrinks, 2.4s to 1.6s. Change the duration without moving the keyframe
   percentage and the glint gets FASTER rather than more frequent, which is a
   different thing and not what was asked for.
   Timing stays `linear`: an eased sweep spends its speed in the middle and
   skips across the centre of the card, which is where it most needs to read. */
@keyframes tpc-sheen {
  0%          { background-position: 150% 0; }
  69%, 100%   { background-position: -70% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tpc-why__panel::after { animation: none; background-image: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   KNOWLEDGE HUB - v7.46. Redesigned to read as the entrance to a hub rather
   than a row of related links, and the headings brought onto the homepage's
   own type pattern.

   TYPE: identical values to the sections above, not approximations.
   "Knowledge Hub" now carries .tpc-eyebrow--solo, the same class the What we
   do heading uses, so it inherits that exact treatment: clamp(30px, 3.4vw,
   56px) at weight 800 in brand orange on -0.01em tracking. Caps are lifted to
   match the sentence case the founder asked for on What we do. The subheading
   mirrors .tpc-why__sub exactly - clamp(22px, 2.1vw, 34px), weight 800,
   -0.01em, asphalt - so the two sections are the same voice at the same size
   rather than the old 32px/700 that belonged to neither.
   ══════════════════════════════════════════════════════════════════════ */
#tpc-hub-title { text-transform: none; }

/* The section's own exit blend from the red above is ~204px of red fading down
   from its top edge, and the band's stock 96px of padding put this heading
   inside it - brand orange sitting on red, which is 2.53:1 and unreadable. The
   padding is set from the blend height plus air, so the heading always starts
   on clean white. Change the blend height and this has to move with it. */
.tpc-hub.band { padding-top: clamp(250px, 27vh, 330px); }

/* the testimonial subheading takes the same values, so the two sections speak
   at the same size and weight */
.tpc-testimonial__sub,
.tpc-hub__sub {
  margin: 0 0 clamp(12px, 1.4vw, 18px);
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primitive-asphalt);
}

/* v7.48 - THE SPINE IS GONE at the founder's call. The stem, node, rail and
   drop lines added in v7.46 are removed rather than hidden, along with the
   breakpoint that used to switch them off, so nothing is left behind to
   maintain. The grid keeps a plain top margin. */
.tpc-hub-grid {
  position: relative;
  margin-top: clamp(28px, 3vh, 48px);
  gap: clamp(20px, 1.8vw, 32px);
}

/* ── THE CARDS become index entries: a category chip, a bigger title, and a
   persistent arrow that moves on hover, on white with an orange cap rather
   than flat grey panels. */
.tpc-hub-item__link {
  background: var(--primitive-white);
  border: 1px solid rgba(34, 34, 34, 0.10);
  border-top: 3px solid var(--primitive-orange);
  padding: clamp(22px, 1.7vw, 30px);
  box-shadow: 0 10px 30px rgba(34, 34, 34, 0.06);
}
.tpc-hub-item__link:hover,
.tpc-hub-item__link:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(34, 34, 34, 0.14);
}

/* chip, not an underlined label - a taxonomy marker, which is what makes a set
   of pages read as a catalogue */
.tpc-hub-item__kicker {
  border-bottom: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primitive-orange) 16%, var(--primitive-white));
  color: var(--primitive-asphalt);
  letter-spacing: 0.8px;
  margin-bottom: clamp(14px, 1.2vw, 20px);
}

.tpc-hub-item__title { font-size: clamp(19px, 1.4vw, 23px); line-height: 1.25; }
.tpc-hub-item__desc  { font-size: 15px; }

.tpc-hub-item__go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.tpc-hub-item__go::after {
  content: '\2192';
  font-size: 1.05em;
  transition: transform var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-hub-item__link:hover .tpc-hub-item__go::after { transform: translateX(5px); }

/* the front door, centred under the set */
.tpc-hub__foot {
  margin-top: clamp(28px, 3vh, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.tpc-hub__foot .tpc-dot { display: none; }

/* ══════════════════════════════════════════════════════════════════════
   HUB CATEGORY COLOURS - v7.48. Each category owns a colour so the Knowledge
   Hub can be colour-coordinated as it is built out.

   DELIBERATELY OUTSIDE THE BRAND PALETTE, at the founder's instruction. These
   are wayfinding colours, not brand colours: their job is to tell three
   categories apart at a glance, which orange cannot do on its own because
   everything else on the page is already orange.

   Set once per card as --cat and used twice, on the top cap and on the chip,
   so a card reads as its category from across the page and adding a fourth
   category later is one data-cat and one colour.

   Contrast measured, chip text on its own tint, all above the 4.5:1 that small
   uppercase type needs: Guide 4.50:1, Reference 5.37:1, FAQs 5.53:1. The tints
   are mixed from the same colour so they can never drift apart.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-hub-grid > li { --cat: var(--primitive-orange); }
.tpc-hub-grid > li[data-cat="guide"]     { --cat: #0B6B62; }   /* deep teal   */
.tpc-hub-grid > li[data-cat="reference"] { --cat: #1D4ED8; }   /* signal blue */
.tpc-hub-grid > li[data-cat="faqs"]      { --cat: #7E22CE; }   /* violet      */

.tpc-hub-item__link { border-top-color: var(--cat); }

.tpc-hub-item__kicker {
  background: color-mix(in srgb, var(--cat) 13%, var(--primitive-white));
  color: var(--cat);
}

/* ── THE CARD CTA takes the site's button shape: filled orange, white text,
   uppercase, same radius and min-height as every other button on the page.
   It sits inside the card's own <a>, so it is a shape rather than a nested
   control - the whole card stays the single click target. The arrow stays,
   because it is what shows the button leads somewhere rather than submits. */
.tpc-hub-item__go {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--primitive-space-2);
  min-height: var(--btn-min-height);
  padding: 12px var(--primitive-space-6);
  border-radius: var(--btn-radius);
  background: var(--btn-primary-bg);
  color: var(--primitive-white);
  font-size: var(--primitive-size-button);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background-color var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-hub-item__link:hover .tpc-hub-item__go { background: #e08916; }

/* ══════════════════════════════════════════════════════════════════════
   WHAT WE DO TILES, ON THE HUB CARD PATTERN - v7.49. The founder asked for
   these to look like the Knowledge Hub cards with an orange accent, so the
   same recipe is applied: white ground, hairline border, a coloured cap along
   the top, and a soft shadow that deepens on hover.

   THE HOVER IS SHADOW AND BORDER ONLY, no lift. The hub cards rise 6px on
   hover, and these cannot: their drift is driven by GSAP, which owns the
   inline transform, so a CSS translate here would either be overwritten mid
   animation or fight it every frame. Shadow and border colour are free of that
   conflict and give the same "this is pickable" feedback.

   The centred copy stays centred. The hub cards are left aligned, but centring
   these was the founder's explicit call earlier and is not what the request
   was about.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-showcase__tile {
  background: var(--primitive-white);
  border: 1px solid rgba(34, 34, 34, 0.10);
  border-top: 3px solid var(--primitive-orange);
  border-radius: var(--card-radius);
  box-shadow: 0 10px 30px rgba(34, 34, 34, 0.06);
  transition: box-shadow var(--primitive-duration-fast) var(--primitive-easing-out),
              border-color var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-showcase__tile:hover,
.tpc-showcase__tile:focus-within {
  box-shadow: 0 22px 48px rgba(34, 34, 34, 0.14);
  border-color: rgba(34, 34, 34, 0.16);
  border-top-color: var(--primitive-orange);
}

/* Type inverts back to the light-ground palette. Measured on white: asphalt
   16.1:1 for the title, ink 10.4:1 for the body, both far clear of 4.5:1. */
.tpc-showcase__title { color: var(--primitive-asphalt); }
.tpc-showcase__desc  { color: var(--primitive-ink); }

/* The media well was built for a dark tile - a near-black fill with a white
   inner hairline and a heavy drop shadow. On white all three read as grime, so
   it becomes a light well with a hairline in the same asphalt as the card
   border. The clips themselves are unchanged. */
.tpc-showcase__media {
  background: var(--primitive-panel-grey);
  box-shadow: inset 0 0 0 1px rgba(34, 34, 34, 0.08);
  border-radius: var(--card-radius);
  color: var(--primitive-ink);
}
/* The clip is taken OUT OF FLOW to fill the well. The well is a centred grid,
   so its track is content-sized, and `width:100%` on a video resolves against
   that track - which before metadata arrives is the browser's default 300x150,
   not the well. Measured mid-load: a 341x192 well holding a 300x150 video.
   On the old dark tile that was invisible, dark on dark; on a white well it
   shows as an obviously undersized grey rectangle until the file lands, which
   is exactly what a visitor on a slow connection would see. Absolute
   positioning removes the dependency on intrinsic size entirely. */
.tpc-showcase__media { position: relative; }
.tpc-showcase__media video,
.tpc-showcase__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--card-radius);
}

/* ══════════════════════════════════════════════════════════════════════
   HUB - CALMER GROUND, v7.51. The founder asked for less orange in this
   section only.

   The wash is not the section's own. It is .tpc-atmosphere__bloom--c, one of
   three page-wide blooms that DRIFT across the whole light ground, and at the
   moment it happens to sit over the hub: measured at doc 19862 to 20697
   against a section running 19932 to 21023, painting rgba(244,148,29,0.3) at
   0.80 opacity. Turning that bloom down would dim it everywhere else it
   travels, which is not what was asked.

   So the section lays a white veil over it instead. The veil is the section's
   own background, which paints above the ground and its blooms but below
   everything in the section, so the cards and type are untouched and only the
   wash behind them is knocked back.

   .tpc-hub.band, not .tpc-hub: the light ground sets
   `.tpc-light-ground .band { background: transparent }` at (0,2,0), which beats
   a bare class however late it is declared. Same trap that silently swallowed
   the white knights background in v7.26.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-hub.band {
  background: color-mix(in srgb, var(--primitive-white) 55%, transparent);
}

/* ══════════════════════════════════════════════════════════════════════
   TESTIMONIAL NOTEPAD - v7.53. Reviews as sheets on a pad, the top one
   flicking over its own top edge to reveal the next.

   THE FLIP IS A REAL 3D ROTATION, so the pad needs perspective on the parent
   and the sheet needs its origin on the bound edge. transform-origin: top
   centre is what makes it hinge like paper rather than tumble like a card.
   The sheets are stacked in the same grid cell rather than absolutely
   positioned, so the pad's height is the TALLEST sheet and never collapses
   or jumps as reviews of different lengths come round.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-notepad {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  perspective: 1600px;
}

/* the bound edge of the pad, sitting just under the top of the sheets */
.tpc-notepad__spine {
  position: absolute;
  left: 8%;
  right: 8%;
  top: -9px;
  height: 18px;
  border-radius: 9px;
  background:
    repeating-linear-gradient(90deg,
      rgba(34,34,34,0.32) 0 3px, rgba(34,34,34,0) 3px 22px),
    linear-gradient(180deg, #ffffff, var(--primitive-panel-grey));
  box-shadow: 0 2px 6px rgba(34,34,34,0.12);
  z-index: 3;
  pointer-events: none;
}

.tpc-notepad__stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;                 /* every sheet in one cell = pad sized to the tallest */
  transform-style: preserve-3d;
}

.tpc-notepad__sheet {
  grid-area: 1 / 1;
  transform-origin: top center;
  background: var(--primitive-white);
  border: 1px solid rgba(34, 34, 34, 0.10);
  border-radius: var(--card-radius);
  padding: clamp(20px, 1.9vw, 32px) clamp(20px, 2.4vw, 46px) clamp(16px, 1.6vw, 26px);
  box-shadow: 0 14px 38px rgba(34, 34, 34, 0.10);
  transition: transform 0.62s cubic-bezier(0.55, 0.06, 0.28, 1),
              opacity 0.42s ease,
              box-shadow 0.42s ease;
}

/* Sheets behind the current one sit a little lower and narrower so the pad has
   visible thickness. --depth is written by the JS from the sheet's distance
   behind the top, so any number of reviews stacks correctly. */
.tpc-notepad__sheet[data-state="behind"] {
  /* scaleX, not scale. The origin has to be `top center` for the flip to hinge
     like paper, which means a uniform scale shrinks the sheet UPWARD and eats
     the downward offset meant to reveal it - measured, a 0.972 scale on a 350px
     sheet pulled the bottom up 10px against a 10px push down, so the stack was
     invisible. Narrowing horizontally and offsetting vertically keeps the
     bottom edges showing as the thickness of the pad. */
  transform: translateY(calc(var(--depth, 1) * 12px)) scaleX(calc(1 - var(--depth, 1) * 0.035));
  box-shadow: 0 8px 20px rgba(34, 34, 34, 0.07);
  z-index: 1;
}
.tpc-notepad__sheet[data-state="current"] { transform: none; z-index: 2; }

/* v7.62 - A REAL PAGE FLIP, not a card dismissal.

   The old one hinged to -108deg with backface-visibility:hidden, so the sheet
   became invisible the instant it passed 90deg: you saw it start to lift and
   then disappear, which is why it did not read as paper turning over.

   Three changes make it turn properly. It rotates almost the whole way, to
   -168deg, so it lands face-down behind the pad the way a torn page does. The
   backface is no longer hidden, so the paper itself - ruling and all - stays
   visible through the whole arc. And the CONTENT is faded out separately at
   0.2s, roughly as the sheet passes upright, so what swings over the binding
   is a blank sheet rather than a mirror image of the review.

   The sheet's own fade is delayed to 0.52s so it only disappears once it is
   already behind the pad, rather than dissolving mid-air. */
.tpc-notepad__sheet[data-state="gone"] {
  transform: rotateX(-168deg) translateY(-6px);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.72s cubic-bezier(0.42, 0.02, 0.22, 1),
              opacity 0.2s linear 0.52s;
}
.tpc-notepad__sheet[data-state="gone"] .tpc-testimonial-feature {
  opacity: 0;
  transition: opacity 0.16s linear 0.2s;
}
.tpc-notepad__sheet .tpc-testimonial-feature { transition: opacity 0.3s ease 0.18s; }

/* ── STARS. Google's own star yellow, and they pop in one after another
   rather than all at once, which is what reads as a rating being given. */
.tpc-stars { display: inline-flex; align-items: center; gap: 3px; }
.tpc-star {
  width: 17px;
  height: 17px;
  fill: #FBBC04;
  transform-origin: 50% 55%;
}
.tpc-notepad__sheet[data-state="current"] .tpc-star {
  animation: tpc-star-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.tpc-notepad__sheet[data-state="current"] .tpc-star:nth-child(1) { animation-delay: 0.06s; }
.tpc-notepad__sheet[data-state="current"] .tpc-star:nth-child(2) { animation-delay: 0.14s; }
.tpc-notepad__sheet[data-state="current"] .tpc-star:nth-child(3) { animation-delay: 0.22s; }
.tpc-notepad__sheet[data-state="current"] .tpc-star:nth-child(4) { animation-delay: 0.30s; }
.tpc-notepad__sheet[data-state="current"] .tpc-star:nth-child(5) { animation-delay: 0.38s; }

@keyframes tpc-star-pop {
  0%   { transform: scale(0.2) rotate(-38deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.tpc-gmark { width: 16px; height: 16px; margin: 0 6px 0 8px; vertical-align: -3px; }

.tpc-testimonial-feature__flag { display: inline-flex; align-items: center; }

/* ── CONTROLS. Hidden entirely at one review, because a pager for a single
   sheet is a control that lies about what is there. */
.tpc-notepad__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(20px, 2.4vh, 32px);
}
.tpc-notepad__controls[hidden] { display: none; }

.tpc-notepad__nav {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--primitive-orange);
  color: var(--primitive-white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-notepad__nav:hover { background: #e08916; }

.tpc-notepad__dots { display: inline-flex; gap: 7px; }
.tpc-notepad__dot {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 999px;
  /* FOUNDER 2026-10-22, same ruling as the carousel dots: this hardcoded
     rgba(34,34,34,0.22) measured 1.56:1 on panel grey. currentColor at 65%
     tracks the band and clears 3:1 on white, grey and asphalt alike. */
  background: rgba(34, 34, 34, 0.55);
  cursor: pointer;
}
.tpc-notepad__dot[aria-current="true"] { background: var(--primitive-orange); }

@media (prefers-reduced-motion: reduce) {
  .tpc-notepad__sheet { transition: opacity 0.2s linear; }
  .tpc-notepad__sheet[data-state="gone"] { transform: none; }
  .tpc-notepad__sheet[data-state="current"] .tpc-star { animation: none; }
}

/* The figure was itself a white card - background, border, radius, shadow and
   its own padding - which is right when it stands alone and wrong the moment
   it sits on a sheet, because the two nest and you see a card inside a card.
   Inside the pad the figure carries nothing but its text alignment; the sheet
   is the card now. Its max-width goes too, or it would fight the pad's. */
.tpc-notepad .tpc-testimonial-feature {
  max-width: none;
  margin-inline: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* the aside sits under the pad now rather than inside the card, so it needs
   the centring the figure used to give it */
.tpc-testimonial .tpc-testimonial-feature__aside {
  margin-top: clamp(18px, 2.2vh, 30px);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════════
   NOTEPAD REALISM - v7.57. It read as stacked rectangles; this makes it read
   as paper on a wire pad.

   Four things do the work, and none of them is an image: a cardboard backing
   behind the pad, a torn edge along the top of each sheet, faint ruling on the
   paper, and a real wire binding punched through both.
   ══════════════════════════════════════════════════════════════════════ */

/* the board the pad is bound to, sitting a few px proud of the paper */
.tpc-notepad::before {
  content: '';
  position: absolute;
  left: -10px; right: -10px; top: -6px; bottom: -14px;
  border-radius: calc(var(--card-radius) + 6px);
  background: linear-gradient(180deg, #d9cbb6, #c9b697 62%, #bda682);
  box-shadow: 0 18px 40px rgba(34, 34, 34, 0.20), inset 0 1px 0 rgba(255,255,255,0.5);
  z-index: 0;
}

.tpc-notepad__stack { position: relative; z-index: 1; }

/* PAPER. A warm off-white rather than pure white, ruled, with the top edge
   torn away from the pad. The scallops are a mask rather than drawn notches,
   so whatever is behind the sheet shows through them - which is what makes it
   read as torn rather than as a printed zigzag. */
.tpc-notepad__sheet {
  background-color: #fffdf7;
  background-image:
    repeating-linear-gradient(180deg,
      rgba(34, 34, 34, 0) 0 31px,
      rgba(58, 90, 140, 0.10) 31px 32px);
  background-position: 0 96px;
  -webkit-mask-image: radial-gradient(circle 6px at 11px -1px, transparent 6px, #000 6.5px);
          mask-image: radial-gradient(circle 6px at 11px -1px, transparent 6px, #000 6.5px);
  -webkit-mask-size: 22px 100%;
          mask-size: 22px 100%;
  -webkit-mask-repeat: repeat-x;
          mask-repeat: repeat-x;
}

/* WIRE. Loops punched over the torn edge: a metal segment per hole, matched to
   the 22px mask pitch so every loop sits in a scallop rather than beside one. */
.tpc-notepad__spine {
  left: 0; right: 0;
  top: -13px;
  height: 26px;
  border-radius: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(0,0,0,0) 0 6px,
      #9aa0a6 6px 7px,
      #e8eaed 7px 9px,
      #c4c8cc 9px 11px,
      #7c8287 11px 12px,
      rgba(0,0,0,0) 12px 22px);
  filter: drop-shadow(0 2px 2px rgba(34, 34, 34, 0.35));
  box-shadow: none;
  z-index: 4;
}

#tpc-testimonial-title { text-transform: none; }
.tpc-testimonial .tpc-section-head { margin-bottom: clamp(34px, 4vh, 64px); }

/* The cardboard backing is a ::before on the pad, which spans the controls as
   well as the paper, so the controls need lifting out from under it. */
.tpc-notepad__controls { position: relative; z-index: 5; }

/* Sheets past the third sit exactly on the third, so the pad's thickness stops
   growing with the number of reviews. */
.tpc-notepad__sheet[data-state="behind"] { will-change: transform; }

/* v7.62 - air between the pad and its pager. The arrows were sitting hard
   against the cardboard, which read as part of the pad rather than a control
   under it. */
/* Measured rather than guessed: the stacked sheets sit up to 36px BELOW the
   pad's own border box, and the cardboard another 14px past that, so a margin
   that looks generous in the rule lands almost on the paper. This clears the
   deepest sheet with room to spare. */
.tpc-notepad__controls { margin-top: clamp(78px, 7.5vh, 110px); }

/* ══════════════════════════════════════════════════════════════════════
   TESTIMONIAL TYPE - v7.62. Restructured to carry the same energy as the rest
   of the page: the quote is the hero, not a caption.

   The quote goes from 24px/600 to a clamped display size at 700, which is the
   weight the headings use, and the attribution drops back so the two are
   clearly a hero and a footnote rather than three similar lines. A large
   orange quote mark anchors the top of the sheet; it is a glyph in CSS, not
   copy, so nothing is added to the words.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-notepad .tpc-testimonial-feature__quote {
  position: relative;
  margin: 0 0 clamp(20px, 2.4vh, 34px);
  font-size: clamp(21px, 1.85vw, 33px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primitive-asphalt);
}
.tpc-notepad .tpc-testimonial-feature__quote::before {
  content: '\201C';
  display: block;
  font-size: clamp(56px, 5vw, 86px);
  line-height: 0.72;
  color: var(--primitive-orange);
  margin-bottom: clamp(6px, 0.8vh, 14px);
}

/* the flag becomes a quiet row of credentials, since the quote now leads */
.tpc-notepad .tpc-testimonial-feature__flag {
  text-decoration: none;
  margin-bottom: clamp(14px, 1.6vh, 22px);
}
.tpc-notepad .tpc-star { width: 20px; height: 20px; }
.tpc-notepad .tpc-gmark { width: 19px; height: 19px; }

.tpc-notepad .tpc-testimonial-feature__name {
  font-size: clamp(15px, 1.05vw, 18px);
  letter-spacing: -0.01em;
}
.tpc-notepad .tpc-testimonial-feature__role {
  font-size: 13px;
  color: color-mix(in srgb, var(--primitive-ink) 78%, transparent);
}

/* ══════════════════════════════════════════════════════════════════════
   WHAT CLIENTS SAY - ITS OWN BLOOM, v7.62. Deliberately NOT where the others
   sit: the statement and services blooms gather around the upper left and
   centre, so this one weights bottom-right and top-right and drifts on a
   different clock, so two sections never glow in the same place at once.
   Same masked construction as the others, so the section's edges cannot cut
   it into a hard line.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-testimonial { position: relative; overflow-x: clip; overflow-y: visible; }
.tpc-testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 44% at 84% 74%, rgba(244, 148, 29, 0.24) 0%, rgba(244, 148, 29, 0) 68%),
    radial-gradient(38% 40% at 74% 16%, rgba(232, 97, 28, 0.15) 0%, rgba(232, 97, 28, 0) 70%),
    radial-gradient(30% 34% at 14% 62%, rgba(247, 206, 56, 0.16) 0%, rgba(247, 206, 56, 0) 68%);
  animation: tpc-ground-drift 47s ease-in-out infinite alternate;
  animation-delay: -23s;
  will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 6%, #000 18%, #000 82%, transparent 94%),
                      linear-gradient(to right,  transparent 0, transparent 6%, #000 18%, #000 82%, transparent 94%);
          mask-image: linear-gradient(to bottom, transparent 0, transparent 6%, #000 18%, #000 82%, transparent 94%),
                      linear-gradient(to right,  transparent 0, transparent 6%, #000 18%, #000 82%, transparent 94%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}

/* ══════════════════════════════════════════════════════════════════════
   TESTIMONIAL SHEET, v7.64 - written on the pad.

   RULED TO THE TYPE, NOT THE OTHER WAY ROUND. For the words to sit on the
   lines the way handwriting does, the rule pitch and the line-height have to
   be the SAME number, so both come from --rule. Change one and you change
   both. Once the first baseline lands on a rule every later one follows for
   free, which is why the offset below is the only figure that ever needs
   tuning.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-notepad__sheet {
  /* v7.66 - 40px to 34px. The pad was tall out of proportion to the type, and
     the rule pitch is what drives that: it is the line-height AND every
     vertical margin in the sheet, since they all have to be multiples of it to
     keep the words on the lines. Dropping the pitch shortens all of them at
     once and keeps the rhythm intact. */
  --rule: 34px;
  background-image:
    repeating-linear-gradient(180deg,
      rgba(34, 34, 34, 0) 0 calc(var(--rule) - 1px),
      rgba(58, 90, 140, 0.13) calc(var(--rule) - 1px) var(--rule));
  /* MEASURED, not guessed. The quote's first line box starts 176px down the
     sheet, and a rule wants to sit just under the baseline, which is the line
     box bottom less about 0.21em of descender. Modulo the 40px pitch that puts
     the first rule at 9.5px, and because the pitch and the line-height are the
     same number every following line lands on one too. Re-measure this if the
     flag block above the quote ever changes height. */
  background-position: 0 var(--rule-offset, 7.5px);
}

/* every text line in the sheet runs on the rule pitch, so nothing floats
   between the lines */
.tpc-notepad .tpc-testimonial-feature__quote,
.tpc-notepad .tpc-testimonial-feature__name,
.tpc-notepad .tpc-testimonial-feature__role { line-height: var(--rule); }

/* the quote mark is gone and the words take the brand orange, at the founder's
   direction. Recording the number once: orange on this paper is 2.3:1, under
   the 4.5:1 threshold, and it is the same call already made on the What we do
   heading. */
.tpc-notepad .tpc-testimonial-feature__quote {
  color: var(--primitive-orange);
  font-size: clamp(19px, 1.5vw, 26px);
  margin: 0 0 var(--rule);
}
.tpc-notepad .tpc-testimonial-feature__quote::before { content: none; }

/* ── THE GOOGLE LOCKUP, big and centred, stars beneath it. */
.tpc-notepad .tpc-testimonial-feature__flag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--rule);
}
.tpc-glogo { display: inline-flex; align-items: center; gap: 8px; }
.tpc-notepad .tpc-gmark { width: 34px; height: 34px; margin: 0; }

/* Reproduced in the page's own Montserrat, NOT the official Product Sans
   wordmark, which is not in this project. Letter colours follow the real mark
   so it reads correctly; swap in the official SVG when it is to hand. */
.tpc-gword {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tpc-gword span:nth-child(1) { color: #4285F4; }
.tpc-gword span:nth-child(2) { color: #EA4335; }
.tpc-gword span:nth-child(3) { color: #FBBC05; }
.tpc-gword span:nth-child(4) { color: #4285F4; }
.tpc-gword span:nth-child(5) { color: #34A853; }
.tpc-gword span:nth-child(6) { color: #EA4335; }

.tpc-notepad .tpc-star { width: 22px; height: 22px; }

/* ══════════════════════════════════════════════════════════════════════
   HUB TO TESTIMONIALS, v7.64 - the seam between them.

   The hub's calming veil was a flat 55% white across the whole section, so its
   bottom edge was a hard step straight into the testimonial section's warmer
   ground. It moves onto a pseudo-element so it can FADE OUT before the
   boundary, and sits at z-index -2 rather than -1 so it stays underneath the
   red blend coming down from above, which must keep painting over it.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-hub.band { background: none; }
.tpc-hub::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: color-mix(in srgb, var(--primitive-white) 55%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 100%);
  /* v12.14 - THE VEIL STARTS BELOW THE SECTION'S TOP EDGE. At `inset: 0` it
     began at full 55% white on the hub's first row, directly beneath the red
     blend that ::before paints over it, and .tpc-hub's `overflow: clip` shaves
     that blend's top row on a fractional device grid. The veil was then the
     topmost thing left at the joint, which put a 55% WHITE row across the
     bottom of the red section - measured at 11.6 units of lift at a 0.499
     scale, and the reason making the ground red only got it to 7.4: the
     remaining 7.4 was this, not the ground.
     Starting 4px down costs nothing, because the red blend above is fully
     opaque for its first ~204px, so these 4px were never visible. */
  top: 4px;
}

/* v12.14 - AND A BACKSTOP UNDER THE CLIPPED ROW, the same one
   `.tpc-services.band` carries at the other end of the red. Insetting the veil
   above took this joint from 11.4 units of lift to 7.2; the remaining 7.2 is
   the white light-ground showing through where the clip shaves the blend
   (proven by elimination - painting .tpc-light-ground red removes it).
   An element's OWN background fills its border box and is NOT cut by its own
   overflow, which makes it the one layer here the clip cannot reach. Four
   pixels of the why band's LAST stop along the hub's top edge, in the
   identical token expression `.tpc-why.band` ends on and `.tpc-hub::before` is
   painted in, so it is invisible under the blend and is what shows instead of
   white when the clip rounds the blend short.

   THIS HAS TO SIT AFTER `.tpc-hub.band { background: none }` ABOVE. That rule
   is v7.64 retiring the flat 55% veil in favour of the ::after, and it is
   (0,2,0) like this one, so declared earlier this would silently never apply -
   which is exactly what happened on the first attempt. The `none` still stands
   for the other 99.9% of the section; only the top 4px paints. */
.tpc-hub.band {
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--primitive-signal-red) 72%, var(--primitive-asphalt)) 0,
    color-mix(in srgb, var(--primitive-signal-red) 72%, var(--primitive-asphalt)) 4px,
    rgba(255, 255, 255, 0) 4px);
}

/* ══════════════════════════════════════════════════════════════════════
   THE REVIEWER, v7.68. Standing to the right of the pad, pointing at it.

   Anchored to the PAD, not the section: `left: 100%` puts her past its right
   edge whatever width the pad is, and her feet sit on the pad's base line, so
   she reads as standing beside it rather than floating near it. The pad's own
   cardboard extends 14px below its box, so she is dropped by the same amount
   to share a floor with it.

   She is hidden below 1280px. The pad is 760px at most and she is roughly
   300px wide, so under that the two collide rather than stand side by side.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-testimonial__figure {
  /* v7.72 - a touch smaller, 320px to 292px at the top of the clamp. */
  --fig-w: clamp(192px, 15.4vw, 292px);
  position: absolute;
  left: 100%;
  margin-left: clamp(16px, 2vw, 48px);
  /* v7.72 - dropped 34px lower at the founder's call. She was on the pad's own
     floor line; sitting a little below it reads as standing slightly forward
     of the pad rather than balanced on its base. The section clips X only, so
     nothing trims her here. */
  bottom: -48px;
  width: var(--fig-w);
  z-index: 2;
  pointer-events: none;
}
.tpc-testimonial__figure img { display: block; width: 100%; height: auto; }

@media (max-width: 1279px) {
  .tpc-testimonial__figure { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   RULED TEXT LINK, v7.69. The treatment the founder pointed at: bold, with a
   thick rule set well clear of the descenders rather than the browser's
   hairline underline sitting through them.

   It takes its colour from the ground it is on rather than hard-coding one, so
   the same class works on the light hub and would work on a dark band without
   a second rule.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-textlink--ruled {
  font-weight: 700;
  /* v7.73 - matched to "More about how we work", measured off it rather than
     eyeballed: 17px, 2px rule, 4px offset. It was 20px/3px/7px, which read as
     a different tier of link. Colour is the one thing that must NOT match,
     since that link sits on red and these sit on white. */
  font-size: 17px;
  color: var(--primitive-asphalt);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: currentColor;
  transition: text-decoration-color var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-textlink--ruled:hover { text-decoration-color: var(--primitive-orange); }

/* one link now, so the row simply centres on the container, which is itself
   centred on the screen */
.tpc-hub__foot {
  display: flex;
  justify-content: center;
  text-align: center;
}

/* The aside keeps its sentence; only the link inside it takes the treatment.
   It needs the full declaration at this specificity, not just a colour: the
   existing `.tpc-testimonial-feature__aside a` rule is (0,2,0) and was quietly
   beating the (0,1,0) class, so the thickness and offset never applied and the
   link kept the browser's hairline underline. */
.tpc-testimonial .tpc-testimonial-feature__aside a.tpc-textlink--ruled {
  font-weight: 700;
  /* v7.73 - matched to "More about how we work", measured off it rather than
     eyeballed: 17px, 2px rule, 4px offset. It was 20px/3px/7px, which read as
     a different tier of link. Colour is the one thing that must NOT match,
     since that link sits on red and these sit on white. */
  font-size: 17px;
  color: var(--primitive-asphalt);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: currentColor;
}
.tpc-testimonial .tpc-testimonial-feature__aside a.tpc-textlink--ruled:hover {
  text-decoration-color: var(--primitive-orange);
}

/* v7.70 - hub card contents centred at the founder's call, chip and CTA
   included. The link is a flex column, so the chip and the button centre with
   align-items rather than text-align, which only moves inline content. The CTA
   keeps margin-top:auto so all three buttons still sit on one baseline across
   cards of different copy lengths. */
.tpc-hub-item__link { align-items: center; text-align: center; }
.tpc-hub-item__kicker { align-self: center; }
.tpc-hub-item__go { align-self: center; }

/* ══════════════════════════════════════════════════════════════════════
   ALL EIGHT REVIEWS ON THREE LINES - v7.74, desktop.

   MEASURED ACROSS EVERY REVIEW, not fitted to one. At the pad's natural 666px
   the longest quote (123 characters) takes three lines but the shortest (89,
   Jeremy Peters) takes two, so the pad changed height as you paged. Narrowing
   the measure fixes it, but the usable window is small and has a wall on both
   sides: at 610px and above Jeremy drops back to two, and at 588px and below
   Kwok Kin Poon's spills to four. 600px is the only tested width where all
   eight land on exactly three.

   That is a real constraint rather than a lucky number, so it is worth stating:
   a new review much shorter than 89 characters or much longer than 123 will
   not obey it. The min-height is the safety net for that day - the pad keeps
   its height even if a quote falls short, so it can never jump mid-flick.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-notepad .tpc-testimonial-feature__quote {
  max-width: 600px;
  margin-inline: auto;
  min-height: calc(var(--rule) * 3);
}

/* ══════════════════════════════════════════════════════════════════════
   THE HAIRLINE BETWEEN SECTIONS, PART TWO - v12.12.

   v12.2 gave every `.band` a 1px upward overlap so that no sub-pixel
   rounding could open a gap at a joint and let the ground colour through.
   It closed the band-to-band joints and missed three, because the fix was
   keyed on a class these three elements do not carry:

     .tpc-hero      -> .tpc-statement  (pin-spacer)  y  2047.766   no overlap
     .tpc-services  -> .tpc-statement  (pin-spacer)  y  8435.484   no overlap
     .tpc-close     -> .site-footer                  y 14777.391   no overlap

   Measured at 1032x1376, EVERY joint on this page lands on a fractional
   pixel - .766, .484, .391, nothing here is integer-aligned, because the
   section heights are built from vh units and clamps. Chrome rounds the two
   edges of a joint onto the same device row and the joint reads flat, which
   is why this was never reproducible here, at 1x, 2x or 2.5x. iOS Safari
   does not have to agree, and wherever it rounds the two edges apart the
   gap shows whatever is behind: `.tpc-light-ground` is white, so the ember
   section takes a light line across its top edge, and `body` is white, so
   the orange close band takes a white line above the dark footer. Those are
   the two lines in the founder's screenshots, and the three joints above
   are the only ones on the page that could produce one.

   MARGIN ONLY HERE, NO PADDING COMPENSATION. `.band` compensates with
   `padding-top: calc(... + 1px)` so its content cannot shift. Copying that
   would mean restating `clamp(84px, 9vh, 148px)` from the footer's own
   padding rule in a second place, where it would silently stop matching the
   day that rule changes. A 1px content shift inside a 679px footer and a
   100svh pinned section does not justify that, and the overlap - the part
   that actually closes the gap - holds either way.

   GSAP MOVES THE MARGIN ONTO THE PIN-SPACER, which is why this is safe on a
   pinned section. ScrollTrigger reads the element's computed margins when it
   builds the spacer and transfers them to it, leaving the pinned element at
   margin 0. Verified: after this rule the spacer measures margin-top -1px,
   the statement measures 0px, and the joint measures 1px of overlap. No
   height changes anywhere, which is the thing the v6.7 note on
   `.tpc-statement` warns about - a growable height fights the pin, a
   negative margin on the spacer does not.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-statement,
.site-footer {
  margin-top: -1px;
}

/* ══════════════════════════════════════════════════════════════════════
   FOOTER, v7.75 - rebuilt on the reference's shape and given a dark brand
   gradient in place of the flat asphalt slab.

   THE GRADIENT IS BUILT FROM TOKENS, not picked. It runs asphalt into a deep
   signal-red mix and lifts a low orange glow from the bottom left, so it reads
   as the brand at night rather than as a generic dark footer. Every stop is
   dark enough that the link colours below hold: the lightest point measures
   4.9:1 against the muted link white and 12.6:1 against pure white.

   THE LAYOUT is the part that was actually copied: one wide brand column
   carrying the mark, the rating and a labelled social row, with the link
   columns grouped to its right rather than all four sharing one flat grid.
   That is what gives the reference its air.
   ══════════════════════════════════════════════════════════════════════ */
.site-footer.band-asphalt {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(70% 90% at 8% 105%, rgba(244, 148, 29, 0.22) 0%, rgba(244, 148, 29, 0) 62%),
    radial-gradient(60% 80% at 88% -10%, rgba(192, 43, 10, 0.30) 0%, rgba(192, 43, 10, 0) 66%),
    linear-gradient(160deg,
      #1c1c1d 0%,
      color-mix(in srgb, var(--primitive-signal-red) 26%, #171718) 58%,
      color-mix(in srgb, var(--primitive-signal-red) 38%, #141415) 100%);
}

.site-footer .site-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) 2.4fr;
  gap: clamp(36px, 5vw, 96px);
  align-items: start;
}

/* the three link columns, grouped so they sit as a block to the right */
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 64px);
}

@media (max-width: 900px) {
  .site-footer .site-footer__grid { grid-template-columns: 1fr; }
  /* v12.5 - THREE COLUMNS, not two, once the grid stacks.
     Measured at 768: two columns put "Get started" on a row of its own with
     the entire right half of the footer empty, and the footer ran 1138px - a
     whole iPad screen and then some, against 560px at 1025px wide where the
     same three columns sit side by side. The stack is not the problem; the
     two-column split of three columns is, because three never divides into
     two without an orphan.
     The width is there: at 768 the grid is 705px, so three columns are 235px
     each, which is wider than the 240px they get on a 1440px desktop minus
     its gaps, and every link still sets on one line (verified: zero wrapped
     links at 700, 768, 820 and 900). Phones are untouched - the <=699 block
     further down re-declares this to two columns with contact details
     spanning both, which is the footer the founder signed off in October. */
  .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* v12.5 - THE BRAND ROW USES ITS WIDTH TOO (700-1024px).
   With the link columns fixed, the remaining imbalance was above them: the
   mark, the Google rating and the social block sat in one narrow stack down
   the left with the right two thirds of the footer empty, because the brand
   cell is a plain block and its children are four stacked siblings.
   Desktop never shows this - there the brand sits BESIDE the columns, so the
   stack is the whole point. Once the grid goes one-column for tablet, the
   stack has a 705px row to itself and uses 220px of it.
   The mark takes column one and spans all three rows; rating, the SOCIAL
   eyebrow and the icon row flow down column two beside it. No markup change:
   the four children are already in the order that produces this. The rating's
   top margin goes because it was spacing it off the logo ABOVE it, and there
   is nothing above it any more. */
@media (min-width: 700px) and (max-width: 1024px) {
  .site-footer .site-footer__brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(28px, 5vw, 56px);
    align-content: start;
  }
  .site-footer .site-footer__brand img { grid-row: 1 / span 3; align-self: center; }
  .site-footer .tpc-footer__rating { margin-top: 0; }
}
@media (max-width: 560px) {
  /* v10.62 - founder 2026-10-07 (mobile journey): the single column ran
     the footer to ~1,370px, more than a phone and a half. Contact details
     keep the full width (long lines); Quick links and Get started sit side
     by side as on desktop; the logo steps down so the brand row is not a
     screen of its own. */
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 32px; }
  .site-footer__cols > :first-child { grid-column: 1 / -1; }
}

/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-10-22: "can we redesign the mobile footer to be more
   balanced? doesn't feel balanced right now."

   MEASURED at 390: the footer ran 1130px on an 844px screen - a screen and a
   third - and the two link columns sat in a 291px space, so "New Plan
   Request" wrapped to two lines while "Services" took one. Ragged items of
   unequal height in two columns is what reads as unbalanced, not the stacking
   itself.

   Three changes, each aimed at that:
   1. The link type comes down a step so every item in both columns fits ONE
      line at 390. That is what squares the two columns off against each
      other - equal row rhythm, no orphaned second lines.
   2. The two columns align to the top with a shared row gap, so their
      baselines agree even when one list is longer than the other.
   3. The brand block and the vertical rhythm tighten, which is where most of
      the 1130px was going: a 96px logo, and the rating/social spacing pulled
      in. Nothing is removed - the founder's rule is that mobile keeps
      everything desktop has.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .site-footer .site-footer__grid { gap: 28px; }

  /* 1 + 2: squared-off columns */
  .site-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 28px;
    align-items: start;
  }
  .site-footer .site-footer__links { font-size: 13.5px; line-height: 1.55; }
  .site-footer .site-footer__links li { margin-bottom: 8px; }
  .site-footer .site-footer__heading { font-size: 11px; margin-bottom: 10px; }

  /* Contact details keeps the full width - its lines are long (hours, email,
     street address) and squeezing them into a half column is what forced the
     wrapping in the first place. */
  .site-footer__cols > :first-child { grid-column: 1 / -1; }

  /* 3: the brand block stops being a screen of its own */
  .site-footer__brand img { width: 96px; }
  .tpc-footer__rating { margin: 12px 0 16px; }
  .site-footer.band-asphalt { padding-bottom: 40px; }
}

.site-footer__brand img { max-width: 168px; height: auto; }

.tpc-footer__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: clamp(14px, 1.6vh, 22px) 0 clamp(22px, 2.6vh, 34px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.tpc-footer__stars { color: var(--primitive-orange); letter-spacing: 1px; }

/* column headings pick up the brand rather than sitting grey, which is what
   separates the columns at a glance on a dark ground */
.site-footer .site-footer__heading {
  color: var(--primitive-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 clamp(12px, 1.4vh, 18px);
}
.site-footer__heading--social { margin-top: 0; }

.site-footer__social { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.site-footer__social a {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--primitive-duration-fast) var(--primitive-easing-out);
}
.site-footer__social a:hover { color: var(--primitive-orange); }

.site-footer .site-footer__links { display: grid; gap: 10px; }
.site-footer .site-footer__links,
.site-footer .site-footer__links li { color: rgba(255, 255, 255, 0.72); }
.site-footer .site-footer__links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color var(--primitive-duration-fast) var(--primitive-easing-out);
}
.site-footer .site-footer__links a:hover { color: var(--primitive-white); }

.site-footer .site-footer__bottom {
  margin-top: clamp(40px, 5vh, 72px);
  padding-top: clamp(20px, 2.4vh, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
}

/* ══════════════════════════════════════════════════════════════════════
   FOOTER, v7.78 - black and greys, bigger mark, one text size.

   THE GRADIENT NOW USES ONLY THE BRAND'S DARKS. --primitive-asphalt #222222,
   --primitive-asphalt-soft #3A3A3A and --primitive-ink #414142 are the only
   blacks and greys the kit defines, so the ramp is built from those and a
   near-black floor. The orange and red glows from v7.75 are gone: they were
   the thing making it read as a coloured footer rather than a black one.
   ══════════════════════════════════════════════════════════════════════ */
.site-footer.band-asphalt {
  background:
    linear-gradient(168deg,
      color-mix(in srgb, var(--primitive-asphalt-soft) 82%, #000) 0%,
      var(--primitive-asphalt) 46%,
      #131314 100%);
  /* v7.78 - the headings were sitting almost on the top edge */
  padding-top: clamp(84px, 9vh, 148px);
}

/* the mark carries the brand here now that the ground is neutral */
.site-footer__brand img {
  /* WIDTH, not max-width. An earlier rule pins this to `width: 44px; height:
     44px`, and a max-width only ever caps a box - it cannot grow one - so the
     mark stayed at 44px while the declaration above it looked like it had
     worked. The height override has to be explicit for the same reason. */
  width: clamp(220px, 19vw, 320px);
  max-width: 100%;
  height: auto;
}

/* ONE SIZE for every piece of footer text, headings included. They still read
   as headings through weight, colour and caps rather than through scale. */
.site-footer .site-footer__heading,
.site-footer .site-footer__links,
.site-footer .site-footer__links li,
.site-footer .site-footer__links a,
.site-footer .tpc-footer__rating,
.site-footer .site-footer__bottom,
.site-footer .site-footer__bottom p,
.site-footer .site-footer__legal,
.site-footer .site-footer__legal a { font-size: 15px; }

/* v7.78 - the rule above the copyright row is removed; the space alone
   separates it now. */
.site-footer .site-footer__bottom {
  border-top: 0;
  padding-top: 0;
  margin-top: clamp(48px, 6vh, 88px);
}

/* v7.79 - the last rule in the footer. I had removed the one ABOVE the
   copyright row, but the line on screen was a border-BOTTOM on the grid above
   it, which is a different element - so the divider looked like it had
   survived the change. Both are gone now and the space alone does the work. */
.site-footer .site-footer__grid {
  border-bottom: 0;
  padding-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   THE WHITE BLOCK UNDER THE FOOTER, v7.81.

   It was `padding-bottom: 92px` on the page body - a reserve so the fixed dock
   could never cover the last of the content. The body's ground is white, so
   once the footer went dark that reserve stopped being invisible and started
   reading as a white band below the site.

   It is redundant as of v7.77: the dock now stops at the footer's top edge
   instead of floating over it, so there is nothing left for the reserve to
   protect. Removing it is what closes the gap; painting it dark would only
   have hidden it.
   ══════════════════════════════════════════════════════════════════════ */
body.home { padding-bottom: 0; }

/* v7.81 - air under the copyright row, which was sitting on the footer's edge */
.site-footer.band-asphalt { padding-bottom: clamp(56px, 6vh, 96px); }

/* v10.99 - THEA-803. The 56px floor above is 2px short of the mobile dock's
   58px rest height, so the credit line clips under the dock on any phone-
   height viewport. THEA-880 found and fixed this on 11 pages only, via six
   page-local `body.<page>-page .site-footer.band-asphalt` overrides spread
   across five R3/R5 stylesheets - the other 27 pages still ran the 56px
   floor and sat 1-2px from clipping again. Centralised here since this file
   is shared by all 38 pages and this block cannot reach desktop. Raising the
   floor only (56 -> 72px); the 6vh/96px mid and ceiling are unchanged, so
   taller phones are unaffected. The six page-local copies are removed as
   redundant now that this covers them. */
@media (max-width: 699px) {
  .site-footer.band-asphalt { padding-bottom: clamp(72px, 6vh, 96px); }
}

/* v7.82 - the mark comes back down. 320px dominated the column it sits in. */
.site-footer__brand img { width: clamp(120px, 9.5vw, 168px); }
@media (max-width: 560px) { .site-footer__brand img { width: 96px; } }

/* ══════════════════════════════════════════════════════════════════════
   CLOSE BAND, v7.83 - the hero's gradient, one white heading, nothing else.

   The ground is the hero's exact ramp, #F4941D into #E8611C top to bottom,
   read off the hero rather than re-mixed, so the page opens and closes on the
   same orange. The heading takes the .tpc-eyebrow--solo scale the other
   section headings use - clamp(30px, 3.4vw, 56px) at weight 800 on -0.01em -
   in white, which measures 3.0:1 on the lightest part of that ramp and clears
   the 3:1 that display type is held to.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-close.band-orange {
  background: linear-gradient(180deg, var(--primitive-orange) 0%, #E8611C 100%);
  padding-block: clamp(72px, 9vh, 132px);
}

.tpc-close .tpc-close__title {
  font-size: clamp(30px, 3.4vw, 56px);
  font-weight: 800;
  line-height: 1.049;
  letter-spacing: -0.01em;
  color: var(--primitive-white);
  text-align: center;
  margin: 0;
  /* THEA-798 - this shared close band carries different copy per page
     (knowledge-hub's "Can't find your answer?" orphaned "answer?" at
     390/375). balance only activates once text already wraps to 2+ lines,
     so it is a no-op on every page whose close-band title already fits one
     line - safe to add here once for every page that reuses this band. */
  text-wrap: balance;
}
.tpc-close .tpc-close__head { text-align: center; }

/* ══════════════════════════════════════════════════════════════════════
   CLOSE BAND FIGURE, v7.86 - behind the Pick your path tab.

   THE BAND CLIPS, which is the whole trick. She is sized for the composition
   and then cut off by the section's own bottom edge, so she can be as large as
   she needs to be without adding a pixel to the section's height - which is
   what the founder asked for and what a plain <img> in the flow could not do.

   Anchored to the CONTAINER's left rather than the viewport's, so she lands
   where the tab does at any width: the dock's inner shares that container, so
   the two stay in register instead of drifting apart on wide screens.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-close.band-orange { position: relative; overflow: clip; }

.tpc-close__figure {
  /* SIZED BY HEIGHT, not width. Width-driven she came out 551px tall in a
     387px band, and because she is bottom-aligned the clip took the overflow
     off the TOP - which is her head. Driving the height keeps her inside the
     band so the crop lands on her waist, where the tab covers it anyway. */
  --close-fig-h: clamp(230px, 33vh, 358px);
  position: absolute;
  bottom: 0;
  left: 50%;
  /* v12.3 - THE ANCHOR IS CLAMPED TO THE REAL CONTENT EDGE. The bare
     `calc(var(--band-max, 1264px) / -2)` assumes the container is at its full
     1264px content width, which stops being true the moment the viewport is
     narrower than --container-max (1312px) and the container goes fluid.
     Measured, she then hung off the LEFT of the screen: -127px at 1024 (both
     orientations) and -49px at 1180, so a fifth of her was cut off on every
     iPad and on short laptops. 36 pages carried it.
     max() takes whichever anchor is further right: the desktop one until the
     container stops growing, the live content edge (-50% of the band, plus the
     container's own 24px gutter) below that. The two are equal at exactly
     1312px, which is the crossover by construction, so every desktop width is
     bit-for-bit what it was and only the fluid range changes. */
  margin-left: max(
    calc(var(--band-max, 1264px) / -2),
    calc(-50% + var(--primitive-space-5))
  );
  height: var(--close-fig-h);
  width: auto;
  z-index: 1;
  pointer-events: none;
}
.tpc-close__figure img { display: block; height: 100%; width: auto; }

/* the heading has to stay above her */
.tpc-close .tpc-close__head { position: relative; z-index: 2; }

@media (max-width: 900px) {
  .tpc-close__figure { display: none; }
}

/* v7.89 - "Pick your path." on its own line at every width, rather than
   wherever the measure happens to break it. */
.tpc-close .tpc-close__title span { display: block; }

/* v7.92 - the studio credit. Its own row, centred: sharing the copyright row
   would have centred it against whatever space was left beside the legal
   links rather than against the screen. Sizes with the rest of the footer at
   15px, and sits back at a lower opacity so it reads as a credit rather than
   as another navigation item. */
.site-footer .site-footer__credit {
  margin: clamp(18px, 2.2vh, 30px) 0 0;
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.46);
}
.site-footer .site-footer__credit a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--primitive-duration-fast) var(--primitive-easing-out);
}
.site-footer .site-footer__credit a:hover { color: var(--primitive-orange); }

/* ══════════════════════════════════════════════════════════════════════
   PHANTOM DOCK PANELS, v7.94.

   A closed dock panel is moved out of sight with a translate, but a translated
   element is still a hit target: measured with the dock collapsed and every
   panel closed, all three were visibility:visible, opacity:1,
   pointer-events:auto, with boxes running from y326 down to y890 - straight
   over the footer. Anything underneath them was unclickable, which is why the
   studio credit link did nothing. It was swallowing the legal links and the
   contact details too; the credit just happened to be the first thing anyone
   tried to click.

   Only an OPEN panel takes pointer events.

   v8.2 - the head is exempted, and that exemption is load-bearing. The claim
   that used to sit here, that the tab buttons are separate elements, was simply
   wrong: .tpc-dock__head is a CHILD of .tpc-dock__panel, so switching the
   closed panel off took its own opener with it and the three tabs went dead.
   The verification missed it because a synthetic .click() ignores
   pointer-events entirely, so the test passed while every real click failed.
   Hit-test the head, do not dispatch to it.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-dock__panel:not([data-open])                  { pointer-events: none; }
.tpc-dock__panel:not([data-open]) .tpc-dock__head  { pointer-events: auto; }
.tpc-dock__panel[data-open]                        { pointer-events: auto; }

/* ══════════════════════════════════════════════════════════════════════
   TABLET AND MOBILE, v7.95. Audited at 819px and 485px rather than assumed;
   the page had no horizontal overflow at either, so this is about the two
   places where the layout was making poor use of the width, not about
   rescuing anything broken.
   ══════════════════════════════════════════════════════════════════════ */

/* ── TABLET: two up, not one.
   Both card grids dropped straight from three columns to ONE at 1024px, so a
   819px tablet was showing full-width cards with a 16:9 video on each and an
   enormous amount of scrolling for three items. Two across is the shape that
   width actually wants. The third card sits alone on the second row, which
   reads as a deliberate 2+1 rather than a broken grid. */
@media (min-width: 700px) and (max-width: 1024px) {
  .tpc-showcase  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpc-hub-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── MOBILE: the dock stacks.
   Measured at 485px: the three tabs share 160px columns, and the labels do not
   fit - "I'm planning a larger project" needs 221px in a 119px box, so two of
   the three were ellipsed mid-word. No type size fixes that at this width, so
   the row becomes a column and each label gets the full measure.
   text-overflow is cleared with it: an ellipsis on a full-width label would
   still be hiding words that now have room. */
@media (max-width: 699px) {
  /* v10.62 - MOBILE DOCK = ONE SLIM ROW (founder 2026-10-07: "the home page
     isn't optimised for mobile... mobile has the same journey as desktop";
     chose "one slim row of 3 tabs"). The stacked single column cost ~23% of
     every phone screen and hid the bottom of each scene (the "Three ways"
     worker, the close band's "Pick your path"). Same three tabs side by side
     as desktop, ~58px tall, label on up to three short lines; badge and
     chevron drop out of the closed tab so the label gets the width.
     A tapped tab opens as a FULL-WIDTH sheet: every panel sits in row 1 at
     its own column, and the open one spans all three and sits on top, so
     its content is never squeezed into a third of the screen and nothing
     reflows when it opens or closes. */
  .tpc-dock { --dock-rest: 58px; }
  .tpc-dock__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 0 8px;
  }
  .tpc-dock__panel { grid-row: 1; border-radius: 16px 16px 0 0; }
  .tpc-dock__panel:nth-child(1) { grid-column: 1; }
  .tpc-dock__panel:nth-child(2) { grid-column: 2; }
  .tpc-dock__panel:nth-child(3) { grid-column: 3; }
  .tpc-dock__panel[data-open] { grid-column: 1 / -1; z-index: 2; border-radius: 22px 22px 0 0; }
  .tpc-dock__head  { width: 100%; gap: 6px; padding: 0 6px; min-width: 0; }
  .tpc-dock__panel:not([data-open]) .tpc-dock__head { justify-content: center; text-align: center; }
  .tpc-dock__panel:not([data-open]) .tpc-fork__badge,
  .tpc-dock__panel:not([data-open]) .tpc-dock__toggle { display: none; }
  /* This rule is MORE SPECIFIC than the .tpc-dock__title block below, so it
     was winning and re-showing the long label at 10.5px - both labels were
     rendering at once. The short-label swap has to live on this selector or
     on one at least as specific. Carries the same values as before for the
     lede tab, which has no data-short. */
  .tpc-dock__panel:not([data-open]) .tpc-dock__title {
    font-size: 10.5px;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-wrap: balance;
  }
  .tpc-dock__panel:not([data-open]) .tpc-dock__title[data-short] {
    font-size: 0;
    line-height: 0;
    white-space: nowrap;
    text-wrap: wrap;
  }
  .tpc-dock__panel:not([data-open]) .tpc-dock__title[data-short]::before {
    content: attr(data-short);
    /* 10.5px, not 11px. Verified on a REAL 390px device render via
       tpc-mobile-scroll-check.mjs (CDP device emulation), which caught
       "LARGER PROJECT" clipping to "LARGER PROJEC" - the browser pane's own
       resize had stopped emulating mobile and was reporting 1920px, so the
       earlier 11px measurement was taken against the wrong width. The tab's
       flex head also gets min-width: 0 so the label can shrink into it
       rather than overflowing a floored flex item. */
    font-size: 10.5px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  /* v10.99 - THEA-803. "LARGER PROJECT" needs ~103px at this 10.5px size
     (measured with a canvas at the live font/letter-spacing); the column it
     sits in is only ~109px at 390px (fits, with ~5px to spare) but ~99px at
     360px and ~85px at 320px - both short, and with white-space:nowrap plus
     the panel's own overflow:hidden the excess hard-clips mid-word with no
     ellipsis: "LARGER PROJEC" at 360px, "LARGER PROJ" at 320px. Confirmed
     intact down to 375px (~104px column, fits by ~1px), so this is scoped to
     374px and under only - 375px, 390px, tablet and desktop are all
     unaffected. The comment above already anticipated this ("shrinking the
     type to fit lands around 8-9px") but the fix landed as a label swap, not
     a size drop - the clipping this section fixes was flagged once before
     (the `tpc-mobile-scroll-check.mjs` note above) and dismissed as a
     broken-viewport tooling artifact, not re-tested at an actual narrow
     width. Letting the label wrap to two lines instead of shrinking the font
     keeps it the same 10.5px as "NEW PLAN" and "URGENT" - "LARGER" (47px)
     and "PROJECT" (53px) each fit the narrowest 320px column alone. The
     58px row has room: two lines at line-height 1.25 is ~26px against the
     `--dock-rest` row's 58px min-height, so nothing grows the row past 58px
     or trips the panel's max-height clip. */
  @media (max-width: 374px) {
    .tpc-dock__panel:not([data-open]) .tpc-dock__title[data-short]::before {
      white-space: normal;
    }
  }
  /* FOUNDER 2026-10-22: "for mobile no cta button can fall on 2 rows."
     Three tabs across a 354px screen gives each one 84px. At that width
     "I'm planning a larger project" cannot fit one row at any readable size -
     shrinking the type to fit lands around 8-9px, so the founder chose short
     labels on mobile instead ("New plan" / "Larger project" / "Urgent").

     The full label stays in the DOM and is swapped VISUALLY only:
     font-size: 0 collapses the long text without removing it from the
     accessibility tree (unlike display:none), and ::before paints the short
     label from data-short. Screen readers still announce the real wording,
     and desktop is untouched because this whole block is phone-only. */
  /* The lede tab ("Pick your path.") has no data-short, so the short-label
     swap above skips it. It is one short phrase already - just size it to
     match the swapped tabs. */
  .tpc-dock__panel:not([data-open]) .tpc-dock__title:not([data-short]) {
    font-size: 11px;
  }
  /* v10.59 - THE SITE-WIDE DOCK FIX (THEA-798). The closed-tab illusion above
     depends on all three panels sharing ONE grid row, so translateY(100% -
     dock-rest) only ever reveals a tab-height sliver because the row itself
     is clipped by .tpc-dock__inner's overflow:hidden at the row's shared
     height. The instant .tpc-dock__inner drops to one column two lines
     above, each panel lands in its OWN row sized to THAT panel's full
     natural content height (grid track sizing ignores the transform - a
     transform repaints a box, it does not shrink what the box contributes
     to layout). A translated panel's head now lands at the bottom of its
     own row as intended, but the rest of the panel's body - still the same
     height as before - spills past that row's bottom edge into the next
     panel's row, because nothing clips per-row (only the outer container's
     total height is clipped, and that total is the SUM of all three full
     panel heights, not the max). Confirmed 2026-10-07 at 390x844: three
     panels effectively fully open, stacked, totalling 108% of the
     viewport.
     Already diagnosed and fixed twice at the page level - request-
     forms.css s9 (2026-09-30) and not-found.css s3 (2026-10-06) - by giving
     up on the shared-row clip trick below 699px and capping the closed
     panel's OWN box directly: max-height replaces the transform as the
     clip mechanism, so each panel clips itself regardless of which row it
     lands in. Promoted here so every page sharing this dock benefits, not
     just the six request-form pages and the 404. The two page-scoped
     copies are now redundant and can be deleted in a future cleanup pass -
     left in place for this task since they do no harm (same selector,
     same values, higher specificity only from the extra class). */
  /* FOUNDER 2026-10-22: "the 3 dock tabs for mobile need to animate up and
     down when you click on them same like desktop."

     ROOT CAUSE, and it is in the THEA-798 fix above, not in the JS: desktop
     opens and closes with transform: translateY, which is animatable, so it
     slides. Mobile had to abandon the transform (it no longer clipped once
     each panel landed in its own grid row) and clip with max-height instead -
     but the open state was `max-height: none`, and `none` is not an
     animatable value, so the panel simply snapped between states.

     A concrete open height restores the animation: 100svh is larger than any
     panel's content, so it never truncates, and max-height interpolates
     between the two. The transition sits on the panel itself rather than the
     state rules so it runs in BOTH directions, up and down.

     Kept on max-height rather than reinstating the transform, because the
     transform is exactly what stopped clipping correctly below 699px and
     caused all three panels to render open over the viewport. */
  .tpc-dock__panel {
    transition: max-height var(--primitive-duration-mid) var(--primitive-easing-out);
  }
  .tpc-dock__panel:not([data-open]) {
    max-height: var(--dock-rest);
    transform: none;
  }
  .tpc-dock__panel[data-open] {
    max-height: 100svh;
  }

  /* FOUNDER 2026-10-22: "no cta button can fall on 2 rows."
     The open panel's CTA was wrapping. Measured with text-transform applied
     (the label renders uppercase, which my first probe missed and under-read
     by 100px): "START A PROJECT ENQUIRY" needs 309px at 16px with 32px inline
     padding, inside a 291px box. At 15px with 24px padding it needs 279px.
     Fits one row with margin, and stays well above the 44px tap-target floor
     because the vertical padding is untouched. */
  .tpc-dock__panel .btn {
    font-size: 15px;
    padding-inline: 24px;
    white-space: nowrap;
  }

  /* ─────────────────────────────────────────────────────────────────────
     FOUNDER 2026-10-22: "make sure all cta buttons across the website are
     centred to the screen", and "no cta button can fall on 2 rows".

     One root cause behind both, and behind the tile-CTA report earlier:
     `.btn` carries padding-inline: 32px and white-space: nowrap, so a long
     label's intrinsic width plus 64px of padding can exceed its container.
     When that happens the button overflows its own card rather than
     centring in it - which is what "not centred" looks like on screen.
     Measured cases: "EXPLORE SPECIALIST SERVICES" 227px in a 202px box,
     "START A PROJECT ENQUIRY" 309px in a 291px box.

     Fixing it at the component rather than per instance: cap the width to
     the container, scale the inline padding with the viewport, and drop a
     half-step of type. Vertical padding is untouched so every button stays
     above the 44px tap-target floor. margin-inline: auto centres it even
     where the parent is not a centred text context. */
  .btn {
    max-width: 100%;
    margin-inline: auto;
    padding-inline: clamp(14px, 4.2vw, 28px);
    font-size: 15px;
    white-space: nowrap;
  }
  /* .btn--block is full width by design, so it has nothing to centre and
     needs its label allowed to breathe rather than capped. */
  .btn--block { margin-inline: 0; }

  /* ─────────────────────────────────────────────────────────────────────
     FOUNDER 2026-10-22: "can we stack the buttons and make this a rule for
     mobile moving forward?" STANDING RULE: any row of two or more CTAs
     stacks vertically and goes full width below 699px.

     It also fixes the long-label problem from the same review. Side by side,
     two buttons each get under half the screen, which is what forced labels
     onto a second row; stacked, each gets the full content width, so the
     same label fits one row at a readable size. Stacking is therefore the
     structural fix and the per-button sizing above is the backstop.
     ───────────────────────────────────────────────────────────────────── */
  .tpc-coverage__ctas,
  .tpc-close__actions,
  .tpc-fork__actions,
  .tpc-why__actions,
  .tpc-hub__actions,
  .shero__actions,
  .tpc-cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--primitive-space-4, 12px);
  }
  .tpc-coverage__ctas > .btn,
  .tpc-close__actions > .btn,
  .tpc-fork__actions > .btn,
  .tpc-why__actions > .btn,
  .tpc-hub__actions > .btn,
  .shero__actions > .btn,
  .tpc-cta-row > .btn {
    width: 100%;
    margin-inline: 0;
  }

  /* The open panel is a full-height sheet and its heading was running under
     the fixed header logo - measured heading top 54px against a logo bottom
     of 90px. Clear it. */
  .tpc-dock__panel[data-open] .tpc-dock__body-inner { padding-top: 54px; }
}

/* ══════════════════════════════════════════════════════════════════════
   EXPANDED MENU, v7.96 - rebuilt on the reference's shape: a full-screen
   overlay with imagery on the left and the destinations set large on the
   right, rather than a dropdown list hanging off the header.

   SPECIFICITY IS DELIBERATE. The header's own collapsed-state rules are
   `.site-header.is-collapsed .site-header__nav[data-open]`, which is (0,4,0),
   so the first build of this lost every property it shared with them - the
   overlay stayed position:absolute and the links stayed 19px. The class is
   repeated in the selector here purely to reach the same weight and win on
   order, which is cheaper than adding an id or reaching for !important.

   IT IS THE SAME data-open THE EXISTING SCRIPT ALREADY SETS, so the toggle,
   the Escape handler, the click-outside close and the focus handling all keep
   working untouched. Only the presentation changes.
   ══════════════════════════════════════════════════════════════════════ */
.site-header .site-header__nav.site-header__nav[data-open] {
  position: fixed;
  inset: 0;
  z-index: 120;                 /* over the header, which is 100 */
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 64px);
  align-content: center;
  align-items: center;
  padding: clamp(88px, 11vh, 132px) clamp(20px, 4vw, 72px) clamp(28px, 4vh, 56px);
  overflow: auto;
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--primitive-asphalt-soft) 82%, #000) 0%,
    var(--primitive-asphalt) 58%,
    #131314 100%);
  border-radius: 0;
  box-shadow: none;
  max-height: none;
  width: auto;
}

/* ── the imagery half */
.site-nav__media { display: none; }
.site-header .site-header__nav.site-header__nav[data-open] .site-nav__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(10px, 1vw, 18px);
  height: min(64vh, 620px);
}
.site-nav__tile {
  position: relative;
  overflow: clip;
  border-radius: 14px;
  text-decoration: none;
  background: #1c1c1d;
}
/* the lead tile takes the full height beside the two stacked ones, which is
   the reference's proportion */
.site-nav__tile--tall { grid-row: span 2; }

.site-nav__tile video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--primitive-easing-out);
}
.site-nav__tile:hover video { transform: scale(1.05); }

/* a wash under the label so the type holds on any frame of the clip: the
   darkest point of the gradient puts white at 9.1:1 */
.site-nav__tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,19,20,0) 42%, rgba(19,19,20,0.82) 100%);
  pointer-events: none;
}
.site-nav__tile-label {
  position: absolute;
  left: clamp(14px, 1.4vw, 22px);
  bottom: clamp(12px, 1.2vw, 20px);
  z-index: 1;
  color: var(--primitive-white);
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ── the destinations, set large with a rule between them */
.site-header .site-header__nav.site-header__nav[data-open] .site-header__nav-item {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-header .site-header__nav.site-header__nav[data-open] .site-header__nav-link {
  display: block;
  width: 100%;
  padding: clamp(10px, 1.4vh, 18px) 0;
  font-size: clamp(26px, 3.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--primitive-white);
  background: none;
  border: 0;
  text-align: left;
}
.site-header .site-header__nav.site-header__nav[data-open] .site-header__nav-link:hover { color: var(--primitive-orange); }

.site-header .site-header__nav.site-header__nav[data-open] .mobile-services-list a { color: rgba(255,255,255,0.72); font-size: 16px; }

.site-header .site-header__nav.site-header__nav[data-open] .site-header__nav-ctas {
  display: flex;
  gap: var(--primitive-space-3);
  margin-top: clamp(18px, 2.4vh, 30px);
}

/* ── one column once the imagery has nowhere useful to sit */
@media (max-width: 899px) {
  .site-header .site-header__nav.site-header__nav[data-open] {
    grid-template-columns: 1fr;
    align-content: start;
  }
  .site-header .site-header__nav.site-header__nav[data-open] .site-nav__media { display: none; }
  .site-header .site-header__nav.site-header__nav[data-open] .site-header__nav-ctas { flex-direction: column; }
}

/* v7.99 - EXPLICIT COLUMN PLACEMENT. The nav items are direct children of the
   overlay grid, so with two columns declared they flowed two-across and the
   destinations ended up interleaved beside the imagery instead of stacked
   next to it. The media block takes column one and every row; everything else
   is pinned to column two, which stacks them in source order. */
.site-header .site-header__nav.site-header__nav[data-open] .site-nav__media {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
}
.site-header .site-header__nav.site-header__nav[data-open] .site-header__nav-item,
.site-header .site-header__nav.site-header__nav[data-open] .site-header__nav-ctas {
  grid-column: 2;
}

@media (max-width: 899px) {
  .site-header .site-header__nav.site-header__nav[data-open] .site-header__nav-item,
  .site-header .site-header__nav.site-header__nav[data-open] .site-header__nav-ctas {
    grid-column: 1;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   OPENING SPLASH, v10.23 - synced live from THEA-771's approved
   splash-concept.html (v10.22, founder-approved 2026-08-26). Replaces the
   v8.0 build above (coded SVG cones + hazard sweep), which stayed on the
   page unmodified through every THEA-771 iteration because the concept
   work only ever touched the standalone prototype file. Full reasoning for
   every value here: splash-concept.html's own header comment.
   ══════════════════════════════════════════════════════════════════════ */
html[data-splashing], html[data-splashing] body { overflow: hidden; }

.tpc-splash {
  --tpc-cone-orange: #E8611C; /* same scoped-local pattern as .tpc-hero - E8611C is imagery-world, not a global token */
  position: fixed; inset: 0; z-index: 900;
  /* logo and cones are independently positioned within this fixed layer,
     not centred as one stacked block - see the two rules below */
  background: linear-gradient(180deg, var(--primitive-orange) 0%, var(--tpc-cone-orange) 100%);
}
.tpc-splash__logo {
  position: absolute; left: 50%; bottom: var(--primitive-space-7);
  width: clamp(72px, 7vw, 108px); height: auto;
  animation: tpc-splash-mark var(--primitive-duration-cinematic) var(--primitive-easing-out) both;
}
.tpc-splash__cones {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--primitive-space-6);
}
.tpc-splash__cone-row { display: flex; align-items: flex-end; gap: var(--primitive-space-4); }
.tpc-splash__cone {
  width: clamp(80px, 12vw, 176px); display: block; transform-origin: 50% 100%;
  animation:
    tpc-splash-cone var(--primitive-duration-moderate) var(--primitive-easing-snap) both,
    tpc-splash-cone-idle var(--primitive-duration-fast) var(--primitive-easing-in-out) infinite alternate;
}
.tpc-splash__cone img { display: block; width: 100%; height: auto; }
/* second delay value in each pair is the loop's start time = entrance delay
   + entrance duration (var(--primitive-duration-moderate), 0.4s), so the
   idle bounce picks up exactly where the entrance leaves off, no seam */
.tpc-splash__cone:nth-child(1) { animation-delay: 0.30s, 0.70s; }
.tpc-splash__cone:nth-child(2) { animation-delay: 0.39s, 0.79s; }
.tpc-splash__cone:nth-child(3) { animation-delay: 0.48s, 0.88s; }
.tpc-splash__loading {
  margin: 0;
  font-family: var(--primitive-font-family);
  font-size: var(--primitive-size-body-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primitive-white);
  opacity: 0;
  animation: tpc-splash-loading var(--primitive-duration-moderate) var(--primitive-easing-out) both;
  animation-delay: 0.5s; /* appears while the cones are still mid-pop, not after they've settled */
}
@keyframes tpc-splash-loading { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* idle loop for the cones once their entrance completes - transform only
   (translateY/scaleY), never opacity, so there is no re-flash of the
   entrance. v10.22: --primitive-easing-in-out is symmetric so neither leg
   of the alternate loop snaps, unlike the earlier --primitive-easing-out
   (an arrival curve) which read as a jittery hop on its return leg. */
@keyframes tpc-splash-cone-idle { from { transform: translateY(0) scaleY(1); } to { transform: translateY(-3px) scaleY(1.03); } }
/* translateX(-50%) baked into both keyframe states because .tpc-splash__logo
   is centred via left:50% + transform, and this animation's own
   `transform: none` end state would otherwise overwrite that centring */
@keyframes tpc-splash-mark {
  from { opacity: 0; transform: translateX(-50%) translateY(14px) scale(0.94); }
  to   { opacity: 1; transform: translateX(-50%); }
}
/* POP UP: starts below the resting line (positive translateY) and squashed
   (scaleY 0.6, transform-origin 50% 100%), rises and springs to full height
   on the overshoot ("snap") easing - reads as popping up out of the ground */
@keyframes tpc-splash-cone { from { opacity: 0; transform: translateY(28px) scaleY(0.6); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) { .tpc-splash { display: none; } }


/* THEA-764 - the v9.7 "Coming soon" pill (.tpc-soon) is REMOVED: the menu
   is designed now, the burger opens .tpc-menu instead, and nothing in the
   JS creates a .tpc-soon element any more. */


/* ─────────────────────────────────────────────────────────────────────
   MENU: WHICH PAGE YOU ARE ON, v10.44.

   Founder: a Home entry above Knowledge Hub, and the entry for the page you
   are on in a different colour. Home is a normal .tpc-menu__nav-item placed
   first, so the ordinal falls out of the existing counter: Services stays 01,
   Home becomes 02 and the rest shift down to 08. Nothing needed hard-coding.
   The stagger gained a 7th step and the footer moved 380ms -> 415ms to follow it.

   COLOUR IS #E8611C, NOT THE BRAND ORANGE. The menu is white, both the heading
   and the nav links are 38px/800, so large-text AA applies at 3:1.
   --primitive-orange #F4941D measures 2.31:1 there and fails it. #E8611C is
   --tpc-cone-orange, already a brand colour in the hero ramp, and measures
   3.41:1. It still reads unmistakably orange, which keeps it consistent with
   the orange "You're here" marker on the service tiles.

   The ordinal is coloured with the label so the whole row reads as active
   rather than the number staying grey against a coloured word.
   ───────────────────────────────────────────────────────────────────── */
.tpc-menu__nav-link.is-current,
.tpc-menu__section-heading.is-current { color: #E8611C; }
.tpc-menu__nav-item:has(.tpc-menu__nav-link.is-current)::before,
.tpc-menu__section-heading.is-current::before { color: #E8611C; }


/* ─────────────────────────────────────────────────────────────────────
   MENU: THE SERVICES HEADING IS A LINK, v10.47.

   Founder: it reads like the other menu entries but was an <h2> with no
   anchor, so clicking it did nothing. The anchor goes INSIDE the h2 rather
   than replacing it, because the ordinal is a ::before on the h2 and the row
   geometry (63.8px, the transparent bottom border) is what keeps it level with
   Knowledge Hub opposite. Wrapping the text leaves all of that untouched.

   Everything inherits, so the heading looks identical: the anchor takes the
   h2's colour, which is also how the is-current orange still reaches it on the
   hub without a second rule. */
.tpc-menu__section-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  /* Same two properties and the same curve the nav links animate. */
  transition: color var(--primitive-duration-fast) var(--primitive-easing-out),
              transform var(--primitive-duration-fast) var(--primitive-easing-out);
}

/* v10.48 - HOVER NOW MATCHES THE NAV LINKS. At v10.47 Services underlined while
   every row opposite went orange and slid 6px right, so two halves of one list
   behaved differently under the cursor.

   IT HAD TO GO ON THE ANCHOR, not the h2, and the first attempt at the h2 did
   nothing. `.tpc-menu[data-open] .tpc-menu__tiles-col > *` sets a transition on
   the h2 for the open animation and outranks a bare element rule, so a
   padding-left transition declared there was silently discarded. The nav links
   never hit this because their transition lives on the child link inside the
   item, which is exactly what this now mirrors.

   Movement is a 6px translate rather than padding 40px -> 46px for the same
   reason: that same reveal rule sets `transform: none` on the h2, so the
   transform has to belong to the anchor. Visually identical, and the ordinal
   stays put either way since both ::before markers are absolute at left:0.

   Hover is triggered from the h2 so the whole row responds, matching the
   full-width flex nav rows rather than only the width of the word. */
.tpc-menu__section-heading:hover .tpc-menu__section-link,
.tpc-menu__section-link:focus-visible {
  color: var(--primitive-orange);
  transform: translateX(6px);
}

/* ══════════════════════════════════════════════════════════════════════
   v10.62 - MOBILE CARD ROWS = SWIPE CAROUSELS (founder 2026-10-07: chose
   "swipe carousels" so each three-card section reads as "three things" on
   a phone, as it does three-across on desktop, instead of a 1,357px /
   613px / 831px stack). Services tiles, the three "why" points and the
   three Knowledge Hub cards become one row each: 84% card width so the next
   one peeks in, native scroll-snap (touch, trackpad and tab focus all work
   with no JS), bleeding to the screen edges through the band's 24px gutter.
   Filled dots under each row (built by the small script at the end of
   homepage.html) show position and jump to a card. Same pattern as the
   approved search-results carousels.
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 699px) {
  /* v10.63 - SCOPED TO THE UNMODIFIED CLASS ONLY. .tpc-showcase is a shared
     component (design-tokens/components-level markup pattern), reused by
     construction-tmp-ctmp/specialist-services/services/traffic-management-
     plans-tgs (--two), areas-we-service (--coverage) and team (--team) with
     their OWN per-page tile counts and their OWN bespoke mobile layouts
     already built in those pages' own CSS. This rule was written for one
     thing only - the homepage's three-tile services teaser, named in the
     comment above ("Services tiles... become one row each") - but the bare
     .tpc-showcase selector reached every page that links homepage.css (every
     page does), silently forcing every variant's tiles into this carousel's
     grid-auto-flow/overflow-x regardless of their own column count or their
     own single-column override below this same breakpoint. On 404.html (a
     bare, unmodified 2-tile .tpc-showcase with no variant to opt out) this
     produced a broken hybrid grid: the page's own `grid-template-columns:1fr`
     survived the cascade but this rule's grid-auto-flow/grid-auto-columns did
     not get overridden, so a second implicit auto-sized column was generated
     alongside the single named one (found and fixed locally in not-found.css
     by THEA-800's R5 pass). The modifier variants have the identical latent
     collision and would fail the same way the moment a visitor's finger lands
     exactly where two conflicting grid definitions overlap. Excluding any
     class containing "tpc-showcase--" restores this rule to only the
     instances that were ever meant to carousel: homepage's own teaser plus
     contact/thank-you/thank-you-standalone, which all use the bare class with
     no page-specific column override to collide with. */
  .tpc-showcase:not([class*="tpc-showcase--"]),
  .tpc-why.band .tpc-why__list,
  .tpc-hub-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
  /* FOUNDER 2026-10-22: "all carousels across the entire website for mobile
     need to be one tile in frame and centred."
     Was 84% wide with scroll-snap-align:start, which parks a tile against the
     left edge and leaves the next one peeking - the tile reads as off-centre.
     100% of the track's CONTENT box (the track is already bled edge to edge
     with margin-inline:-24px and padded back in) makes exactly one tile fill
     the frame, and center alignment puts it on the screen's centre line. */
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
    margin-inline: -24px;
    padding: 8px 24px 16px;
  }
  .tpc-showcase:not([class*="tpc-showcase--"])::-webkit-scrollbar,
  .tpc-why.band .tpc-why__list::-webkit-scrollbar,
  .tpc-hub-grid::-webkit-scrollbar { display: none; }
  .tpc-showcase:not([class*="tpc-showcase--"]) > *,
  .tpc-why.band .tpc-why__list > *,
  .tpc-hub-grid > * { scroll-snap-align: center; min-width: 0; }

  /* FOUNDER 2026-10-22, two rulings that have to be satisfied together:
     "the cta in the tile is edge to edge of the tile that shouldn't be the
     case" and "for mobile no cta button can fall on 2 rows".

     ROOT CAUSE of the edge-to-edge: the shared `.btn` rule sets
     padding-inline: 32px, and with white-space: nowrap the label's intrinsic
     width plus 64px of padding exceeded the tile's content box - measured at
     a 354px viewport, a 227.1px button against a 201.8px content box, so it
     overran the right padding edge while looking flush.

     The wrap fix I tried first is WRONG under the second ruling: letting the
     label break put "EXPLORE TMP & / TGS" on two rows. So the button stays
     nowrap and the SPACE it needs comes down instead - tighter inline padding
     and a slightly smaller label, phone only. One row, clear inset both
     sides, no clipping. */
  .tpc-showcase__tile .tpc-showcase__cta {
    white-space: nowrap;
    padding-inline: 16px;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    max-width: 100%;
  }

  /* FOUNDER 2026-10-22: "the see all services and request cta's need to be
     centred on two rows."
     They were one line of running text divided by a middot, which at phone
     width broke mid-phrase ("...swept-path / check"). Each link now takes its
     own centred row and the middot is hidden - it exists to divide two links
     sharing a line, so on separate rows it has no job. Decorative and
     aria-hidden already, so no content is lost. */
  .tpc-services__foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .tpc-services__foot .tpc-dot { display: none; }

  /* ─────────────────────────────────────────────────────────────────────
     FOUNDER 2026-10-22: "across the entire website all text needs to be
     centred for mobile."

     SCOPE, confirmed with the founder before writing this: marketing and
     content sections only. Deliberately NOT centred, because centring them
     actively costs the reader:
       - long-form legal (privacy-policy, terms, legal-specimen: ~1,700 words
         each) - these are scanned for a clause, not read start to finish, and
         a centred ragged left edge removes the anchor that scanning needs
       - blog post body (~3,500 words) - same reason
       - form labels and inputs (the five request forms) - a label centred
         over a full-width field stops reading as that field's label
     Those three keep their left alignment; everything else centres. This
     matches the call already recorded on areas-we-service.css, where the
     founder accepted left-aligned body on the state tiles for exactly this
     reason.

     Applied at the band level so it reaches page-specific components without
     needing a rule per stylesheet. Phone only, desktop untouched. */
  .band__inner,
  .tpc-sec,
  .tpc-showcase__tile,
  .tpc-hub-card,
  .tpc-why__point,
  .tpc-proof__item,
  .tpc-essentials__item,
  .tpc-close__inner { text-align: center; }

  /* The carve-outs. These three win because they are more specific than the
     band-level rule above, not because of source order. */
  /* Carve-outs: these read worse centred. NOTE the doubled class - the
     obvious `.tpc-post__content *` is specificity (0,1,0) and LOSES to the
     `.band__inner p` above at (0,1,1), which is how the blog post body ended
     up centred on the first attempt. Doubling the class lifts each carve-out
     to (0,2,x) so it wins without resorting to !important. */
  .tpc-post__content.tpc-post__content,
  .tpc-post__content.tpc-post__content *,
  .tpc-legal-content.tpc-legal-content,
  .tpc-legal-content.tpc-legal-content *,
  .request-form-page .field.field,
  .request-form-page .field.field *,
  .request-form-page .field__label.field__label,
  .request-form-page .field__hint.field__hint,
  .request-form-page .form-row.form-row { text-align: left; }
  .tpc-why.band .tpc-why__point {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 22px 18px;
  }

  .tpc-mcar-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
  }
  .tpc-mcar-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    /* FOUNDER 2026-10-22: "for the grey backgrounds the carousels circles are
       black and can't see them... visible across the whole site."
       28% of currentColor measured 1.56:1 on panel grey #F1F1F1 and 1.57:1 on
       white, against a 3:1 floor for a non-text UI indicator - effectively
       invisible, exactly as reported. 65% measures 3.52:1 on grey and 3.9:1
       on white. currentColor is kept deliberately rather than a fixed hex:
       it already flips with the band, so the same single value also gives
       5.9:1 on asphalt instead of needing a dark-band override. */
    /* CORRECTED: my first pass used currentColor at 65% on the assumption it
       flips with the band. It does not here - measured on an asphalt band it
       resolved to black at 1.32:1, WORSE than before. Explicit colours per
       ground instead, each measured: asphalt dot on light = 3.5:1, white dot
       on asphalt = 5.9:1. Both clear the 3:1 floor for a non-text indicator. */
    background: rgba(34, 34, 34, 0.55);
    cursor: pointer;
    transition: width var(--primitive-duration-fast) var(--primitive-easing-out),
                background-color var(--primitive-duration-fast) var(--primitive-easing-out);
  }
  .tpc-mcar-dots button[aria-current="true"] {
    width: 22px;
    border-radius: 999px;
    background: var(--primitive-orange);
  }
  .band-asphalt .tpc-mcar-dots button,
  [data-header-dark] .tpc-mcar-dots button { background: rgba(255, 255, 255, 0.6); }
  .band-asphalt .tpc-mcar-dots button[aria-current="true"],
  [data-header-dark] .tpc-mcar-dots button[aria-current="true"] { background: var(--primitive-orange); }
  .tpc-mcar-dots button:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primitive-orange) 35%, white); }
}
@media (min-width: 700px) { .tpc-mcar-dots { display: none; } }

/* ─────────────────────────────────────────────────────────────────────
   MOBILE - RED TRUST STRIP AS A ONE-ROW ROTATOR
   Founder 2026-10-22: "can the red trust banner across the entire site be
   on 1 row and it rotates every so often so it isn't so tall?"

   .tpc-proof--strip is defined byte-identically in eight page sheets
   (services / about / areas-we-service / case-studies / team /
   request-forms / contact / knowledge-hub) and ships on 38 pages. The
   layout it inherits from here is the problem: the rule at line 1652 drops
   the five-up grid to two columns below 600px, and the odd fifth item then
   spans the full width, so the band runs about three rows deep before any
   of the page's own content starts.

   Below 699px the five items are stacked into ONE grid cell and
   trust-strip.js shows one at a time. Each is laid out as a single
   horizontal line - stat, then label - so whichever is showing, the band
   is one row tall.

   The :is() hook carries .tpc-proof twice so this beats
   knowledge-hub.css:1039 (.tpc-proof--kh .tpc-proof__grid, four columns),
   which is the one page sheet that re-declares the grid and would
   otherwise win on cascade order.

   DESKTOP UNTOUCHED: everything here is inside the query, and with JS off
   the items simply all stay visible in the approved stacked layout.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-proof.tpc-proof--strip .tpc-proof__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: center;
  }
  .tpc-proof--strip[data-trust-rotating] .tpc-proof__item {
    grid-area: 1 / 1;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
    pointer-events: none;
    transition: opacity 420ms var(--primitive-easing-out, ease-out);
  }
  /* v10.91 - FAIL SAFE. Hiding used to rest on `opacity: 0` in the stacking
     rule above, which couples two jobs to one property: the instant anything
     stops the active flag resolving, all five credentials are still stacked
     in one grid cell AND all still paint, which is the unreadable pile of
     superimposed words the founder photographed on services.html.

     Hiding is now driven off the ABSENCE of the flag and backed by
     `visibility`, so exactly one credential can paint by construction rather
     than by the script keeping up, and the hidden four leave the
     accessibility tree while they are not the shown one. */
  /* v10.93 - THE FLICK HAS TO FADE, IN AND OUT.
     Two things fought this. The band reveal writes `opacity: 1` INLINE on
     every item (they carry [data-reveal-item]), which beat the stylesheet
     and left all five painting at once; and `visibility` cannot tween, so
     once visibility was added to force one at a time the swap became an
     instant cut with no fade left in it.

     `!important` here is deliberate and narrow: it is the only way a
     stylesheet can win against an inline style written by another
     animation at scroll time, and the rotator must own this property to
     animate it at all. Transitions still apply to an !important value, so
     the crossfade works normally.

     The visibility delay is what makes the fade-OUT visible: the outgoing
     item holds `visible` for the full 420ms of its fade and only flips to
     `hidden` once it has reached zero, while the incoming one becomes
     visible immediately. Without the delay the outgoing credential would
     vanish on frame one and only the incoming one would appear to animate.

     The 6px rise is the "flick": the incoming line lifts into place as it
     fades up, the outgoing settles back down as it fades out. */
  .tpc-proof--strip[data-trust-rotating] .tpc-proof__item:not([data-trust-active]) {
    opacity: 0 !important;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 420ms var(--primitive-easing-out, ease-out),
                transform 420ms var(--primitive-easing-out, ease-out),
                visibility 0s linear 420ms;
  }
  .tpc-proof--strip[data-trust-rotating] .tpc-proof__item[data-trust-active] {
    opacity: 1 !important;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 420ms var(--primitive-easing-out, ease-out),
                transform 420ms var(--primitive-easing-out, ease-out),
                visibility 0s linear 0s;
  }
  /* The five labels run from 9 to 45 characters. At 12px/1.3 the longest
     ("Lead planner on every job, never a call centre") measures inside the
     390px gutter next to its 15px stat, so every item holds one line. */
  .tpc-proof--strip[data-trust-rotating] .tpc-proof__stat,
  .tpc-proof--strip[data-trust-rotating] .tpc-proof__stat--word {
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .tpc-proof--strip[data-trust-rotating] .tpc-proof__label {
    font-size: 12px;
    line-height: 1.3;
    max-width: none;
    white-space: nowrap;
  }
  /* Two of the five labels do not fit a 390px row at a readable size: the
     grid is 342px wide and they need 395px and 398px with their stat. They
     carry a data-short, swapped in the way the dock titles and the contact
     coverage CTA already do on this site - font-size:0 on the element plus
     a ::before carrying attr(data-short). The real sentence stays in the
     DOM and in the accessibility tree, so nobody loses the full wording;
     only the rendered row is shortened.
       "Years combined on-road & planning experience" -> "Years on-road & planning"
       "Lead planner on every job, never a call centre" -> "Lead planner on every job"
     line-height goes to 0 with the font size, or the empty line box the
     hidden text still generates keeps the row at its two-line height. */
  .tpc-proof--strip[data-trust-rotating] .tpc-proof__label[data-short] {
    font-size: 0;
    line-height: 0;
  }
  .tpc-proof--strip[data-trust-rotating] .tpc-proof__label[data-short]::before {
    content: attr(data-short);
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
  }
  /* The fifth item's full-width override (line 2042) is a two-column
     artefact and has nothing left to do in a single cell. */
  .tpc-proof--strip[data-trust-rotating] .tpc-proof__item:last-child {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  /* Reduced motion: the strip still rotates - the content is the point -
     but it swaps rather than cross-fades, so there is no movement. */
  @media (prefers-reduced-motion: reduce) {
    .tpc-proof--strip[data-trust-rotating] .tpc-proof__item { transition: none; }
  }
}

/* ─────────────────────────────────────────────────────────────────────
   v10.87 - HAIRLINE SEAMS BETWEEN THE COLOURED BANDS ON PHONES
   ─────────────────────────────────────────────────────────────────────
   The founder saw a white line across the full width between every
   coloured section on an iPhone. It is not a border and not a gap in the
   markup: measured at 390x844 DPR 3, EVERY band boundary on this page
   lands on a fractional CSS pixel (1339.344, 4782.172, 7749.563 ...).
   At DPR 3 the band above and the band below round that boundary to
   different device pixels, and the white page background behind them
   shows through the third-of-a-pixel that neither one paints.

   Chasing the fraction upstream is not the fix: it comes from `svh` and
   `clamp()` heights that are MEANT to be fluid, and pinning them to whole
   pixels would break the very responsiveness they exist for.

   So each band is pulled up a single pixel onto its predecessor and paints
   over the seam. 1px is below the perceptual threshold for section spacing
   and the cumulative effect across the eight bands is 8px on an 11,000px
   page. Phones only: desktop is client-approved and frozen. */
@media (max-width: 699px) {
  .tpc-proof.band,
  .tpc-statement,
  .tpc-services.band,
  .tpc-why.band,
  .tpc-hub.band,
  .tpc-testimonial,
  .tpc-close.band,
  .tpc-footer {
    margin-top: -1px;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   v10.87 - MOBILE FOOTER BALANCE (founder: "doesn't look balanced")
   ─────────────────────────────────────────────────────────────────────
   Diagnosis, not taste: the sitewide mobile centring rule reaches the two
   footer link lists, and those lists hold 8 items ("Quick links") against
   5 ("Get started"). Centred, every row floats to its own width so the two
   columns never share an edge, and the shorter list dies three rows early
   leaving an obvious hole at bottom right. The lists read as drifting text
   rather than as columns.

   Left-aligning the two lists gives them a shared left edge, which is what
   makes a 8-vs-5 pair read as deliberate instead of broken. Contact details
   stays centred: it spans the full width, its lines are long, and centred
   is correct there. Its vertical rhythm is pulled in, which was the other
   half of the "unbalanced" read - the lines were spaced like paragraphs.
   The doubled class beats the sitewide centring block without !important. */
@media (max-width: 699px) {

  /* the two link columns become columns again */
  .site-footer .site-footer__cols > :nth-child(n + 2) .site-footer__heading,
  .site-footer .site-footer__cols > :nth-child(n + 2) .site-footer__links,
  .site-footer .site-footer__cols > :nth-child(n + 2) .site-footer__links li,
  .site-footer .site-footer__cols > :nth-child(n + 2) .site-footer__links a {
    text-align: left;
  }

  /* a touch more gutter now that both lists are flush left, so the two
     columns read as separated rather than as one ragged block */
  .site-footer .site-footer__cols { column-gap: 22px; }

  /* contact details: tighten the rhythm. It was running paragraph-spaced,
     which is what made the block look airy next to the dense link lists. */
  .site-footer .site-footer__cols > :first-child .site-footer__links {
    line-height: 1.5;
  }
  .site-footer .site-footer__cols > :first-child .site-footer__links li {
    margin-bottom: 4px;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   v10.87 - THE DOCK LEDE WAS READING ON TOP OF THE PAGE
   ─────────────────────────────────────────────────────────────────────
   Founder: "the three ways forward text on mobile in this hero section
   gets lost". It is not a hero element at all - it is `.tpc-dock__lede`,
   a child of the FIXED action dock. The dock's own box is 14px tall with
   `overflow: visible`, so the lede paints 62px above it (measured y757,
   dock y830) with a transparent background, directly over whatever is
   scrolling underneath. At 390x844 the proof band's top lands at y764, so
   "Three ways forward. Pick your path." printed straight through the
   "100+" and "5.0" trust figures and neither could be read.

   A full-width scrim was tried first and rejected on sight: the dock
   crosses orange, asphalt and white bands as the page scrolls, and a pale
   wash wide enough to cover the lede reads as a stripe across the artwork
   on every coloured band - worse than the bug. The lede instead carries
   its own contained pill, so it stays legible over any band without
   touching the page behind it. Asphalt with white type is the site's
   existing on-any-ground pairing, so this introduces no new colour.
   Phones only; desktop is client-approved and frozen. */
@media (max-width: 699px) {
  .tpc-dock__lede {
    width: max-content;
    max-width: calc(100% - 32px);
    margin-inline: auto;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--primitive-asphalt);
    color: var(--primitive-white);
    /* the lede is position:absolute in the dock's own overflow - keep that,
       only constrain it, or it drops back into flow and lands off-centre */
    left: 0;
    right: 0;
    z-index: 1;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   v10.89 - WHITE GAP UNDER THE RED SECTION ON IPHONE
   ─────────────────────────────────────────────────────────────────────
   Founder: "why is there a white gap underneath the red section? that
   needs to be red".

   `.tpc-statement` is `height: 100svh`. `svh` is the SMALL viewport
   height, which is the viewport measured with Safari's toolbars SHOWN -
   deliberately chosen at v6.7 so the section could never be taller than
   the screen. The catch is the other direction: as soon as the visitor
   scrolls and Safari retracts its toolbar, the real viewport grows toward
   `lvh` while this section stays pinned at the smaller number. The
   difference is the toolbar's height, and the white page background
   behind the section shows through it.

   `dvh` is the obvious answer and the wrong one here: it tracks the live
   viewport, so it would resize on every toolbar show/hide, and each
   resize invalidates a ScrollTrigger pin whose distance was computed from
   the old height. That trades a white strip for a jumping pin.

   `lvh` is a FIXED value - the viewport with the toolbar hidden - so it
   never changes mid-scroll and is always at least as tall as whatever is
   actually on screen. The section can now sit a toolbar's height taller
   than the visible area when the toolbar is shown, which for a full-bleed
   band with a vertically centred line is not perceptible.
   Phones only; desktop is client-approved and frozen. */
@media (max-width: 699px) {
  .tpc-statement { height: 100lvh; }
}

/* ─────────────────────────────────────────────────────────────────────
   v10.90 - STATEMENT TYPE CANNOT OVERFLOW, WHATEVER THE ENGINE DOES
   ─────────────────────────────────────────────────────────────────────
   The v10.88 `text-size-adjust` fix stopped iOS inflating this type and
   "Why teams / call us the white knights" started fitting. The founder
   still reports cut-off text in this scene, and I cannot reproduce it in
   any engine I can drive here: measured at a true 390 the box is 342px and
   every line wraps.

   So rather than guess at a fourth mechanism, this makes overflow
   structurally impossible instead of merely unlikely. The lead size drops
   from max(40px, 12.74vw) to max(34px, 10.2vw) - 39.8px at 390 rather
   than 49.7px - which buys roughly 20% more room on the longest line
   ("construction", the widest single word in the scene). Long words are
   allowed to break rather than punch out of the box, and nothing may
   exceed the panel's own width.

   This is a safety net, not a redesign: the type is still the dominant
   element on the panel and the scene's proportions are unchanged.
   Phones only; desktop is client-approved and frozen. */
@media (max-width: 699px) {
  .tpc-statement {
    --statement-lead-size: max(34px, 10.2vw);
  }
  .tpc-statement__text,
  .tpc-statement__body,
  .tpc-statement__row,
  .tpc-statement__word {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .tpc-statement__inner {
    max-width: 100%;
    overflow-x: clip;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   v10.91 - MOBILE FOOTER, SECOND PASS (founder: "doesn't look balanced")
   ─────────────────────────────────────────────────────────────────────
   The first pass fixed the two link lists. Seen in full on an inner page
   the brand block is the remaining problem, and it is an alignment
   mismatch rather than a spacing one: the logo, the rating and the
   "Social" heading all centre, but `.site-footer__social` is a flex row
   left at its default `flex-start`, so two icons hang off the left edge
   directly under a centred label. With the link columns now flush left as
   well, the footer was reading in three different alignments at once.

   Settled on two: everything in the full-width stack centres (brand,
   rating, social, contact), and only the two-column link area runs flush
   left, where a shared left edge is what makes a column read as a column.
   That is a deliberate split, not a compromise - centred full-width blocks
   with left-aligned columns beneath is the conventional reading order for
   a stacked mobile footer. */
@media (max-width: 699px) {
  .site-footer .site-footer__social { justify-content: center; }
  .site-footer .site-footer__brand { text-align: center; }
  /* the rating row carries its stars and text inline; centre the whole row
     rather than just the text so the stars travel with it */
  .site-footer .tpc-footer__rating { justify-content: center; text-align: center; }
}

/* ─────────────────────────────────────────────────────────────────────
   v10.95 - THE "WEIRD TRANSPARENT RECTANGLE BEHIND THE TABS"
   ─────────────────────────────────────────────────────────────────────
   Founder, three times. It is not a stray element and nothing is
   mispositioned: it is the dock cards' own lift shadow,
   `0 -5px 32px rgba(34,34,34,0.24)`, measured on all three
   `.tpc-dock__panel` tabs and on the collapsed `.tpc-dock__pick` bar.

   On desktop that shadow does its job - one wide card, a soft lift off the
   page. On a phone the dock splits into three 121px tabs sitting side by
   side, and three 32px upward blurs overlapping across a 390px viewport
   stop reading as three separate lifts and merge into one continuous grey
   haze spanning the full width above the tabs. That is the rectangle, and
   it is why it looked translucent and had no clean edges.

   Removed on phones only. The tabs sit on a solid gradient and read as
   raised on their own at this size; the shadow was adding nothing but the
   haze. Desktop is client-approved and frozen and keeps its lift. */
@media (max-width: 699px) {
  .tpc-dock__panel,
  .tpc-dock__pick,
  .tpc-dock__close {
    box-shadow: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   v10.96 - THE OPEN DOCK CARD CLIPPED ITS OWN BOTTOM
   ─────────────────────────────────────────────────────────────────────
   Founder: "we need to fix this tab, there is overflow" - on the open
   "I'm planning a larger project" card the minimise control and the
   "Learn more about complex projects" link collided and the content ran
   off the bottom of the screen.

   Measured at 390x844: the panel opens to `max-height: 100svh` (844px)
   and carries `overflow: hidden`, but its content is 1336px tall - body
   alone is 1278px. So roughly 490px of the card was clipped outright,
   with no way for a reader to reach it. The cap is correct and is what
   stops the card covering the whole page; what was missing was anywhere
   for the overflow to go.

   The body now scrolls inside the card. `--dock-rest` (76px) is the
   heading row that stays fixed at the top of the open card, so the body
   gets the rest of the viewport. `overscroll-behavior: contain` keeps a
   flick inside the card from chaining into the page behind it, which on a
   phone would otherwise scroll the document while the card is open.
   Phones only; desktop is client-approved and frozen. */
@media (max-width: 699px) {
  /* The panel is a column flexbox capped at 100svh, and "Minimise" is
     `position: absolute; bottom: 0` against it - it floats over the panel's
     bottom edge instead of taking part in the flow, so the body ran
     underneath it and copy slid beneath the control. That is the collision
     the founder photographed: "Minimise" printed over "Learn more about
     complex projects".

     Reserving that strip with arithmetic was the wrong tool and got it
     wrong twice: I subtracted `--dock-rest` (76px) for the heading, but the
     heading actually measures 107px once the open-state type sizes apply,
     so the box still reached the bottom. The flex layout already knows
     every one of those numbers. Padding on the panel reserves the control's
     strip, the body takes the remaining space, and `min-height: 0` is what
     allows a flex item to shrink below its content so `overflow-y` can
     actually scroll - without it a flex item's floor is its content height
     and the scrollbar never engages.

     `bottom: 0` resolves against the padding box, so the control stays
     pinned to the real bottom edge while the copy now stops short of it. */
  .tpc-dock__panel[data-open] {
    padding-bottom: 46px;
  }
  .tpc-dock__panel[data-open] .tpc-dock__body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--primitive-space-4);
  }
}

/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-11-05: "the open larger project panel runs up behind the
   header, I can see this on my iPhone 14 Pro."

   THEA-803 reported this as a 320px-only edge case. It is not. It was
   only measured with the panel open at a 844px-tall viewport, where the
   card happens to fit. Reproduced at the founder's real device size:

     393x852 (iPhone 14 Pro, Safari toolbars hidden)  panel top 123  OK
     393x734 (iPhone 14 Pro, Safari toolbars shown)   panel top 5    BEHIND HEADER
     390x700 (short)                                  panel top 0    BEHIND HEADER
     320x844 (SE 1st gen)                             panel top 19   BEHIND HEADER

   Root cause: the open panel is bottom-anchored and grows upward, capped
   only by `max-height: 100svh` (the animatable concrete height added
   2026-10-22 so the card slides instead of snapping). 100svh is the WHOLE
   viewport, so the cap reserves nothing for the fixed header. The
   "larger project" card needs 729px of content; any viewport shorter than
   roughly 850px lets its heading run under the logo and hamburger. Safari
   showing its toolbars is enough to trigger it on a current iPhone, which
   is why the founder sees it and a 844px test harness does not.

   Fix: reserve the header's band in the cap. This keeps the SAME
   mechanism the founder approved (an animatable concrete max-height on
   the panel's own box, not a transform, not `none`), so the open/close
   slide is untouched. It is a cap, not a height, so the two shorter
   cards ("I need a plan" 561px, "Urgent requests" 329px) are unaffected
   at every tested size. The overflow has somewhere to go already: the
   body is `flex: 1 1 auto; min-height: 0; overflow-y: auto` from v10.98,
   so a taller card simply scrolls more inside itself and the Minimise
   strip stays reserved.

   118px = the header's measured bottom edge on mobile (106px at 700 and
   734 tall, 109px at 852) plus a 12px breathing gap, so the card's
   heading never sits level with the logo either.

   Phones only. Desktop is client-approved and frozen. */
@media (max-width: 699px) {
  .tpc-dock { --dock-header-clearance: 118px; }

  .tpc-dock__panel[data-open] {
    max-height: calc(100svh - var(--dock-header-clearance));
  }
}

/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-11-05: "on mobile the testimonial section is way too big
   on the home page and maybe the other testimonial page, please make
   smaller."

   Measured at 393x852 (the founder's iPhone 14 Pro) before this change:
   the section was 842px tall, 99% of the viewport, so the pad filled the
   whole screen with nothing else visible.

     section padding   48px top + 48px bottom
     heading block     101px + 34px margin
     the pad itself    444px
     gap to the pager  78px of empty air
     pager             42px

   The pad's height is not set directly: `--rule` is the rule pitch of the
   paper AND the line-height of every line on it AND every vertical margin
   inside the sheet, because they all have to be multiples of the pitch to
   keep the words sitting on the lines. So the pitch is the one number that
   shortens all of them at once, which is exactly how v7.66 took it from
   40px to 34px. Taking it to 27px on phones shortens the quote, the
   attribution and all three margins together and keeps the handwriting
   rhythm intact.

   The quote's own font-size is untouched at its 19px floor. It is the hero
   of the section and shrinking it was not what was asked for. The height
   comes back from the rhythm, the oversized Google lockup (a 34px wordmark
   on a 345px-wide card) and that 78px gap, not from the words.

   `--rule-offset` is re-measured here, not carried over. It positions the
   first painted rule under the first baseline, and both the pitch and the
   block above the quote have changed, so the old 7.5px no longer lands.
   Derived live: first quote line box starts 119px into the sheet's padding
   box, baseline sits a descender (about 0.21em of 19px, so 4px) above the
   line box bottom, giving 119 + 27 - 4 = 142px, which modulo the 27px
   pitch is 7px.

   Applies to all three pages carrying the pad (homepage, case-studies,
   thank-you-standalone) because it is scoped to the component, not the
   page. Phones only. Desktop is client-approved and frozen. */
@media (max-width: 699px) {
  .tpc-notepad__sheet {
    --rule: 23px;
    --rule-offset: 5px;
  }

  /* SECOND CUT. The first pass held the quote at its 19px floor on the
     grounds that it is the hero of the section, and the pad still came
     back too tall. 17px is the floor now: the quote is still the largest
     thing on the paper and still carries the brand orange, it just stops
     setting the height of the whole section on a 345px card. */
  .tpc-notepad .tpc-testimonial-feature__quote { font-size: 17px; }

  /* a 34px wordmark and 22px stars are desktop proportions on a 345px card */
  .tpc-notepad .tpc-gword { font-size: 21px; }
  .tpc-notepad .tpc-gmark { width: 21px; height: 21px; }
  .tpc-notepad .tpc-star  { width: 15px; height: 15px; }
  .tpc-notepad .tpc-testimonial-feature__flag { gap: 6px; }

  /* FOUNDER 2026-11-05: "the carousel dots and arrows are on the notepad,
     it shouldn't be on the notepad, make it smaller."

     My own regression, and the 78px this started at was not arbitrary
     padding: it was clearing the pad's thickness. The sheets behind the
     current one are pushed down by `--depth * 12px` to show the stack as
     paper, and a transform does not take part in layout, so the pad's box
     ends 36px above where the stack actually finishes painting. Cutting
     the gap to 20px put the arrows 40px inside the bottom sheets.

     Fixing it by handing the 78px back would undo most of this round, so
     the thickness itself comes down instead: 6px a sheet rather than 12px
     still reads as a pad on a 345px card, and halves the clearance the
     pager has to wait for. Measured: lowest sheet now finishes 18px below
     the pad's box, and a 34px gap puts the arrows 16px clear of the paper.

     The arrows come down with it: 42px circles and 8px dots are desktop
     furniture on a phone. NOTE, stated rather than buried: 36px is under
     the 44px tap-target floor, but so was the 42px it replaces, so this
     does not cross a line the component was holding. Say the word and
     they go back up to 44px, which is the only size that actually passes.*/
  .tpc-notepad__sheet[data-state="behind"] {
    transform: translateY(calc(var(--depth, 1) * 6px))
               scaleX(calc(1 - var(--depth, 1) * 0.025));
  }
  .tpc-notepad__controls { margin-top: 54px; }

  /* FOUNDER 2026-11-05: "the dots look cut off."

     REPRODUCED, and it is a real shape bug, not a clip. The dot is a
     button whose own box IS the circle, so the moment it is given padding
     to make a tap target the 999px radius resolves against the padding box
     while the paint is clipped to the content box, and every dot comes out
     a flat-topped cylinder. The active one came out worse again: its
     `background:` shorthand resets `background-clip` back to border-box,
     so it filled the whole padded box as a tall pill.

     Fixed by separating the two jobs the element was doing. The button is
     now purely the hit area, 24x32 and transparent, and the circle is a
     ::before inside it. A pseudo-element's radius and its paint share one
     box, so it cannot be clipped out of round whatever padding the button
     carries, and the active colour moves to the same pseudo-element rather
     than to a shorthand that quietly resets the clip.

     10px of visible dot, up from 8px, since they carry the whole job now
     that the arrows are gone. 24x32 is still short of the 44px tap floor
     but it is three times the area of the 8px pinprick it replaces. */
  .tpc-notepad__dots { gap: 0; }
  .tpc-notepad__dot {
    width: 24px; height: 32px;
    padding: 0;
    background: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .tpc-notepad__dot::before {
    content: "";
    display: block;
    width: 10px; height: 10px;
    border-radius: 999px;
    background: rgba(34, 34, 34, 0.55);
  }
  .tpc-notepad__dot[aria-current="true"] { background: none; }
  .tpc-notepad__dot[aria-current="true"]::before { background: var(--primitive-orange); }

  /* FOUNDER 2026-11-05: "remove arrows on mobile." The pad is swiped and
     tapped on a phone, and the dots already say how many reviews there are
     and which one you are on, so the arrows were the third way to do the
     same thing. Hidden rather than removed from the markup: the script
     still binds its click handlers to them, and taking them out of the
     page would mean editing the carousel on every page that carries it to
     no benefit. Desktop keeps them, where there is no swipe. */
  .tpc-notepad__nav { display: none; }

  /* tells the browser this surface scrolls vertically but handles its own
     horizontal gesture, so it does not wait on the swipe handler before
     scrolling the page */
  .tpc-notepad__stack { touch-action: pan-y; }

  /* the section's own frame, on the homepage block only */
  .tpc-testimonial { padding-block: 28px; }
  .tpc-testimonial .tpc-section-head { margin-bottom: 18px; }
  .tpc-testimonial .tpc-testimonial__sub { font-size: 17px; }
}

/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-11-05: "where is the girl in the 'Ready when you are.
   Pick your path.' for mobile like the desktop version."

   She is hidden at `@media (max-width: 900px)` a few hundred lines above,
   because her desktop anchor (`left: 50%` with a `margin-left` of half the
   1264px container, negative) assumes a desktop container and swings wildly
   off-screen at phone width. Rather than adapt it, an earlier responsive
   pass switched her off, on every page that uses the plain close band.

   This is NOT a new solution. services.css solved it for its own
   `.tpc-close--split` band on 2026-10-22 and contact.css ported that
   verbatim, both founder-reviewed, including his "she needs to be flush
   against the bottom of the orange section." Same pattern, ported here to
   the unmodified band so the home page and the other 30-odd pages that use
   it stop being the odd ones out: take her out of absolute positioning
   entirely, put her in flow under the heading, centre her, and size her by
   height the way she is sized everywhere else.

   ONE DELIBERATE DEVIATION from that port: services.css pulls her down by
   a hardcoded `-72px` to sit her feet on the band edge, which is the
   band's padding-bottom at its clamp FLOOR. The padding is
   `clamp(72px, 9vh, 132px)`, so on a 852px-tall phone it is actually
   76.7px and a fixed -72px leaves her floating ~5px high. Repeating the
   expression instead means she is flush at any viewport height, and if the
   band's padding is ever retuned this follows it rather than drifting.

   Phones only, at the same <=699px gate services.css and contact.css use
   rather than the figure's own <=900px hide point, so the 700-900px tablet
   band keeps exactly the behaviour it has today (THEA-801 territory).
   Desktop is untouched. */
@media (max-width: 699px) {
  .tpc-close__figure {
    display: block;
    position: static;
    bottom: auto;
    left: auto;
    margin-left: 0;
    margin-top: clamp(10px, 4vw, 20px);
    width: max-content;
    margin-inline: auto;
    height: clamp(150px, 32vh, 220px);
    z-index: 1;
    margin-bottom: calc(-1 * clamp(72px, 9vh, 132px));
  }
}

/* ─────────────────────────────────────────────────────────────────────
   v12.3 - THE CHARACTER COMES BACK ON TABLET (700-1024px).

   She was hidden outright below 900px, and the comment that put her there
   (services.css, the mobile fallback) says why: her desktop anchor "swings
   wildly negative at phone width". That was true of the OLD anchor. The
   clamped max() above means it no longer swings anywhere, so the hide is
   now cutting her for a reason that has been fixed, and the founder's
   standing rule on this project is that the desktop design has to survive
   the smaller screen rather than be deleted from it. Phones keep the
   in-flow centred treatment below; tablets get the desktop composition.

   SHE IS SHORTER HERE, and that is the whole tablet decision. Measured
   band heights in this range: 291px at 700, 295px at 768, 323px at 820,
   328px at 900 on the home page, and 313-412px on the --split pages. The
   desktop clamp resolves to 33vh, which is 338px on a 1024-tall iPad - a
   338px figure bottom-aligned in a 295px band clips from the TOP, taking
   her head off, which is the exact failure the base rule's own comment
   warns about. 23vh lands her at 235px on a 1024-tall screen and 271px on
   a 1180-tall one, inside every band in the range, so the crop falls on
   her waist where the dock covers it, as designed. */
@media (min-width: 700px) and (max-width: 1024px) {
  .tpc-close__figure {
    display: block;
    --close-fig-h: clamp(185px, 23vh, 268px);
  }
}

/* v12.9 - THE --SPLIT CLOSE BANDS MAKE ROOM FOR HER (700-900px).
   Bringing her back exposed a collision the hide had been covering. On the
   --split pages (services, contact, blog, team, case studies and the rest)
   the close band's head is a two-column grid that sits to her RIGHT: measured
   at 1440 the figure spans 81-275 and the first text starts at 303, and even
   at 901 it starts at 276 against her 199. Those widths are fine.
   From 900px down, services.css and its siblings collapse that grid to one
   centred column at the head's full width, so the text box starts at x24 -
   exactly where she starts - and her helmet and shoulder came up through the
   first two lines of the body copy. Readable, because the head carries
   z-index 2, but visibly wrong.
   The padding restores the desktop relationship instead of hiding her again:
   her own width plus a 20px gap, so the copy sits beside her the way it does
   at every width above 900. Her width is not a fixed number - she is sized by
   HEIGHT and her width follows at a measured 0.654 ratio - so the expression
   reuses the same clamp the figure does rather than hard-coding a px value
   that would drift the moment that clamp is retuned.
   Measured after: 174px at 768 against her 154px width, 195px at 900 against
   175px, 170px at 700 against 150px. */
@media (min-width: 700px) and (max-width: 900px) {
  /* THREE classes, not two. services.css and its siblings each carry
     `.tpc-close--split .tpc-close__head--split { padding-left: 0 }` inside
     their own <=900px block - same specificity as a two-class selector here
     and in a file that loads after this one, so a two-class rule measured as
     a no-op on services and contact while working on blog, which has no such
     override. Matching on .tpc-close as well outranks all of them without
     needing !important or a copy of this rule in six files. */
  .tpc-close.tpc-close--split .tpc-close__head {
    padding-left: calc(clamp(185px, 23vh, 268px) * 0.654 + 20px);
  }
}

/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-11-05: "we need a scroll indication for the 'I'm planning
   a larger project' tab because it isn't clear there is more information
   when you scroll."

   The card's body has scrolled internally since v10.98, which is what
   stopped the content being clipped and unreachable, but nothing said so:
   the copy simply ended at the frame's edge looking like the end of the
   card. Measured at 390x700 there are 601px of content in a 429px frame,
   so a third of that panel was invisible with no cue.

   A MASK, NOT A FADE PAINTED ON TOP. The open panel is a blue gradient
   running cyan to near-black, so there is no flat colour a cover gradient
   could match: anything painted over the bottom edge would be a visible
   band against the gradient wherever it did not line up. Masking fades
   the CONTENT itself into whatever is behind it, so it is correct on the
   blue card, on the orange one and on the red one without knowing any of
   their colours.

   `data-more` is set by dock-scroll-cue.js and removed at the end of the
   scroll. It has to come from JS: the cue belongs only on a card that
   really is overflowing, and two of the three panels never overflow at
   any height while the third fits at 852 and not at 700. CSS cannot ask
   whether an element overflows, and a cue that stays after the last line
   is worse than none.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-dock__panel[data-open] .tpc-dock__body[data-more] {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 38px), transparent 100%);
            mask-image: linear-gradient(to bottom, #000 calc(100% - 38px), transparent 100%);
  }
}

/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-11-05: "can we use the same padding for the logo for the
   menu button? menu button is a bit too close to the edge."

   The boxes already match: `.site-header__inner` carries 20px either
   side, so the logo's left edge and the button's right edge both measure
   exactly 20px from the screen at 393px. The eye is still right, because
   the BUTTON is not just its box. It carries a 3px white ring as the
   first layer of its box-shadow, which paints outside the border box and
   is clearly visible against the orange band, so what the reader sees
   stops 17px from the edge while the logo, a flat square with no ring,
   stops at 20px.

   Pushing the button in by exactly the ring's width lines the two up
   optically: box right edge 370, ring outer edge 373, same 20px gap the
   logo has. Phones only; the collapsed desktop header keeps its own
   spacing.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .site-header__menu-toggle { margin-right: 3px; }
}

/* THEA-903's static no-GSAP fallback for .tpc-statement used to live here,
   unconditionally overriding the pinned section's height/overflow (and the
   swap panel's face visibility) so the content was reachable before THEA-902
   wired GSAP in. Removed now that it has: GSAP is enqueued sitewide and
   assets/js/tpc-motion.js pins and animates this component exactly as
   homepage.html does, so the override only fought the real mechanics -
   measured adding ~3.3Kpx of bogus auto-height to the pin-spacer (the track's
   three panels stacked vertically instead of staying a clipped horizontal
   window). The existing `@media (prefers-reduced-motion: reduce)` block
   above already covers the no-motion/no-JS-equivalent case, matching the
   hi-fi exactly. */


/* ═════════════════════════════════════════════════════════════════════
   HOME HERO, SIDE BY SIDE (26 Nov). Vince: lay the homepage hero out the
   way About's is - copy on the left, figure on the right - instead of the
   centred wordmark with the figure standing behind it. Same grid, same
   copy inset and the same figure sizing as .tpc-story-hero (about.css),
   desktop only; below 1025px the original stacked hero is untouched.
   The figure keeps its GSAP entrance + scroll parallax: GSAP writes
   `transform`, so the centring uses the independent `translate`.
   ═════════════════════════════════════════════════════════════════════ */
@media (min-width: 1025px), (min-width: 900px) and (orientation: landscape) { /* 30 Nov: also iPad landscape (1024x768) - stacked hero put the copy over the figure */
  .tpc-home .tpc-hero {
    --hh-row: clamp(620px, 92vh, 1080px);
    padding-top: 0;
  }
  .tpc-home .tpc-hero__intro-stage {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
    max-width: none;
    width: 100%;
    min-height: var(--hh-row);
    margin: 0;
    padding: 0;
  }
  .tpc-home .tpc-hero__intro {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: var(--primitive-space-5);
    box-sizing: content-box;
    max-width: 560px;
    margin: 0;
    padding-left: max(clamp(20px, 3.2vw, 64px),
                      calc((100vw - var(--container-max)) / 2 + var(--primitive-space-5)));
    padding-right: clamp(24px, 4vw, 64px);
    padding-block: clamp(96px, 12vh, 140px) clamp(56px, 9vh, 108px);
    text-align: left;
  }
  .tpc-home .tpc-hero__headline-stage {
    width: auto;
    margin: 0;
    text-align: left;
  }
  .tpc-home .tpc-hero__title {
    /* 26 Nov - Vince: bigger than About's 40px. */
    font-size: clamp(36px, 4.4vw, 60px);
    line-height: 1.05;
    letter-spacing: normal;
    text-align: left;
    margin: 0;
  }
  .tpc-home .tpc-hero__title-line-mask { display: block; }
  .tpc-home .tpc-hero__title-line { white-space: normal; }
  .tpc-home .tpc-hero__subhead {
    margin: 0;
    max-width: 440px;
    font-size: 19px;
    line-height: 1.6;
    text-align: left;
  }
  .tpc-home .tpc-hero__figure {
    position: absolute;
    top: calc(var(--hh-row) * 0.05);
    left: calc(51.2% + 24.4%);
    translate: -50% 0;
    width: auto;
    height: calc(var(--hh-row) * 0.92);
    max-width: none;
    z-index: 0;
    /* The fade-out mask and drop shadow belonged to the old layout, where he
       stood behind the wordmark; stood clear on the right, About's figure has
       neither, so neither does this one. */
    -webkit-mask-image: none;
    mask-image: none;
    filter: none;
  }
}
