/**
 * The Traffic Plans Company - Component Library (ported THEA-900)
 * Verbatim port of 00-Rollout-0/hifi/components.css, SECTIONS 1 (HEADER) and
 * 2 (FOOTER) deliberately excised: those are the R0 foundational drafts,
 * superseded by the real site furniture that actually shipped on the R1 home
 * page (site-header / tpc-menu / tpc-dock / site-footer), which is ported
 * byte-for-byte from 01-Rollout-1/hifi/homepage.css into chrome.css instead.
 * Do not re-add a .site-header or .site-footer rule here - see chrome.css.
 */

/**
 * The Traffic Plans Company - Component Library
 * Rollout 0 - Foundations / R0.2 + R0.2 correction pass (THEA-753)
 *
 * 11 components + the four-colourway band system:
 * header, secondary hero, footer, service card, testimonial, team card,
 * band CTA, accordion, form, article card, breadcrumb.
 *
 * Every component resolves heading/body colour from the band custom
 * properties defined in design-tokens.css (--band-heading-text,
 * --band-body-text, --band-h2-text). Never hardcode a colour here that
 * duplicates what a band already resolves. Card surfaces (service card,
 * testimonial, team card) are the one deliberate exception - a white
 * card sitting on a coloured band always uses the primitive ink/asphalt
 * tokens for its own text, never the surrounding band's tokens, because
 * the card's own background is white regardless of the section band.
 */

/* ─────────────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--primitive-space-2);
  min-height: var(--btn-min-height);
  min-width: 44px;
  padding: 12px var(--primitive-space-6);
  border: 2px solid transparent;
  border-radius: var(--btn-radius);
  font-family: var(--primitive-font-family);
  font-weight: 700;
  font-size: var(--primitive-size-button);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--primitive-duration-fast) var(--primitive-easing-out),
              border-color var(--primitive-duration-fast) var(--primitive-easing-out),
              color var(--primitive-duration-fast) var(--primitive-easing-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}
.btn--primary:hover   { background: #e08916; }
.btn--primary:active  { background: #cf7c11; }
.btn--primary:disabled,
.btn--primary[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; background: var(--btn-primary-bg); }

.btn--secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
}
.btn--secondary:hover  { background: #333333; }
.btn--secondary:active { background: #111111; }
.btn--secondary:disabled,
.btn--secondary[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

/* ════════════════════════════════════════════════════════════════════
   HARD RULE - NO OUTLINED CTAs. Founder, 2026-08-14, on a screenshot of a
   bordered button: "make it a hard rule there is to be no cta's that look
   like this". Every call to action is FILLED. Weight varies by fill colour,
   never by a stroke around a transparent or white box.
   These three variants USED to be outlines and are kept only so existing
   markup keeps working: the class names still resolve, they just render
   filled now. Do not restore the transparent backgrounds. New work should
   reach for --primary, --secondary or --slate directly.
   ════════════════════════════════════════════════════════════════════ */
