/* TSP homepage prototype, direction A "The Thread": the page's own sections (v2, after the owner's first look).
   Tokens come from tokens.css (shared; never redefined here).
   v2 rules (BRIEF-v2.md): solid headlines, no keyword eyebrows, quiet buttons (solid primary, text secondary,
   8px radius, no glow), no badge cards, no glows or bokeh behind sections, fewer boxes: rules and space instead.
   Kajabi portability: every rule is scoped under a section root (.th-hero, .th-proof, .th-rail, .th-voice,
   .th-engage, .th-close, .th-footer). Patterns several sections share are written once with :is() over those
   roots; when a section is ported, it copies the shared rules it uses with its own root in place of :is(). */


/* ======================================================================= shared section patterns */
:is(.th-hero, .th-proof, .th-work, .th-rail, .th-voice, .th-svc, .th-engage, .th-close, .th-footer) { position: relative; }
:is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close, .th-footer),
:is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close, .th-footer) *,
:is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close, .th-footer) *::before,
:is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close, .th-footer) *::after { box-sizing: border-box; }
:is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close, .th-footer) { line-height: 1.6; color: var(--text); scroll-margin-top: 0; }   /* the header's height is html's scroll-padding-top (tokens.css) */
:is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close, .th-footer) .th-wrap { position: relative; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* A thread anchor with no element of its own: it covers its positioned parent, and x/y place the point. */
:is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close) .th-anchor { position: absolute; inset: 0; pointer-events: none; }
/* th-anchor--g: from the middle of the left gutter to the middle of the right one, so x = 0 and x = 1 are gutter points at any width. */
:is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close) .th-anchor--g { left: calc((100% - min(100%, var(--wrap))) / 4 + var(--gutter) / 2); right: calc((100% - min(100%, var(--wrap))) / 4 + var(--gutter) / 2); }

:is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close, .th-footer) .th-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Section label: a few words, sentence case, no keyword strings. v2 review: the case-study pages' short accent rule
   before it, so the homepage and the case studies read as one family. */
:is(.th-proof, .th-rail, .th-voice, .th-engage, .th-close) .th-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 500 15px/1.4 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--text-3); }   /* 22:57, the owner: the cyan label with a rule read as AI slop */

/* Headings: solid, one tone. Emphasis comes from size and weight. v2 review: the hero H1 is the top of the scale,
   so the statement H2 (the close), the work title and the proof numerals sit under it. */
:is(.th-rail, .th-engage, .th-close) .th-h2 { margin: 0; font-family: var(--f-display); font-weight: 600; color: var(--text); text-wrap: balance; }
:is(.th-rail, .th-engage, .th-close) .th-h2--statement { font-size: clamp(2.125rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -0.042em; }
:is(.th-rail, .th-engage, .th-close) .th-h2--utility { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.07; letter-spacing: -0.035em; max-width: 22ch; }

/* Buttons: one solid primary, crisp and quiet. No pill, no glow, no halo. */
:is(.th-hero, .th-close) .th-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent; font: 600 15px/1 var(--f-display); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
:is(.th-hero, .th-close) .th-btn--primary { color: #060b18; background: var(--text); }
:is(.th-hero, .th-close) .th-btn--primary:hover { background: #fff; }
:is(.th-hero, .th-close) .th-btn--xl { min-height: 54px; padding: 0 28px; font-size: 16px; }

:is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close, .th-footer) :is(a, button):focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* One-time reveal (opacity + 12px rise, ~500ms). Hidden only once a section's script has run. */
:is(.th-proof, .th-rail, .th-voice, .th-engage, .th-close).th-js .th-rv { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: var(--rv-d, 0ms); }
:is(.th-proof, .th-rail, .th-voice, .th-engage, .th-close).th-js .th-rv.is-in { opacity: 1; transform: none; }


/* ======================================================================= 1. hero: the H1 and the globe */
.th-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) - 9px + clamp(28px, 6vh, 72px)) 0 clamp(48px, 8vh, 96px);   /* -9px: the site header (chrome.css) is 75px, 9px taller than the 66px stand-in this hero was set under; this keeps the hero, and the logo marquee at its foot, where they were */ overflow: clip; container-type: inline-size; }
/* Two columns: the text, and the globe's square stage. The stage may run up to 96px into the right gutter
   (--bleed), so the H1 keeps its three-line set; the left edge stays on the page's 1200px grid. The two 1fr
   rows centre the text block on the globe. */
