/**
 * The Traffic Plans Company - Team (/team/)
 * Ported verbatim from 03-Rollout-3/hifi/team.css (THEA-903, 2026-11-12).
 *
 * THEA-903 FINDING: the previous team.css in this theme was an invented
 * stylesheet (.tpc-service-page / .tpc-stats / .tpc-member grid) sharing
 * almost no vocabulary with the approved hi-fi. team.php is rebuilt against
 * 03-Rollout-3/hifi/team.html's real .tpc-shero--split / .tpc-showcase--team
 * roster grid, 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, same one about.css/contact.css flag: .tpc-section-head
 * / --center / .tpc-section-intro / .tpc-visually-hidden have no UNSCOPED
 * base rule anywhere in that shared foundation - a `.tpc-team-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-team-main .tpc-section-head {
  max-width: 68ch;
  margin-bottom: var(--primitive-space-8);
}
.tpc-team-main .tpc-section-head--center { margin-inline: auto; text-align: center; }
.tpc-team-main .tpc-section-intro {
  font-size: 18px;
  color: var(--band-body-text);
  margin: 0;
}
.tpc-team-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;
}

/* ─────────────────────────────────────────────────────────────────────
   1. SHERO - split variant, internal-page tier. Copied from services.css
   v1.57 (.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 a cut-out would simply overflow the hero and paint over the
   trust strip below instead of being cropped at the band boundary -
   PROJECT-DECISIONS.md VERIFIED FINDING, 2026-09-29. Put in whether or not a
   hero cut-out exists yet: this page's hero is still a render-placeholder,
   and the rule costs nothing to have in place before the render lands. */
.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 /
   Contact / Areas We Service whatever eventually fills it. Holds a
   render-placeholder for now - see the CONCEPT note below. */
.tpc-shero__media {
  position: relative;
  aspect-ratio: 1531 / 1027;
}
.tpc-shero__media .render-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* v12.47 - THE HERO IMAGE RULE, which this page never had. The slot held a
   render-placeholder div that filled it by `inset: 0`, so nothing ever sized an
   <img>: dropped straight in, the crew rendered at its natural 1448x1094 and
   pushed the band from 42vh to 1189px.

   It takes the OBJECT-CLUSTER treatment, not the figure crop the sibling pages
   use. Their rule scales the subject to 150% and pins one head, which works for
   a single standing planner. This is seven people filling the canvas edge to
   edge - x5 to x1440 of 1448, so there is no transparent margin to absorb an
   overflow - and at 150% it would run roughly 97px past each side of the well
   and over the copy column. `contain` keeps the whole crew inside the slot and
   the group is large enough at 100% that it needs no crop to have presence. */
