/* =========================================================================
   TPC REQUEST FORMS: field components for the 5 request pages.
   THEA-901: hero/trust-strip/close band now use the real .tpc-shero--split/
   --orange and .tpc-close/--split vocabulary (shared, lives in
   page-components.css/chrome.css), not services.css's old .tpc-shero/
   .tpc-cta-band. Only the form CARD itself still renders inside a
   .tpc-service-page-scoped wrapper (for .tpc-btn). Scoped under .tpc-rf so
   these reliably beat GeneratePress's own input/select/button styling (same
   gotcha hit on the Knowledge Hub search box and card toggles, GP applies
   specificity-winning rules to raw form elements, incl. darkening
   button:focus/:active).
   ========================================================================= */

/* .tpc-visually-hidden has no UNSCOPED base rule anywhere in the shared
   foundation (same documented gap as about.css/contact.css/team.css/
   services-hub.css/legal.css, each carrying their own copy) - without this,
   the proof strip's hidden <h2> rendered as real, visible, full-width block
   text instead of being clipped off-screen. */
.tpc-rf-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;
}

/* FORM BAND + CARD - ported from the hi-fi's own 03-Rollout-3/hifi/
   request-forms.css (a dedicated stylesheet for this page family that was
   never linked into the theme). The form section sits on band-panel_grey,
   so the white card reads as a distinct surface. */
/* One class, as 03-Rollout-3/hifi/request-forms.css:224 writes it. It had
   been given a second (`.tpc-sec.tpc-rf-sec`) to beat chrome.css's
   seam-blend rule, which the port had made global; that rule now lives in
   services.css, where the design keeps it, and does not reach this page. */
.tpc-rf-sec { padding-block: var(--primitive-space-7); }
.tpc-rf-sec .band__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--primitive-space-5);
}
.tpc-rf-sec .tpc-section-head { max-width: 720px; margin: 0; }
.tpc-rf-sec .tpc-section-head .tpc-eyebrow--solo {
	font-size: clamp(24px, 2.2vw, 32px);
	line-height: 1.15;
	margin-bottom: var(--primitive-space-3);
}
.tpc-rf-sec .tpc-section-head .tpc-hub__sub {
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 1.5;
	margin-bottom: 0;
}
.tpc-rf-card {
	width: 100%;
	max-width: 720px;
	background: var(--primitive-white);
	border-radius: var(--card-radius);
	box-shadow: var(--card-shadow);
	padding: clamp(20px, 2.4vw, 34px);
}

.tpc-rf {
	max-width: none;
}

.tpc-rf__hp {
	position: absolute;
	left: -9999px;
	width: 1px; height: 1px;
	overflow: hidden;
}

.tpc-rf__banner {
	padding: var(--space-4, 16px) var(--space-5, 24px);
	border-radius: var(--radius-md, 12px);
	margin-bottom: var(--space-5, 24px);
	font-weight: 600;
}
.tpc-rf__banner--error {
	background: rgba(228, 72, 35, .08);
	color: var(--tpc-ember);
	border: 1px solid rgba(228, 72, 35, .25);
}

.tpc-rf__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4, 16px);
	margin-bottom: var(--space-4, 16px);
}
/* Aligned to home.css's tablet tier (design audit, 2026-07-04), was 640px, a one-off value. */
@media (min-width: 600px) {
	.tpc-rf__row:has(.tpc-rf__field:nth-child(2):last-child) {
		grid-template-columns: 1fr 1fr;
	}
}

.tpc-rf__field { display: flex; flex-direction: column; gap: 6px; }
.tpc-rf__field--full { grid-column: 1 / -1; }

.tpc-rf .tpc-rf__label {
	font-family: var(--tpc-font-display, Poppins, system-ui, sans-serif);
	font-weight: 600;
	font-size: .95rem;
	color: var(--tpc-ink);
}
.tpc-rf__req { color: var(--tpc-ember); }

