/**
 * The Traffic Plans Company - Specialist Services
 * Rollout 2 - THEA-684 (Remaining Two Service Pages Design)
 *
 * Built 1:1 to 02-Rollout-2/docs/service-page-template.md, from
 * traffic-management-plans-tgs.html v1.18-tmp-tgs, per the founder ruling
 * 2026-08-31 in PROJECT-DECISIONS.md. Same three-layer reuse chain:
 * homepage.css (site furniture), services.css (the internal-page pattern),
 * this file (only what is genuinely new to this page's own content).
 *
 * CONTENT MAPPING DECISION (flagged for whoever reviews this against
 * construction-tmp-ctmp.html): this page's locked copy is a single section,
 * six tile-shaped items under one heading, unlike the other two service
 * pages' multi-section essays. PROJECT-DECISIONS.md's pre-2026-08-31
 * verified finding calls this page "structurally closer to a form page" -
 * that finding predates the founder's 2026-08-31 ruling that ALL individual
 * service pages take the same six-band template with no exceptions, so the
 * ruling wins here; this page is NOT built as a form page.
 *   asphalt      - the section's own headstack, plus the FIRST three tiles
 *                  (Swept path analysis, Traffic control & coordination,
 *                  Equipment hire) as the template's default three-up
 *                  .tpc-showcase - no column override needed, same as the
 *                  master page's own three-step white band. Swept path's
 *                  one genuine turnaround figure (3-5 business days) is
 *                  folded into its own tile copy as a sentence rather than
 *                  built into a four-fact panel it does not have the data
 *                  to fill honestly.
 *   white        - the locked copy's own closing pivot ("Not sure which one
 *                  you need?") promoted to a full section head in its own
 *                  right - it is substantial, real copy, not an invented
 *                  heading. Pointing planner aimed at the remaining two
 *                  tiles (Event traffic management, Permits/approvals/
 *                  audits) at 2-up, the same mechanism the master page's
 *                  white band and this page's own asphalt band use.
 *   panel grey   - deliberately quiet: the standing closing note, re-ranked
 *                  here from its original end-of-page position, plus the
 *                  mandatory "Back to all services" foot button (template
 *                  section 9) - which happens to be the exact locked copy
 *                  the sixth original tile already carried, so one button
 *                  satisfies both the template rule and the source copy.
 *
 * ASSETS - no bespoke renders commissioned yet. Every well on this page is
 * a .render-placeholder. Concepts + ready-to-run prompts are handed over in
 * the THEA-684 review comment; only the founder generates.
 */

/* ─────────────────────────────────────────────────────────────────────
   HERO MEDIA - render-placeholder, same as construction-tmp-ctmp.css.
   ───────────────────────────────────────────────────────────────────── */
.tpc-shero__media .render-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border-radius: var(--card-radius);
}

/* ─────────────────────────────────────────────────────────────────────
   THE SHORT VERSION - asphalt band. Same bottom clearance as every other
   service page's own asphalt band: directly above the fixed dock.
   ───────────────────────────────────────────────────────────────────── */
.tpc-explainer {
  padding-bottom: clamp(150px, 20vh, 260px);
}
.tpc-explainer .tpc-section-head { margin-bottom: clamp(20px, 1.7vw, 30px); }

/* Three-up tiles use the default .tpc-showcase well height (homepage.css) -
   no override needed, since this band uses no column modifier. Deliberate
   line breaks so no single word is left stranded on the second row, the
   master page's own rule, reused here. */
.tpc-showcase__title > span { display: block; }

/* v1.15 - RESPONSIVE (THEA-685). This grid drops to 2-up at <=1024px and
   1-up at <=700px (homepage.css), both wider per-card columns than the
   desktop 3-up the break above was placed for. Natural inline flow removes
   the strand-a-word risk rather than re-tuning the break for two more
   widths. */
@media (max-width: 1024px) {
  .tpc-showcase__title > span { display: inline; }
}

