/**
 * The Traffic Plans Company - Services Hub (/services/)
 * Ported verbatim from 02-Rollout-2/hifi/services.css (THEA-903, 2026-11-12).
 *
 * THEA-903 FINDING: the previous services-hub.css in this theme was an
 * invented stylesheet built on legacy --tpc- and --space- prefixed tokens,
 * sharing almost no vocabulary with the approved hi-fi. services.php is rebuilt
 * against 02-Rollout-2/hifi/services.html's real .tpc-shero--split /
 * .tpc-paths / .tpc-pointer-band / .tpc-showcase--specialist /
 * .tpc-close--split markup, so this file ships the real CSS that vocabulary
 * depends on. This is also THE INTERNAL-PAGE BENCHMARK file
 * (02-Rollout-2/docs/internal-page-benchmark.md) - the hero/proof-strip/
 * close-split rules every other R3 page's own CSS duplicates from.
 *
 * ARCHITECTURE: this file is PAGE-SPECIFIC ONLY. Site furniture (header,
 * burger menu, action dock, footer, opening splash, the .band system,
 * .tpc-proof, .tpc-close, .tpc-showcase, .render-placeholder) comes from
 * design-tokens.css / components.css / chrome.css / page-components.css,
 * enqueued globally (functions.php). Do not duplicate a furniture selector
 * in this file.
 *
 * THEA-903 PORT GAP, same one about.css/contact.css/team.css flag:
 * .tpc-section-head / --center / .tpc-section-intro / .tpc-visually-hidden
 * have no UNSCOPED base rule anywhere in that shared foundation - a
 * `.tpc-services-main`-scoped copy below, byte-identical to the hi-fi's own
 * unscoped homepage.css rule.
 *
 * Band system: every content section below is `.band .band-<colour>` from
 * design-tokens.css, so heading/body colour resolves automatically via the
 * --band-* custom properties. Never hardcode asphalt/ink/white here.
 */

.tpc-services-main .tpc-section-head {
  max-width: 68ch;
  margin-bottom: var(--primitive-space-8);
}
.tpc-services-main .tpc-section-head--center { margin-inline: auto; text-align: center; }
.tpc-services-main .tpc-section-intro {
  font-size: 18px;
  color: var(--band-body-text);
  margin: 0;
}
.tpc-services-main .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;
}

/* ─────────────────────────────────────────────────────────────────────
   SHERO - split variant. Base .shero__* typography is components.css;
   this file only adds the two-column grid + media slot, since the base
   secondary-hero component ships single-column only.
   Was founder-overridden LIGHT per PROJECT-DECISIONS.md (2026-08-06); v1.1
   (THEA-682, 2026-08-27) overrides that again to ORANGE, per direct
   founder instruction on this issue - see .tpc-shero--orange below.
   ───────────────────────────────────────────────────────────────────── */
.tpc-shero--split .band__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--primitive-space-8);
  align-items: center;
}
.tpc-shero--split .shero__inner { max-width: none; }

/* v1.1 (THEA-682) - ORANGE GROUND. Reference checked: homepage.css
   .tpc-hero and .tpc-hero::before - same two colour stops
   (--primitive-orange -> #E8611C), same locally-scoped --tpc-cone-orange
   var for the same reason that file gives (not a design-tokens.css
   primitive, this orange only exists on a hero ground). No bloom/drift/
   scroll-wash ported over: home's hero cross-fades to white as you
   scroll past it, this hero doesn't - it holds the ground for its one
   full-viewport screen, so the animated wash machinery has nothing to
   drive. Text colour resolves through the existing --band-* custom
   properties (same mechanism every other band colourway uses in
   design-tokens.css), not hardcoded onto individual selectors. */
.tpc-shero--orange {
  --tpc-cone-orange: #E8611C;
  --band-bg: linear-gradient(180deg, var(--primitive-orange) 0%, var(--tpc-cone-orange) 100%);
  --band-heading-text: var(--primitive-white);
  --band-h2-text: var(--primitive-white);
  --band-body-text: var(--primitive-white);
}
.tpc-shero--orange.band {
  min-height: 42vh;
  min-height: 42svh;
  padding-block: var(--primitive-space-7);
  display: flex;
  align-items: center;
}
/* ─────────────────────────────────────────────────────────────────────
   SUB-PAGE HERO TIER - v1.38. Founder 2026-08-28, reviewing the first service
   sub-page: "the hero section needs to be smaller in height because it is a
   sub page off an internal page".

   So there are now TWO hero tiers, and which one a page uses is decided by
   where it sits, not by taste:
     .tpc-shero--orange        42vh   an internal page (Services, About, Contact)
     .tpc-shero--orange--sub   30vh   a page hanging off one of those

   It lives HERE, not in the sub-page's own stylesheet, because THEA-684 cuts
   two more service pages from this template and a third page's fix has to
   reach the first two. A tier defined per-page would drift the moment there
   are three of them.

   Only the height changes. The gradient, the two-up grid, the type scale and
   the no-CTAs rule are all inherited untouched, so the two tiers read as the
   same component at two weights rather than two different heroes. */
.tpc-shero--orange.tpc-shero--sub.band {
  min-height: 30vh;
  min-height: 30svh;
  /* one step down from the internal page's space-7 */
  padding-block: var(--primitive-space-6);
}
/* THEA-798 - LAPTOP WIDTHS ONLY (1025-1536), header collision. This tier's
   breadcrumb rose into the fixed header's logo on TMP & TGS and CTMP at
   1440 (the column starts at 81px and the logo spans 46-102px, y 40-96 -
   measured 2026-10-07). blog.css's .tpc-shero--orange.tpc-shero--sub.band
   carries the equivalent fix unconditionally (same formula, every width),
   because its own pages had no "leave 1990 untouched" constraint. This one
   does - the brief that raised this item was explicit that the fix is
   scoped to laptop widths only and must not move anything at the founder's
   ~1990px working viewport, where this hero already read correctly. The
   full clamp()-based formula keeps growing with vh/vw past 1440 (it only
   caps at 1882px wide / 1364px tall), so applying it unscoped would have
   pushed this hero's content down at 1990 too - confirmed by measuring the
   unscoped version before adding this media query. Capped at 1536px
   (comfortably above 1440, short of 1990) so this hero is untouched at the
   founder's own viewport; 1025px floor keeps it out of the tablet rules
   that already govern this hero below 1024. */
@media (min-width: 1025px) and (max-width: 1536px) {
  .tpc-shero--orange.tpc-shero--sub.band {
    padding-top: calc(clamp(34px, 4.4vh, 60px) + clamp(56px, 3.4vw, 64px) + var(--primitive-space-4));
  }
}

/* min-height alone does NOTHING here, and the reason is worth recording because
   it cost two passes: this hero's height is set by whichever COLUMN is taller,
   never by min-height, and the media column wins.

   There are TWO aspect ratios stacked in that column, and releasing only the
   outer one makes the hero TALLER, not shorter:
     .tpc-shero__media            aspect-ratio: 1531/1027  -> 383px  (the hub's,
       and it exists purely to hold the slot open for the hub's absolutely
       positioned hero worker - meaningless on a page with an in-flow image)
     .render-placeholder          aspect-ratio: 4/3        -> 429px  (takes over
       the moment the outer one is set to auto, which is what happened first)

   So the tier states its own ratio on the SLOT and lets the placeholder fill it,
   rather than releasing anything. 16/9 on a 571px column is 321px, which brings
   the hero in comfortably under the hub's and holds when the placeholder is
   swapped for the real render. */
.tpc-shero--sub .tpc-shero__media { aspect-ratio: 16 / 9; }
.tpc-shero--sub .tpc-shero__media .render-placeholder {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
}

/* v1.3 (THEA-682) - founder asked to shrink the hero "much smaller" than the
   v1.2 60vh cut, explicitly authorising a smaller heading if that's what it
   takes. The base --primitive-size-h1 clamp (up to 60px) plus the section's
   96px block padding was the floor stopping 60vh -> 42vh from reading as any
   shorter, so this scopes both a smaller heading and a tighter padding-block
   to this one hero only - the global .h1 token used by every other page is
   untouched. */
.tpc-shero--orange .shero__title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
}
.tpc-shero--orange .shero__intro {
  font-size: 16px;
}
.tpc-shero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--primitive-space-4);
  margin-top: var(--primitive-space-6);
}
.tpc-shero__media .render-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--card-radius);
}
@media (max-width: 1024px) {
  .tpc-shero--split .band__inner { grid-template-columns: 1fr; gap: var(--primitive-space-6); }
  .tpc-shero__media { order: -1; }
}

