/**
 * The Traffic Plans Company - Contact (/contact/)
 * Ported verbatim from 03-Rollout-3/hifi/contact.css (THEA-903, 2026-11-12).
 *
 * THEA-903 FINDING: the previous contact.css in this theme was an invented
 * stylesheet (.tpc-service-page / .tpc-stats / .tpc-features / .tpc-note /
 * .tpc-cta-band) sharing almost no vocabulary with the approved hi-fi.
 * contact.php is rebuilt against 03-Rollout-3/hifi/contact.html's real
 * .tpc-shero--split / .tpc-find / .tpc-essentials / .tpc-showcase markup, so
 * this file ships the real CSS that vocabulary depends on.
 *
 * 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).
 *
 * THEA-903 PORT GAP: .tpc-section-head / --center / .tpc-section-intro /
 * .tpc-visually-hidden have no UNSCOPED base rule anywhere in that shared
 * foundation (verified by grep) - only page-scoped copies exist
 * (`.tpc-home .tpc-section-intro` in home.css, `.tpc-services-hub
 * .tpc-section-head--center` in services-hub.css). Same gap, same fix here:
 * a `.tpc-contact-main`-scoped copy below, byte-identical to the hi-fi's own
 * unscoped homepage.css rule. Flagged as a promotion candidate rather than
 * re-solved a fourth time.
 *
 * 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-contact-main .tpc-section-head {
  max-width: 68ch;
  margin-bottom: var(--primitive-space-8);
}
.tpc-contact-main .tpc-section-head--center { margin-inline: auto; text-align: center; }
.tpc-contact-main .tpc-section-intro {
  font-size: 18px;
  color: var(--band-body-text);
  margin: 0;
}
.tpc-contact-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, internal-page tier. Copied from services.css
   v1.59 (.tpc-shero--split / .tpc-shero--orange), the founder-approved
   42vh/orange/no-CTA treatment every internal page uses.
   ───────────────────────────────────────────────────────────────────── */
.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; }

.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;
}

/* The second .tpc-shero--orange.band rule services.css carries, and the one
   that is easy to miss because it sits apart from the layout block above.
   Without it the cut-out simply overflows the hero and paints over the trust
   strip below instead of being cropped at the band boundary. PROJECT-DECISIONS
   VERIFIED FINDING, 2026-09-29 - this is exactly what happened on Case Studies. */
.tpc-shero--orange.band { overflow: clip; }
.tpc-shero--orange .shero__title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
}
.tpc-shero--orange .shero__intro {
  font-size: 16px;
}

/* Hero media slot. Sized to the same 1531/1027 ratio every other internal-page
   hero uses, so this hero measures the same height as About / Services /
   Case Studies whatever the figure inside it is scaled to. */
.tpc-shero__media {
  position: relative;
  aspect-ratio: 1531 / 1027;
}
.tpc-shero__worker {
  /* Founder-supplied cut-out, placed on the shared top-pin. headPct is the
     subject's topmost opaque row from an alpha scan of the source
     (17 / 1402 = 1.2126%), never eyeballed. top: calc((1 - scale) * headPct)
     resolves to p.H with the scale cancelling, so his head sits at the same y
     whatever --worker-scale is set to, and the slot's 1531/1027 aspect-ratio
     keeps the hero the same height as every other internal page. */
  --worker-scale: 1.72;
  display: block;
  position: absolute;
  left: 50%;
  top: calc((1 - var(--worker-scale)) * 1.2126%);   /* 1.2126% = the head, from the alpha scan */
  height: calc(var(--worker-scale) * 100%);
  width: auto;
  transform: translateX(-50%);
}
@media (max-width: 1024px) {
  .tpc-shero__media { aspect-ratio: auto; }
  .tpc-shero__worker {
    position: static;
    height: auto;
    max-height: 46vh;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    transform: none;
  }
}
@media (max-width: 1024px) {
  .tpc-shero--split .band__inner { grid-template-columns: 1fr; gap: var(--primitive-space-6); }
  .tpc-shero__media { order: -1; }
}

/* ─────────────────────────────────────────────────────────────────────
   SECTION HEADING STACK TRAPS - both copied from services.css v1.59.
   .tpc-eyebrow--solo inherits uppercase from the small-caps eyebrow it is
   based on; both headings on this page are full sentences/labels, not the
   uppercase caption treatment, so it is lifted per-section rather than on
   the class (which stays a real eyebrow elsewhere). .tpc-hub__sub
   hardcodes asphalt text for its default (hub) context; the essentials
   section sits on an asphalt band, so it needs the same band-aware
   override services.css already carries for its own asphalt section.
   ───────────────────────────────────────────────────────────────────── */