.tpc-shero__media img {
  /* THE CREW IS CUT OFF AT THE CHEST IN THE ARTWORK, so at height:100% that cut
     landed mid-band as a straight horizontal line with orange underneath, which
     reads as a mistake. 115% pushes the cut past the band's own bottom edge
     (well top 47 to band bottom 478 is 431px; the image is 383 at 100%, so it
     needs 1.125 to reach it) and `overflow: clip` on the band does the cutting
     instead - the same thing every other hero on the site relies on.
     Growing from top:0 keeps the heads where they are: the topmost subject row
     is 2.7624% of the canvas by alpha scan, which at this scale puts them 12px
     below the well top, against 11px on the sibling pages. */
  --crew-scale: 1.15;
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: calc(var(--crew-scale) * 100%);
  width: auto;
  max-width: none;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .tpc-shero__media { aspect-ratio: auto; min-height: 260px; }
  /* Below 1024 the media stacks ABOVE the copy, where an absolutely positioned
     overflowing crop would run straight into it. Same escape hatch
     request-forms.css uses: back in flow, full width, natural height. */
  .tpc-shero__media img {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    max-width: 100%;
    /* On desktop the band's own clip cuts the crew off at the chest. In flow
       there is nothing to clip against, so the artwork's hard chest edge sits
       on bare orange. Faded out instead, using the same mask treatment and the
       same -webkit- prefix homepage.css already carries for its hero figure
       (Safari still needs the prefix for mask-image). */
    -webkit-mask-image: linear-gradient(180deg, #000 78%, rgba(0,0,0,0.45) 90%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 78%, rgba(0,0,0,0.45) 90%, transparent 100%);
  }
}
@media (max-width: 1024px) {
  .tpc-shero--split .band__inner { grid-template-columns: 1fr; gap: var(--primitive-space-6); }
  .tpc-shero__media { order: -1; }
}

/* CONCEPT + READY-TO-RUN PROMPT for the hero render (NO ASSET GENERATED -
   hard rule. The founder generates, at a time of their own choosing):
   "Disney/Pixar-style 3D render, cinematic lighting. The full nine-person
   TPC crew standing in a relaxed, confident group line-up, angled 3/4 to
   camera, on a stretch of asphalt road at golden hour. Every figure wears
   the TPC wardrobe kit: navy shirt and cargo pants, hi-vis yellow vest with
   silver reflective bands and orange trim, white helmet, clear safety
   glasses, white gloves, tan boots, TPC logo on the helmet front and vest
   chest. Warm, approachable expressions, a couple of figures mid-laugh. One
   figure holds a rolled Traffic Management Plan document. Background fades
   into a soft cone-orange to asphalt gradient so the group cuts out cleanly
   against the hero's own ramp. No stock photography, no photoreal people,
   vehicles absent from this shot." Composition: full-body group, left-to-
   right, enough headroom above the tallest helmet for the top-pin crop
   method every other internal-page hero cut-out uses. */

/* ─────────────────────────────────────────────────────────────────────
   2. SECTION HEADING STACK TRAPS - both copied from services.css v1.57.
   .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 "one team"
   section sits on an asphalt band, so it needs the same band-aware
   override contact.css/areas-we-service.css already carry for their own
   asphalt sections - PROJECT-DECISIONS.md VERIFIED FINDING, THEA-751,
   2026-09-29: this override is not automatic and has to be added per page.
   ───────────────────────────────────────────────────────────────────── */
.tpc-headstack .tpc-eyebrow--solo { text-transform: none; }
.band-asphalt .tpc-hub__sub { color: var(--band-heading-text); }

/* ─────────────────────────────────────────────────────────────────────
   3. TRUST STRIP - byte-identical from services.css v1.57 / about.css /
   case-studies.css / contact.css / areas-we-service.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; }

/* ─────────────────────────────────────────────────────────────────────
   4. ONE-TEAM STAT ROW - the lo-fi's own .tpc-stats content (100+ years /
   5.0 rating / 2014 founded), re-ranked into the "one team" section rather
   than dropped. Reuses .tpc-proof__grid / __item / __stat / __star /
   __label BY REFERENCE (homepage.css, unscoped base rules) - same
   precedent as Contact's "Where to find us" stats row and Areas We
   Service's trust-strip reuse. 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 those two pages already
   carry for their own asphalt bands. Scoped to band-asphalt, not to the
   component, so the trust strip above (already dark-ground, already
   correct) 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); }

/* v1.1 - .tpc-proof__grid--team removed with the markup it styled (founder
   2026-09-30, the three-stat row repeated the trust strip's own numbers).
   The .band-asphalt overrides above are KEPT deliberately: they are not dead,
   they colour any .tpc-proof component reused on an asphalt band, which is
   what contact.css and areas-we-service.css also rely on. */

/* ─────────────────────────────────────────────────────────────────────
   5. THE ROSTER - nine crew cards. Reuses .tpc-showcase / __slot / __tile /
   __media / __copy BY REFERENCE (homepage.css's own white-card tile
   component: 1px border, 3px orange top rule, --card-radius, same shadow).
   The base component is a hardcoded repeat(3, 1fr), which is already what
   a 3x3 roster needs, so the modifier below exists only to scope the
   row-alignment and portrait-well overrides.

   GRID DECISION, for the founder: 3x3, 4:5 PORTRAIT wells (not square, not
   16:9). The brand's 3D crew wears a full wardrobe kit including a white
   helmet and a hi-vis vest with chest branding, and a square or 16:9 crop
   cuts that kit at the shoulders or the waist. 4:5 keeps helmet-to-mid-chest
   in frame while still reading as a portrait grid rather than a full-body
   line-up (the hero above is where the full-body group shot belongs).
   ───────────────────────────────────────────────────────────────────── */
.tpc-showcase--team { margin-top: var(--primitive-space-8); }

.tpc-showcase--team .tpc-showcase__media {
  order: 0;
  position: relative;
  aspect-ratio: 4 / 5;
}
.tpc-showcase--team .tpc-showcase__media .render-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--card-radius);
}

