/* =====================================================================
   SHARED FOUNDATION RULES RESCUED FROM home.css
   =====================================================================
   In the hi-fi, homepage.css is the SHARED foundation that every page
   links. This theme ports it as home.css but enqueues it on the front page
   only, having extracted the shared parts into chrome.css and
   page-components.css. That extraction was incomplete, so on every other
   page the missing rules simply did not exist.

   HOW THIS FILE IS DERIVED, and why it has been widened twice.
     1. collect every class that actually appears in the DOM of the 21
        non-home URLs (scratchpad/domclasses.mjs),
     2. take every rule in home.css whose selector mentions one of them
        ANYWHERE, media queries included,
     3. drop any whose (media, selector) pair a global sheet already states.

   Pass 1 compared class NAMES against the global sheets, which wrongly
   cleared .tpc-hub__sub: chrome.css mentions it, but only as a modifier.
   Pass 2 keyed on the selector's RIGHTMOST simple selector, which missed
   every rule ending in a bare element: `.tpc-why__point-icon img`,
   `.tpc-why__point strong`, `.tpc-why__point span:last-child`. Their absence
   is why about.css had to re-scope a copy of the base rule to
   `.tpc-about-main`, and that copy, being one class deeper, then beat the
   `.tpc-why__list--four` modifier that is supposed to override it: the four
   icons rendered left-aligned instead of centred, 104px out of place.

   home.css itself is untouched, so the homepage keeps loading its own copy.
   If home.css is re-ported, re-run the derivation rather than editing here.
   ===================================================================== */

html.lenis {
	scroll-behavior: auto;
}

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

.tpc-section-head {
	max-width: 68ch;
	  margin-bottom: var(--primitive-space-8);
}

.tpc-section-head--center {
	margin-inline: auto; text-align: center;
}

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

.tpc-section-intro {
	font-size: 18px;
	  color: var(--band-body-text);
	  margin: 0;
}

.tpc-textlink {
	color: var(--band-body-text);
	  text-decoration: underline;
	  text-decoration-color: var(--band-muted);
	  text-underline-offset: 3px;
	  font-size: 15px;
}

.tpc-textlink:hover {
	color: var(--primitive-asphalt); text-decoration-color: var(--primitive-orange);
}

.tpc-textlink--strong {
	font-weight: 700;
	  text-decoration: none;
	  color: var(--band-heading-text);
	  display: inline-flex;
	  align-items: center;
	  gap: 6px;
}

.tpc-textlink--strong:hover span[aria-hidden] {
	color: var(--primitive-orange);
}

