/* Service pages (prototype for owner review): the template's own styles. Every rule is under .sp (the page's <main>) or
   an .sp-* class. The page also loads the homepage prototype's stylesheets and reuses what they style, unchanged:
   tokens.css (colours, type, --nav-h, --sticky-top), chrome.css (the live header, phone menu and footer, the chapter
   bar .th-chap, back to top .th-top), svc.css and arch-panel.css (the hero's simulation, as the homepage services panel
   draws it, and the hub's service tiles), home.css (the client quote, .th-voice). Fonts: Space Grotesk (display),
   Outfit (body), JetBrains Mono (numbers and small labels), as on the homepage and the case studies.
   The owner's rules that shape this file (homepage BRIEF-v2.md): solid headlines with one gradient phrase in the H1;
   quiet sentence-case labels with no accent rule; a solid primary button, a text or outline secondary, 8px radius, no
   glow; no decorative dots; no icon-in-a-circle grids; rules and space rather than boxes; one signature motion (the
   simulation); AI cover art shown as drawn, with its "Illustration" label. */

.sp, .sp *, .sp *::before, .sp *::after { box-sizing: border-box; }
.sp { display: block; color: var(--text); font-family: var(--f-body); line-height: 1.6; }
.sp a { color: inherit; }
.sp :is(a, button):focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sp-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; }
.sp-nb { white-space: nowrap; }
.sp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sp-sec { position: relative; padding: clamp(80px, 8vw, 120px) 0; }

/* ------------------------------------------------------------------------------------------- type and buttons */
/* Section label: a few words, sentence case, quiet (the owner, 2026-11-26 22:57: the cyan label with a rule "looks vibe
   coded ai slop"), as the homepage's .th-eyebrow */
.sp-label { margin: 0 0 18px; font: 500 15px/1.4 var(--f-body); letter-spacing: 0; color: var(--text-3); }
.sp-h1 { margin: 0; font: 600 clamp(2.5rem, 4.2vw, 3.5rem)/1.04 var(--f-display); letter-spacing: -0.045em; color: var(--text); text-wrap: balance; }
/* the homepage H1's gradient ("prototype", "production"): one phrase per page, nothing else */
.sp-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; }
.sp-h2 { margin: 0; max-width: 21ch; font: 600 clamp(2rem, 3.4vw, 3rem)/1.07 var(--f-display); letter-spacing: -0.035em; color: var(--text); text-wrap: balance; }
.sp-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sp-head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 20px clamp(32px, 5vw, 80px); }
.sp-head__p { margin: 0; max-width: 46ch; font-size: 17px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

.sp-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, border-color .2s ease; }
.sp .sp-btn--primary { color: #060b18; background: var(--text); }   /* .sp: above .sp a's colour: inherit */
.sp .sp-btn--primary:hover { background: #fff; }
.sp-btn--xl { min-height: 54px; padding: 0 28px; font-size: 16px; }
.sp .sp-btn--line { color: var(--text); background: transparent; border-color: var(--line-2); }
.sp .sp-btn--line:hover { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .03); }
.sp-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; }
.sp-more:hover { color: var(--text); }
.sp-arr { display: inline-block; transition: transform .2s ease; }
.sp a:hover .sp-arr { transform: translateX(3px); }

/* ------------------------------------------------------------------------------------------- hero */
/* The service, a headline, the lede, the call to action, and the service's live simulation (the homepage panel's, with
   its "Simulated" label). The text sits on the page's 1200px grid, its left edge every section's; on screens wider than
   the grid the simulation runs up to 96px past its right edge, into the margin (as the homepage's globe does), so the
   AWS diagram keeps the landscape layout it needs (520px and up). One soft light behind the simulation, the only one
   on the page (the owner's rule: no glow behind every card; the Selected work devices' ambient light is the model). */