/* ─────────────────────────────────────────────────────────────────────
   SECTION SHELL - every content section reuses .tpc-section-head /
   .tpc-eyebrow / .tpc-section-title / .tpc-section-intro from homepage.css
   for its heading block. This just centres it to match the lo-fi's
   centred section heads on this page (home's own sections are left-aligned,
   so the override is scoped to .tpc-sec, not made global).
   ───────────────────────────────────────────────────────────────────── */
.tpc-sec .tpc-section-head {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────
   CHOOSE YOUR PATH - v1.4. Founder 2026-08-27: make this look exactly like
   the home page's "What we do".

   It now uses .tpc-showcase / .tpc-showcase__slot / .tpc-showcase__tile
   straight out of homepage.css, so the card, its 3px orange top rule, the
   media well, the type colours and the filled CTA are all inherited rather
   than restated. The .service-card rules that used to live here are gone
   with the markup they styled.

   The ONLY thing this file still has to say is the column count: the shared
   grid is hard-coded to three, and this section has two paths.

   max-width is doing something specific - it holds each tile at the width
   three-up gives them on the home page, rather than letting two tiles stretch
   to half the band each. Two 50%-wide cards would carry the same styling but
   read as a different component, which is the opposite of what was asked.
   The percentage resolves against the band inner: 200% is two band widths, so
   (2W - 4gap)/3 + gap is exactly two home-page tiles plus one gap.
   ───────────────────────────────────────────────────────────────────── */
/* v1.5 - the heading stack, matched to the Knowledge Hub section.

   Caps: .tpc-eyebrow--solo carries `text-transform: uppercase` from the eyebrow
   it inherits from. On the home page the caps are lifted per-heading by ID
   (#tpc-services-title, #tpc-hub-title) rather than on the class, because the
   class is still used as a real eyebrow elsewhere. Same mechanism here, same
   reason - do not lift it on the class.

   Colour: .tpc-hub__sub hardcodes `var(--primitive-asphalt)` because the hub
   sits on WHITE. This section is an asphalt band, where that would be asphalt
   type on an asphalt ground and effectively invisible. It takes the band's own
   heading colour instead, which .band-asphalt sets to white. The FONT is
   untouched - size, weight and tracking still come from .tpc-hub__sub, so the
   two sections stay the same voice at the same size, which is what was asked. */
/* v1.14 - scoped to .tpc-headstack, which BOTH sections using this heading
   stack carry. It was keyed to #services-paths-title, copying the home page's
   per-ID approach; with a second section wanting the identical treatment, an
   ID each would mean two rules to keep in step. The class stays narrow enough
   that .tpc-eyebrow--solo keeps its caps everywhere else it is a real eyebrow,
   which is the reason the home page avoided putting this on the class. */
.tpc-headstack .tpc-eyebrow--solo { text-transform: none; }
.band-asphalt .tpc-hub__sub { color: var(--band-heading-text); }

/* v1.6 - both display lines sit on ONE row each (founder). .tpc-section-head is
   capped at 68ch, a COPY measure: 698px here, where the subheading needs 1017px
   to stay on one line at its 34px top clamp. So the cap comes off the head and
   goes back on the body paragraph alone, which is the only line in the stack
   that actually wants a reading measure. The two display lines then size to
   their own content and still centre, and they wrap normally on narrow screens
   because nothing here forces nowrap. */
.tpc-headstack .tpc-section-head { max-width: none; }
.tpc-headstack .tpc-section-intro { max-width: 68ch; margin-inline: auto; }

.tpc-showcase--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* v1.52 - RESPONSIVE (THEA-685). This grid never collapsed at any width on
   any of the four pages that use it (hub paths, TMP/TGS comparison, CTMP's
   two four-tile sections, Specialist's closing pair). At true mobile widths
   two tiles were squeezed into columns as narrow as ~160px. One column below
   600px, matching the mobile threshold .tpc-why__list--four already uses on
   this same page. */
@media (max-width: 600px) {
  /* v1.60 - 2026-09-30, RESPONSIVE FIX. Plain `1fr` still carries its
     automatic minimum size (the item's min-content), so a tile whose content
     needs more than the available column width forced the track wider than
     .band__inner and overflowed the page horizontally - measured on
     specialist-services.html's white-band pair at 390px: track computed to
     385px inside a 327px column, 34px of real horizontal scroll. `minmax(0,
     1fr)` zeroes that automatic minimum, exactly like the desktop rule above
     already does, so the single column can shrink to fit instead of forcing
     an overflow. */
  .tpc-showcase--two { grid-template-columns: minmax(0, 1fr); }
}

/* v1.6 - founder: widen the tiles so the CTA and the bottom of the card are in
   view. Widening ALONE does the opposite, which is worth recording: the media
   well is aspect-ratio 16/9, so a wider card gets a proportionally taller
   image. Measured going from 403px to the full 642px column: the well grows
   192 -> 327px (+135) while the copy only reflows about 63px shorter, a NET
   +72px taller card. No tile width fixes it while 16/9 is locked, because the
   image grows faster than the paragraph shrinks.
   So the well is given a height instead of a ratio. It already carries
   object-fit: cover, so the clip re-crops rather than distorting, and a wide
   short well is the right proportion for a wide card anyway. Measured result:
   card 592 -> about 470px, which puts the CTA and the card's bottom edge clear
   of the dock's tab line at this viewport. */
.tpc-showcase--two .tpc-showcase__media {
  aspect-ratio: auto;
  /* v1.46 - founder: make the image wells taller, and hold the SAME size across
     the hub and both service pages. Was clamp(150px, 16vh, 185px), set at v1.7
     when the ask was the opposite (reduce the tile height); that instruction is
     superseded.

     This is now the single source for all three pages. The value was already
     running on the two service pages as a page-local copy, so the hub is being
     brought up to meet them rather than a fourth number being invented.

     CONSOLIDATION: the grid rules below were also duplicated on both service
     pages. They live here now and the copies are gone, per the project's
     "reuse by reference, not by retyping" rule. One full-width, full-height
     track: grid-template-ROWS matters as much as columns, because with an auto
     row the track sizes to its content and `height: 100%` on the child is
     circular, which is what left a placeholder at 35% of its well. */

  /* v1.47 - taller again, on founder instruction. 288px is not another guess:
     the well is 512 wide and most tile renders are 1.770 (1200x678, 1672x941),
     so 512/1.770 = 288px is exactly the height at which those images show
     WHOLE, with no vertical crop at all. Below it the well was throwing away
     real image; above it the crop switches to taking width instead.
     The two odd ones out, tile-larger-project (1.491) and tmp-strategy-planning
     (1.333), still crop, which is what their measured object-position values
     are there to handle.
     30vh keeps it proportional, capped at 320 so tall screens do not start
     cutting noticeable width off the 1.770 images. */
  height: clamp(288px, 30vh, 320px);
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-content: stretch;
  align-content: stretch;
}
/* Every well is filled edge to edge, image or placeholder. */
.tpc-showcase--two .tpc-showcase__media .render-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  min-height: 0;
}

/* ─────────────────────────────────────────────────────────────────────
   NUMERAL WELLS ARE THE ONE EXCEPTION, v1.49.

   A step tile puts a numeral in its well instead of an image, and pages style
   it with `.tpc-showcase__media--numeral { display: grid; place-content: center }`.
   That rule is a single class (0,1,0). The stretch rules above are two
   (0,2,0), so when they were promoted here at v1.46 they started winning, the
   1fr row filled the well, the numeral stretched to fill the row, and its
   digits sat hard against the TOP of a 288px box instead of its middle.

   The taller the well got, the more obvious it became: this only looked
   correct while the well was short. Centring the ITEM rather than the content
   fixes it without giving up the full-height track the images need.

   Guarded here, beside the rules that caused it, rather than on the one page
   that showed it, so any two-up numeral tile is covered. Three-up step tiles
   were never affected, since the stretch rules are scoped to --two. */
.tpc-showcase--two .tpc-showcase__media--numeral {
  place-items: center;
  place-content: center;
}

/* ─────────────────────────────────────────────────────────────────────
   TRUST STRIP - v1.9. The home page's .tpc-proof, reused verbatim. It sits
   below the hero as its OWN thin band in its own colour: v1.8 matched the hero
   gradient's end orange so the two read as one continuous ground, and the
   founder wants them visibly separate.

   Ground and type are both lifted from the home page's white knights section
   (.tpc-why), so this strip is not inventing a colour:
     - the red is that section's exact two-stop ramp, signal-red mixed toward
       asphalt. Copied as the same color-mix expressions rather than flattened
       to a hex, so it tracks --primitive-signal-red. If the white knights red
       is ever retuned, retune this with it - they are a pair.
     - the gold is that section's accent, color-mix(orange 55%, white), the
       colour its "Flag an urgent request" link uses.
   Contrast checked before shipping, since gold on red is the kind of pairing
   that quietly fails: the gold measures 4.70:1 on the lighter end of the ramp,
   which is the worst case here, so it clears the 4.5:1 AA floor for the small
   labels as well as the stats.

   THIN is the brief, so the padding is tight and the labels are held to one
   line each - .tpc-proof__label's stock 18ch measure wraps them to two and
   three lines, which is what makes the strip deep rather than thin.
   ───────────────────────────────────────────────────────────────────── */
.tpc-proof--strip {
  /* FLATTENED 2026-09-29 on founder instruction. Was a 180deg ramp from an
     80% to a 72% signal-red mix - about TWELVE 8-bit levels of difference
     spread over a 96px band. That is imperceptible as a gradient but it is
     exactly the kind of near-flat ramp that dithers on an 8-bit display and
     that a lossy encoder quantises unevenly: in screenshots it produced a
     phantom "darker rectangle" whose edge landed on the content grid's
     boundary, because blocks containing text encode differently from flat
     ones. 76% is the midpoint of the two stops, so the band keeps the same
     average tone it always had.
     KEEP IN STEP: about.css's .tpc-story-sec--short::before seam is painted
     in this exact colour so the strip dissolves into the chapter below it
     with no step. Change one and you must change the other. */
  background: color-mix(in srgb, var(--primitive-signal-red) 76%, var(--primitive-asphalt));
  padding-block: clamp(14px, 1.8vh, 22px);
}
.tpc-proof--strip .tpc-proof__stat,
.tpc-proof--strip .tpc-proof__star,
.tpc-proof--strip .tpc-proof__label {
  color: color-mix(in srgb, var(--primitive-orange) 55%, var(--primitive-white));
}
.tpc-proof--strip .tpc-proof__item { gap: 2px; }
.tpc-proof--strip .tpc-proof__stat { font-size: clamp(20px, 1.9vw, 26px); }
.tpc-proof--strip .tpc-proof__stat--word { font-size: clamp(16px, 1.5vw, 20px); }
.tpc-proof--strip .tpc-proof__label { max-width: none; font-size: 12.5px; }

/* v1.7 - ONE spacing value around the cards, founder: "consistent padding
   between the top of the widgets, the bottom of the card and the top of the
   card and the bottom of the body copy above".
   .tpc-showcase__tile already pads itself evenly - measured 30px inside the
   border on both top and bottom, the 3px/1px difference being the orange top
   rule itself, not padding. The gap ABOVE the cards was the outlier: it came
   from .tpc-section-head's stock 64px margin, roughly double the card padding.
   Both now read off the same custom property, so they cannot drift apart. */
.tpc-paths {
  --paths-pad: clamp(20px, 1.7vw, 30px);   /* = .tpc-showcase__tile's padding */
  /* v1.8 - founder: "there is white at the bottom, we need to extend the
     background colour grey more". Measured cause: .tpc-sec's stock 96px bottom
     padding ended this band at y798 while the dock's tab line sits at y853, so
     55px of the WHITE section below showed through as a sliver between the two.
     Shortening the cards in v1.7 is what exposed it - the band used to run past
     the dock on its own. The padding now clears the dock rather than stopping
     just short of it. */
  padding-bottom: clamp(150px, 20vh, 260px);
}
.tpc-paths .tpc-section-head { margin-bottom: var(--paths-pad); }

/* v1.19 - BEYOND THE PLAN's bespoke .tpc-specialist layout is gone: the three
   points are .tpc-showcase tiles now, inherited from homepage.css. */

/* ─────────────────────────────────────────────────────────────────────
   WHY WORK WITH TPC - four text-only feature blocks on panel grey. No
   card surface (sits directly on the band, like .article-card), so
   heading/body inherit --band-heading-text / --band-body-text for free
   from the base h3 / p rules in design-tokens.css.
   ───────────────────────────────────────────────────────────────────── */
/* v1.15 - .tpc-feature-grid / __title / __text removed with the markup they
   styled; the pointers use the home page's .tpc-why__point now. */
/* v1.16 - founder: set in the normal body copy style, not italic. It now takes
   the same three type values as .tpc-section-intro, which is this page's body
   copy: 18px, --band-body-text, upright. The italic AND the 15px AND the muted
   colour all went together - each one on its own was pushing this line into a
   different voice from the rest of the page. Only the layout is kept: the
   centring and the 62ch measure are what make it read as a closing note rather
   than another paragraph. */
.tpc-note {
  margin: var(--primitive-space-7) auto 0;
  max-width: 62ch;
  text-align: center;
  font-size: 18px;
  color: var(--band-body-text);
}


/* ─────────────────────────────────────────────────────────────────────
   CTA BAND - reuses .band-cta__* verbatim from components.css. No new
   rules needed; kept as a section marker only for the reveal/QA notes.
   ───────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────
   TELL US ABOUT THE JOB - v1.10. The home page's .tpc-close band, reused.
   Ground, clip, padding and the figure all come from homepage.css; the only
   thing this file adds is the split head the founder asked for.

   The head is centred and capped at 760px on the home page, because there it
   holds one heading and nothing else. Here it is two columns, heading left and
   copy right, so both of those have to come off.

   PADDING-LEFT is the load-bearing line. The planner is absolutely positioned
   at the band's left edge, so without it the heading column would sit on top of
   her. Her width is not a fixed number - .tpc-close__figure sizes her by
   HEIGHT (clamp(230px, 33vh, 358px)) and lets width follow the 510x780 asset,
   so the clearance is derived the same way: her aspect ratio times that same
   clamp, plus a gap. Change her height on the home page and this still clears
   her, because both read the same expression.
   ───────────────────────────────────────────────────────────────────── */
/* THE FIGURE IS NOT OVERRIDDEN AT ALL - deliberately, and this took two goes.
   homepage.css already positions her against the SECTION (.tpc-close.band-orange
   is position:relative) with `left:50%; margin-left:calc(var(--band-max,1264px)
   /-2); bottom:0`. Left alone, that reproduces her home placement exactly.
   What went wrong when it was overridden: anchoring her to .band__inner instead
   moved her containing block, so `bottom:0` became the INNER's bottom, which is
   inset by the section's padding - she floated 84px above the band edge instead
   of being cropped by it. Compensating with a negative bottom then broke again
   the moment the head's 48px margin came back, because that margin collapses
   out of the inner's box and moved the reference a second time.
   The lesson: her placement depends on the section, not the inner. Do not
   re-point it. The one thing this page must do is keep the head clear of her,
   which is the padding-left below. */

.tpc-close--split .tpc-close__head--split {
  --close-fig-w: calc(0.6538 * clamp(230px, 33vh, 358px));  /* 510/780 aspect */
  max-width: none;
  margin-inline: 0;
  /* space-7 is KEPT, exactly as the home band has it. It is the last thing in
     the flow there too, so this 48px is what makes the section 333px tall
     rather than 286px - matching the home band's height was the founder's
     ask, and this is where that height comes from. */
  margin-bottom: var(--primitive-space-7);
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  padding-left: calc(var(--close-fig-w) + clamp(16px, 2vw, 40px));
}
.tpc-close--split .tpc-close__title { margin-bottom: 0; }

/* homepage.css hides the figure below 900px; the clearance has to go with it,
   and the two columns stack. */
@media (max-width: 900px) {
  .tpc-close--split .tpc-close__head--split {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
}

/* Founder: the body copy is white. .tpc-close__lead takes var(--band-body-text),
   which .band-orange sets to asphalt - the token carries the note that orange
   ground text is always asphalt, and the measurement behind it is that white on
   this ramp is 2.31:1 at the top stop and 3.41:1 at the bottom, both under the
   4.5:1 AA floor for body text. Shipped white as asked; recording the number
   rather than the opinion, same as the home band's own white heading. */
.tpc-close--split .tpc-close__lead { color: var(--primitive-white); }

/* ─────────────────────────────────────────────────────────────────────
   WHY TPC POINTERS - v1.15. The home page's .tpc-why__point, reused whole.
   Everything that makes them what they are - the 44px centring box, the 40px
   icon, the centred stack, the 16.5px title over 15.5px copy - comes from
   homepage.css. One thing has to be said here and only one:

   1. FOUR columns, not three. The shared rule is hard-coded to repeat(3),
      and this section has four pointers.

   (There used to be a second: the chip went WHITE here, because
   .tpc-why__point-icon filled itself with --primitive-panel-grey and this
   band IS panel grey, so the chip read grey on grey. The founder removed the
   chip entirely on 2026-09-10, so both the fill and this exception are gone -
   see the v10.51 note in homepage.css.)

   The type needs no help: .tpc-why__point's title and copy both read from
   --band-heading-text / --band-body-text, which this band already sets to the
   dark values, so they invert correctly on their own.
   ───────────────────────────────────────────────────────────────────── */
/* v1.41 - FLEX, not grid, so a trailing part-row CENTRES. Founder 2026-08-28 on
   the TMP & TGS page: 7 items in a 4-column grid leaves 3 on row two, which grid
   packs to the left against an empty fourth column and reads as misaligned.
   Grid cannot centre an orphan row - every item is placed into a fixed track, so
   there is nothing to centre. Flex wrapping with justify-content:center centres
   whatever is left over, at ANY item count, which matters because each service
   page will carry a different number of these.
   The basis reproduces the 4-up track exactly ((100% - 3 gaps) / 4), so a full
   row is pixel-identical to the grid it replaces - the hub's own 4-item list is
   unchanged by this.
   min-width: 0 because flex items default to min-width:auto and the longer
   labels would otherwise refuse to wrap and blow the row out. */
.tpc-why__list--four {
  --four-gap: clamp(20px, 2.6vw, 44px);   /* = .tpc-why__list's own gap */
  display: flex;
  /* flex-direction MUST be restated. homepage.css sets .tpc-why__list to
     `display:flex; flex-direction:column` in one rule and overrides it to
     `display:grid` in a later one WITHOUT resetting the direction. Switching
     back to flex here therefore inherits the stale `column` and stacks every
     item full-width, one per row. */
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--four-gap);
}
.tpc-why__list--four > * {
  flex: 0 1 calc((100% - 3 * var(--four-gap)) / 4);
  min-width: 0;
}
/* v1.51 - the white chip is GONE (founder 2026-09-10, "remove the white
   background and make the icon bigger"). This rule existed only to stop a
   panel-grey chip going grey-on-grey in this band; with no chip at all
   there is nothing to keep visible, so painting white here would put the
   one surviving chip back on exactly the pages the founder was looking at.
   Deliberately left as a comment, not deleted silently: the reasoning
   above it in this file still describes a chip that no longer exists. */

/* the breakpoints restate the basis rather than the track count */
@media (max-width: 1024px) {
  .tpc-why__list--four > * { flex-basis: calc((100% - var(--four-gap)) / 2); }
}
@media (max-width: 600px) {
  .tpc-why__list--four > * { flex-basis: 100%; }
}

/* v1.20 - the foot button matches the tile CTAs above it. .tpc-showcase__cta
   sets its label white, overriding --btn-primary-text's asphalt, on the
   founder's explicit direction (recorded in homepage.css v6.85). That rule is
   scoped to tiles, so a standalone button would have come out asphalt-labelled
   and read as a different button from the three directly above it. Same value
   here for the same reason. Recording the number as homepage.css does: white on
   #F4941D is 2.31:1 against asphalt's 6.89:1 - shipped to match the site's
   established treatment, not as a fresh call. */
.tpc-services__foot .btn--primary { color: var(--primitive-white); }

/* v1.21 - founder: all three tile headings sit on two lines, so the cards read
   as a set rather than one wrapping and two not. Block spans, not <br> and not
   a width cap: the same technique .tpc-close__title uses on the home page, which
   leaves the words and the space between them untouched and puts the break
   exactly where it is wanted rather than wherever the measure happens to fall.
   Scoped to this grid - the two-up paths tiles above keep their natural wrap. */
.tpc-showcase--specialist .tpc-showcase__title span { display: block; }

/* v1.52 - RESPONSIVE (THEA-685). Set at the desktop 3-up column width. This
   grid drops to 2-up at <=1024px and 1-up at <=700px (homepage.css), both
   substantially wider per-card columns, so the fixed break point stops being
   the safe one. Natural inline flow at those widths, same reasoning as the
   why-list fix above. */
@media (max-width: 1024px) {
  .tpc-showcase--specialist .tpc-showcase__title span { display: inline; }
}

/* v1.22 - the pointing planner needs a positioned, CENTRED containing block.
   .tpc-why__pointer escapes to the viewport edge with
   `left: calc(-1 * (100vw - 100%) / 2)`, where 100% is its containing block's
   width - so that only lands him on the edge if that block is horizontally
   centred. .band__inner is (1312px inside a 1920px viewport, so -304px puts his
   left edge exactly on the viewport's). It just is not positioned by default.
   Scoped to this section so no other band__inner on the page gains a stacking
   context it did not ask for. */
.tpc-pointer-band .band__inner { position: relative; }

/* THEA-903 PORT GAP: .tpc-why__pointer's own BASE rule (position: absolute,
   the --pointer-w/--pointer-h clamp, the viewport-edge `left: calc()`) lives
   unscoped in 01-Rollout-1/hifi/homepage.css and was never ported into this
   theme's shared foundation (chrome.css/page-components.css carry the
   comments ABOUT it, scoped to `.tpc-pointer-band .tpc-why__pointer`, but
   not the rule itself) - verified by grep, zero matches anywhere in
   theme-source. Without it the image rendered in-flow at full width, which
   is what pushed this page's height to 1.25x the hi-fi's before this was
   found. Copied verbatim here rather than solved a second time elsewhere;
   flagged as a promotion candidate for the shared foundation. */
.tpc-why__pointer {
  --pointer-w: clamp(176px, calc((100vw - 1180px) / 2), 305px);
  --pointer-h: calc(var(--pointer-w) * 1067 / 640);
  position: absolute;
  z-index: 0;
  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; }

/* v1.23 - founder: "a little line between the character and the edge of the
   screen". Measured, and it is NOT the positioning: .tpc-why__pointer resolves
   to left 0.00 exactly, and the source PNG is fully opaque in its first column.
   The line is a RESAMPLING artifact. The asset is 640px wide rendered at 305,
   and sampling the downscaled bitmap shows its leftmost column is soft - only
   50 rows fully opaque against 173 semi-transparent - where column 1 jumps
   straight to 217 opaque. That one soft column lets the white band behind him
   show through as a hairline.
   So he shifts 2px left and the soft column falls off-screen. Not a change to
   his size or his inherited placement: margin-left is used precisely so the
   left: calc() formula from homepage.css stays untouched and keeps working at
   every width. 2px rather than 1 so it still clears on a 2x display, where the
   soft edge lands on a half-pixel; the cost is 2px of his shoulder, off-screen. */
.tpc-pointer-band .tpc-why__pointer { margin-left: -2px; }

/* v1.25 - THE HERO WORKER, scaled up and cropped by the band.
   Founder: much bigger, legs cut off at the bottom of the hero, head staying
   exactly where it is, paper never cropped, and the hero's own height unchanged.

   Those four pull against each other, so the numbers are derived rather than
   eyeballed. Measured off the asset's alpha channel, as fractions of its height:
     head top    2.92%      feet     94.06%      lowest white (the plan) 69.72%
   and off the live hero: slot 571x383 inside a 479px section, head at y59.

   HEIGHT UNCHANGED is the constraint that shapes the whole approach. The slot
   used to take its height from the image itself, so simply enlarging the image
   would have grown the row and with it the section. Instead the image comes OUT
   of flow and the slot holds the height on its own via aspect-ratio - the
   image's own 1531/1027 - so the box the layout sees is identical to before and
   the section stays at its 479px. Verified: unchanged to the pixel.

   HEAD STAYS PUT falls out of one line. Scaling about the top-left would push
   the head down by the growth times its 2.92% offset, so `top` pulls back by
   exactly that: (1 - scale) x 2.92%. Any scale keeps the head at y59.

   SCALE 1.5 is the founder's "much bigger" inside the one hard limit - the
   paper. At 1.5 the plan's lowest point lands 36px above the crop; 1.64 is
   where it would start to be cut, so there is real headroom rather than a
   value that only just works. The legs cross the section edge 104px down and
   the band clips them there.
   Horizontally he is centred on his slot, which at this scale puts him between
   x1109 and x1513 - clear of the copy (ends 949) and inside the band (1905). */
.tpc-shero--orange.band { overflow: clip; }   /* this is what crops his legs */

.tpc-shero__media {
  position: relative;
  aspect-ratio: 1531 / 1027;   /* the worker's own, so the slot keeps its height */
}

.tpc-shero__worker {
  --worker-scale: 1.5;
  display: block;
  position: absolute;
  left: 50%;
  top: calc((1 - var(--worker-scale)) * 2.92%);   /* 2.92% = his head, from the alpha scan */
  height: calc(var(--worker-scale) * 100%);
  width: auto;
  transform: translateX(-50%);
}

/* v12.24 - THE HUB HERO IS AN OBJECT CLUSTER, THE SUB HEROES ARE STILL FIGURES.
   services-hero-worker is no longer the 3D worker: it is the founder-supplied
   cartoon workstation cluster, replacing the mascot the client's image audit
   marked REPLACE. The rule above is built around a tall, narrow person, and a
   wide cluster cannot use it: measured at 1440 the image rendered 857x575 in a
   571x383 slot, 143px over each side and 186px over the bottom.

   v12.23 changed the base rule to fix that, which was wrong. services.css is
   also loaded by construction-tmp-ctmp, specialist-services and
   traffic-management-plans-tgs, so the change silently reached three
   client-approved heroes that still carry a figure. Only the hub hero lacks
   .tpc-shero--sub, so the cluster treatment is scoped to that. */
.tpc-shero:not(.tpc-shero--sub) .tpc-shero__worker {
  --worker-scale: 1;
  top: 0;
  width: 100%;
  object-fit: contain;
}

/* Below 1024px the columns stack and he sits above the copy, where an
   overflowing figure would run into it. Back to the in-flow, uncropped
   arrangement there. */
@media (max-width: 1024px) {
  .tpc-shero--orange.band { overflow: visible; }
    /* v12.23 - CLEARANCE FOR THE FIXED HEADER. The media starts 47px down while
       the logo tile runs to 90px, so the two have always overlapped here. It was
       invisible while the asset was a tall figure: that top band of the PNG was
       transparent, so the logo simply sat over nothing. The object cluster
       actually occupies it, and the monitor bezel cut across COMPANY on the
       logo. Measured at 393x780, logo bottom 90 and media top 47, so 56px puts
       the content clear with a margin. */
    .tpc-shero__media { aspect-ratio: auto; }
    .tpc-shero:not(.tpc-shero--sub) .tpc-shero__media { padding-top: 56px; }
  .tpc-shero__worker {
    position: static;
    height: auto;
    width: 100%;
    transform: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   TILE FOCAL POINTS - v1.29. These two wells are 500x135, an aspect of 3.7
   against source images of 1.77 and 1.49, so cover shows only 48% and 40% of
   each image's height. Centred, that window lands in the wrong place on both,
   which is what cut the faces off.

   Measured from the images themselves rather than nudged by eye. Detecting the
   hi-vis vests gives an unambiguous fix on where the figures actually are:
     need-a-plan      helmet top 8.3%, face starts 21.8%
                      the centred window began at 26.1% - below the face
     larger-project   vests 48.0% to 65.6%, so helmets sit around 42-44%
                      the centred window ended at 70.1%, far above them

   object-position Y is a percentage of the SLACK, not of the image, so the
   window top works out as p x (1 - visibleFraction). The two values below put
   a few px of headroom above each helmet and nothing important below.
   ───────────────────────────────────────────────────────────────────── */
.tpc-tile-img--plan    { object-position: 50% 10%; }   /* inert since v1.47: 1.770 image in a 1.778 well shows whole */
.tpc-tile-img--project { object-position: 50% 77%; }   /* inert since v12.33: the old 1.491 asset cover-cropped 16.2% of its height and 77% pulled the window down onto the signs; the 1.7768 replacement shows whole */

/* ─────────────────────────────────────────────────────────────────────
   PATHS TILE TOP RULES - v1.31. Founder: the two paths tiles take their
   dock tab's gradient instead of the flat orange rule every other tile has.

   The ramps are the dock's own, same two stops and same custom-property names
   as .tpc-fork__card--primary / --secondary in homepage.css, so each tile is
   visibly the same route as the tab it corresponds to rather than a new pair
   of colours:
     I need a plan          #F7CE38 -> #FC210D   (yellow into red)
     larger project         #00D4FF -> #020024   (cyan into deep space)

   ANGLE IS THE ONE DELIBERATE DIFFERENCE. The tabs run their ramp at 150deg,
   which is mostly vertical - across a 3px strip that samples a single slice
   and would render as one flat colour, losing the gradient entirely. Run
   left-to-right instead, the full ramp is visible along the tile's width,
   which is the only orientation a 3px rule can actually show one in.

   MECHANISM: the rule is .tpc-showcase__tile's 3px border-top, and a border
   cannot take a gradient without border-image, which squares off the tile's
   rounded corners. So the border goes transparent and the colour is painted
   as a background stripe sized to exactly that 3px instead - which the
   border-radius clips correctly.
   background-origin: border-box is load-bearing. The default is padding-box,
   which would start the stripe BELOW the 3px border and leave the rule blank.
   (Same origin/clip trap that drew the dark seam on the menu's urgent button
   in v10.43 - worth knowing it cuts both ways.)
   ───────────────────────────────────────────────────────────────────── */
.tpc-showcase__tile--plan,
.tpc-showcase__tile--project {
  border-top-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: top left;
  background-origin: border-box;
}
/* v1.32 - NO RED. The full flare ramp ends at #FC210D and put red in the rule.
   This is the yellow-to-brand-orange ramp homepage.css already uses on the
   drawer CTAs, whose own comment records the same decision for a different
   reason ("Ramp stops at brand orange rather than running to the flare red").
   Same two stops, so this is a system value rather than a new pair. */
.tpc-showcase__tile--plan {
  --tpc-flare-yellow: #F7CE38;
  background-image: linear-gradient(90deg, var(--tpc-flare-yellow) 0%, var(--primitive-orange) 100%);
}

/* v1.32 - THE BLUE STAYS BLUE. Running the source ramp end to end took it to
   #020024, which is 2% lightness - the "colour disappearing" was it going to
   near-black across the strip.
   The tab never shows that. Measured on the live dock: its panel is 411x564
   with a 694px gradient line at 150deg, and its 76px tab samples only
   t=0.047 to t=0.343 of the ramp - so what a visitor actually sees on that tab
   is #00CAF5 to #018BB4, cyan into a mid teal-blue, no black anywhere.
   Those are the two ends reproduced here, expressed as mixes of the SOURCE
   colours rather than pasted hexes so they still track --tpc-cyan and
   --tpc-deep-space if either is ever retuned. */
.tpc-showcase__tile--project {
  --tpc-cyan: #00D4FF;
  --tpc-deep-space: #020024;
  background-image: linear-gradient(90deg,
    color-mix(in srgb, var(--tpc-deep-space)  5%, var(--tpc-cyan)) 0%,
    color-mix(in srgb, var(--tpc-deep-space) 34%, var(--tpc-cyan)) 100%);
}

/* v1.32 - homepage.css repaints border-top-color to brand orange on
   .tpc-showcase__tile:hover / :focus-within. On every other tile that is the
   hover state of a flat orange rule; on these two it dropped an orange bar
   over the gradient. The border stays transparent here in every state - the
   rule's colour is the background stripe, not the border. */
.tpc-showcase__tile--plan:hover,
.tpc-showcase__tile--plan:focus-within,
.tpc-showcase__tile--project:hover,
.tpc-showcase__tile--project:focus-within {
  border-top-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════════════
   BAND SEAMS - v1.33. Founder: these joins need to blend like the home page's.
   Ported from homepage.css's EMBER SEAMS, same construction and same reasons.

   Two boundaries on this page read as a drawn rule, both flagged:
     asphalt (paths)  ->  white  (Beyond the plan)   the hard one, big contrast
     white            ->  panel grey (Why TPC)       a small step, still a line

   PAINTED AS A SOLID AND FADED WITH A MASK, not as a colour-to-transparent
   gradient. Interpolating any colour to `transparent` runs it through
   transparent BLACK in sRGB, which greys the middle of the ramp - the fade
   would go dirty exactly where it should be least visible. Mask alpha has no
   such problem and lets the seam's colour stay exactly equal to the
   neighbouring band's, so the joint has nothing to give it away.

   SMOOTHSTEP, NOT A STRAIGHT RAMP. homepage.css records the proof: 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 it. These stops trace t*t*(3-2t), whose slope is
   zero at both ends, so the fade leaves and arrives with no corner. The stops
   are copied from homepage.css unchanged.

   EACH SEAM SITS ON THE SECTION BELOW, painted in the colour of the band
   ABOVE it, opaque at the shared edge. That direction matters here: the
   asphalt band's tall bottom padding is what keeps it running past the dock
   (v1.9), so fading its own bottom out to white would have undone that fix.
   z-index -1 puts the wash above the section's own background but under its
   content, exactly as the home page's does.
   ═══════════════════════════════════════════════════════════════════════ */
.tpc-sec.band-white,
.tpc-sec.band-panel_grey { position: relative; }

/* v1.35 - founder: more room between the blend and the heading. Padding is the
   seam's own height plus a gap, written with the same clamp, so the clearance
   holds at every viewport instead of being a number that only works at one.
   The stock .tpc-sec 96px was less than the seam itself, which is why the
   heading sat right on the tail of the fade. */
.tpc-sec.band-white,
.tpc-sec.band-panel_grey {
  padding-top: calc(clamp(140px, 22vh, 240px) + clamp(48px, 7vh, 96px));
}

.tpc-sec.band-white::before,
.tpc-sec.band-panel_grey::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  /* v1.34 - z-index 0, NOT -1. The home page can use -1 because its bands are
     transparent (.tpc-light-ground .band { background: transparent }) and the
     white ground belongs to an ancestor, so a negative-z-index child still
     paints above it. On THIS page every band paints its own --band-bg, and
     these sections are position:relative with z-index auto, so they do not
     open a stacking context - a -1 child therefore went BEHIND the section's
     own background and the seams rendered not at all. Sitting at 0 with the
     content lifted to 1 below gives the same result the home page gets. */
  z-index: 0;
  pointer-events: none;
  /* v1.35 - back to the home page's own length. Holding it to the section's
     96px padding (clamp(90px,12vh,130px)) was the mistake: asphalt to white is
     the largest contrast step on the page, and compressing it into ~111px gave
     each mask stop about 11px to cover, which is what made the fade band and
     read as harsh. The same ramp over 204px has roughly double the distance per
     stop and resolves smoothly. The sections' top padding grows to match, below,
     so the extra length costs the headings nothing. */
  height: clamp(140px, 22vh, 240px);
  /* v1.36 - 41 stops, not 11. The banding was never colour depth: over a 192px
     seam an 8-bit ramp puts each level inside a single pixel. It was SLOPE.
     A gradient stop list is interpolated linearly BETWEEN stops, so 11 stops
     means 10 straight segments meeting at 9 interior corners, one every ~17px -
     and the eye draws a Mach band on every corner, which is exactly the "lines"
     in the fade. Smoothstep having zero slope at its ENDS fixes only the two
     outer joins; it does nothing about the interior ones.
     Sampling the same curve every 2.5% drops the corner spacing to ~4.8px,
     below the threshold where a slope change reads as an edge. Same function,
     same endpoints - just no longer approximated coarsely enough to see. */
  --seam-ramp:
    rgba(0, 0, 0, 0.0000) 0.0%,
    rgba(0, 0, 0, 0.0018) 2.5%,
    rgba(0, 0, 0, 0.0073) 5.0%,
    rgba(0, 0, 0, 0.0160) 7.5%,
    rgba(0, 0, 0, 0.0280) 10.0%,
    rgba(0, 0, 0, 0.0430) 12.5%,
    rgba(0, 0, 0, 0.0607) 15.0%,
    rgba(0, 0, 0, 0.0812) 17.5%,
    rgba(0, 0, 0, 0.1040) 20.0%,
    rgba(0, 0, 0, 0.1291) 22.5%,
    rgba(0, 0, 0, 0.1562) 25.0%,
    rgba(0, 0, 0, 0.1853) 27.5%,
    rgba(0, 0, 0, 0.2160) 30.0%,
    rgba(0, 0, 0, 0.2482) 32.5%,
    rgba(0, 0, 0, 0.2817) 35.0%,
    rgba(0, 0, 0, 0.3164) 37.5%,
    rgba(0, 0, 0, 0.3520) 40.0%,
    rgba(0, 0, 0, 0.3883) 42.5%,
    rgba(0, 0, 0, 0.4253) 45.0%,
    rgba(0, 0, 0, 0.4625) 47.5%,
    rgba(0, 0, 0, 0.5000) 50.0%,
    rgba(0, 0, 0, 0.5375) 52.5%,
    rgba(0, 0, 0, 0.5748) 55.0%,
    rgba(0, 0, 0, 0.6117) 57.5%,
    rgba(0, 0, 0, 0.6480) 60.0%,
    rgba(0, 0, 0, 0.6836) 62.5%,
    rgba(0, 0, 0, 0.7183) 65.0%,
    rgba(0, 0, 0, 0.7518) 67.5%,
    rgba(0, 0, 0, 0.7840) 70.0%,
    rgba(0, 0, 0, 0.8147) 72.5%,
    rgba(0, 0, 0, 0.8438) 75.0%,
    rgba(0, 0, 0, 0.8709) 77.5%,
    rgba(0, 0, 0, 0.8960) 80.0%,
    rgba(0, 0, 0, 0.9188) 82.5%,
    rgba(0, 0, 0, 0.9392) 85.0%,
    rgba(0, 0, 0, 0.9570) 87.5%,
    rgba(0, 0, 0, 0.9720) 90.0%,
    rgba(0, 0, 0, 0.9840) 92.5%,
    rgba(0, 0, 0, 0.9928) 95.0%,
    rgba(0, 0, 0, 0.9982) 97.5%,
    rgba(0, 0, 0, 1.0000) 100.0%;
  -webkit-mask-image: linear-gradient(to top, var(--seam-ramp));
          mask-image: linear-gradient(to top, var(--seam-ramp));
}

/* Content sits above the wash. Positioned children with z-index auto would
   otherwise paint over a z-index 0 pseudo-element regardless of source order. */
.tpc-sec.band-white > .band__inner,
.tpc-sec.band-panel_grey > .band__inner { position: relative; z-index: 1; }

/* out of the asphalt: finishes on that band's own ground colour */
.tpc-sec.band-white::before      { background: var(--primitive-asphalt); }
/* out of the white: same idea, a much smaller step but the same drawn line */
.tpc-sec.band-panel_grey::before { background: var(--primitive-white); }

/* ─────────────────────────────────────────────────────────────────────
   EVEN-ROW POINT LIST - v1.43. Founder 2026-08-28 on the TMP & TGS page:
   every heading on 2 rows and every body on 2 rows, so the items line up
   instead of each finding its own height.

   Measured before changing anything: headings ran 1 or 2 rows and bodies ran
   1 or 2, and NOTHING ran to 3. So reserving two of each is enough to make all
   seven uniform without touching a word of copy or a font size.

   `2lh` and not a pixel figure: lh resolves to the element's OWN line-height,
   so the heading reserves 2 x 26.4px and the body 2 x 24.8px from the same
   declaration. A hardcoded height would have to be re-derived the moment either
   type size moves.

   The body needed a wrapper. It was a bare text node beside the <strong>, and a
   text node cannot take a min-height, which is why .tpc-why__point-body exists.

   OPT-IN, via --even-rows. The hub's own four-item list uses .tpc-why__list--four
   too, and forcing two rows there would change a section the founder has already
   signed off. A page asks for this behaviour; it does not inherit it.
   ───────────────────────────────────────────────────────────────────── */
.tpc-why__list--even-rows .tpc-why__point strong { min-height: 2lh; }
.tpc-why__list--even-rows .tpc-why__point-body {
  display: block;
  min-height: 2lh;
}

/* v1.44 - the min-heights above RESERVE two rows; they cannot WRAP a string that
   fits on one, which is the correction here. "Built to current DTP guidelines,"
   sat on a single line inside a two-line box, so the box measured 2 rows while
   the text was plainly still 1. Three headings and four bodies were in that
   state.
   Where the copy does not wrap on its own, the break is placed deliberately with
   block spans - the same technique .tpc-close__title uses on the home page and
   the specialist tile headings use here. It leaves the words and the space
   between them untouched and puts the break where it reads best, rather than
   wherever a narrowed measure would drop it. A width cap cannot do this job:
   narrow enough to split the shortest heading takes the longest one to three
   lines.
   Items that already wrap to two lines are left alone. */
.tpc-why__list--even-rows .tpc-why__point strong > span,
.tpc-why__list--even-rows .tpc-why__point-body > span { display: block; }

/* v1.52 - RESPONSIVE (THEA-685). Every break above was measured against ONE
   desktop column width (TGS's 7-item list, 4-across). At <=1024px the list
   drops to 2-across and at <=600px to 1-across, both far wider per-item
   columns than the desktop measurement - a break tuned for the narrow column
   can strand a single word once the column widens. Reverting to natural
   inline flow (and dropping the row-height reservation, which only matters
   when items sit side by side in a row) removes the fixed break rather than
   trying to re-tune seven headings and seven bodies for two more widths. */
@media (max-width: 1024px) {
  .tpc-why__list--even-rows .tpc-why__point strong,
  .tpc-why__list--even-rows .tpc-why__point-body { min-height: auto; }
  .tpc-why__list--even-rows .tpc-why__point strong > span,
  .tpc-why__list--even-rows .tpc-why__point-body > span { display: inline; }
}

/* ─────────────────────────────────────────────────────────────────────
   HEADER MUST NOT SWALLOW CLICKS UNDER IT, v1.38.

   .site-header is position:absolute across the top of the hero at z-index
   100, and .site-header__inner is a full-width row roughly 49px tall. Every
   pixel of that row that is NOT the logo or the burger is dead space sitting
   ON TOP of the hero, and it was eating clicks: the breadcrumb's "Our
   services" link tested as unclickable, with elementFromPoint returning
   DIV.site-header__inner instead of the anchor. The link was never the
   problem, the invisible box over it was.

   This never surfaced before because until the breadcrumb landed there was
   nothing clickable that high in a hero. It now affects every internal page
   built off this benchmark, so the fix belongs here in the pattern file
   rather than on one page.

   The header has exactly two interactive children and no listener on the
   inner itself, so turning the container transparent to the pointer and
   handing it back to those two is safe and changes nothing visually.
   ───────────────────────────────────────────────────────────────────── */
.site-header,
.site-header__inner { pointer-events: none; }
.site-header__logo,
.site-header__menu-toggle,
.site-header .btn,
.site-header a { pointer-events: auto; }

/* ─────────────────────────────────────────────────────────────────────
   BURGER MENU: WHICH SERVICE PAGE YOU ARE ON, v1.50.

   Founder spotted that the menu's wide tile is always the page you are on,
   and asked for it to say so. It now carries an orange ring and glow plus a
   small "You're here" pill.

   KEYED TO .is-current, NOT .tpc-menu__tile--wide, which matters. The wide
   tile is also wide on the home page and the Services hub, where it is just
   the layout's emphasis and NOT a current-page marker: styling --wide would
   have told visitors they were on the TMP & TGS page while they stood on the
   hub. Only the three service pages carry the class.

   NOTHING MOVES. The tile keeps its size, aspect and position: the ring is a
   box-shadow, which paints outside the border box without occupying layout,
   and the pill is absolutely positioned inside a tile that was already
   position: relative. The caption underneath is untouched.
   ───────────────────────────────────────────────────────────────────── */
.tpc-menu__tile.is-current {
  box-shadow:
    0 0 0 2px var(--primitive-orange),
    0 0 26px 6px rgba(244, 148, 29, 0.48);
}

.tpc-menu__tile-here {
  position: absolute;
  top: var(--primitive-space-4);
  left: var(--primitive-space-4);
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  /* Filled, and asphalt on orange rather than white: the site's accessible
     pairing for small text on this colour (6.89:1 against white's 2.31:1). */
  background: var(--primitive-orange);
  color: var(--primitive-asphalt);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .tpc-menu__tile.is-current { box-shadow: 0 0 0 2px var(--primitive-orange); }
}

/* ═══════════════════════════════════════════════════════════════════════
   THEA-800 MOBILE PARITY PASS, R2 (2026-10-21). Genuine phone-width (390-
   430px) design for the Services hub and the three service pages it is the
   shared pattern file for. Everything below is ADDITIVE inside
   `@media (max-width: 699px)` - the sitewide mobile breakpoint the dock fix
   in homepage.css already uses - and touches no pre-existing non-media-query
   selector. Desktop, and the existing 600/900/1024/1328px tablet rules
   above, are unchanged.

   Founder ruling this pass works to: mobile must not just reflow and not
   overflow (that bar was already cleared), it must keep "the same story, the
   same emotional beats, and the same path to conversion" a desktop visitor
   gets. Two kinds of fix below:
     1. Two GSAP character entrances (the pointing planner, the close-band
        planner) that homepage.css hides outright at tablet width and below
        (1279px / 900px) because their desktop positioning escapes off the
        viewport edge - a mobile visitor currently never sees either
        animation play at all, which is exactly the "character entrance that
        vanishes below a breakpoint" the brief calls a defect. Both return
        here in a composition built for one narrow column instead of the
        desktop edge-escape.
     2. The two/three-tile "choose between these" showcase rows
        (--two, --specialist), which are a side-by-side COMPARISON on desktop
        ("I need a plan" vs "I'm planning a larger project", TGS vs TMP, the
        CTMP feature/step sets). A plain 1-column stack (which is as far as
        the existing 600px rule took them) loses that comparison framing - a
        visitor has to scroll an entire card out of view before the thing
        it's being compared against appears. The fix reuses the SAME
        horizontal swipe-carousel mechanism homepage.css already ships for
        its own card rows at this exact breakpoint (MOBILE CARD ROWS,
        v10.62), so the whole site now has one carousel system rather than
        two. homepage.css's own carousel rule deliberately EXCLUDES any class
        containing "tpc-showcase--" (v10.63 fix, THEA-800/R5) because these
        modifier variants carry their OWN column-count override that fought
        it - so the declarations below fill exactly the gap that exclusion
        left, scoped to the two modifiers these four pages use. Values are
        copied from homepage.css's block so both carousels feel like one
        system. The matching dot-indicator JS lives in each page's own
        inline <script>, since homepage.html's version is page-local too.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 699px) {

  /* ───────────────────────────────────────────────────────────────────
     THE POINTING PLANNER, BACK ON MOBILE.
     homepage.css hides .tpc-why__pointer completely below 1279px: "the
     gutter is too tight to read as anything but a collision" - true of his
     desktop treatment, which escapes to the viewport's left edge via
     `left: calc(-1 * (100vw - 100%) / 2)`. That treatment cannot survive a
     390px screen, but the character himself can: shrunk right down and
     brought back in-flow, centred above the section heading. The picture
     element already sits immediately before .tpc-section-head in the DOM
     on every page that uses .tpc-pointer-band (the hub, TMP & TGS, CTMP,
     Specialist Services all identical), so making him static+block is
     enough to place him correctly with no markup change.
     charactersEnter()'s existing GSAP tween (xPercent: -120, i.e. 120% of
     HIS OWN width, not the viewport) still plays untouched - at this new
     scale that reads as a gentle ~100px slide-in rather than a trip across
     the screen, so the same entrance beat survives at phone width instead
     of never firing at all.
     Scoped to `.tpc-pointer-band .tpc-why__pointer`, a class pair that only
     exists on these four R2 pages (the home page's own equivalent section
     is `.tpc-why`, a different class entirely) - this cannot reach or
     change the home page's own hero/pointer treatment. ─────────────────── */
  /* FOUNDER 2026-10-22: "fix the positioning of this section so the man is
     actually flush against the side of the screen for mobile."
     The revival above centred him in flow, which reads as a floating sticker.
     He goes back to the desktop INTENT - shoulder on the screen edge - but
     without the desktop mechanism: `left: calc(-1 * (100vw - 100%) / 2)`
     needs a horizontally centred containing block and swings wildly negative
     at phone width, which is why it was abandoned here in the first place.
     Instead he stays in flow and is pulled out of the band's own inline
     padding with a negative margin, so his left edge lands on the viewport
     edge at any width without depending on the container's centring.
     margin-right: auto keeps him left rather than stretching. */
  .tpc-pointer-band .tpc-why__pointer {
    display: block;
    position: static;
    left: auto;
    top: auto;
    transform: none;
    /* FOUNDER 2026-10-22: "the man is actually flush against the side of the
       screen for mobile" - matching his desktop treatment, where he measures
       left: -2px.

       NOTE ON THE EARLIER REVERT: I first measured him at left: -122px and
       concluded the margin had failed. It had not. -122px is the RESTING
       state of charactersEnter()'s tween (`from: { xPercent: -120 }`,
       reversed by ScrollTrigger's onToggle whenever the cue section is out of
       view) - I had simply measured him before the trigger fired. The tween
       lands at xPercent 0, so CSS owns his final position and a margin is the
       correct mechanism after all.

       He is pulled out of the band's inline padding so his left edge reaches
       the viewport edge, rather than using the desktop's
       `left: calc(-1 * (100vw - 100%) / 2)`, which needs a centred containing
       block and swings wildly negative at phone width. */
    margin: 0 auto clamp(14px, 4vw, 22px) calc(-1 * var(--primitive-space-5, 24px));
    margin-right: auto;
    width: clamp(96px, 30vw, 140px);
  }

  /* ───────────────────────────────────────────────────────────────────
     THE CLOSE-BAND PLANNER, BACK ON MOBILE.
     homepage.css hides .tpc-close__figure below 900px: her desktop anchor
     (`margin-left: calc(var(--band-max, 1264px) / -2)`) assumes a desktop
     container width and swings wildly negative at phone width, so she is
     switched out of that positioning entirely here rather than shown
     broken. In flow, centred, sized by height the same way she always is,
     sitting below the heading/copy block that .tpc-close--split already
     stacks to one column at 900px (services.css, above) - same order as
     the DOM already gives it. Her GSAP entrance (yPercent: 70, a rise from
     below) still plays; at in-flow height that is a modest, appropriate
     rise rather than the desktop's cross-column slide.
     Scoped to `.tpc-close--split`, the modifier this page pattern alone
     adds to the shared .tpc-close band - the home page's own close band
     uses the plain, unmodified class and is untouched. ─────────────────── */
  .tpc-close--split .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;
    /* FOUNDER 2026-10-22: "she needs to be flush against the bottom of the
       orange section." Measured: her box ended 72px above the band edge -
       she is in flow here (the desktop absolute anchor is switched off below
       900px) so the band's own 72px padding-bottom was sitting under her.
       Pulling the figure down by exactly that padding puts her feet on the
       band edge without changing the padding for the copy above her, and
       without the absolute positioning that broke at phone width. */
    margin-bottom: -72px;
  }

  /* ───────────────────────────────────────────────────────────────────
     THE "CHOOSE BETWEEN THESE" TILE ROWS BECOME SWIPE CAROUSELS.
     Mechanism copied from homepage.css's MOBILE CARD ROWS (v10.62), so this
     is one carousel system, not a second one invented here. ─────────────── */
  .tpc-showcase--two,
  .tpc-showcase--specialist {
    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--two::-webkit-scrollbar,
  .tpc-showcase--specialist::-webkit-scrollbar { display: none; }
  .tpc-showcase--two > *,
  .tpc-showcase--specialist > * { scroll-snap-align: center; min-width: 0; }

  /* The fixed-height well (services.css, "CHOOSE YOUR PATH") was sized for
     a desktop multi-column card. At carousel width the tile is much
     narrower, so the well goes back to a plain 16/9 ratio rather than
     forcing the same crop onto a card a third the width. .tpc-showcase--
     specialist never had a fixed-height override (it already inherits the
     base aspect-ratio well from homepage.css), so only --two needs this. */
  .tpc-showcase--two .tpc-showcase__media {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   THEA-865 MOBILE REDESIGN PASS (2026-10-28). The "what's inside" / "what
   you get" / "Why TPC" icon lists (.tpc-why__list--four) were the single
   biggest unaddressed contributor to page length on the three long pages
   that carry one: left as a plain stacked column by the <=600px rule
   above, six or seven items each with a multi-line description reads as
   a very long single-column scroll with no sense of how many are left.
   On construction-tmp-ctmp.html this list alone runs six items of up to
   six lines of body copy, and is most of that section's measured 2,039px
   at 390px width; traffic-management-plans-tgs.html carries seven.

   Same mechanism as the "choose between these" tile rows two blocks up:
   the established one-tile-in-frame swipe carousel (scroll-snap-type:x
   mandatory, grid-auto-columns:100%, centred dots below, generated by
   each page's own inline script - extended there to also query this
   class). Nothing is cut: every item and its full text survives, read one
   at a time instead of all at once, which is the shape a phone visitor
   already uses to work through "I need a plan" vs "I'm planning a larger
   project" immediately above this same band on every one of these pages.

   Each item becomes its own white card rather than a plain icon-over-text
   column, since at full carousel width it now reads as ONE tile rather
   than a column entry sitting among three others of equal width - the
   "tighter card" shape the brief names as a legitimate redesign answer
   alongside carousels and progressive disclosure.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 699px) {
  .tpc-why__list--four {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    /* MUST be restated. The desktop rule above sets justify-content:center
       to centre an uneven last row in the wrapped flex layout - left alone,
       that same center also applies to this grid once it overflows, which
       centres the whole 6-or-7-item track around the mid-point rather than
       starting it at the first item. The visible symptom was two adjacent
       cards straddling the middle of the screen at scrollLeft:0 instead of
       one full card starting at the left edge, exactly like the "choose
       between these" tile rows would look if their own base rule carried
       the same center value (it does not, which is why only this list
       needed the explicit reset). */
    justify-content: start;
    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-why__list--four::-webkit-scrollbar { display: none; }
  .tpc-why__list--four > * { scroll-snap-align: center; min-width: 0; }

  /* The card chrome. .tpc-why__point ships with no background of its own
     (the founder removed the icon's own chip sitewide on 2026-09-10,
     v10.51 in homepage.css) - here the whole POINT becomes the card
     instead, since a carousel slide with nothing marking its edges would
     read as the band's own background rather than as a tile. This list
     only ever sits on a panel_grey band on all three pages it appears on,
     so a white card always reads against the grey band behind it. */
  .tpc-why__list--four .tpc-why__point {
    background: var(--primitive-white);
    border-radius: var(--card-radius);
    border: 1px solid rgba(34, 34, 34, 0.08);
    box-shadow: 0 10px 30px rgba(34, 34, 34, 0.06);
    padding: clamp(24px, 6vw, 32px) clamp(20px, 5vw, 26px);
  }
}


/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-10-22: "across the entire website all text needs to be
   centred for mobile."

   This block lives HERE rather than only in homepage.css because of cascade
   ORDER, not specificity: every page links homepage.css first and its own
   sheet second, so a page-level `text-align: left` beats a sitewide rule of
   equal specificity no matter how the sitewide one is written. Verified on
   team.html, where the heading still computed `start` with the sitewide rule
   in place.

   Scope confirmed with the founder: marketing and content sections centre;
   long-form legal, blog post bodies and form fields stay left, because
   centring a 1,700-word document removes the left edge that clause-scanning
   depends on. Phone only - desktop is client-approved and frozen.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .band__inner, .band__inner h1, .band__inner h2, .band__inner h3,
  .band__inner p, .band__inner li,
  .tpc-sec, .tpc-section-head, .tpc-showcase__tile, .tpc-showcase__copy {
    text-align: center;
  }
  /* 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; }
}

/* ─────────────────────────────────────────────────────────────────────
   v2.1 - THE POINTING CHARACTER IS OFF ON PHONES
   ─────────────────────────────────────────────────────────────────────
   Founder, after seeing v2.0: "the position isn't good it is blocking the
   text, just remove the character for mobile."

   This supersedes the 2026-10-22 instruction that put him flush to the
   screen edge on mobile. Keep that history in view before anyone restores
   him: the edge treatment WAS asked for, and then the pose itself turned
   out not to survive the narrow column.

   Why v2.0 failed, so it is not retried: on desktop he is absolutely
   positioned beside the heading and aims at it cleanly. On a phone he sits
   in flow, so he either lands 123px ABOVE the heading pointing at white
   space, or - once raised to meet it - his torso runs straight through the
   first line of "Specialist work, when the job". At 390px there is no
   vertical position where a 117px-wide figure both aims at a centred
   heading and clears centred body copy. The column is too narrow for the
   pose, which is the real finding here.

   `display: none` rather than visibility or opacity, so his 195px of flow
   space goes with him - that reserved height was the white gap the founder
   also reported on this band, so both complaints close together. He is
   aria-hidden decorative artwork, so nothing leaves the accessibility tree.
   Phones only; desktop is client-approved, frozen, and keeps him. */
@media (max-width: 699px) {
  .tpc-pointer-band .tpc-why__pointer { display: none; }
}