/* ─────────────────────────────────────────────────────────────────────
   3b. THE SUPPLIED CREW PORTRAITS - v1.12.
   The founder supplied seven of the nine as finished cartoon portraits
   (iCloud, "Staff Images/After"), chest-up on a white studio sweep at
   1122x1402, so each one already arrives at the 4:5 the well was built
   for. Copied into 00-Rollout-0/assets/imagery as team-portrait-<name>
   at 840x1050 - 2x the 418.7px the three-column grid gives each tile at
   the 1312px container (gap: clamp(16px, 1.9vw, 28px)) - per the sitewide
   image-optimisation rule, with a WebP ahead of the PNG the way every
   other imagery pair on the site is served.

   The portraits carry their own white studio sweep and the roster sits on
   band-white, so with nothing around them they read as floating heads
   rather than portraits in frames. The well keeps the placeholder's
   rounded corner and gains a 1px rgba(34, 34, 34, 0.10) hairline - the
   same tint .tpc-member__tag already uses for its border-top - which is
   enough to give the sweep an edge to finish against without turning the
   card into a boxed-in photo frame.

   Breanna (Office Administrator) and Natalie (Marketing Manager) have no
   supplied portrait, so their two cards keep the placeholder. Both wells
   are the same 4:5, so dropping their renders in later is the same
   one-line swap this change made.
   ───────────────────────────────────────────────────────────────────── */
.tpc-showcase--team .tpc-showcase__media {
  background: var(--primitive-white);
  border: 1px solid rgba(34, 34, 34, 0.10);
  border-radius: var(--card-radius);
  overflow: hidden;
}
/* The <picture> is absolutely positioned for the same reason the
   placeholder is: the well's height comes from aspect-ratio, and a
   <picture> is display: inline by default, so an in-flow image inside it
   cannot resolve height: 100% against it. */
.tpc-showcase--team .tpc-showcase__media picture {
  position: absolute;
  inset: 0;
  display: block;
}
.tpc-member__portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* The two wells still waiting on a render, LIGHTENED. The sitewide
   .render-placeholder is a dark asphalt gradient, which was right when all
   nine cards carried one and read as a uniform grid. With seven finished
   portraits around them, two charcoal blocks stop reading as "render
   pending" and start reading as two broken cards. Scoped to the roster
   only - every other placeholder on the site is still in a grid of its
   own kind and keeps the dark treatment.

   --band-muted is the project's 5.35:1-on-white body tint (the 0.7 variant
   was measured at 4.29:1 and fails AA), so the label stays legible at the
   12px/10.5px the placeholder sets. */
.tpc-showcase--team .render-placeholder {
  background: var(--primitive-panel-grey);
  color: var(--band-muted);
}
.tpc-showcase--team .render-placeholder__ref { color: var(--band-muted); }

/* ─────────────────────────────────────────────────────────────────────
   ROW ALIGNMENT ACROSS SIBLING CARDS - SUBGRID, not min-height.
   PROJECT-DECISIONS.md VERIFIED FINDING, THEA-751, 2026-09-29: nine names
   and roles of different lengths (compare "Sunny" against "Operations &
   Plans Manager") will misalign the same way the three Areas We Service
   state cards did if left to align-items: stretch, which only equalises
   TILE height, not the height of each row inside it.

   Five rows per card (portrait, name, role, tag, bio line), declared once
   per VISUAL ROW OF THREE TILES - repeat(3, ...) rather than a single
   five-row template, because each of the three roster rows should align
   internally (Oggy/Hakan/Sunny's rows against each other) without being
   forced to match Amir/Antoine/Abi's row two below it, which has no reason
   to share a height with row one. Default CSS Grid sparse auto-placement
   already lands each group of three tiles into its own five-track block in
   DOM order, so no explicit grid-row start position is needed - only the
   span.

   .tpc-showcase__copy takes display: contents so its four children (name,
   role, tag, line) become real subgrid items rather than being trapped in
   an intermediate box that would collapse them back into one row. Rows are
   assigned an EXPLICIT grid-row rather than left to the base component's
   flex `order`: display: contents promotes children to grid items at
   order: 0, which would otherwise sort them ABOVE the media's order: 1 and
   drop every portrait to the bottom of its card - the same trap the Areas
   We Service build hit and the reason this project has a standing FINDING
   about it.
   ───────────────────────────────────────────────────────────────────── */
.tpc-showcase--team {
  grid-template-rows: repeat(3, auto auto auto auto auto);  /* 3 roster rows x (media, name, role, tag, line) */
}
.tpc-showcase--team .tpc-showcase__slot {
  grid-row: span 5;
  display: grid;
  grid-template-rows: subgrid;
}
.tpc-showcase--team .tpc-showcase__tile {
  grid-row: span 5;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 0;
}
.tpc-showcase--team .tpc-showcase__copy { display: contents; }