.th-hero__inner { --col: calc(clamp(360px, 33vw, 480px) - clamp(0px, (100vw - var(--wrap)) / 2, 96px)); --h1r: calc((100cqw - min(100cqw, var(--wrap))) / 2 + var(--gutter) + 8.75 * clamp(3rem, 5.6vw, 5rem)); --globe: clamp(360px, min(100cqw - 60px - var(--h1r), (100svh - 318px) * 1.3), 620px); width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) var(--col); grid-template-rows: 1fr auto auto auto auto 1fr; grid-template-areas: ". stage" "h1 stage" "sub stage" "cta stage" "creds stage" ". stage"; column-gap: clamp(32px, 4vw, 56px); }
/* v2 review: the page's main line is the top of its type scale (80px at 1440; the globe gives up a little width). */
.th-hero__h1 { grid-area: h1; margin: 0 0 30px; font: 600 clamp(3rem, 5.6vw, 5rem)/.98 var(--f-display); letter-spacing: -0.045em; color: var(--text); }
/* Three lines, set by hand: "We close the gap / between prototype / and production." */
.th-hero__h1 > span { display: block; white-space: nowrap; }
/* The owner's second look: the gradient back on the two words "prototype" and "production" only (the period and
   everything else stay solid). The only gradient type on the page. */
.th-hero__grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .08em; }
.th-hero__stage { grid-area: stage; align-self: center; position: relative; width: var(--globe); height: var(--globe); }
/* The owner (2026-11-26 13:19): "i feel like the globe should be larger". The globe's column keeps its old width, so the
   ring's left edge and the H1's room don't move; the globe grows to the right, past the content edge and partly off
   screen (.th-hero clips), and overhangs the text block by 12% top and bottom instead of making the hero taller. */
/* 13:50, "globe more to the left so it fits", and 22:31, "a bit more to the left so we can see the wrap around": the
   whole ring is in view. The stage is exactly the ring's width, its right edge sits 24px inside the hero's own width
   (100cqw, which leaves out a visible scrollbar), and --globe (above) keeps its left edge 36px clear of the H1. */
@media (min-width: 961px) {
  .th-hero__stage { justify-self: end; margin-block: calc(var(--globe) * -.12); margin-right: calc(-1 * ((100cqw - min(100cqw, var(--wrap))) / 2 + var(--gutter) - 24px)); }
}
/* The globe's mount: square and sized before globe.js runs (no layout shift). globe.js draws the dots and arcs into
   it; the sphere itself (a dark body lit from the upper left, and a thin rim of air) is painted here, once, so it
   shows without JS and costs nothing per frame. Radius: the globe's data-globe-r default, .8 of half the box. */
.th-hero__globe { position: relative; width: var(--globe); height: var(--globe); }
.th-hero__globe::before, .th-hero__globe::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.th-hero__globe::before { inset: 10%; background: radial-gradient(closest-side, rgba(7, 13, 30, 0) 58%, rgba(7, 13, 30, .5) 100%), radial-gradient(circle at 32.5% 30%, rgba(26, 48, 96, .5) 0%, rgba(10, 20, 44, .72) 48%, rgba(7, 13, 30, .8) 78%); }
.th-hero__globe::after { inset: 6.4%; background: radial-gradient(closest-side, rgba(0, 212, 255, 0) 82.6%, rgba(90, 190, 255, .13) 91.3%, rgba(90, 190, 255, .06) 93.4%, rgba(0, 212, 255, 0) 100%); }
/* the dots draw above the sphere's body and rim */
.th-hero__globe > canvas { z-index: 1; }
.th-hero__sub { grid-area: sub; margin: 0 0 34px; max-width: 33em; font: 300 clamp(18px, 1.45vw, 21px)/1.55 var(--f-body); color: var(--text-2); text-wrap: pretty; }
.th-hero__ctas { grid-area: cta; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; margin: 0 0 44px; }
.th-hero__more { display: inline-flex; align-items: center; gap: 8px; padding: 14px 0; font: 500 15px/1 var(--f-display); color: var(--text-2); text-decoration: none; transition: color .2s; }
.th-hero__more:hover { color: var(--text); }
/* The credentials (official marks with their text) are creds.css; the client-logo band at the hero's foot is
   marquee.css (v3 proof track, integrated after the v2 review). */
@media (prefers-reduced-motion: no-preference) {
  .th-hero__sub, .th-hero__ctas { animation: thRise .7s var(--ease-out) both; }
  .th-hero__sub { animation-delay: .1s; }
  .th-hero__ctas { animation-delay: .2s; }
}
@keyframes thRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ======================================================================= 2. proof band: tight, still */
.th-proof { padding: clamp(56px, 6vw, 88px) 0 clamp(64px, 6vw, 88px); }
/* v3 proof track: the logo grid and the "Partner programs" strip are gone (the logos are the hero's marquee, the
   badges sit in the hero's credentials), so the band is the ledger alone. Its top margin keeps the room the thread
   crosses in, right to left, on its way to the ledger's top rule. */