.tpc-rf .tpc-rf__input,
.tpc-rf .tpc-rf__select {
	width: 100%;
	padding: .7em .9em;
	font-family: var(--tpc-font-body, Inter, sans-serif);
	font-size: 1rem;
	color: var(--tpc-ink);
	background: var(--tpc-white, #fff);
	border: 1.5px solid rgba(35, 31, 32, .16);
	border-radius: var(--radius-md, 12px);
	transition: border-color .16s ease, box-shadow .16s ease;
}
.tpc-rf .tpc-rf__input:focus,
.tpc-rf .tpc-rf__select:focus {
	outline: none;
	border-color: var(--tpc-gold);
	box-shadow: 0 0 0 3px rgba(248, 170, 55, .35);
}
.tpc-rf__textarea { resize: vertical; min-height: 6.5em; }

.tpc-rf__field.is-error .tpc-rf__input,
.tpc-rf__field.is-error .tpc-rf__select {
	border-color: var(--tpc-ember);
	background: rgba(228, 72, 35, .04);
}
.tpc-rf__error-msg { color: var(--tpc-ember); font-size: .85rem; margin: 0; }
.tpc-rf__help { color: var(--tpc-grey-mid); font-size: .85rem; margin: 0; line-height: 1.4; }
.tpc-rf__help a { color: var(--tpc-ember); }

.tpc-rf__checks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px 20px;
	padding: var(--primitive-space-4);
	background: var(--primitive-panel-grey);
	border-radius: var(--primitive-radius-md);
}
.tpc-rf__check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 400;
	color: var(--primitive-ink);
	cursor: pointer;
}
.tpc-rf__check input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--primitive-orange);
	flex: 0 0 auto;
}

.tpc-rf .tpc-rf__file {
	font-size: .92rem;
	padding: .5em 0;
}
.tpc-rf__filename {
	font-size: 13px;
	color: var(--band-muted);
	margin: 4px 0 0;
	min-height: 1.2em;
}
.tpc-rf__filename:empty::before { content: attr(data-empty); }

.tpc-rf .tpc-rf__submit {
	color: var(--primitive-white);
}
@media (min-width: 480px) {
	.tpc-rf .tpc-rf__submit { width: auto; }
}
.tpc-rf__reassure {
	margin-top: var(--primitive-space-3);
	color: var(--band-muted);
	font-size: 14.5px;
}

/* :focus-visible parity with the rest of the theme's buttons */
.tpc-rf .tpc-rf__submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(248, 170, 55, .55);
}

@media (prefers-reduced-motion: reduce) {
	.tpc-rf * { transition: none !important; }
}

/* THEA-906: thank-you.php migrated from the old .tpc-service-page/.tpc-shero
   vocabulary to the real .tpc-thanks-hero/.tpc-thanks system below, mechanically
   ported from the hi-fi's own request-forms.css (03-Rollout-3/hifi/) rather than
   retyped, same reasoning as the hero/proof/close migration THEA-901 did for the
   5 form pages. The old stopgap .tpc-thanks-banner rule (light card, left border)
   is replaced by the real one further down, which is styled for the orange hero
   it now actually sits on. */