.sp-hero { position: relative; padding: calc(var(--nav-h) + clamp(44px, 7.5vh, 96px)) 0 clamp(56px, 8vh, 96px); overflow: clip; }
.sp-hero__in { --bleed: clamp(0px, (100vw - var(--wrap)) / 2 - 24px, 96px); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); grid-template-areas: "text sim"; align-items: center; gap: clamp(32px, 4.4vw, 64px); }
.sp-hero__text { grid-area: text; min-width: 0; }
.sp-hero__sim { grid-area: sim; position: relative; margin-right: calc(-1 * var(--bleed)); }
.sp-hero--marks .sp-hero__in { grid-template-areas: "text sim" "marks sim"; row-gap: 34px; }
.sp-hero--marks .sp-hero__text { align-self: end; }
.sp-hero--marks .sp-marks { grid-area: marks; align-self: start; }
.sp-hero__sim::before { content: ''; position: absolute; z-index: -1; inset: -12% -8% -14% -10%; background: radial-gradient(closest-side, rgba(var(--cyan-rgb), .10), rgba(var(--violet-rgb), .07) 55%, transparent); pointer-events: none; }
.sp-crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .06em; color: var(--text-3); }
.sp-crumbs a { color: var(--text-2); text-decoration: none; }
.sp-crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.sp-crumbs [aria-current] { color: var(--text-2); }
.sp-hero__lede { margin: 26px 0 34px; max-width: 34em; font: 300 clamp(18px, 1.4vw, 20px)/1.55 var(--f-body); color: var(--text-2); text-wrap: pretty; }
.sp-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; }
.sp-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding-top: 26px; border-top: 1px solid var(--line); }
.sp-marks__k { margin: 0; font: 500 14px/1.4 var(--f-body); color: var(--text-3); }
.sp-marks__list { list-style: none; display: flex; align-items: center; gap: 16px; margin: 0; padding: 0; }
.sp-marks__cred { display: block; border-radius: 6px; transition: opacity .2s; }
a.sp-marks__cred:hover { opacity: .85; }
.sp-marks__mark { display: block; width: auto; height: 64px; }

/* the simulation: the homepage panel's media box as it is (svc.css), out of the services section's own spacing */
.sp .sp-sim.th-svc { padding: 0; background: none; isolation: isolate; min-width: 0; }
.sp .sp-sim .th-svc__media { margin-top: 0; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .02); }
@media (prefers-reduced-motion: no-preference) {
  .sp-hero__text > * { animation: spRise .7s var(--ease-out) both; }
  .sp-hero__text > :nth-child(2) { animation-delay: .05s; }
  .sp-hero__text > :nth-child(3) { animation-delay: .1s; }
  .sp-hero__text > :nth-child(n+4) { animation-delay: .16s; }
  .sp-marks { animation: spRise .7s var(--ease-out) .2s both; }
}
@keyframes spRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------------------------------- results */
/* The case studies' figures as a ledger (the homepage proof band's), each linked to its study. A figure never runs past
   its column: --em is its width in em, written by render.mjs, and the size is capped at 100cqw / --em.
   The figures come in runs (render.mjs): consecutive figures from one case study share one link, under the run, and
   the rule between columns runs down past the link only between runs, so the link reads as the whole run's source. A
   run is --n columns of the four (--n2 of two on tablets). */