.btn--ghost-on-asphalt {
  background: var(--primitive-white);
  border-color: transparent;
  color: var(--primitive-asphalt);
}
.btn--ghost-on-asphalt:hover { background: #FFF1DF; }

.btn--ghost-on-orange {
  background: var(--primitive-white);
  border-color: transparent;
  color: var(--primitive-asphalt);
}
.btn--ghost-on-orange:hover { background: #FFF1DF; }

/* Was the outline on light grounds. Now the founder-specified #414142, which
   sits a step lighter than --secondary's #222222 so the two still read as two
   tiers. White on #414142 measures 10.20:1. */
.btn--outline,
.btn--slate {
  background: #414142;
  border-color: transparent;
  color: var(--primitive-white);
}
.btn--outline:hover,
.btn--slate:hover  { background: #4E4E50; }
.btn--outline:active,
.btn--slate:active { background: #343436; }

.btn--lg { min-height: 56px; padding-inline: var(--primitive-space-7); font-size: 17px; }

/* THEA-675 - sitewide defect (THEA-674 finding): the shared `.btn` rule's
   `white-space:nowrap` above is correct for compact inline buttons (header,
   band CTAs) but drags full-width `.btn--block` buttons to their unwrapped
   text width even when the button itself is 100% wide - on a single-column
   mobile layout, a long label ("I'm planning a larger project") forces the
   column's auto-sized track wider than the viewport, which is genuine
   horizontal page overflow, not a cosmetic wrap. `.btn--block` only ever
   appears in stacked, single-column contexts (mobile nav drawer, hero fork
   actions, CTA-band options) where wrapping the label is always safe, so the
   fix is unconditional here rather than re-deriving it per page. */
.btn--block {
  width: 100%;
  white-space: normal;
  text-align: center;
  height: auto;
}

/* ─────────────────────────────────────────────────────────────────────
   3. SERVICE CARD
   ───────────────────────────────────────────────────────────────────── */

.service-card {
  display: block;
  text-decoration: none;
  background: var(--primitive-white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--primitive-duration-fast) var(--primitive-easing-out),
              transform var(--primitive-duration-fast) var(--primitive-easing-out);
}
.service-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }
.service-card:focus-visible { box-shadow: var(--card-shadow-hover); }

.service-card__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primitive-asphalt), var(--primitive-asphalt-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  /* 0.5 measured 4.17:1 against the gradient's lighter stop - fails AA.
     0.78 clears 7:1+ across the full gradient range. */
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card__body { padding: var(--primitive-space-5); }
.service-card__title { font-size: 20px; font-weight: 700; color: var(--primitive-asphalt); margin-bottom: var(--primitive-space-2); }
.service-card__desc { font-size: 15px; line-height: 1.6; color: var(--primitive-ink); margin-bottom: var(--primitive-space-4); }
/* Card surface is always white regardless of the section band, so its text
   is always the asphalt/ink primitives, never a band token. Orange on white
   fails AA as fill text (2.31:1), so the accent is an underline, not the fill. */
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primitive-asphalt);
  text-decoration: underline;
  text-decoration-color: var(--primitive-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--primitive-space-5);
}
@media (max-width: 1024px) { .service-card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .service-card-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────────────────────────
   4. BAND CTA
   Built for the orange colourway per brief - asphalt text throughout,
   never white. Alternate asphalt-band variant shown for reuse.
   ───────────────────────────────────────────────────────────────────── */

.band-cta__content {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
/* Full opacity, not a faded tint of --band-heading-text: at 0.75 opacity
   this measured 6.89:1 on asphalt but only 4.25:1 on orange (fails AA) -
   alpha-blending against an unknown band background is fragile by
   construction. Letter-spacing carries the "eyebrow" distinction instead. */
.band-cta__eyebrow {
  display: inline-block;
  font-size: var(--primitive-size-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--band-heading-text);
  margin-bottom: var(--primitive-space-3);
}
.band-cta__heading { margin-bottom: var(--primitive-space-4); color: var(--band-heading-text); }
.band-cta__body { font-size: 18px; color: var(--band-body-text); margin-bottom: var(--primitive-space-6); }
.band-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--primitive-space-4);
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────────────
   5. ACCORDION
   ───────────────────────────────────────────────────────────────────── */

.accordion { border-top: 1px solid var(--band-hairline); }

.accordion-item { border-bottom: 1px solid var(--band-hairline); }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--primitive-space-4);
  background: none;
  border: none;
  text-align: left;
  padding: var(--primitive-space-5) var(--primitive-space-2);
  font-family: var(--primitive-font-family);
  font-weight: 700;
  font-size: 17px;
  color: var(--band-heading-text);
  cursor: pointer;
}
.accordion-trigger:hover { color: var(--primitive-orange); }