.tpc-thanks-hero {
	--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-thanks {
	text-align: center;
	max-width: 1040px;
	margin-inline: auto;
}
.tpc-thanks__mark {
	width: 64px; height: 64px;
	margin: 0 auto var(--primitive-space-5);
	border-radius: 50%;
	background: #12602D;
	display: flex;
	align-items: center;
	justify-content: center;
}
@keyframes tpc-tick-draw {
	from { stroke-dashoffset: 1; }
	to   { stroke-dashoffset: 0; }
}
.tpc-thanks__tick {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
}
[data-thanks-ready] .tpc-thanks__tick {
	animation: tpc-tick-draw var(--primitive-duration-mid) var(--primitive-easing-out) 180ms both;
}
@media (prefers-reduced-motion: reduce) {
	[data-thanks-ready] .tpc-thanks__tick { animation: none; stroke-dashoffset: 0; }
}
@media (min-width: 1100px) {
	.tpc-thanks .h1,
	.tpc-thanks .tpc-lead { white-space: nowrap; }
}
.tpc-thanks__mark svg { width: 32px; height: 32px; }

.tpc-thanks-banner {
	margin: var(--primitive-space-5) auto 0;
	max-width: 760px;
	padding-top: var(--primitive-space-5);
	border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.tpc-thanks-banner p {
	margin: 0;
	font-size: clamp(14px, 1.05vw, 16px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
	text-wrap: pretty;
}
.tpc-thanks-banner[hidden] { display: none; }
.tpc-thanks__actions {
	margin-top: var(--primitive-space-6);
	display: flex;
	justify-content: center;
	gap: var(--primitive-space-4);
	flex-wrap: wrap;
}

/* No .tpc-thanks-routes padding rule. The design states none: the section
   takes .band's own padding-block (space-9 + 1px, 97px). This file used to
   pin it to space-7 (48px) to escape chrome.css's globalised seam-blend
   rule, which cost the band 97px of height and put everything below it 92px
   too high. That rule is back in services.css and this page does not link
   it. */

/* =========================================================================
   MULTI-STAGE WIZARD: progressive enhancement (3-stage journey + progress
   bar). The form works as one long page without JS; these style the staged
   view that request-forms.js activates.
   ========================================================================= */

/* Stage panels (fieldsets), strip native chrome. */
.tpc-rf__stage { border: 0; margin: 0; padding: 0; min-width: 0; }
.tpc-rf__stage[hidden] { display: none; }
.tpc-rf__stage-title {
	font-family: var(--primitive-font-family);
	font-weight: 700;
	font-size: 20px;
	color: var(--primitive-asphalt);
	padding: 0;
	margin: 0 0 var(--primitive-space-3);
}

/* Progress: numbered steps + a gradient fill bar + a % readout. */
.tpc-rf__progress { margin-bottom: var(--primitive-space-4); }   /* hi-fi v1.4: 24px to 16px */
.tpc-rf__steps {
	list-style: none;
	display: flex;
	gap: var(--primitive-space-4);
	margin: 0 0 var(--primitive-space-3);
	padding: 0;
}
.tpc-rf__step {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--band-muted);
}
.tpc-rf__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--primitive-white);
	border: 1.5px solid rgba(34, 34, 34, 0.16);
	color: var(--band-muted);
	font-family: var(--primitive-font-family);
	font-weight: 700;
	font-size: 14px;
	transition: background var(--primitive-duration-fast) var(--primitive-easing-out), color var(--primitive-duration-fast) var(--primitive-easing-out), border-color var(--primitive-duration-fast) var(--primitive-easing-out);
}
.tpc-rf__step-name { font-family: var(--primitive-font-family); font-weight: 600; font-size: 14px; }
.tpc-rf__step.is-active {
	color: var(--primitive-asphalt);
}
.tpc-rf__step.is-active .tpc-rf__step-num {
	background: var(--primitive-orange);
	color: var(--primitive-asphalt);
	border-color: transparent;
}
.tpc-rf__step.is-done {
	color: var(--primitive-asphalt);
	cursor: pointer;
}
.tpc-rf__step.is-done .tpc-rf__step-num {
	background: var(--primitive-asphalt);
	color: var(--primitive-white);
	border-color: transparent;
	font-size: 0;
}
.tpc-rf__step.is-done .tpc-rf__step-num::after {
	content: "✓";
	font-size: 15px;
}

.tpc-rf__bar {
	height: 8px;
	background: var(--primitive-panel-grey);
	border-radius: 999px;
	overflow: hidden;
}
.tpc-rf__bar-fill {
	height: 100%;
	background: var(--primitive-orange);
	border-radius: inherit;
	transition: width var(--primitive-duration-moderate) var(--primitive-easing-in-out);
}
.tpc-rf__pct { margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--band-muted); }
.tpc-rf__pct-num {
	color: var(--primitive-orange);
}