.render-placeholder {
	background: linear-gradient(135deg, var(--primitive-asphalt), #3a3a3a);
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  justify-content: center;
	  gap: 6px;
	  text-align: center;
	  color: rgba(255,255,255,0.78);
	  font-size: 12px;
	  font-weight: 700;
	  text-transform: uppercase;
	  letter-spacing: 0.5px;
	  padding: var(--primitive-space-4);
	  line-height: 1.5;
}

.render-placeholder__ref {
	font-size: 10.5px;
	  font-weight: 600;
	  text-transform: none;
	  letter-spacing: 0;
	  color: rgba(255,255,255,0.5);
}

.tpc-light-ground .band {
	background: transparent; position: relative; z-index: 1;
}

.tpc-services__foot {
	margin-top: var(--primitive-space-6);
	  display: block;
	  text-align: center;
	  font-size: 15px;
}

.tpc-services__foot .tpc-dot {
	margin-inline: 8px;
}

.tpc-why__list {
	list-style: none;
	  margin: var(--primitive-space-6) 0;
	  padding: 0;
	  display: flex;
	  flex-direction: column;
	  gap: var(--primitive-space-5);
}

.tpc-why__point {
	display: flex;
	  gap: var(--primitive-space-4);
	  align-items: flex-start;
}

.tpc-why__point-icon {
	flex-shrink: 0;
	  
	  width: 68px; height: 68px;
	  display: flex; align-items: center; justify-content: center;
}

.tpc-why__point-icon img {
	width: 64px; height: 64px;
}

.tpc-why__inner .tpc-why__point-icon img {
	filter: invert(1) hue-rotate(180deg);
}

.tpc-why__point span:last-child {
	font-size: 15.5px; line-height: 1.6; color: var(--band-body-text);
}

.tpc-why__point strong {
	color: var(--band-heading-text); display: block; margin-bottom: 2px; font-size: 16.5px;
}

.tpc-why__panel {
	background: var(--primitive-white);
	  border: 1px solid rgba(34,34,34,0.08);
	  border-radius: var(--card-radius);
	  box-shadow: var(--card-shadow);
	  padding: var(--primitive-space-6);
}

.tpc-why__panel-head {
	display: flex;
	  align-items: center;
	  justify-content: space-between;
	  margin-bottom: var(--primitive-space-5);
	  padding-bottom: var(--primitive-space-4);
	  border-bottom: 1px solid var(--band-hairline);
}

.tpc-why__panel-kicker {
	font-size: 12px;
	  font-weight: 700;
	  text-transform: uppercase;
	  letter-spacing: 1px;
	  color: var(--band-muted);
}

.tpc-why__facts {
	margin: 0 0 var(--primitive-space-5);
	  display: flex;
	  flex-direction: column;
	  gap: var(--primitive-space-3);
}

.tpc-why__fact {
	display: flex;
	  justify-content: space-between;
	  gap: var(--primitive-space-4);
	  padding-bottom: var(--primitive-space-3);
	  border-bottom: 1px solid var(--band-hairline);
	  font-size: 14.5px;
}

.tpc-why__fact:last-child {
	border-bottom: none; padding-bottom: 0;
}

.tpc-why__fact dt {
	color: var(--band-muted);
}

.tpc-why__fact dd {
	margin: 0; color: var(--band-heading-text); font-weight: 700; text-align: right;
}

@media (max-width: 1024px) {
	.tpc-why__panel {
		margin-top: var(--primitive-space-6);
	}
}

.tpc-eyebrow--solo {
	font-size: clamp(30px, 3.4vw, 56px);
	  font-weight: 800;
	  line-height: 1.049;
	  text-transform: uppercase;
	  letter-spacing: -0.01em;
	  color: var(--primitive-orange);
	  
	  margin: 0 0 clamp(18px, 2.2vh, 32px);
}

.tpc-why__copy .tpc-section-intro {
	max-width: 62ch;
	  margin-inline: auto;
}

.tpc-why__list {
	display: grid;
	  grid-template-columns: repeat(3, minmax(0, 1fr));
	  gap: clamp(20px, 2.6vw, 44px);
	  margin: clamp(30px, 4vh, 56px) 0 clamp(26px, 3.4vh, 44px);
	  padding: 0;
	  list-style: none;
	  text-align: center;
}

.tpc-why__point {
	display: flex;
	  flex-direction: column;
	  align-items: center;
	  gap: 12px;
}

.tpc-why__panel {
	width: 100%;
}

.tpc-why__facts {
	display: grid;
	  grid-template-columns: repeat(4, minmax(0, 1fr));
	  gap: clamp(16px, 2vw, 32px);
}

@media (max-width: 860px) {
	.tpc-why__list {
		grid-template-columns: 1fr;
	}

	.tpc-why__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.tpc-why__panel .tpc-why__fact {
	display: block;
	  text-align: center;
	  padding: 0 clamp(10px, 1.4vw, 22px);
	  border-bottom: 0;
	  border-left: 1px solid var(--band-hairline);
}

.tpc-why__panel .tpc-why__fact:first-child {
	border-left: 0;
}

.tpc-why__panel .tpc-why__fact dt {
	font-size: 12.5px;
	  letter-spacing: 0.08em;
	  text-transform: uppercase;
	  margin-bottom: 6px;
}

.tpc-why__panel .tpc-why__fact dd {
	text-align: center;
	  font-size: clamp(14px, 1.05vw, 16px);
	  line-height: 1.35;
}

.tpc-why__panel .tpc-textlink {
	display: inline-block; margin-top: clamp(18px, 2.2vh, 28px);
}

.tpc-why__panel-head {
	margin-bottom: clamp(16px, 2vh, 24px);
}

@media (max-width: 860px) {
	.tpc-why__panel .tpc-why__fact:nth-child(3) {
		border-left: 0;
	}
}

.tpc-services.band {
	background: linear-gradient(to top,
	    color-mix(in srgb, var(--primitive-signal-red) 82%, var(--primitive-orange)) 0,
	    color-mix(in srgb, var(--primitive-signal-red) 82%, var(--primitive-orange)) 3px,
	    rgba(255, 255, 255, 0) 3px);
}

.tpc-why.band {
	background: linear-gradient(180deg,
	    color-mix(in srgb, var(--primitive-signal-red) 80%, var(--primitive-asphalt)) 0%,
	    color-mix(in srgb, var(--primitive-signal-red) 72%, var(--primitive-asphalt)) 100%);
}

.tpc-why .tpc-why__sub,
.tpc-why .tpc-why__point strong,
.tpc-why .tpc-textlink--strong {
	color: var(--primitive-white);
}

.tpc-why .tpc-section-intro,
.tpc-why .tpc-why__point {
	color: color-mix(in srgb, var(--primitive-white) 92%, transparent);
}

.tpc-why.band .tpc-why__copy {
	--band-body-text: color-mix(in srgb, var(--primitive-white) 92%, transparent);
}

.tpc-why .tpc-why__point a {
	color: color-mix(in srgb, var(--primitive-orange) 55%, var(--primitive-white));
}

.tpc-why.band {
	--why-rhythm: clamp(96px, 11vh, 140px);
}

.tpc-why.band .tpc-why__list {
	margin-top: var(--why-rhythm);
	  margin-bottom: 0;
}

.tpc-why.band .tpc-why__inner {
	row-gap: var(--why-rhythm);
}

.tpc-why.band .tpc-why__actions {
	flex-direction: column;
	  align-items: center;
	  gap: 20px;
}

.tpc-why.band .tpc-why__actions .btn--primary {
	color: var(--primitive-white);
	  
	  min-width: min(300px, calc(100vw - 64px));
}

.tpc-why.band .tpc-why__actions .tpc-textlink--strong {
	color: var(--primitive-white);
	  text-decoration: underline;
	  text-underline-offset: 4px;
	  text-decoration-thickness: 2px;
}

.tpc-why__panel {
	position: relative; z-index: 1;
}

.tpc-why__pointer {
	--pointer-w: clamp(176px, calc((100vw - 1180px) / 2), 305px);
	  --pointer-h: calc(var(--pointer-w) * 1067 / 640);
	  position: absolute;
	  z-index: 0;
	  
	  left: calc(-1 * (100vw - 100%) / 2);
	  top: 50%;
	  transform: translateY(calc(-50% + var(--pointer-h) * 0.240));
	  width: var(--pointer-w);
	  pointer-events: none;
}

.tpc-why__pointer img {
	display: block; width: 100%; height: auto;
}

@media (max-width: 1279px) {
	.tpc-why__pointer {
		display: none;
	}
}

.tpc-why.band {
	overflow-x: clip; overflow-y: visible;
}

.tpc-why__panel-head {
	position: relative;
	  justify-content: center;
}

.tpc-why__panel-head .tpc-why__panel-kicker {
	text-align: center;
}

.tpc-why__panel-head .tpc-why__rating {
	position: absolute;
	  right: 0;
	  top: 50%;
	  transform: translateY(-50%);
}

.tpc-why__panel > .tpc-textlink {
	display: block;
	  width: fit-content;
	  margin-inline: auto;
}

.tpc-why__panel::after {
	content: "";
	  position: absolute;
	  inset: 0;
	  border-radius: inherit;
	  pointer-events: none;
	  
	  background-image: linear-gradient(100deg,
	    rgba(34, 34, 34, 0)    36%,
	    rgba(34, 34, 34, 0.06) 44%,
	    rgba(34, 34, 34, 0.11) 48%,
	    rgba(255, 255, 255, 1) 50%,
	    rgba(34, 34, 34, 0.11) 52%,
	    rgba(34, 34, 34, 0.06) 56%,
	    rgba(34, 34, 34, 0)    64%);
	  background-size: 260% 100%;
	  background-repeat: no-repeat;
	  animation: tpc-sheen 5.2s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
	.tpc-why__panel::after {
		animation: none; background-image: none;
	}
}

.tpc-hub.band {
	padding-top: clamp(250px, 27vh, 330px);
}

.tpc-testimonial__sub,
.tpc-hub__sub {
	margin: 0 0 clamp(12px, 1.4vw, 18px);
	  font-size: clamp(22px, 2.1vw, 34px);
	  line-height: 1.15;
	  font-weight: 800;
	  letter-spacing: -0.01em;
	  color: var(--primitive-asphalt);
}

.tpc-hub.band {
	background: color-mix(in srgb, var(--primitive-white) 55%, transparent);
}

.tpc-testimonial .tpc-section-head {
	margin-bottom: clamp(34px, 4vh, 64px);
}

.tpc-hub.band {
	background: none;
}

.tpc-hub.band {
	background: linear-gradient(to bottom,
	    color-mix(in srgb, var(--primitive-signal-red) 72%, var(--primitive-asphalt)) 0,
	    color-mix(in srgb, var(--primitive-signal-red) 72%, var(--primitive-asphalt)) 4px,
	    rgba(255, 255, 255, 0) 4px);
}