/* v1.0 - a lightweight in-copy link, the same visual language as the
   action dock's .tpc-fork__learn (plain underline, no arrow, no new
   component) rather than a filled CTA per tile - six filled buttons in one
   grid would read as noise against the "every CTA is filled" rule's real
   intent (a small number of clear, weighted actions), and the dock below
   already carries the page's primary conversions. */
.tpc-showcase__link {
  display: inline-block;
  margin-top: var(--primitive-space-3);
}

/* ─────────────────────────────────────────────────────────────────────
   NOT SURE WHICH ONE YOU NEED - white band. Two tiles at 2-up: the same
   .tpc-showcase--two modifier and well-height treatment construction-tmp-
   ctmp.css and services.css both already use, so nothing new to declare
   for the grid itself.
   ───────────────────────────────────────────────────────────────────── */
/* v1.2 - the well height, grid fill and placeholder fill that used to be
   restated here have been PROMOTED into services.css's own
   .tpc-showcase--two rule (v1.46/1.47). They were identical copies, so this
   page now inherits them by reference: one number in one place instead of
   four. Nothing renders differently apart from the founder's height change. */
/* ─────────────────────────────────────────────────────────────────────
   CLOSING NOTE - panel grey band. A single centred paragraph rather than
   the .tpc-why__list/.tpc-why__panel treatment the other two service
   pages use for this band: there is no bullet-shaped or fact-shaped
   content left in the locked copy for this page by this point, and
   inventing a four-column grid to hold one sentence would manufacture
   content the source does not have. .tpc-section-intro is reused as-is;
   only the width and the section id's visually-hidden h2 are new here,
   the latter so the band still has a real (if silent) heading for
   assistive tech, matching the rest of the site's landmark discipline.
   ───────────────────────────────────────────────────────────────────── */
.tpc-spec-closing-note {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 18px;
}

/* ─────────────────────────────────────────────────────────────────────
   BACK TO ALL SERVICES - reused verbatim from the master page's own rule.
   ───────────────────────────────────────────────────────────────────── */
.tpc-cta-row {
  display: flex;
  justify-content: center;
  margin-top: var(--primitive-space-6);
}
.tpc-backrow { margin-top: clamp(48px, 6vh, 72px); }

/* ─────────────────────────────────────────────────────────────────────
   FINDING (for the project ledger): the breadcrumb trail, its back
   control and the sub-hero flare ramp are NOT actually in services.css
   despite service-page-template.md documenting them as shared boilerplate
   every service page needs - they live page-local in traffic-management-
   plans-tgs.css. See the identical finding recorded in construction-tmp-
   ctmp.css. Repeated here byte-identical rather than touching the
   founder-approved master file; should be promoted into services.css in a
   follow-up consolidation pass.
   ───────────────────────────────────────────────────────────────────── */