.accordion-trigger__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}
.accordion-trigger__icon::before,
.accordion-trigger__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.accordion-trigger__icon::before { width: 16px; height: 2px; }
.accordion-trigger__icon::after  { width: 2px; height: 16px; transition: transform var(--primitive-duration-fast) var(--primitive-easing-out); }
.accordion-item.is-open .accordion-trigger__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.accordion-panel {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--primitive-duration-mid) var(--primitive-easing-out);
}
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel__inner { min-height: 0; }
.accordion-panel p {
  padding: 0 var(--primitive-space-2) var(--primitive-space-5);
  font-size: 16px;
  line-height: 1.65;
  color: var(--band-body-text);
  max-width: 68ch;
}

/* ─────────────────────────────────────────────────────────────────────
   6. FORM
   ───────────────────────────────────────────────────────────────────── */

.form { max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--primitive-space-5); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: var(--primitive-space-5); }
.field__label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--band-heading-text);
  margin-bottom: var(--primitive-space-2);
}
.field__required { color: var(--error-colour); }

.field__input,
.field__textarea {
  width: 100%;
  font-family: var(--primitive-font-family);
  font-size: 16px;
  color: var(--primitive-asphalt);
  background: var(--primitive-white);
  border: 2px solid rgba(34,34,34,0.2);
  border-radius: var(--primitive-radius-md);
  padding: 12px var(--primitive-space-4);
  min-height: 48px;
  transition: border-color var(--primitive-duration-fast) var(--primitive-easing-out);
}
.field__textarea { min-height: 128px; resize: vertical; }
.field__input:hover,
.field__textarea:hover { border-color: rgba(34,34,34,0.4); }
/* Orange border here would repeat the same 2.31:1 non-text-contrast failure
   as the old global focus ring - asphalt clears 3:1 and the outline is kept,
   not suppressed, per the "never outline:none" rule above. */
.field__input:focus-visible,
.field__textarea:focus-visible { border-color: var(--primitive-asphalt); box-shadow: 0 0 0 3px rgba(244,148,29,0.3); }
.field__input:disabled,
.field__textarea:disabled { background: var(--primitive-panel-grey); color: rgba(65,65,66,0.5); cursor: not-allowed; }

.field__hint { display: block; font-size: 13px; color: var(--band-muted); margin-top: 6px; }

.field.has-error .field__input,
.field.has-error .field__textarea { border-color: var(--error-colour); }
.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--error-colour);
  margin-top: 6px;
}
.field__error::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--error-colour); color: #fff; font-size: 11px; flex-shrink: 0; }

.form__submit { margin-top: var(--primitive-space-2); }

/* ─────────────────────────────────────────────────────────────────────
   7. ARTICLE CARD
   ───────────────────────────────────────────────────────────────────── */

.article-card { display: block; text-decoration: none; }
.article-card__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, var(--primitive-orange), #f7b657);
  margin-bottom: var(--primitive-space-4);
  display: flex; align-items: center; justify-content: center;
  /* 0.55 asphalt measured 2.8-3.1:1 across this gradient - fails AA at both
     stops. Solid asphalt clears 6.89:1 minimum (matches the orange-ground
     text rule) across the full gradient range. */
  color: var(--primitive-asphalt);
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px;
}
/* Article card has no card surface - text sits directly on the section
   band, so it correctly reads band tokens (with a safe asphalt fallback).
   Orange is never the eyebrow's fill colour (fails AA on white/panel-grey);
   the orange accent is the underline instead. */
.article-card__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--band-heading-text, var(--primitive-asphalt));
  border-bottom: 2px solid var(--primitive-orange);
  padding-bottom: 3px;
  margin-bottom: var(--primitive-space-2);
}
.article-card__title { font-size: 19px; font-weight: 700; color: var(--band-heading-text); margin-bottom: var(--primitive-space-2); }
.article-card:hover .article-card__title,
.article-card:focus-visible .article-card__title { text-decoration: underline; }
.article-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--band-body-text); margin-bottom: var(--primitive-space-3); }
.article-card__meta { font-size: 13px; color: var(--band-muted); }

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--primitive-space-6);
}
@media (max-width: 1024px) { .article-card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .article-card-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────────────────────────
   8. BREADCRUMB
   ───────────────────────────────────────────────────────────────────── */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--primitive-space-2);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.breadcrumb li { display: flex; align-items: center; gap: var(--primitive-space-2); }