.sp-proof { padding-top: clamp(24px, 3vw, 48px); }
.sp-proof__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.sp-proof__run { grid-column: span var(--n, 1); display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); }
.sp-proof__run:last-child { border-right: 0; }
.sp-proof__figs { flex: 1 0 auto; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); }
.sp-proof__item { display: flex; flex-direction: column; min-width: 0; padding: 32px 28px 0; border-right: 1px solid var(--line); container-type: inline-size; }
.sp-proof__item:last-child { border-right: 0; }
.sp-proof__run:first-child .sp-proof__item:first-child { padding-left: 0; }
.sp-proof__run:last-child .sp-proof__item:last-child { padding-right: 0; }
.sp-proof__v { margin: 0 0 18px; font-family: var(--f-display); font-weight: 600; font-size: min(clamp(2.75rem, 4.4vw, 4.25rem), calc(100cqw / var(--em, 3))); line-height: .92; letter-spacing: -0.05em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sp-proof__u { margin-left: .06em; font-size: .45em; font-weight: 500; letter-spacing: -0.01em; color: var(--text-2); }
.sp-proof__l { margin: 0 0 18px; max-width: 30ch; font-size: 16px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
/* The source link is text with its arrow inline (2026-11-29, release check: as a flex row, a label that wrapped to two
   lines pushed the arrow to the column's far edge, up to 204px from the text); render.mjs keeps the arrow with the last
   word (.sp-nb), so it never wraps alone. */
.sp-proof__src { align-self: flex-start; display: inline-block; margin: 0 28px 4px; font: 500 14px/1.4 var(--f-body); color: var(--text-3); text-decoration: none; transition: color .2s; }
.sp-proof__src .sp-arr { margin-left: 4px; }
.sp-proof__run:first-child .sp-proof__src { margin-left: 0; }
.sp-proof__src:hover { color: var(--text); }

/* ------------------------------------------------------------------------------------------- what we build */
.sp-build__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; gap: 40px clamp(40px, 6vw, 96px); }
.sp-build__head { position: sticky; top: calc(var(--sticky-top) + 40px); }
.sp-build__head .sp-h2 { font-size: clamp(2rem, 2.9vw, 2.75rem); }
.sp-build__head .sp-head__p { margin-top: 22px; }
.sp-caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 3.4vw, 52px); }
.sp-cap { display: flex; flex-direction: column; min-width: 0; padding: 26px 0 40px; border-top: 1px solid var(--line); }
.sp-cap__n { margin-bottom: 16px; font: 500 13px/1 var(--f-mono); color: var(--text-3); }
.sp-cap__t { margin: 0 0 10px; font: 600 clamp(20px, 1.7vw, 23px)/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.sp-cap__d { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.sp-cap__ics { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 14px; }
.sp-cap__proof { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.sp-cap__pk { margin-right: 4px; }
.sp-cap__sep { padding: 0 4px; }
.sp-cap__proof a { color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .28); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.sp-cap__proof a:hover { color: var(--text); text-decoration-color: currentColor; }

/* ------------------------------------------------------------------------------------------- case studies */
/* The case-study system's checked card crops (registry-overlay.json), as on the homepage rail and the case studies'
   Previous / Next cards; no visible "Illustration" label since 2026-11-29 (the owner's call). Lines: the rail's (without
   a closing period: card outcome lines and titles are titles), unless the data file gives one. */
.sp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 48px) clamp(18px, 2vw, 28px); }
.sp-cards--big { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: clamp(44px, 5vw, 72px); }
.sp-card { min-width: 0; }
.sp-card__a { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; border-radius: 10px; }
.sp-card__media { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 18px; overflow: hidden; border-radius: 10px; background: #0b1020; }
.sp-card--big .sp-card__media { aspect-ratio: 16 / 9; }
.sp-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.92); transition: transform .7s var(--ease-out), filter .4s ease; }
.sp-card__a:hover .sp-card__media img { transform: scale(1.03); filter: saturate(.85) brightness(1); }
.sp-card__body { display: grid; gap: 8px; }
.sp-card__k { font: 500 13.5px/1.4 var(--f-body); color: var(--text-3); }
.sp-card__o { font: 600 clamp(17px, 1.3vw, 19px)/1.3 var(--f-display); letter-spacing: -0.015em; color: var(--text); text-wrap: pretty; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .25s; }
.sp-card--big .sp-card__o { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.22; letter-spacing: -0.022em; max-width: 30ch; }
.sp-card__a:hover .sp-card__o { text-decoration-color: currentColor; }
.sp-card__t { font-size: 14px; line-height: 1.45; color: var(--text-3); }
.sp-work__all { margin: clamp(36px, 4vw, 56px) 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
/* one featured study (a practice with a single case study so far): one wide card, the picture beside the words, and
   "Read the case study" under them, an outline button inside the card's one link */
.sp-cards--one { grid-template-columns: minmax(0, 1fr); }
.sp-cards--one .sp-card__a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
.sp-cards--one .sp-card__media { margin: 0; aspect-ratio: 16 / 10; }
.sp-cards--one .sp-card__o { font-size: clamp(24px, 2.4vw, 32px); }
.sp-card__go { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; margin-top: 18px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--line-2); font: 600 15px/1 var(--f-display); color: var(--text); transition: border-color .2s, background-color .2s; }
.sp-card__a:hover .sp-card__go { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .03); }
/* fewer than four smaller cards fill the row: two side by side, or three across, in the large cards' 16:9 */
.sp-cards--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-cards--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:is(.sp-cards--n2, .sp-cards--n3) .sp-card__media { aspect-ratio: 16 / 9; }
.sp-cards--n2 .sp-card__o { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.25; max-width: 32ch; }
/* a study's architecture, the drawing the homepage's Selected work shows for it, after its card */
.sp-arch { margin: clamp(44px, 5vw, 72px) 0 0; }
.sp-arch__frame { overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: #090f20; }
.sp-arch__frame img { display: block; width: 100%; height: auto; }
.sp-arch__cap { max-width: 80ch; margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.sp-arch__k { margin-right: 6px; font-weight: 500; color: var(--text); }
.sp-arch__cap a { white-space: nowrap; color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .28); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.sp-arch__cap a:hover { text-decoration-color: currentColor; }
/* the app tour (work.clip): the case study's phone that plays, with its steps beside it (its styles come from
   case-study.css, written into the page by render.mjs); here only its place in the section and its heading */
.sp-clip { margin: clamp(56px, 6vw, 96px) 0 0; padding-top: clamp(40px, 4.4vw, 64px); border-top: 1px solid var(--line); }
.sp-clip .cs-clip__head .sp-label { margin-bottom: 12px; }
.sp-clip__h { margin: 0 0 8px; font: 600 clamp(1.6rem, 2.4vw, 2.1rem)/1.12 var(--f-display); letter-spacing: -0.03em; color: var(--text); text-wrap: balance; }

/* the client quote: the homepage's Client voice block (home.css), with this page's spacing. A quote with nothing beside
   it (its card links no case study) is set larger, across most of the grid, as a statement rather than half a row */
.sp-voice.th-voice { padding: clamp(24px, 3vw, 48px) 0 clamp(80px, 8vw, 120px); }
.sp .sp-voice__solo { grid-template-columns: minmax(0, 1fr); }
.sp .sp-voice__solo .th-voice__feature { max-width: 1000px; }
.sp .sp-voice__solo .th-voice__quote p { font-size: clamp(24px, 3.1vw, 44px); line-height: 1.3; letter-spacing: -0.025em; }
.sp .sp-voice__solo .th-voice__who { margin-top: 36px; }
.sp-voice__art { display: block; border-radius: 10px; }
.sp .sp-voice__media { aspect-ratio: 16 / 9; margin: 0; }
.sp-voice__art:hover .sp-voice__media img { transform: scale(1.03); filter: saturate(.85) brightness(1); }
/* a row quote's own video (voice.video): the homepage's player box (home.css .th-voice__video, voice-video.js) at the
   video's own shape; a portrait one (Sean McNair's Loom, 720 x 1312) is narrow, beside the quote's last lines */
.sp .sp-voice__video { aspect-ratio: var(--ar, 16 / 9); }
.sp .sp-voice__video--tall { width: min(100%, 300px); justify-self: end; }
.sp .sp-voice__grid--tall { align-items: center; }

/* ------------------------------------------------------------------------------------------- stack */
.sp-stack__groups { border-bottom: 1px solid var(--line); }
.sp-stack__group { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.sp-stack__g { margin: 0; padding-top: 11px; font: 500 14.5px/1.4 var(--f-body); color: var(--text-3); }
.sp-stack__tiles { align-self: start; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sp-tile { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 7px 14px 7px 7px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font: 500 14px/1.3 var(--f-display); color: var(--text); }

/* icon tiles: the case-study pages' (case-study.css .cs-ic), the same rules: AWS icons whole and unmodified; a brand
   mark on a tile of its own colour (--ic), a near-black one with a hairline edge; a filled badge whole, TypeScript's
   masked to the tile's rounded square (the mask's rx must equal --ic-r); supplied logos in their own colours, on a light
   backing when they set none; a self-tiled app icon whole; a text tile for a technology with no logo */
.sp-ic { --ic-r: 8px; flex: none; width: var(--ic-s, 28px); height: var(--ic-s, 28px); display: inline-grid; place-items: center; }
.sp-ic svg { display: block; }
.sp-ic--aws svg, .sp-ic--badge svg, .sp-ic--tiled svg { width: 100%; height: 100%; }
.sp-ic--brand, .sp-ic--supplied { border-radius: var(--ic-r); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.sp-ic--brand { background: var(--ic); box-shadow: none; }
.sp-ic--edge { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
.sp-ic--brand svg { width: 58%; height: 58%; }
.sp-ic--supplied svg { width: 70%; height: 70%; }
.sp-ic--round { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27%3E%3Crect width=%27100%25%27 height=%27100%25%27 rx=%278%27/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27%3E%3Crect width=%27100%25%27 height=%27100%25%27 rx=%278%27/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.sp-ic--light { border-radius: var(--ic-r); background: #e6eaf2; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.sp-ic--light svg { width: 66%; height: 66%; }
.sp-ic--mono { overflow: hidden; border-radius: var(--ic-r); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); font: 600 min(8.5px, calc(var(--ic-s, 28px) * .74 / (var(--mono-n, 4) * .6))) / 1 var(--f-mono); color: var(--text-2); }
.sp-cap__ics .sp-ic { --ic-s: 32px; }

/* ------------------------------------------------------------------------------------------- how we work */
/* The homepage's six steps as a timeline down the page, on a rail at their left (the homepage's cyan-to-violet line).
   Each row: the step and its line, then, beside it, what that step looked like on one of this practice's case studies.
   Rules and space, no boxes. */
.sp-steps { position: relative; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sp-steps::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, rgba(var(--cyan-rgb), .7), rgba(var(--violet-rgb), .6) 72%, rgba(var(--violet-rgb), .12)); }
.sp-step { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto 1fr; column-gap: clamp(32px, 5vw, 80px); padding: 30px 0 34px 52px; border-bottom: 1px solid var(--line); }
.sp-step > :not(.sp-step__ex):not(.sp-step__node) { grid-column: 1; }
.sp-step__node { position: absolute; left: 0; top: 34px; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid rgba(var(--cyan-rgb), .8); background: var(--bg); }
.sp-step.has-ex .sp-step__node { background: radial-gradient(circle, var(--cyan) 0 2.5px, var(--bg) 3px); }
.sp-step__n { display: block; font: 500 13px/1 var(--f-mono); color: var(--text-3); padding-top: 4px; }
.sp-step__t { margin: 12px 0 8px; font: 600 clamp(21px, 1.8vw, 25px)/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--text); }
.sp-step__d { margin: 0; max-width: 40ch; font-size: 16px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.sp-step__ex { grid-column: 2; grid-row: 1 / -1; align-self: start; margin: 0; padding: 2px 0 0 clamp(20px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.sp-step__exk { margin: 0 0 8px; font: 500 14px/1.4 var(--f-body); color: var(--text-3); }
.sp-step__exk a { color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .28); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.sp-step__exk a:hover { color: var(--text); text-decoration-color: currentColor; }
.sp-step__ext { margin: 0; max-width: 52ch; font: 400 clamp(16.5px, 1.3vw, 18px)/1.55 var(--f-body); color: var(--text); text-wrap: pretty; }

/* ------------------------------------------------------------------------------------------- tiers */
.sp-tiers { border-top: 1px solid var(--line); }
.sp-tiers__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-tier { display: flex; flex-direction: column; min-width: 0; padding: 4px clamp(24px, 3vw, 44px) 0; border-left: 1px solid var(--line); }
.sp-tier:first-child { padding-left: 0; border-left: 0; }
.sp-tier:last-child { padding-right: 0; }
.sp-tier__k { margin: 0; font: 500 14px/1.4 var(--f-body); color: var(--text-3); }
.sp-tier__name { margin: 10px 0 14px; font: 600 clamp(26px, 2.4vw, 32px)/1.1 var(--f-display); letter-spacing: -0.03em; color: var(--text); }
.sp-tier__d { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.sp-tier__meta { display: grid; gap: 8px; margin: 24px 0 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sp-tier__meta div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.sp-tier__meta dt { font-size: 14.5px; color: var(--text-3); }
.sp-tier__meta dd { margin: 0; font: 500 15.5px/1.45 var(--f-display); color: var(--text); }
.sp-tier__inc { list-style: none; display: grid; gap: 9px; margin: 0; padding: 0; }
.sp-tier__inc li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.sp-tier__inc li::before { content: '–'; position: absolute; left: 0; color: var(--text-3); }
.sp-tier__go { margin: auto 0 0; padding-top: 30px; }

/* ------------------------------------------------------------------------------------------- the close */
.sp-close { padding-bottom: clamp(104px, 11vw, 160px); text-align: center; }
.sp-close__in { display: flex; flex-direction: column; align-items: center; }
.sp-close__h { margin: 0; max-width: 16ch; font: 600 clamp(2.25rem, 4.6vw, 4rem)/1.02 var(--f-display); letter-spacing: -0.042em; color: var(--text); text-wrap: balance; }
.sp-close__p { margin: 22px 0 36px; font: 300 clamp(18px, 1.5vw, 21px)/1.5 var(--f-body); color: var(--text-2); }
.sp-close__go { margin: 0; }
.sp-close__expect { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 960px; margin: clamp(56px, 6vw, 88px) 0 0; padding: 36px 0 0; border-top: 1px solid var(--line); text-align: left; }
.sp-close__expect h3 { margin: 0 0 6px; font: 600 17px/1.3 var(--f-display); color: var(--text); }
.sp-close__expect p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }

/* ------------------------------------------------------------------------------------------- the hub */
.sp-hero--hub .sp-hero__in { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); align-items: end; }
.sp-hero--hub .sp-h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); max-width: 15ch; }
.sp-hub__index { grid-area: sim; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sp-hub__index li { border-bottom: 1px solid var(--line); }
.sp-hub__index a { display: flex; align-items: baseline; gap: 16px; padding: 13px 2px; font: 500 17px/1.3 var(--f-display); color: var(--text-2); text-decoration: none; transition: color .2s, padding-left .25s var(--ease-out); }
.sp-hub__index a:hover { color: var(--text); padding-left: 6px; }
.sp-hub__n { font: 500 12px/1 var(--f-mono); color: var(--text-3); }
.sp-groups__note { margin-top: 0; margin-bottom: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-3); }
.sp-group { padding: clamp(56px, 6vw, 88px) 0 0; }
.sp-group:last-child { padding-bottom: clamp(88px, 9vw, 136px); }
.sp-group__h { margin: 0 0 clamp(28px, 3vw, 40px); padding-bottom: 14px; border-bottom: 1px solid var(--line-2); font: 500 15px/1.4 var(--f-body); color: var(--text-3); }
.sp-svcs { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 5vw, 72px); }
.sp-svc { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: center; gap: 28px clamp(36px, 5vw, 80px); scroll-margin-top: 24px; }
.sp-svc__tile { display: block; border-radius: 14px; }
.sp .sp-svc__tile .th-svc__sq { transform-origin: 50% 50%; }
.sp-svc__tile:hover .th-svc__sq { border-color: var(--line-2); }
.sp-svc__body { min-width: 0; max-width: 640px; }
.sp-svc__k { display: flex; align-items: baseline; gap: 14px; margin: 0 0 12px; font: 500 14.5px/1.4 var(--f-body); color: var(--text-3); }
.sp-svc__n { font: 500 13px/1 var(--f-mono); color: var(--text-3); }
.sp-svc__h { margin: 0 0 14px; font: 600 clamp(28px, 2.9vw, 40px)/1.08 var(--f-display); letter-spacing: -0.035em; }
.sp-svc__h a { color: var(--text); text-decoration: none; }
.sp-svc__h a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(255, 255, 255, .35); }
.sp-svc__promise { margin: 0 0 18px; font: 400 clamp(18px, 1.45vw, 21px)/1.45 var(--f-body); color: var(--text-2); text-wrap: pretty; }
.sp-svc__proof { margin: 0 0 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--text-3); }
.sp-svc__pv { margin-right: 4px; font: 600 17px/1 var(--f-display); letter-spacing: -0.01em; color: var(--text); }
.sp-svc__proof a { color: var(--text-2); text-decoration: none; white-space: nowrap; }
.sp-svc__proof a:hover { color: var(--text); }
.sp-svc__cta { margin: 0; }

/* ------------------------------------------------------------------------------------------- widths */
/* wide but short windows (the owner's 1408 x 726 and 1231 x 734): a little less space above the breadcrumb, under the
   lede and around the credentials, so a four-line headline and its "As seen in:" marks still fit the first screen */
@media (min-width: 1101px) and (max-height: 820px) {
  .sp-hero { padding-top: calc(var(--nav-h) + 30px); }
  .sp-hero__lede { margin: 22px 0 28px; }
  .sp-hero--marks .sp-hero__in { row-gap: 24px; }
  .sp-marks { padding-top: 20px; }
}
@media (max-width: 1100px) {
  .sp-hero__in, .sp-hero--hub .sp-hero__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "sim"; }
  .sp-hero--marks .sp-hero__in { grid-template-areas: "text" "sim" "marks"; row-gap: clamp(32px, 4.4vw, 48px); }
  .sp-hero__text { max-width: 720px; }
  .sp-hero__sim { max-width: 880px; margin-right: 0; }
  .sp-hub__index { max-width: 520px; }
}
@media (max-width: 1023px) {
  .sp-build__grid { grid-template-columns: minmax(0, 1fr); }
  .sp-build__head { position: static; }
  .sp-cards:not(.sp-cards--one) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* the ledger in two columns: a run is one or two columns wide (--n2); rules between the columns and above each row */
  .sp-proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-proof__run, .sp-proof__run:last-child { grid-column: span var(--n2, 1); border-right: 0; }
  .sp-proof__run--div { border-right: 1px solid var(--line); }
  .sp-proof__run--row2 { margin-top: 28px; border-top: 1px solid var(--line); }
  .sp-proof__figs { grid-template-columns: repeat(var(--n2, 1), minmax(0, 1fr)); }
  .sp-proof .sp-proof__item { padding: 32px 0 0 28px; border-right: 0; }
  .sp-proof .sp-proof__run--t0 .sp-proof__item:nth-child(odd) { padding: 32px 28px 0 0; }
  .sp-proof .sp-proof__run--w .sp-proof__item:nth-child(odd):not(:last-child) { border-right: 1px solid var(--line); }
  .sp-proof .sp-proof__run--w .sp-proof__item:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); }
  .sp-proof .sp-proof__src { margin-left: 28px; }
  .sp-proof .sp-proof__run--t0 .sp-proof__src { margin-left: 0; }
}
@media (max-width: 900px) {
  .sp-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sp-tiers__list { grid-template-columns: minmax(0, 1fr); }
  .sp-tier, .sp-tier:first-child { padding: 36px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .sp-tier:first-child { border-top: 0; padding-top: 4px; }
  .sp-tier + .sp-tier { margin-top: 40px; }
  .sp-tier__go { padding-top: 24px; }
  .sp-close__expect { grid-template-columns: minmax(0, 1fr); max-width: 520px; text-align: center; }
  .sp-svc { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
}
/* phones: one column, nothing beside anything that would crowd it */
@media (max-width: 640px) {
  .sp-sec { padding: 72px 0; }
  .sp-hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 56px; }
  .sp-crumbs { margin-bottom: 20px; }
  .sp-hero__lede { margin: 20px 0 28px; }
  .sp-hero__ctas { gap: 4px 24px; }
  .sp-hero__ctas .sp-btn--primary { width: 100%; }
  .sp-marks { padding-top: 22px; }
  .sp-marks__mark { height: 56px; }
  .sp-proof { padding-top: 16px; }
  /* the ledger in one column: each run's figures, then its link, a rule above every figure and run but the first */
  .sp-proof__list { grid-template-columns: minmax(0, 1fr); }
  .sp-proof__run, .sp-proof__run:last-child, .sp-proof__run--div, .sp-proof__run--row2 { grid-column: auto; border-right: 0; border-top: 0; margin-top: 0; }
  .sp-proof__run + .sp-proof__run { border-top: 1px solid var(--line); }
  .sp-proof__figs { grid-template-columns: minmax(0, 1fr); }
  .sp-proof .sp-proof__item, .sp-proof .sp-proof__run--t0 .sp-proof__item:nth-child(odd) { padding: 26px 0 0; border-right: 0; }
  .sp-proof .sp-proof__item + .sp-proof__item { border-top: 1px solid var(--line); }
  .sp-proof .sp-proof__run--w .sp-proof__item:nth-child(n+3) { margin-top: 0; }
  .sp-proof .sp-proof__run--w .sp-proof__item:nth-child(odd):not(:last-child) { border-right: 0; }
  .sp-proof .sp-proof__src, .sp-proof .sp-proof__run--t0 .sp-proof__src { margin: 0 0 26px; }
  .sp-proof__v { font-size: min(3rem, calc(100cqw / var(--em, 3))); margin-bottom: 12px; }
  .sp-proof__l { margin-bottom: 12px; }
  .sp-caps { grid-template-columns: minmax(0, 1fr); }
  .sp-cap { padding-bottom: 32px; }
  .sp-cards, .sp-cards:not(.sp-cards--one) { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sp-cards--big { margin-bottom: 28px; }
  .sp-cards--one .sp-card__a { display: flex; }
  .sp-cards--one .sp-card__media { margin-bottom: 18px; aspect-ratio: 16 / 9; }
  .sp-card__go { margin-top: 10px; }
  :is(.sp-cards--n2, .sp-cards--n3) .sp-card__o { font-size: 17px; max-width: none; }
  /* the architecture drawing keeps a size it can be read at, and scrolls sideways inside its frame */
  .sp-arch { margin-top: 36px; }
  .sp-arch__frame { overflow-x: auto; overscroll-behavior-x: contain; }
  .sp-arch__frame img { width: 860px; max-width: none; }
  .sp .sp-voice__video--tall { width: min(100%, 240px); justify-self: start; }
  .sp-clip { margin-top: 40px; padding-top: 32px; }
  /* the other cards become rows: a square crop beside the words */
  .sp-card:not(.sp-card--big) .sp-card__a { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: start; }
  .sp-card:not(.sp-card--big) .sp-card__media { aspect-ratio: 1; margin: 0; border-radius: 8px; }
  .sp-card:not(.sp-card--big) .sp-card__body { gap: 5px; }
  .sp-card__o { font-size: 17px; }
  .sp-card--big .sp-card__o { font-size: 21px; }
  .sp-card__t { font-size: 13.5px; }
  .sp-stack__group { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 0 20px; }
  .sp-stack__g { padding-top: 0; }
  .sp-tile { min-height: 40px; padding: 5px 12px 5px 5px; font-size: 13.5px; }
  .sp-step { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding: 24px 0 28px 36px; }
  .sp-step__node { top: 28px; }
  .sp-step__ex { grid-column: 1; grid-row: auto; margin-top: 18px; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .sp-step__ext { font-size: 16px; }
  .sp-close__h { font-size: clamp(2.25rem, 10vw, 2.75rem); }
  .sp-close__go, .sp-close__go .sp-btn { width: 100%; }
  .sp-svc { grid-template-columns: 88px minmax(0, 1fr); align-items: start; gap: 18px; }
  .sp-svc__tile { grid-row: 1; }
  .sp-svc__body { display: contents; }
  .sp-svc__k { grid-column: 2; grid-row: 1; flex-direction: column; gap: 6px; margin: 4px 0 0; font-size: 13.5px; }
  .sp-svc__h { grid-column: 1 / -1; margin: 0; font-size: 28px; }
  .sp-svc__promise, .sp-svc__proof, .sp-svc__cta { grid-column: 1 / -1; margin: 0; }
  .sp-svc__cta .sp-btn { width: 100%; }
  .sp-svc__proof a { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-arr, .sp-card__media img, .sp-btn, .sp-hub__index a { transition: none; }
  .sp a:hover .sp-arr, .sp-card__a:hover .sp-card__media img, .sp-voice__art:hover .sp-voice__media img { transform: none; }
}
@media (forced-colors: active) {
  .sp-grad { color: CanvasText; background: none; }
  .sp-steps::before { background: CanvasText; }
}