.tpc-headstack .tpc-eyebrow--solo { text-transform: none; }
.band-asphalt .tpc-hub__sub { color: var(--band-heading-text); }

/* ─────────────────────────────────────────────────────────────────────
   TRUST STRIP - byte-identical from services.css v1.59 / about.css /
   case-studies.css.
   ───────────────────────────────────────────────────────────────────── */
.tpc-proof--strip {
  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; }

/* ─────────────────────────────────────────────────────────────────────
   ESSENTIALS - phone / email / office / hours. New page-local component:
   nothing in the design system already carries a label+value contact-
   detail shape (the closest, .tpc-proof__grid, is a big-number stat card,
   not a label-over-value pair). Built from design-tokens.css primitives
   only, resolving heading/body colour through the band custom properties
   so it reads correctly on any band without a per-band override.
   ───────────────────────────────────────────────────────────────────── */
.tpc-essentials {
  list-style: none;
  margin: var(--primitive-space-6) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 44px);
  text-align: center;
}
.tpc-essentials__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  /* 2026-09-30 - align-items:center means the item is never stretched to the
     grid cell's width, so it has no width to break-word against and the
     email address kept its overflow even after that rule was added below.
     min-width:0 is the actual fix: a flex item's default min-width is auto
     (content-based), which is what let it refuse to shrink in the first
     place. This does not change the centred look at any width that already
     fits on one line. */
  min-width: 0;
}
.tpc-essentials__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--band-body-text);
  opacity: 0.72;
}
.tpc-essentials__val {
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--band-heading-text);
  /* 2026-09-30 - the email address is one unbroken string with no spaces to
     wrap on, so at the narrowest 2-column phone width (this grid drops to 2
     columns at <=1024px) it overflowed its column and forced a hairline
     horizontal scroll. break-word alone did not reach it: .tpc-essentials__item
     is align-items:center (a deliberate centred look), and a flex child on
     the non-stretched cross axis sizes to its own max-content width rather
     than the container's, so it never discovered it did not fit. max-width:
     100% resolves against the flex item's own containing block (the LI,
     correctly narrowed by min-width:0 below) regardless of that centring, so
     break-word finally has a constraint to wrap against. Only the email is
     long enough to ever trigger it; the phone number and "Mon-Fri" hours are
     untouched. */
  max-width: 100%;
  overflow-wrap: break-word;
}
.tpc-essentials__val a { color: inherit; text-decoration: none; }
.tpc-essentials__val a:hover,
.tpc-essentials__val a:focus-visible { color: var(--primitive-orange); }

@media (max-width: 1024px) {
  .tpc-essentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ─────────────────────────────────────────────────────────────────────
   WHERE TO FIND US - map, then details, then the CTA.
   FOUNDER 2026-09-29: map first, "position the phone, email and hours at the
   bottom then the cta at the bottom of that." So one column, stacked, and the
   coverage CTA that already followed this block lands underneath by itself -
   no markup move needed for it.

   The postal address is NOT lost by dropping the Office item - the footer
   carries it as its own crawlable block, so the page keeps a real NAP for
   local search. The iframe title repeats it for anyone on a screen reader,
   since an embedded map is opaque to assistive tech.

   The embed is the keyless `maps?q=...&output=embed` form, so nothing here
   depends on a Google Cloud project or a billable Maps JS key. It is still
   fully interactive (pan, zoom, Directions).
   ───────────────────────────────────────────────────────────────────── */
.tpc-find {
  margin-top: var(--primitive-space-7);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--primitive-space-7);
}