.breadcrumb li:not(:last-child)::after {
  content: '/';
  color: var(--band-muted);
}
.breadcrumb a {
  color: var(--band-body-text);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--primitive-orange); text-decoration: underline; }
.breadcrumb [aria-current="page"] {
  color: var(--band-heading-text);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────
   UTILITY - visually hidden but screen-reader-readable text
   ───────────────────────────────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────────────────────────────
   9. SECONDARY HERO (shero)
   Spec: ~/.twss/design-system/v1/components/secondary-hero/SPEC.md says
   "always the asphalt band" - OVERRIDDEN for this project (founder
   decision 2026-08-06, see PROJECT-DECISIONS.md standing rules): shero
   is LIGHT here. The canonical spec's own reason (first section must be
   the darkest ground so the alternation sequence resolves) doesn't apply
   on this project, which has no band alternation. Do not edit the
   canonical spec file itself - other brands still use bands; this is a
   per-project override applied via the band-white modifier below.
   Fixed first element of every interior page (About, Team, Case Studies,
   Contact), never dropped from a variable-length page in the "drop from
   the middle" master-template rule. Built on .band / .band__inner so it
   inherits band colour resolution for free rather than re-deriving it.
   ───────────────────────────────────────────────────────────────────── */

.shero__inner { max-width: 68ch; }
.shero__eyebrow {
  display: inline-block;
  font-size: var(--primitive-size-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--band-heading-text);
  margin-bottom: var(--primitive-space-3);
}
.shero__title { margin-bottom: var(--primitive-space-4); }
.shero__intro { font-size: 18px; margin: 0; }

/* v12.8 - A MEASURE FOR THE HERO INTRO ONCE THE SPLIT STACKS (700-1024px).
   .tpc-shero--split is a two-column band on desktop, copy beside media, and
   every page's <=1024px block collapses it to one column with the media
   ordered above. The copy then inherits the full band width and nothing caps
   it, so the same paragraph that sets to 629px and 79 characters a line at
   1440px ran to 961px and 125 characters at 1024px. That is well past the
   point where the eye loses its place returning to the next line, and it is
   not a design decision anyone made - it is what a two-column rule leaves
   behind when the second column goes away.
   630px is not a new number: it is the width this paragraph already has on
   the approved desktop layout, so tablets now read at the same 80 characters
   a line rather than at a measure of their own. Left alignment and margins
   are untouched, so the block still starts on the same gutter.
   Below 700px the phone layout already keeps it short (a 393px screen cannot
   produce a long line), and above 1024px the two columns are back, so this
   is scoped to the band where the problem actually exists. */
@media (min-width: 700px) and (max-width: 1024px) {
  .shero__intro { max-width: 630px; }
}

/* ─────────────────────────────────────────────────────────────────────
   10. TESTIMONIAL / REVIEW
   Spec: ~/.twss/design-system/v1/components/testimonial/SPEC.md
   No fixed band (observed on panel_grey and white). The rating summary
   sits directly on the band and resolves colour from band tokens; the
   quote cards below it are white surfaces like service-card, so their
   own text always uses the primitive ink/asphalt tokens, never the
   band's. Never use --primitive-orange as the star fill - it fails
   3:1 non-text contrast on both white (2.31:1) and panel grey (2.04:1),
   the two bands this component actually ships on.
   ───────────────────────────────────────────────────────────────────── */