.tpc-crumbs { margin-top: 1em; position: relative; }
.tpc-crumbs__back {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease;
}
.tpc-crumbs__back:hover,
.tpc-crumbs__back:focus-visible { background: rgba(255, 255, 255, 0.4); }
.tpc-crumbs__back svg { display: block; }
@media (max-width: 1328px) {
  .tpc-crumbs { display: flex; align-items: center; gap: 8px; }
  .tpc-crumbs__back { position: static; transform: none; margin-right: 0; flex: none; }
  /* v1.16 - 2026-09-30, RESPONSIVE FIX. Byte-identical fix to the same block in
     traffic-management-plans-tgs.css (see that file's comment for the full
     measurement). This page's own trail is short enough that it happened not to
     visibly overflow, but the same broken percentage-basis mechanism was present
     here too - fixed uniformly since the three files are meant to stay in sync. */
  .tpc-crumbs__list { width: auto; max-width: 100%; min-width: 0; }
}
.tpc-shero--sub .shero__inner { min-width: 0; }
.tpc-crumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: max-content;
  max-width: calc(100% + 44px);
}
.tpc-crumbs__item { display: flex; align-items: center; }
.tpc-crumbs__item + .tpc-crumbs__item::before {
  content: '';
  flex: none;
  width: 4px;
  height: 4px;
  margin: 0 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.tpc-crumbs__link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.tpc-crumbs__link:hover,
.tpc-crumbs__link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.tpc-crumbs__current { color: inherit; opacity: 0.72; }

/* SUB-PAGE HERO RAMP - v1.3, founder: use the home page's own hero gradient.

   NOTHING IS DECLARED HERE ANY MORE, and that is the point. The home hero's
   wash is .tpc-hero::before in homepage.css, computing to
   linear-gradient(180deg, #F4941D 0%, #E8611C 100%). The shared
   .tpc-shero--orange rule in services.css is already exactly that ramp
   (--primitive-orange -> --tpc-cone-orange), so deleting the override makes
   this page inherit it rather than restating the same two hexes a third time.

   WHY IT WAS WRONG: the page had been given the flare ramp
   (#F7CE38 -> #FC210D), copied from the master page when it was built. That
   ramp is the "I need a plan" dock tab's colour and it belongs to TMP & TGS.
   Only the two pages a tab routes to carry a tab colour: TMP & TGS on flare,
   CTMP on deep space. Specialist Services is reached from the hub's own
   specialist band, not from a tab, so it wears the hub's orange instead. */

/* This page's trail is the shortest of the three ("Our services /
   Specialist Services", 34 characters against the master's 74 and CTMP's
   62), so it clears the same 1290px one-line breakpoint with the most
   room of the three pages. */

/* ─────────────────────────────────────────────────────────────────────
   SWEPT PATH TILE, v1.4.

   Heading set to two rows. "Swept path analysis" is three words, so 1/2 is
   the only split available: "Swept path" / "analysis" would leave one word on
   the second row, which is the thing the founder ruled out on the master page.

   No focal-point rule: the render is 2688x1520 (1.768) and the three-up well
   is 341x192 (1.776), so cover keeps 99.571% of the height and any
   object-position would be a no-op.
   ───────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────
   EQUIPMENT HIRE TILE, v1.5. No focal-point rule: 1668x943 (1.769) in the
   341x192 three-up well (1.776) keeps 99.594% of the height, so there is
   nothing for object-position to move.
   ───────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────
   TRAFFIC CONTROL TILE, v1.6. No focal-point rule: the source is 1672x941
   (1.7768) against a 341x192 well (1.7760), the closest match of any tile
   on the site, so cover keeps 100.000% of the height.

   NOTE: this render is the SAME FILE the CTMP page uses for "Handles staged
   works as they change". Founder-directed. It is copied under its own name
   rather than referenced across pages so either page can be re-pointed later
   without silently changing the other, which has already happened twice with
   same-filename swaps during this build.
   ───────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────
   EVENT TRAFFIC TILE, v1.7. No focal-point rule, but NOT for the reason the
   other tiles on this page get away with it.

   THIS PAGE HAS TWO DIFFERENT WELL RATIOS, which is worth knowing before
   adding any further image here. The three-up specialist row is 341x192
   (1.776), where a 1.77 render shows whole. The two-up row this tile sits in
   is 556x288 (1.931), wider than the two-up wells on the other service pages
   because its container is wider. A 1.770 render there keeps 91.68% of its
   height, leaving 8.32% of slack.

   Centred is still correct here, and it was checked rather than assumed: the
   window runs 4.16% to 95.84%, which trims sky off the top and a strip of
   road off the bottom while both workers, the sign and the shopfronts stay
   inside. The remaining "Permits" tile is in this same 1.931 row and will
   need its own check, not this conclusion copied.
   ───────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────
   PERMITS TILE FOCAL POINT, v1.8. The one tile on this page that genuinely
   crops, and the reason the previous comment warns against copying its
   neighbours' "no rule needed" conclusion.

   The render is 2528x1696 (1.4906) in the 1.9306 two-up well, so cover keeps
   only 77.21% of the height: 22.79% of slack, the deepest crop on the page.
   The figures span roughly 7% to 94%, which is wider than the window, so
   something has to go and the choice is which end.

   TOP WINS. Faces are the priority on this site, and both sit in the upper
   half: the planner's face around 10-18%, the seated reviewer's around 20-28%,
   with the plan they are holding across the middle. Centred (p=50) would put
   the window at 11.40% and behead the planner outright, whose helmet crown is
   at y=114 of 1696 = 6.722%, scanned down his own column.

   p = 20% puts the window at 4.56% to 81.77%, leaving 8.07px of headroom over
   the helmet, the same figure held on every other measured tile in this build.
   The cost is the lower legs and feet, which carry nothing.
   ───────────────────────────────────────────────────────────────────── */
.tpc-tile-img--permits { object-position: 50% 20%; }   /* window 4.56% - 81.77% */

/* ─────────────────────────────────────────────────────────────────────
   TILE CTAs, v1.8. Founder: same button style as the rest of the site, and
   aligned on one y axis.

   They were .tpc-fork__learn .tpc-showcase__link, an underlined text link,
   which is both the wrong style and unaligned: a text link sits directly under
   whatever copy precedes it, so five tiles with different copy lengths put
   five CTAs at five different heights. Swapped to the site's own tile CTA,
   .btn.btn--primary.tpc-showcase__cta, which is the same class pair the hub's
   path tiles use. Its `margin-top: auto` inside the already-flex-column
   .tpc-showcase__copy is what pins every CTA to the bottom of its tile, so the
   alignment falls out of the shared component rather than a new rule here.
   ───────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────
   HERO WORKER, v1.12. Bigger, and still entirely inside the hero.

   The v1.10 fix contained the image in its slot, which centred it correctly
   but capped it at the slot's own 321px height: a 419x276 vehicle in a 385px
   hero, with room going spare above and below. Founder wants it much bigger.

   SO IT IS SIZED AGAINST THE HERO, NOT THE SLOT. Back out of flow, but centred
   on both axes rather than pinned by the head the way the cropping pages are.
   Centring is what lets it grow: a top-pinned image can only grow downward and
   runs out of hero immediately, while a centred one grows in both directions.

   129% IS THE CEILING, and it is arithmetic rather than taste. The vehicle
   occupies 6.5448% to 92.394% of the PNG, so 85.85% of whatever height the
   image is given. Centred on the slot's midpoint at hero y192.7, the content
   runs 192.7 - 0.4346h to 192.7 + 0.4239h. Holding roughly 12px of air at both
   ends caps h at about 415px, which is 129% of the 321.4px slot. Past that the
   wheels leave the hero and the crop the founder rejected comes back.

   v1.13 - BACKED OFF FROM THE CEILING TO 118%. 129% was the largest that fit,
   which left only 12.5px above the vehicle: technically inside the hero, but
   tight enough to read as touching the top of the page. Because the image is
   centred, height is the only lever and it moves both ends together.

   Solving the same expression for a comfortable top: 192.7 - 0.4346h = 28
   gives h = 379px, which is 118% of the 321.4px slot. Top clearance goes
   12.5px -> 28px and the bottom follows to 32px, for a vehicle of about
   494x325 against 540x356. A shade smaller, more than twice the air above it.
   ───────────────────────────────────────────────────────────────────── */
.tpc-shero--sub .tpc-shero__worker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 118%;
  width: auto;
  object-fit: contain;
}