.tpc-find__map {
  position: relative;
  /* 2026-09-30 - width:100% added for the responsive pass. Without a definite
     width, a box with both aspect-ratio and a min-height taller than the
     ratio would give (true below ~453px, where 4/3 of the actual column
     width is under 340px) resolves its width FROM the min-height instead of
     from the grid column: measured at 453px wide inside a 327px-wide .tpc-find
     column at a 390px viewport, 126px past the wrapper and forcing the whole
     page to scroll horizontally. Stating the width makes it the definite
     dimension, so aspect-ratio derives height from width (which min-height
     can still floor) instead of the other way around - the one thing the
     task brief flagged to double check on this page. */
  width: 100%;
  /* 3/1 now that the map spans the full container rather than sharing the row.
     At 1313px wide, 2/1 would stand 656px tall and add ~200px to a section
     that is already the longest on the page; 3/1 reads as a location strip and
     still gives enough map to pan around in. The min-height stops it
     collapsing to a letterbox on narrow desktop widths. */
  aspect-ratio: 3 / 1;
  min-height: 340px;
  border-radius: 16px;
  /* The iframe paints its own square corners over the wrapper's radius on
     every engine, so the clip has to live here and the iframe has to be
     a positioned child of it rather than an in-flow one. */
  overflow: hidden;
}
.tpc-find__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Three items, not the base component's four: the Office row is now the map. */
.tpc-find .tpc-essentials {
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .tpc-find__map { aspect-ratio: 4 / 3; }
  .tpc-find .tpc-essentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ─────────────────────────────────────────────────────────────────────
   THEA-800 MOBILE PARITY PASS, 2026-10-22 - THE FIND-US STACK, REDESIGNED
   FOR PHONE, NOT JUST REFLOWED. Two problems the 1024px tablet answer above
   does not solve at 390px:

   1. THREE ITEMS IN A 2-COLUMN GRID LEAVES AN ORPHAN. Phone / Email sit in
      row one, Hours sits alone in row two, off-centre under Phone - the
      grid has no third cell to balance it. A single column removes the
      orphan and reads as a clean, scannable list instead of a half-full
      grid, which is the point of "redesign, don't reflow": the tablet
      answer (shrink 3 columns to 2) does not survive one more step down.
   2. THE MAP'S 4/3 RATIO IS A TABLET COMPROMISE, NOT A PHONE ONE. At 390px
      wide, 4/3 gives a 292px-tall map - workable, but a "find us" page's
      whole job is orientation, and a squarer well shows more of the
      surrounding streets for the same width. 1/1 is the deliberate phone
      answer: taller than 4/3 without needing the 3/1 desktop logic (a
      location strip you pan) or ballooning past what a phone screen can
      spare above the fold.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-find__map { aspect-ratio: 1 / 1; min-height: 280px; }
  .tpc-find .tpc-essentials {
    grid-template-columns: 1fr;
    gap: var(--primitive-space-4);
  }
  .tpc-find .tpc-essentials__item { flex-direction: row; justify-content: space-between; text-align: left; }
  .tpc-find .tpc-essentials__label { flex: 0 0 auto; }
  .tpc-find .tpc-essentials__val { text-align: right; }
}

/* The coverage link is a real CTA, not body copy, so it takes the filled
   .btn--primary. HARD RULE, founder 2026-08-14: every CTA is FILLED, never a
   stroke around a transparent box. The paragraph keeps its centring and top
   margin; the button sizes itself. */
.tpc-essentials__coverage {
  text-align: center;
  margin: var(--primitive-space-7) 0 0;
}

/* 2026-09-30 - responsive pass. The base .btn is white-space:nowrap
   (components.css), which is fine for every other CTA on this page but this
   one label ("See our full coverage across VIC, TAS & NSW") is long enough
   that its unbroken width pushes past a phone viewport and forces horizontal
   scroll on the whole page - confirmed via a real headless width probe
   (scrollWidth 543 against a 390 viewport, the widest element on the page).
   Scoped to this one CTA rather than the shared .btn class: letting it wrap
   to two lines at the phone gate is the narrowest fix that does not touch
   components.css or change the button anywhere else it is used. */
@media (max-width: 599px) {
  .tpc-essentials__coverage .btn--primary {
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }
}

/* FOUNDER 2026-09-29: "no arrow should be in it and the text needs to be
   white." White label rather than the token default, which is asphalt
   ("orange ground text is always asphalt, never white", design-tokens.css).
   This is the same band-scoped override homepage.css already carries at
   .tpc-why.band .tpc-why__actions .btn--primary, so the two dark-band CTAs on
   the site match rather than being two near-misses. Scoped to this band, so
   the token default still governs orange CTAs on light grounds. */
.band-asphalt .tpc-essentials__coverage .btn--primary {
  color: var(--primitive-white);
}

/* Stats row reuses .tpc-proof__grid / __item / __stat / __star / __label BY
   REFERENCE (homepage.css, unscoped base rules). That base component
   defaults to asphalt-stat-on-white (a light-ground assumption baked into
   the unscoped rule), so it needs the same band-aware override the strip
   variant above already carries for its own dark red band. Scoped to
   band-asphalt, not to the component, so the trust strip and any future
   light-ground use of .tpc-proof__grid are untouched. */