.tpc-showcase--team .tpc-showcase__media  { grid-row: 1; margin-bottom: clamp(16px, 1.4vw, 24px); }
.tpc-member__name  { grid-row: 2; }
.tpc-member__role  { grid-row: 3; }
.tpc-member__tag   { grid-row: 4; }
.tpc-member__line  { grid-row: 5; }

.tpc-member__name {
  margin: 0 0 2px;
  font-size: 21px;
  font-weight: 800;
  color: var(--primitive-asphalt);
}
.tpc-member__role {
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primitive-ink);
}
.tpc-member__tag {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primitive-orange);
  padding-top: 12px;
  border-top: 1px solid rgba(34, 34, 34, 0.10);
}
.tpc-member__line {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--primitive-ink);
  align-self: start;
}

@media (max-width: 1024px) {
  /* Falls back to the base component's own 1024px collapse
     (grid-template-columns: 1fr), which orphans the subgrid's column-3
     tracks - acceptable here per the standing "responsive is deferred to
     the end of the project, desktop only" rule. */
  .tpc-showcase--team { grid-template-rows: none; }
  .tpc-showcase--team .tpc-showcase__slot,
  .tpc-showcase--team .tpc-showcase__tile { grid-row: auto; display: flex; flex-direction: column; }
  .tpc-showcase--team .tpc-showcase__copy { display: flex; flex-direction: column; }
}

/* SUPERSEDED FOR SEVEN OF THE NINE, v1.12 - the founder supplied finished
   portraits for Oggy, Hakan, Sunny, Amir, Antoine, Abi and Shayna, and
   they are in place (see 3b above). What follows is kept for Breanna and
   Natalie, whose wells still hold a placeholder, and as the record of the
   brief these were made against. NOTE that the supplied set is a white
   studio sweep and a navy polo, NOT the hi-vis-and-helmet wardrobe this
   template describes, so a later pair generated from the template as
   written would not match the seven already on the page.

   CONCEPT + READY-TO-RUN PROMPT TEMPLATE for the nine crew portraits (NO
   ASSET GENERATED - hard rule. The founder generates, at a time of their
   own choosing. Each card's render-placeholder__ref names which member and
   role the slot is for; the template below fills in per person):
   "Disney/Pixar-style 3D character render, cinematic three-quarter portrait,
   chest-up, [NAME], a [ROLE] at a traffic management company. Confident,
   warm, approachable expression suited to the nickname '[NICKNAME]'. TPC
   wardrobe kit: navy shirt, hi-vis yellow vest with silver reflective bands
   and orange trim, white helmet with the TPC logo on the front, clear
   safety glasses. Soft studio-style lighting, background a simple blurred
   gradient from cone-orange to asphalt, matching the site's hero ramp. No
   stock photography, no photoreal people." Reference material for likeness
   only (not for direct use as a web asset): theme-source/assets/portraits/
   holds real photos for eight of the nine (Oggy, Hakan, Sunny, Amir, Abi,
   Shayna, Breanna, Natalie) - Antoine has no reference photo on file yet,
   flagged in the hand-back.

   Swapping a supplied render in is a one-line markup change per card: drop
   the .render-placeholder div and put an <img> (or <picture>/WebP pair,
   optimised to 2x display size per the sitewide image-optimisation
   standing rule) directly inside .tpc-showcase__media, sized 4:5.
   ───────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────
   NOTE - byte-identical from services.css / case-studies.css / contact.css
   / areas-we-service.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);
}

/* ─────────────────────────────────────────────────────────────────────
   6. BAND SEAM - asphalt (one team) into white (the roster). Ported from
   services.css v1.57'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.57 source: top: -1px with the pixel taken back in the height -
   PROJECT-DECISIONS.md VERIFIED FINDING, 2026-09-29 (About / Case Studies /
   Contact / Areas We Service): two adjacent full-bleed sections landing on
   a fractional device pixel 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; }

/* ─────────────────────────────────────────────────────────────────────
   7. CLOSE BAND - --split layout, byte-identical from services.css v1.57 /
   case-studies.css / contact.css / areas-we-service.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); }

/* ─────────────────────────────────────────────────────────────────────
   WIDOWS & ORPHANS - founder 2026-09-30, "check for widows and orphans
   across the entire page". A rendered-line audit found 14 blocks ending on
   a single word: the h1, the section lead, eight crew bios, two role
   labels, the close title and the close lead.

   Fixed with the CSS built for this rather than 14 hand-placed &nbsp; or
   explicit block spans. The reason is the responsive pass that is still to
   come: a hardcoded break is correct at exactly one column width and wrong
   at every other one, and this page's crew cards are a 3-up grid that will
   reflow to 2-up and 1-up. text-wrap does the same job at every width.

   balance on headings: evens the lines of short display text, which also
   removes the single-word last line. Chrome caps it at a handful of lines,
   which is all a heading ever has.
   pretty on body copy: specifically forbids the last line being one word,
   and unlike balance it stays cheap on long paragraphs.
   Both are ignored by browsers that do not support them, and the text still
   wraps normally there, so this degrades to today's behaviour rather than
   breaking. ───────────────────────────────────────────────────────────── */