/* Navigation row (Back / Next / Submit). */
.tpc-rf__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--primitive-space-3);
	margin-top: var(--primitive-space-7);
}
.tpc-rf__nav .btn { width: auto; margin-top: 0; }
.tpc-rf__next, .tpc-rf__submit { margin-left: auto; }

/* Ported from 03-Rollout-3/hifi/request-forms.css. Both rules are FOUNDER
   DECISIONS (2026-09-30) that the WordPress build never carried, so Next
   rendered orange and both primaries took the default dark label.

   NEXT IS SIGNAL RED. #C02B0A is a palette primitive already carrying the
   Urgent Requests dock tab, so it is the site's own colour, not a new one.
   White on it measures 5.85:1, clear of the 4.5:1 AA floor. It is distinct
   from the orange submit beside it and the dark Back, so the three controls
   read as three different things, which was the point. Flat fill, never a
   gradient, and never an outline: every CTA on this site is filled. */
.tpc-rf .tpc-rf__next {
	background: var(--primitive-signal-red);
	color: var(--primitive-white);
	border-color: transparent;
}
.tpc-rf .tpc-rf__next:hover  { background: #A82509; }
.tpc-rf .tpc-rf__next:active { background: #911F07; }

/* FOUNDER 2026-09-30, repeated 2026-10-01: "the send my request button text
   colour needs to be white". Same call made on the menu bar's orange CTA, and
   the same trade: white on #F4941D measures 2.31:1, under the 4.5:1 AA floor,
   where the asphalt it replaces measures 8.99:1. Recorded rather than argued,
   and scoped to this one button so the rest of the site keeps the compliant
   pairing. */
.tpc-rf .tpc-rf__submit { color: var(--primitive-white); }

/* Narrow screens: dots + % carry the state; nav stacks full-width. */
@media (max-width: 600px) {
	.tpc-rf__step-name { display: none; }
	.tpc-rf__steps {
	gap: var(--primitive-space-3);
}
	.tpc-rf__step { flex: 0 0 auto; }
}
/* THEA-867, ported from the hi-fi: the nav stacks at the SAME 699px floor as
   every other mobile rule in this file, not 479px. The 480-699px band was a
   dead zone, so a phone at that width (Android landscape, or simply a larger
   handset) got the DESKTOP row layout, Back pinned left and Next/Submit pinned
   right by margin-left:auto, on a touch screen. */
@media (max-width: 699px) {
	.tpc-rf__nav { flex-direction: column-reverse; }
	.tpc-rf__nav .btn { width: 100%; margin-left: 0; }
}

/* Ported from the hi-fi. The wizard script correctly toggles the `hidden`
   attribute on whichever nav buttons should not show, but components.css's
   `.btn { display: inline-flex }` is an AUTHOR rule, and an author rule always
   beats the browser default `[hidden] { display: none }` regardless of
   specificity or source order, so the attribute was set and did nothing: all
   three buttons rendered at once. Measured on this build at 600px and 390px.
   .tpc-rf__stage[hidden] a few lines up already carries the matching fix, so
   this is a known class of bug here. Capped at 1279px to match the hi-fi
   exactly. */
@media (max-width: 1279px) {
	.tpc-rf__back[hidden],
	.tpc-rf__next[hidden],
	.tpc-rf__submit[hidden] {
		display: none;
	}
}

/* THEA-905: ported verbatim from 03-Rollout-3/hifi/request-forms.css.
   page-components.css's sitewide <=699px centring rule (THEA-900) reaches
   .tpc-rf__nav's paragraph-level children with nothing to carve it back out,
   so it was rendering left-aligned nav copy as centred - this file never had
   its own centring pass ported, unlike the eight marketing sheets.

   The hi-fi's carve-out list is scoped to `.request-form-page`, the design's
   own <body> class, which functions.php now emits (tpc_design_body_class).
   Before that it did not, so this rule was dead and the sitewide centring
   rule above centred five paragraphs the design leaves left-aligned.
   .tpc-rf__help and .tpc-rf__filename stay listed directly: they are
   theme-only nodes with no hi-fi counterpart. */
@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,
  .shero__eyebrow, .shero__title, .shero__intro,
  .tpc-close__inner, .tpc-close__title, .tpc-close__copy {
    text-align: center;
  }
  .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,
  .tpc-rf__nav.tpc-rf__nav,
  .tpc-rf__help.tpc-rf__help,
  .tpc-rf__filename.tpc-rf__filename { text-align: left; }
}

/* =====================================================================
   HERO FIGURE PIN, ported verbatim from 03-Rollout-3/hifi/request-forms.css.
   =====================================================================
   Founder, 16 Nov: "why is the image positioned so high".

   This whole block was missing from the port, so the hero figure had no
   scale, no pin and no `max-width: none`. The inherited
   `img { max-width: 100% }` then shrank it to fit its well: 571x383 instead
   of the design's 767x575, sitting high with empty orange beneath it.

   The crop depends on a per-asset number, --head-pct, set inline on each
   hero img (the topmost subject row as a percentage of canvas height). The
   arithmetic lives here; the number travels with the image, via
   inc/request-forms.php's per-form `head_pct`.
   ===================================================================== */
/* v1.8 - THE HERO CROP, matched to the other hero pages (founder 2026-09-30:
   "the hero image needs to be cropped and bigger and ensure padding is
   consistent between the top of the image and the top of the website").
   v1.6 had it contained at 100% height, which fits the whole figure into the
   well and reads small. Every other hero on the site crops instead: the
   figure is scaled past the well and the band clips it, which is what gives
   them their presence.

   THE NUMBERS ARE SOLVED, NOT COPIED. services.css pins its worker with
   `top: (1 - scale) * 2.92%`, where 2.92% is that image's own topmost subject
   row from an alpha scan - I re-ran the scan and it reads 2.9211%, so the
   method checks out. Running the same scan on this image gives 2.1179%: the
   pair stand closer to their own top edge, so reusing 2.92% would sit them
   LOWER than the others and the padding would not match.

   The general form is `top = target - head * scale`, because the scale
   cancels and the subject's top lands at exactly `target` of the well height.
   services resolves to 2.9211 - 2.9211*1.5 = -1.4606%. To put this pair's
   heads on that SAME 2.9211% line:
       top = 2.9211 - 2.1179 * 1.5 = -0.2557%
   scale stays 1.5, the shared value, so it is cropped by the same amount.
   max-width: none matters - the inherited `img { max-width: 100% }` would
   otherwise shrink the figure back inside the well and undo the crop. */
.tpc-shero__media img {
	--worker-scale: 1.5;
	display: block;
	position: absolute;
	left: 50%;
	--head-pct: 2.1179;
	/* Founder 17 Nov: "there should not be a gap between the people and the
	   banner". Some assets end above their canvas bottom (new-plan-request's
	   pair stop at 74.95%, the rest is transparent), so pinning by the head
	   alone left orange under them. --foot-pct is the subject's lowest row as a
	   % of canvas height (default 100 = no change); max() only moves the figure
	   down when its feet would otherwise land above the hero's bottom edge
	   (media bottom + the hero's 48px padding + 8px into the clip). */
	--foot-pct: 100;
	top: max(
		calc((2.9211 - var(--head-pct) * var(--worker-scale)) * 1%),
		calc(100% + var(--hero-overhang, 48px) + 8px - var(--foot-pct) * var(--worker-scale) * 1%)
	);
	height: calc(var(--worker-scale) * 100%);
	width: auto;
	max-width: none;
	transform: translateX(-50%);
}
.tpc-shero__media img[src*="new-plan-request-hero"] { --foot-pct: 74.95; }
/* Below 1024px the columns stack and the figure sits above the copy, where an
   overflowing crop would run into it. Same escape hatch services.css uses. */
@media (max-width: 1024px) {
  .tpc-shero__media img {
    position: static;
    height: auto;
    width: 100%;
    max-width: 100%;
    transform: none;
  }
}
@media (max-width: 1024px) {
	/* 03-Rollout-3/hifi/request-forms.css states .tpc-shero__media TWICE
	   inside this media query - once for the box, once for the order. An
	   earlier declaration-alignment pass keyed rules by (media, selector)
	   and kept only the last, so this one was overwritten with the order
	   rule and the hero lost its mobile box: no min-height, so the media
	   slot collapsed onto the image and the hero stood 41px tall against
	   the design. The order rule still follows, below. */
	.tpc-shero__media {
		aspect-ratio: auto;
		min-height: 260px;
	}
}
@media (max-width: 1024px) {
  .tpc-shero--split .band__inner { grid-template-columns: 1fr; gap: var(--primitive-space-6); }
  .tpc-shero__media { order: -1; }
}

/* =====================================================================
   THE .field RULES FROM 03-Rollout-3/hifi/request-forms.css
   =====================================================================
   The hi-fi's forms are built on the shared .field component; this build
   had invented a parallel .tpc-rf__field vocabulary, so these nine rules
   were never ported: they would have styled nothing. The renderer now
   emits the hi-fi's markup, so they matter, and without them the fields
   fell back to GeneratePress's input metrics: 48px tall against 44px, a
   1px border against 2px, and the wrong label and field spacing, which
   made every row taller than the design's.
   ===================================================================== */

.tpc-rf .field {
	margin-bottom: var(--primitive-space-3);
}

.tpc-rf .field__input, .tpc-rf .field__textarea {
	min-height: 44px;
	  
	  padding: 10px var(--primitive-space-4);
}

.tpc-rf .field__textarea {
	min-height: 104px;
}

.tpc-rf .field__input:focus-visible, .tpc-rf .field__textarea:focus-visible {
	border-color: var(--primitive-asphalt);
	  
	  box-shadow: 0 3px 14px -3px rgba(244, 148, 29, 0.55);
}

.tpc-rf .field__label {
	margin-bottom: 6px;
}

.tpc-rf .field__hint {
	margin-top: 4px; line-height: 1.35;
}

.field--full {
	grid-column: 1 / -1;
}

.tpc-rf select.field__input {
	appearance: none;
	  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23222222' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	  background-repeat: no-repeat;
	  background-position: right 14px center;
	  padding-right: 40px;
}

@media (max-width: 699px) {
	.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, .tpc-rf__nav.tpc-rf__nav {
		text-align: left;
	}
}


/* =========================================================================
   SPLIT CLOSE BAND - moved here from chrome.css, 2026-11-17.
   =========================================================================
   This block is this sheet's own in the design, which carries an identical
   copy in 02-Rollout-2/hifi/services.css and 03-Rollout-3/hifi/
   request-forms.css (contact.css has one too). The design's global sheet,
   homepage.css, states exactly one .tpc-close--split rule and it is not
   one of these: the 700-900px `.tpc-close.tpc-close--split
   .tpc-close__head` padding, which stays in chrome.css.

   The port had hoisted the whole block into chrome.css, so it reached every
   page. blog.html and knowledge-hub.html link none of the sheets that carry
   it, so in the design their close bands keep the plain .tpc-close__head
   760px single column; in this build they were rendering a two-column split
   band 53px shorter, which pulled the footer up 54px.
   ========================================================================= */

.tpc-close--split .tpc-close__head--split {
  --close-fig-w: calc(0.6538 * clamp(230px, 33vh, 358px));  /* 510/780 aspect */
  max-width: none;
  margin-inline: 0;
  /* space-7 is KEPT, exactly as the home band has it. It is the last thing in
     the flow there too, so this 48px is what makes the section 333px tall
     rather than 286px - matching the home band's height was the founder's
     ask, and this is where that height comes from. */
  margin-bottom: var(--primitive-space-7);
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  padding-left: calc(var(--close-fig-w) + clamp(16px, 2vw, 40px));
}
.tpc-close--split .tpc-close__title { margin-bottom: 0; }

/* homepage.css hides the figure below 900px; the clearance has to go with it,
   and the two columns stack. */
@media (max-width: 900px) {
  .tpc-close--split .tpc-close__head--split {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
}

/* Founder: the body copy is white. .tpc-close__lead takes var(--band-body-text),
   which .band-orange sets to asphalt - the token carries the note that orange
   ground text is always asphalt, and the measurement behind it is that white on
   this ramp is 2.31:1 at the top stop and 3.41:1 at the bottom, both under the
   4.5:1 AA floor for body text. Shipped white as asked; recording the number
   rather than the opinion, same as the home band's own white heading. */
.tpc-close--split .tpc-close__lead { color: var(--primitive-white); }


/* =========================================================================
   RULES RESTORED FROM 03-Rollout-3/hifi/request-forms.css - 2026-11-17
   =========================================================================
   Found by comparing, page by page, every rule the design's linked sheets
   state against every rule this build's linked sheets state, then keeping
   only those whose selector actually matches something in this build's
   markup. Across all 20 pages these eleven were the whole remainder: the
   phone-width treatments nobody had measured, because the desktop
   measurement could not see them.

   Most of what they do is at 699px and below: the file input going
   full-width, the nav clearing the action dock, the card dropping its
   shadow, the section tightening to space-6, and the dock panel resting at
   --dock-rest instead of transforming. .tpc-rf__file's own typography was
   missing outright at every width.
   ========================================================================= */

@media (max-width: 1279px) {
	.tpc-rf__check {
		padding-block: 7px;
	}
}

.tpc-rf__file {
	font-family: var(--primitive-font-family);
	font-size: 14.5px;
	color: var(--primitive-ink);
	padding: 8px 0;
}

@media (max-width: 1279px) {
	.tpc-rf__filename {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 100%;
	}
}

@media (max-width: 699px) {
	.request-form-page .tpc-dock__panel:not([data-open]) {
		max-height: var(--dock-rest);
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tpc-rf *, .tpc-rf-card * {
		transition: none !important;
	}
}

@media (max-width: 699px) {
	.request-form-page .tpc-rf__nav {
		margin-bottom: calc(var(--dock-rest, 58px) + var(--primitive-space-4));
	}
}

@media (max-width: 699px) {
	.request-form-page .tpc-rf__file {
		display: block;
		width: 100%;
	}
}

@media (max-width: 600px) {
	.tpc-rf__step.is-active .tpc-rf__step-name {
		display: inline;
		font-size: 14px;
	}

	.tpc-rf__step.is-active {
		gap: 8px;
	}
}

@media (max-width: 699px) {
	.tpc-rf-card {
		box-shadow: none;
		border-radius: var(--primitive-radius-md);
	}

	.tpc-rf-sec {
		padding-block: var(--primitive-space-6);
	}
}


/* =========================================================================
   PHONE CLOSE-BAND FIGURE - moved here from chrome.css/page-components.css,
   2026-11-17.
   =========================================================================
   03-Rollout-3/hifi/request-forms.css carries this rule in the design, and
   homepage.css carries none, so a page linking neither takes the base
   .tpc-close__figure rule instead. The port had globalised it, and its
   hardcoded `margin-bottom: -72px` - which this sheet's copy does NOT
   have, and is dropped here - overrode the base rule's
   `calc(-1 * clamp(72px, 9vh, 132px))` - -81px on a 900px-tall viewport -
   so the close band stood 9px taller than the design on ten pages.
   ========================================================================= */
@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;
  }
}


/* 1 Dec: hidden step buttons at every width. The [hidden] fix above is capped at 1279px, so on desktop Next still showed on the last step (and Back/Send on step 1). */
.tpc-rf .tpc-rf__back[hidden],
.tpc-rf .tpc-rf__next[hidden],
.tpc-rf .tpc-rf__submit[hidden] { display: none !important; }