.band-asphalt .tpc-proof__stat,
.band-asphalt .tpc-proof__star { color: var(--band-heading-text); }
.band-asphalt .tpc-proof__label { color: var(--band-body-text); }

/* ─────────────────────────────────────────────────────────────────────
   NOTE - byte-identical from services.css / case-studies.css. Centred,
   62ch measure, normal body copy (not italic/muted).
   ───────────────────────────────────────────────────────────────────── */
.tpc-note {
  margin: var(--primitive-space-7) auto 0;
  max-width: 62ch;
  text-align: center;
  font-size: 18px;
  color: var(--band-body-text);
}

/* 2026-09-30 - responsive pass. Same white-space:nowrap trap as the coverage
   CTA above, on a different component: the base .btn is nowrap, and the
   longest of the six routing-tile labels ("Start a new plan request", 331px)
   does not fit inside the tile once the grid collapses to one column below
   homepage.css's 700px showcase breakpoint and the column itself narrows
   past roughly 400px - confirmed by probe, only at the 390px phone width in
   the standard viewport set, where the tile measured 373px against a 327px
   column. Scoped to this component only; team.html and areas-we-service.html
   do not use .tpc-showcase__cta. */
@media (max-width: 599px) {
  .tpc-showcase__cta { white-space: normal; }
}

/* ─────────────────────────────────────────────────────────────────────
   TILE MEDIA PLACEHOLDER FILL - .tpc-showcase__media is display:grid;
   place-content:center in homepage.css, sized for a video/img that gets an
   explicit width/height:100% rule. A .render-placeholder div needs the
   same treatment or it shrinks to its own content instead of filling the
   16:9 well - same pattern about.css uses for its own placeholder slots.
   ───────────────────────────────────────────────────────────────────── */
.tpc-showcase__media { position: relative; }

/* No object-position tuning: the source is 1672x941 (1.777) in a 16/9 well
   (1.778), so `cover` shows the whole frame with nothing cropped away. The
   modifier class is declared anyway to match the services.css convention, so
   a later reframe has somewhere to live. */
.tpc-tile-img--callback { object-position: 50% 50%; }
.tpc-tile-img--not-sure { object-position: 50% 50%; }   /* also 1672x941, shows whole */
.tpc-tile-img--urgent   { object-position: 50% 50%; }   /* also 1672x941, shows whole */
.tpc-showcase__media .render-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
}

/* ─────────────────────────────────────────────────────────────────────
   BAND SEAM - asphalt (essentials) into white (routes). Ported from
   services.css v1.59's own asphalt->white seam, generic on the band
   classes rather than a page-specific class name (this page has only the
   one seam, matching services.css's own approach). ONE change over the
   v1.59 source: top: -1px with the pixel taken back in the height -
   PROJECT-DECISIONS.md VERIFIED FINDING, 2026-09-29 (About / Case Studies):
   two adjacent full-bleed sections landing on a fractional device pixel
   antialias both edges and leak the white body background through as a
   pale hairline across the join. A seam starting AT the boundary cannot
   cover a gap IN it, so it overlaps by a pixel and gains the pixel back in
   height.
   ───────────────────────────────────────────────────────────────────── */
.tpc-sec.band-white { position: relative; }
.tpc-sec.band-white {
  padding-top: calc(clamp(140px, 22vh, 240px) + clamp(48px, 7vh, 96px));
}
.tpc-sec.band-white::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -1px;
  z-index: 0;
  pointer-events: none;
  height: calc(clamp(140px, 22vh, 240px) + 1px);
  /* Painted in the PREVIOUS band's colour (asphalt), fading to transparent
     going down to reveal the real white beneath - getting this backwards
     (painting white) is a silent no-op, since it would sit on a background
     already that same colour. */
  background: var(--primitive-asphalt);
  --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));
}
/* the section's own content must sit ABOVE the seam, not under it */
.tpc-sec.band-white > .band__inner { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────────────────────────────
   WIDOWS & ORPHANS - 2026-09-30 responsive pass. This page had no text-wrap
   sweep at all (team.css / areas-we-service.css both carry one). Found by
   screenshot at the 768px tablet width: the H1 "Say hello, a real planner
   will pick up" broke with "up" alone on its own second line. Same fix as
   team.css and the same reasoning: balance on headings/short labels first,
   pretty on body copy, because both hold at every column width a hardcoded
   break would not.
   GATED to max-width:1024px, unlike team.css's unscoped sweep: checked this
   page's headings against their un-balanced line breaks at every desktop
   width and they already matched, but case-studies.css and
   areas-we-service.css's own headings did NOT (balance moved an
   already-approved desktop break), so the same rule is scoped here too
   rather than relying on a per-heading check holding forever as copy
   changes. The desktop design is frozen; this sweep is a tablet/phone fix
   only.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tpc-contact-main h1,
  .tpc-contact-main h2,
  .tpc-contact-main h3,
  .tpc-contact-main .tpc-hub__sub,
  .tpc-contact-main .tpc-essentials__label,
  .tpc-contact-main .tpc-showcase__title { text-wrap: balance; }

  .tpc-contact-main p,
  .tpc-contact-main .tpc-section-intro,
  .tpc-contact-main .tpc-showcase__desc,
  .tpc-contact-main .tpc-close__lead,
  .tpc-contact-main .tpc-note { text-wrap: pretty; }
}