.th-proof__nums { list-style: none; margin: clamp(48px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.th-proof__num { padding: 34px 32px 4px 0; border-right: 1px solid var(--line); }
.th-proof__num + .th-proof__num { padding-left: 36px; }
.th-proof__num:last-child { border-right: 0; }
.th-proof__v { display: inline-block; margin: 0 0 18px; font: 600 clamp(3rem, 5vw, 4.5rem)/.9 var(--f-display); letter-spacing: -0.05em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.th-proof__lt { font-weight: 400; color: var(--text-2); margin-right: .03em; }
.th-proof__unit { margin-left: .1em; font-size: .36em; font-weight: 500; letter-spacing: -0.01em; color: var(--text-2); }
.th-proof__l { margin: 0 0 16px; max-width: 31ch; font-size: 16.5px; line-height: 1.5; color: var(--text-2); }
.th-proof__src { display: inline-flex; gap: 8px; font: 500 14px/1.4 var(--f-body); color: var(--text-3); text-decoration: none; transition: color .2s; }
.th-proof__src:hover { color: var(--text); }

/* ======================================================================= 5. client voice: quiet
   The owner, 2026-11-27 14:11: two featured quotes with their videos (RJ Barros; Aadil Ghani mirrored), each followed
   by a row of three, three across from 961px and sideways with the rail's arrows at 960px and under (mobile decision 3,
   home.js). Built in ../v3/voice (voice.css is this block). */
.th-voice { padding: clamp(104px, 11vw, 152px) 0 clamp(104px, 11vw, 152px); }
.th-voice h2.th-eyebrow { margin-bottom: clamp(28px, 3vw, 40px); }
.th-voice__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: end; gap: clamp(40px, 6vw, 96px); }
/* Mirrored: the video in the narrow column, on the left; the quote stays first in reading order */
.th-voice__grid--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); align-items: center; }
.th-voice__grid--flip > .th-voice__pair { grid-area: 1 / 1; }
.th-voice__more, .th-voice__grid--flip { margin-top: clamp(88px, 9vw, 128px); }
.th-voice__feature { position: relative; margin: 0; }
.th-voice__quote { margin: 0; }
.th-voice__quote p { margin: 0; font: 400 clamp(23px, 2.45vw, 34px)/1.36 var(--f-display); letter-spacing: -0.02em; color: #c9d1e6; text-wrap: pretty; }
/* 22:57, the owner: "why does this text not have any bold / gradient to accentuate the vibe?" The key phrase is bold and
   white; RJ's verdict takes the hero's gradient (the second place it appears, by the owner's ask). */
.th-voice__hl { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .06em; }
/* the opening quote mark hangs in the margin, so the text edge stays straight */
.th-voice__hang { display: inline-block; width: .44em; margin-left: -.44em; }
.th-voice__quote strong { font-weight: 600; color: var(--text); }
.th-voice__who { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.th-voice__avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.th-voice__name { display: block; font: 600 16px/1.3 var(--f-display); color: var(--text); }
.th-voice__role { display: block; margin-top: 2px; font: 400 14px/1.35 var(--f-body); color: var(--text-3); }
.th-voice__pair { display: grid; gap: 22px; }
.th-voice__video { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; isolation: isolate; text-decoration: none; background: #0b1020; scroll-margin-top: 16px; }
.th-voice__video img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.th-voice__video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 11, 24, .82) 0%, rgba(6, 11, 24, .1) 50%, transparent 72%); }
.th-voice__video:hover img { transform: scale(1.03); }
/* 22:41, the owner: the videos play in the page. voice-video.js swaps the still for Loom's player on click (nothing
   loads from Loom before), 16px under the header; without JS the link opens Loom. .is-focus: opened with Enter. */