.testimonial-summary {
  display: flex;
  align-items: center;
  gap: var(--primitive-space-3);
  margin-bottom: var(--primitive-space-6);
  flex-wrap: wrap;
}
.testimonial-summary__stars {
  color: var(--band-heading-text);
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1;
}
.testimonial-summary__text {
  font-size: 15px;
  font-weight: 700;
  color: var(--band-heading-text);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--primitive-space-5);
}
@media (max-width: 1024px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial {
  margin: 0;
  background: var(--primitive-white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: var(--primitive-space-5);
}
.testimonial__quote {
  margin: 0 0 var(--primitive-space-4);
  font-size: 16px;
  line-height: 1.6;
  color: var(--primitive-ink);
}
.testimonial__attribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial__name { font-weight: 700; font-size: 14px; color: var(--primitive-asphalt); }
.testimonial__org { font-size: 13px; color: var(--primitive-ink); }

/* ─────────────────────────────────────────────────────────────────────
   11. TEAM CARD
   Spec: ~/.twss/design-system/v1/components/team-card/SPEC.md
   Portrait slot is brand-agnostic; TPC's 3D-render wardrobe kit rule
   lives in traffic-plans-company.tokens.json > imagery, not here.
   Nickname renders as an asphalt-on-orange badge (6.89:1, the one
   pairing the one-orange-rule allows as a fill) rather than orange
   text, which fails AA on this card's white surface.
   ───────────────────────────────────────────────────────────────────── */

.team-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--primitive-space-5);
}
@media (max-width: 1024px) { .team-card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .team-card-grid { grid-template-columns: 1fr; } }

.team-card-grid--compact {
  grid-template-columns: repeat(5, 1fr);
  gap: var(--primitive-space-4);
}
@media (max-width: 1024px) { .team-card-grid--compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .team-card-grid--compact { grid-template-columns: 1fr 1fr; } }

.team-card {
  background: var(--primitive-white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--primitive-duration-fast) var(--primitive-easing-out),
              transform var(--primitive-duration-fast) var(--primitive-easing-out);
}
.team-card:hover, .team-card:focus-within { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }

.team-card__portrait {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--primitive-asphalt), var(--primitive-asphalt-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  text-align: center;
  padding: var(--primitive-space-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.team-card__body { padding: var(--primitive-space-4) var(--primitive-space-5) var(--primitive-space-5); }
.team-card__name { font-size: 18px; margin-bottom: 2px; color: var(--primitive-asphalt); }
.team-card__role { font-size: 14px; color: var(--primitive-ink); margin: 0; }
.team-card__nickname {
  display: inline-block;
  margin-top: var(--primitive-space-3);
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primitive-orange);
  color: var(--primitive-asphalt);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-card--compact .team-card__portrait { aspect-ratio: 1 / 1; font-size: 11px; }
.team-card--compact .team-card__body { padding: var(--primitive-space-3) var(--primitive-space-4) var(--primitive-space-4); }
.team-card--compact .team-card__name { font-size: 15px; }
.team-card--compact .team-card__role { font-size: 13px; }
.team-card--compact .team-card__nickname { display: none; }

/* ══════════════════════════════════════════════════════════════════════
   SKIP LINK - TPC build review action 8, "Add a skip link".
   Shared by all 42 shipping pages. Off-screen until focused, then slides
   down from the top edge. position:fixed so it lands at the top of the
   VIEWPORT, not the document: the homepage opens behind a splash overlay
   and an absolute version would be scrolled away under it.

   COLOUR NOTE: asphalt on white, NOT the house orange CTA. Every orange
   TPC CTA carries a white label by founder direction, knowingly 2.31:1.
   That trade is fine on a marketing button; it is not fine on the one
   control whose entire job is accessibility, and this is the element the
   audit will look at. #FFFFFF on #222222 is 15.9:1.
   ══════════════════════════════════════════════════════════════════════ */
.tpc-skip {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 10000;
  transform: translate(-50%, -140%);
  padding: 14px 28px;
  border-radius: 0 0 10px 10px;
  background: var(--primitive-asphalt);
  color: var(--primitive-white);
  font-family: var(--primitive-font-family);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease-out;
}

.tpc-skip:focus,
.tpc-skip:focus-visible {
  transform: translate(-50%, 0);
  outline: 3px solid var(--primitive-orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .tpc-skip { transition: none; }
}


/* =====================================================================
   SECTIONS 1 AND 2 (HEADER, FOOTER): THE RULES chrome.css NEVER RESTATED
   =====================================================================
   The header of this file says sections 1 and 2 were excised as superseded
   R0 drafts, and not to re-add a .site-header or .site-footer rule here.
   That reasoning does not hold, and the measurement shows why.

   In the hi-fi EVERY page links components.css AND homepage.css. Its live
   footer is therefore the COMBINATION of the two: homepage.css overrides the
   draft where it restates a rule, and the draft still applies where it does
   not. chrome.css is the port of homepage.css only, so every draft rule
   homepage.css left alone simply vanished here.

   `.site-footer__links { list-style: none; margin: 0; padding: 0 }` is the
   clearest case: without it GeneratePress's `ul { margin: 0 0 1.5em 3em }`
   applied instead, indenting every footer list 45px and adding 22.5px under
   it, on all 20 pages. `.site-footer__brand p` was the same and was restored
   to chrome.css earlier, one rule at a time; this is the rest of the set.

   Only rules that target a class the live pages actually use, and that no
   global sheet already states, are below. They sit in components.css rather
   than chrome.css so the cascade order matches the hi-fi's: this file is
   enqueued first, and chrome.css still wins wherever both speak.
   ===================================================================== */

.site-header__logo img {
	height: 48px; width: 48px; display: block;
}

.site-header__ctas .btn {
	padding-inline: var(--primitive-space-5);
}

.site-header__menu-toggle {
	display: none;
	  align-items: center;
	  justify-content: center;
	  width: 44px;
	  height: 44px;
	  background: none;
	  border: 2px solid var(--primitive-asphalt);
	  border-radius: var(--primitive-radius-md);
	  cursor: pointer;
}

@media (max-width: 1024px) {
	.site-header__menu-toggle {
		display: inline-flex;
	}
}

@media (max-width: 600px) {
	.site-header__ctas .btn {
		padding-inline: var(--primitive-space-3); font-size: 13px;
	}
}

.site-footer {
	width: 100%;
	  background: var(--band-bg);
}

.site-footer__grid {
	display: grid;
	  grid-template-columns: 1.4fr 1fr 1fr 1fr;
	  gap: var(--primitive-space-6);
	  padding-bottom: var(--primitive-space-7);
	  border-bottom: 1px solid var(--band-hairline);
}

.site-footer__heading {
	font-size: 13px;
	  font-weight: 700;
	  text-transform: uppercase;
	  letter-spacing: 0.5px;
	  color: var(--band-heading-text);
	  margin-bottom: var(--primitive-space-4);
}

.site-footer__links {
	list-style: none;
	  margin: 0;
	  padding: 0;
	  display: flex;
	  flex-direction: column;
	  gap: var(--primitive-space-3);
}

.site-footer__links,
.site-footer__links li {
	color: var(--band-body-text);
}

.site-footer__links a {
	text-decoration: none;
	  color: var(--band-body-text);
	  font-size: 15px;
}

.site-footer__links a:hover {
	color: var(--primitive-orange);
}

.site-footer__bottom {
	padding-top: var(--primitive-space-5);
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  gap: var(--primitive-space-4);
	  flex-wrap: wrap;
}

.site-footer__bottom p {
	margin: 0; font-size: 13px; color: var(--band-muted);
}

.site-footer__legal {
	list-style: none; display: flex; gap: var(--primitive-space-5); margin: 0; padding: 0;
}

.site-footer__legal a {
	font-size: 13px; color: var(--band-muted); text-decoration: none;
}

.site-footer__legal a:hover {
	color: var(--band-heading-text);
}

@media (max-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 600px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom {
		flex-direction: column; align-items: flex-start;
	}
}

/* From the same excised section. Skipped by the first restore because
   chrome.css also states `.site-footer__brand img`, so the (media, selector)
   pair deduped away; but chrome.css's versions set width, max-width and
   height, never the margin. In the hi-fi both sheets apply and this
   margin-bottom survives, spacing the logo off the rating line. */
.site-footer__brand img { height: 44px; width: 44px; margin-bottom: var(--primitive-space-4); }