/* v1.15 - RESPONSIVE (THEA-685). Real bug, not a missing nice-to-have.
   services.css reverts the hero figure to static/in-flow below 1024px on
   every service page via the unscoped `.tpc-shero__worker` selector
   (specificity 0,1,0). The rule above is scoped to `.tpc-shero--sub
   .tpc-shero__worker` (0,2,0) - higher specificity wins regardless of the
   media query, so on THIS page alone the vehicle stayed absolutely
   positioned, centred and 118% tall at every width, including phones, while
   TMP/TGS and CTMP's heroes correctly went in-flow (their page-local rules
   only tweak `top`/`--worker-scale`, so they never out-specify the shared
   revert). Matching selector, matching specificity, declared after: this
   wins at <=1024px and gives this hero the same in-flow behaviour as the
   other two. */
@media (max-width: 1024px) {
  .tpc-shero--sub .tpc-shero__worker {
    position: static;
    height: auto;
    width: 100%;
    transform: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   CLOSING BAND SPACING, v1.11. Founder: the gap between the last tiles and
   the closing copy is way too big. It measured 372px.

   WHERE IT CAME FROM, since none of it was arbitrary:
     96.0px  white band's padding-bottom
    190.9px  the seam, a blend painted by .band-panel_grey::before
     60.8px  the breathing room the founder asked for above the heading,
             added to the benchmark so copy never sits on the blend
     24.3px  the head's own offset
    372.0px

   WHY IT READS AS DEAD SPACE HERE. This seam blends #FFFFFF into #F1F1F1: a
   delta of FOURTEEN levels. There is almost nothing to see, so 191px of it is
   indistinguishable from emptiness. On the other service pages the same band
   carries the "What you get" list, so the padding reads as section spacing;
   here it carries one paragraph and a button, so it reads as a void.

   WHY SHORTENING THE SEAM IS SAFE HERE, and was not on the master page.
   Banding risk scales with colour delta, not seam length. The seam the founder
   called "blocky and lines" was asphalt into white, a delta of about 221
   levels. At 14 levels across 78px this is 5.6px per level, nowhere near
   visible stepping. Scoped to this page: the other pages' seams are untouched.
   ───────────────────────────────────────────────────────────────────── */
.tpc-sec.band-white { padding-bottom: clamp(32px, 4vh, 56px); }

.tpc-sec.band-panel_grey {
  padding-top: calc(clamp(70px, 9vh, 110px) + clamp(20px, 2.6vh, 34px));
}
.tpc-sec.band-panel_grey::before { height: clamp(70px, 9vh, 110px); }


/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-10-22: "fix the 3 service hero sections for mobile, the
   breadcrumb trail doesn't feel balanced."

   CAUSE: .tpc-crumbs is a flex row holding two items, the circular back
   control and the <ol> trail. Once the hero copy centres on mobile, the
   trail's TEXT centres inside the <ol> but the row itself still starts at
   the left edge - so the back button hangs off to one side of a centred
   block of text and the whole unit reads lopsided.

   Centring the ROW keeps the button and the trail together as one group on
   the hero's centre line. align-items: flex-start is kept from the existing
   fix so the button still sits beside the FIRST line when a long page title
   wraps, rather than floating against the middle of the wrapped block.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-crumbs {
    justify-content: center;
    align-items: flex-start;
    text-align: center;
  }
  .tpc-crumbs__list { justify-content: center; flex-wrap: wrap; }
}

/* ─────────────────────────────────────────────────────────────────────
   BREADCRUMB BALANCE, corrected twice. 2026-10-22.

   Attempt 1 set justify-content: center. No effect - .tpc-crumbs__back is
   `position: absolute` here, so a flex alignment on its parent cannot reach
   it. Attempt 2 forced it back into flow; the row then centred correctly but
   STILL looked wrong, and the real-device render showed why: the trail is two
   full-width lines, so [back][trail] already fills the row and "centred as a
   group" puts the button hard against the left edge anyway.

   The fix is to stop showing a redundant control at phone width. The back
   chevron's own markup comment says it "goes to the same place the first
   crumb does" - and the first crumb, "Our services", is a link to exactly
   that. On a 390px screen it is a second tap target for a destination already
   one tap away, bought at the cost of the balance the founder asked for.
   Hidden below 699px, leaving a clean centred trail. Desktop keeps it.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-crumbs {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    text-align: center;
  }
  .tpc-crumbs__back { display: none; }
  .tpc-crumbs__list {
    justify-content: center;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
  }

  /* The separator dot. With the trail stacked on two centred lines it ends
     up orphaned on its own row at the left - visible in the 390px render as
     a stray bullet. Each crumb now takes its own centred line and the
     separator is dropped, which is what divides them instead. */
  .tpc-crumbs__list { flex-direction: column; align-items: center; gap: 2px; }
  .tpc-crumbs__item + .tpc-crumbs__item::before { content: none; }
  .tpc-crumbs__item { justify-content: center; text-align: center; }
}