.th-voice__video.is-playing::after { display: none; }
.th-voice__video iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; background: #000; }
.th-voice__video.is-focus { outline: 2px solid var(--cyan); outline-offset: 3px; }
.th-voice__play { position: absolute; z-index: 1; left: 18px; bottom: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #060b18; background: var(--text); }
.th-voice__play svg { margin-left: 2px; }
.th-voice__vlabel { position: absolute; z-index: 1; left: 72px; bottom: 26px; font: 600 15px/1.2 var(--f-display); color: #fff; }
.th-voice__case { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.th-voice__ck { font: 500 13.5px/1.4 var(--f-body); color: var(--text-3); }
.th-voice__co { font: 600 18px/1.3 var(--f-display); letter-spacing: -0.01em; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .25s; }
.th-voice__case:hover .th-voice__co { text-decoration-color: currentColor; }
.th-voice__ct { font-size: 14px; line-height: 1.45; color: var(--text-3); }
.th-voice__moreh { margin: 0 0 22px; font: 500 15px/1.4 var(--f-body); color: var(--text-3); }
/* A row: a rule above each quote, no boxes. Each card spans three rows of its track (subgrid), so the quotes, the names
   and the links of a row start level, whatever a quote's length or a role's wrap (Emil Sterndorff's, 961-1099px). */
.th-voice__track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(32px, 3.6vw, 56px); }
.th-voice .th-q { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.th-voice .th-q__text { margin: 0; }
.th-voice .th-q__text p { max-width: 52ch; margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.th-voice .th-q__text strong { font-weight: 600; color: var(--text); }
.th-voice .th-q__text p::before { content: '“'; }
.th-voice .th-q__text p::after { content: '”'; }
.th-voice .th-q__who { display: flex; align-self: start; align-items: center; gap: 12px; }
.th-voice .th-q__who img { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.th-voice .th-q__name { display: block; font: 600 15px/1.3 var(--f-display); color: var(--text); }
.th-voice .th-q__role { display: block; font-size: 13.5px; line-height: 1.35; color: var(--text-3); }
.th-voice .th-q__foot { display: flex; align-items: center; min-height: 24px; }
.th-voice .th-q__link { display: inline-block; font: 500 14px var(--f-display); color: var(--text-2); text-decoration: none; transition: color .2s; }
.th-voice .th-q__link:hover { color: var(--text); }
/* The rail's arrows and progress line (rail.css .th-railbtn, .th-rail__bar), under a row that scrolls (below) */
.th-voice__ctrl { display: none; }
.th-voice .th-railbtn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 500 17px/1 var(--f-display); cursor: pointer; transition: border-color .2s, opacity .2s; }
.th-voice .th-railbtn:hover { border-color: var(--text-3); }
.th-voice .th-railbtn[aria-disabled="true"] { opacity: .3; cursor: default; border-color: var(--line); }
.th-voice__bar { position: relative; flex: 1; height: 1px; margin-left: 16px; overflow: hidden; background: var(--line); }
.th-voice__fill { position: absolute; inset: 0; background: var(--text-3); transform-origin: 0 50%; transform: scaleX(0); transition: transform .2s linear; }

@media (max-width: 960px) {
  .th-voice { padding: clamp(64px, 11vw, 104px) 0; }                                   /* mobile plan S2 */
  .th-voice__more, .th-voice__grid--flip { margin-top: clamp(56px, 9vw, 88px); }      /* mobile plan S2 */
  .th-voice__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .th-voice__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  /* Aadil's video has no case study beside it: the column's full width, as on a phone */
  .th-voice__grid--flip > .th-voice__pair { grid-area: auto; grid-template-columns: minmax(0, 1fr); }
  /* Each row scrolls sideways only (overflow-y: hidden, 22:4x: no scroll trap). 6px of ring room, taken back by the
     margins; the end padding lets the next card peek in and the last one snap. Two cards in view on a tablet. */
  .th-voice__track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc(50% - 10px); gap: 20px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 6px; scrollbar-width: none; margin: -6px calc(-1 * var(--gutter)) -6px -6px; padding: 6px calc(16% + var(--gutter)) 6px 6px; }
  .th-voice__track::-webkit-scrollbar { display: none; }
  /* mobile plan V1: a card is one column, its name right under its quote (the row keeps the tallest card's height) */
  .th-voice .th-q { display: flex; flex-direction: column; grid-row: auto; scroll-snap-align: start; }
  /* the row takes keyboard focus here (home.js), to be scrolled with the arrow keys */
  .th-voice__track:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 6px; }
  /* the reveal only fades here: its 12px rise gave the row a vertical overflow */
  .th-voice.th-js .th-voice__track .th-q.th-rv { transform: none; }
  .th-voice__ctrl:not([hidden]) { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
}
@media (max-width: 640px) {
  .th-voice__pair { grid-template-columns: minmax(0, 1fr); }
  .th-voice__track { grid-auto-columns: 100%; }
  .th-voice .th-q__link { padding: 12px 0; line-height: 20px; }                         /* mobile plan S4: 44px */
  .th-voice__bar { height: 2px; }                     /* mobile plan R2, as the rail's line (rail.css) */
  .th-voice__fill { background: var(--text-2); }
}

/* ======================================================================= 8. close: expansive, the only centered section */
.th-close { padding: clamp(128px, 13vw, 188px) 0 clamp(96px, 10vw, 136px); text-align: center; overflow: clip; }
.th-close .th-close__h { margin: 0 auto 22px; max-width: 15ch; }
.th-close__p { margin: 0 auto 40px; max-width: 44ch; text-wrap: balance; font: 300 clamp(18px, 1.5vw, 21px)/1.55 var(--f-body); color: var(--text-2); }
.th-close__ctas { display: flex; justify-content: center; }
/* What to expect: one centred column under the button (v2 review: not a three-feature row), one hairline above it. */
.th-close__expect { list-style: none; margin: clamp(72px, 8vw, 104px) auto 0; padding: 26px 0 0; max-width: 46ch; display: grid; gap: 18px; text-align: center; border-top: 1px solid var(--line); }
.th-close__expect li { display: grid; gap: 4px; }
.th-close__expect h3 { margin: 0; font: 600 17px/1.35 var(--f-display); letter-spacing: -0.01em; color: var(--text); }
.th-close__expect p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); text-wrap: balance; }


/* ======================================================================= responsive */
/* Hero stacks, pitch first (the owner's mobile decision 1; 2026-11-27 mobile pass H1, by its IDs in
   v3/mobile-audit/PLAN.md): headline, sub, buttons, then the globe and its wrap, then the credentials. */
@media (max-width: 960px) {
  .th-hero__inner { --globe: min(440px, 76vw); --bleed: 0px; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "h1" "sub" "cta" "stage" "creds"; }
  .th-hero__h1 { margin-bottom: 22px; font-size: clamp(2rem, 9.9vw, 4.25rem); }
  .th-hero__stage { justify-self: center; margin: 4px 0 12px; }
  .th-hero .th-nowrap { white-space: nowrap; }   /* H3 */
  .th-hero__more { padding: 15px 0; }   /* S4 */
  .th-proof { padding-bottom: clamp(24px, 6vw, 64px); }   /* S2 */
  .th-proof__l { text-wrap: pretty; }   /* S3 */
  .th-close { padding: clamp(72px, 13vw, 128px) 0 clamp(72px, 10vw, 96px); }   /* S2 */
  .th-close__expect { margin-top: clamp(56px, 8vw, 72px); }
  .th-close__expect h3 { text-wrap: balance; }   /* S3 */
}
/* H4: landscape phones */
@media (max-width: 960px) and (max-height: 500px) { .th-hero__h1 { font-size: clamp(2rem, 11svh, 4.25rem); } }
/* Tablets (641-960px): the thread leaves the globe further right, clear of the credentials under it. */
@media (min-width: 641px) and (max-width: 960px) {
  .th-hero .th-anchor--exit { left: 15%; right: -15%; }
}
@media (max-width: 640px) {
  .th-hero { min-height: 0; padding-top: calc(var(--nav-h) + 32px); padding-bottom: 56px; }
  .th-hero__inner { --globe: min(300px, 78vw); }
  .th-hero__h1 { margin-bottom: 18px; }
  .th-hero__sub { margin-bottom: 24px; font-size: 17px; }
  .th-hero__ctas { gap: 8px 22px; margin-bottom: 30px; }
  /* S1: the exit point mid right gutter (100% = the stage, 100cqw = the hero) */
  .th-hero .th-anchor--exit { right: calc((100% - 100cqw) / 2 + var(--gutter) / 2); }
  .th-proof { padding-top: 36px; }   /* S2 */
  .th-proof__nums { margin-top: 0; grid-template-columns: minmax(0, 1fr); }
  .th-proof__src { padding: 13px 0; margin: -13px 0; }   /* S4 */
  .th-proof__num, .th-proof__num + .th-proof__num { padding: 26px 0 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .th-proof__num:last-child { border-bottom: 0; }
  .th-proof__v { display: block; margin-bottom: 12px; font-size: 2.25rem; }
  .th-proof__l { margin-bottom: 12px; }
}

/* ======================================================================= reduced motion: final states, nothing moves */
@media (prefers-reduced-motion: reduce) {
  :is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close, .th-footer) *,
  :is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close, .th-footer) *::before,
  :is(.th-hero, .th-proof, .th-rail, .th-voice, .th-engage, .th-close, .th-footer) *::after { animation: none !important; transition: none !important; }
  :is(.th-proof, .th-rail, .th-voice, .th-engage, .th-close).th-js .th-rv { opacity: 1; transform: none; }
  .th-voice__video:hover img { transform: none; }
}