.tpc-team-main h1,
.tpc-team-main h2,
.tpc-team-main h3,
.tpc-team-main h4,
.tpc-team-main .tpc-hub__sub,
.tpc-team-main .tpc-member__role,
.tpc-team-main .tpc-member__tag,
.tpc-team-main .tpc-proof__label { text-wrap: balance; }

.tpc-team-main p,
.tpc-team-main .tpc-member__line,
.tpc-team-main .tpc-section-intro,
.tpc-team-main .tpc-close__lead { text-wrap: pretty; }

/* ══════════════════════════════════════════════════════════════════════
   THEA-800 MOBILE PARITY PASS, 2026-10-21. Desktop frozen: every rule below
   is new and lives inside max-width:699px or min-width:700px, per the
   founder's ruling that nothing already approved may change.

   UPDATE mid-pass: this was first written assuming homepage.css's own
   <=699px "mobile card rows = swipe carousel" rule (v10.62) reached this
   page's .tpc-showcase--team for free, the same way it reaches a bare
   .tpc-showcase. It did, briefly - but that rule targeted the UNSCOPED
   .tpc-showcase selector, which also caught every page's MODIFIER variant
   (--coverage, --team, --specialist) and fought each one's own bespoke
   column-count override at the same breakpoint, a defect the R5 agent
   found on 404.html and the homepage.css owner fixed sitewide (v10.64):
   the carousel rule is now scoped to
   `.tpc-showcase:not([class*="tpc-showcase--"])`, so modifier variants
   (this one included) no longer get it automatically. Nine full-width
   cards stacked vertically is real scroll-length regression territory on
   a phone - the roster would run to several screens of straight scroll
   before anyone reaches card nine, which is exactly the kind of "same
   content, worse journey" the founder's ruling calls a defect, not a
   simplification - so the carousel is now built explicitly here instead,
   scoped to .tpc-showcase--team only, matching the exact mechanics
   homepage.css's own rule uses (grid-auto-flow:column, 84% card width,
   native scroll-snap, bleeding to the screen edge through the band's own
   24px gutter) so it reads as the same site-wide pattern rather than a
   lookalike. */
@media (max-width: 699px) {
  .tpc-showcase--team {
    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: var(--primitive-space-5);
    scrollbar-width: none;
    margin-inline: calc(var(--primitive-space-5) * -1);
    padding: 8px var(--primitive-space-5) 16px;
  }
  .tpc-showcase--team::-webkit-scrollbar { display: none; }
  .tpc-showcase--team > * { scroll-snap-align: center; min-width: 0; }
  /* The subgrid reset a little above this block (the existing <=1024px
     fallback) already turns each .tpc-showcase__slot/.tile into its own
     flex column at this width, which is exactly what a carousel card
     needs - no further override required here. */
}
@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; }
}

/* THEA-880's footer-credit-clips-under-dock fix (derivation in about.css)
   was scoped here via `body.team-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. */


/* 26 Nov - SEVEN ON THE ROSTER (Breanna and Natalie removed, TPC call
   23 Nov). Three-up left a lone card on row three, so desktop runs four
   then three, the three centred. An 8-track grid with every card spanning
   two tracks keeps the subgrid row alignment above; the fifth card starts on
   track 2, which centres the second row (6 & 7 follow it). */
@media (min-width: 1025px) {
  .tpc-showcase--team {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto auto auto auto auto);
  }
  .tpc-showcase--team .tpc-showcase__slot { grid-column: span 2; }
  .tpc-showcase--team .tpc-showcase__slot:nth-child(5) { grid-column: 2 / span 2; }
}