/* ─────────────────────────────────────────────────────────────────────
   CLOSE BAND - --split layout, byte-identical from services.css v1.59 /
   case-studies.css (the home page's .tpc-close band with the
   copy-beside-heading head).
   ───────────────────────────────────────────────────────────────────── */
.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;
  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; }

@media (max-width: 900px) {
  .tpc-close--split .tpc-close__head--split {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
}

.tpc-close--split .tpc-close__lead { color: var(--primitive-white); }

/* ─────────────────────────────────────────────────────────────────────
   THEA-800 MOBILE PARITY PASS, 2026-10-21 - THE CLOSE-BAND PLANNER, BACK
   ON MOBILE. homepage.css hides .tpc-close__figure below 900px (her
   desktop anchor assumes a desktop container width and swings wildly
   negative at phone width), and nothing on this page ever restored her,
   so "Prefer to talk it through?" shipped with no planner on every phone
   visit - the founder's ruling treats a character that vanishes below a
   breakpoint as a defect, not a simplification. Byte-identical to the fix
   services.css already shipped for its own .tpc-close--split (R2), ported
   verbatim rather than invented twice - including the <=699px gate
   services.css uses rather than the figure's own <=900px hide point, so
   the 700-900px tablet band this task does not own is left exactly as it
   was (THEA-801 territory).
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .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;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   THEA-800 MOBILE PARITY PASS, 2026-10-21. Desktop frozen: the rule below
   is new and lives inside min-width:700px (it switches the dots OFF above
   phone width), per the founder's ruling that nothing already approved
   may change.
   ══════════════════════════════════════════════════════════════════════ */

/* THE SIX ROUTING CARDS ALREADY BECOME A SWIPE CAROUSEL FOR FREE.
   homepage.css's own <=699px rule (v10.62, "MOBILE CARD ROWS = SWIPE
   CAROUSELS") turns every .tpc-showcase grid on the site into a one-card-
   at-a-time horizontal scroll-snap row below 700px, including this page's
   six routing cards, because that file is linked directly rather than
   copied - no media query of this page's own was needed for the carousel
   mechanic itself, and unlike areas-we-service.css these cards carry no
   bespoke subgrid height-equalisation to fight, so there is no dead-space
   defect to fix here either (verified via tpc-mobile-scroll-check.mjs at
   390px). See contact.html's closing script for the swipe-dots addition
   this carousel does need (homepage.html's own dot builder is scoped to
   that page's three rows and does not reach this one automatically). */
@media (min-width: 700px) { .tpc-mcar-dots { display: none; } }


/* ─────────────────────────────────────────────────────────────────────
   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; }
}

/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-10-22: short CTA label on mobile, wording "See our coverage".

   MEASURED why it had to be a copy change rather than a sizing one: the full
   label is 43 characters and needs 472px at 15px, 402px at 13px, 340px at
   11px and 310px at 10px, inside a 291px box. Only 9px fits, which is
   unreadable - so no amount of padding or type scaling satisfies the
   "no CTA on two rows" rule here. Shortening the visible label is the only
   honest fix.

   Same mechanism as the dock tabs: the full wording stays in the DOM inside
   .btn__full so screen readers and desktop are unchanged, and the short
   label paints from data-short below 699px.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-essentials__coverage .btn[data-short] .btn__full { display: none; }
  .tpc-essentials__coverage .btn[data-short]::before { content: attr(data-short); }
}

/* THEA-880's footer-credit-clips-under-dock fix (derivation in about.css)
   was scoped here via `body.contact-page` because homepage.css was out of
   scope that round. THEA-803 centralised the same 72px floor into
   homepage.css's `.site-footer.band-asphalt` directly, which now covers
   all 38 pages including this one, so this page-local copy is removed. */
