/* async-digital.com homepage, the hiring page (2026-12-02, #1032).

   Ported from the concept Rob approved on 2026-12-02 (vault
   content/homepage-launch-concept/). Used by /index.html and, from
   2026-12-02, by the pages moved to this style one at a time, /lessons/ first
   (see "Inner pages" below); every class
   here carries the hp- prefix so nothing else on the site can reach it.

   Colours are brand.css tokens. The page sets its palette per section with
   color-scheme rather than with new colours: brand.css writes every role as
   light-dark(), and light-dark() resolves against the color-scheme of the
   element that uses the token. So .hp-dark (nav, hero, what shipped, the
   close, footer) takes the dark palette, which is the pitch video's palette,
   and .hp-light (the journey and the river) takes the light one, whatever
   the system appearance. A browser without light-dark() gets the light
   values everywhere, which is readable, only not dark.

   Literals that remain are colours with no brand token: the brick fill of
   the call button and its hover, and the hero's glow. The button text is
   white through --on-primary, read under color-scheme: light.

   Motion: every animation and transition sits behind
   (prefers-reduced-motion: no-preference). Nothing starts hidden unless
   assets/home.js has run and set .hp-js on <html>, so a page with scripts
   blocked, or a reader who asked for reduced motion, sees everything. */

.hp {
  --hp-fill: #B4513D;
  --hp-fill-hover: #9E4533;
  --hp-glow: rgba(180, 81, 61, 0.24);
  --hp-gutter: 32px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
:where(.hp) :where(p, h1, h2, h3, ol, ul, figure) { margin: 0; }
:where(.hp) :where(ol, ul) { padding: 0; list-style: none; }
.hp a { color: inherit; }
.hp :focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); border-radius: 4px; }
.hp section, .hp footer { scroll-margin-top: 72px; }

.hp-dark { color-scheme: dark; background: var(--bg); color: var(--text); }
.hp-light { color-scheme: light; background: var(--bg); color: var(--text); }

.hp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--hp-gutter); padding-right: var(--hp-gutter); }

.hp-skip { position: absolute; left: 12px; top: -60px; z-index: 40; padding: 12px 18px; border-radius: 10px; background: var(--card); color: var(--text); }
.hp-skip:focus { top: 12px; }

/* Buttons. The filled one reads its text colour under the light palette,
   where --on-primary is white, so white sits on the brick fill (5.0:1). */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 22px; border-radius: 12px; background: var(--hp-fill); color-scheme: light; color: var(--on-primary); font-weight: 600; text-decoration: none; }
.hp-btn:hover { background: var(--hp-fill-hover); }
.hp-btn:focus-visible { outline-color: currentColor; }
.hp-btn--ghost { background: transparent; color-scheme: inherit; color: var(--text); border: 1.5px solid var(--border); }
.hp-btn--ghost:hover { background: transparent; border-color: var(--primary); }
.hp-btn--ghost:focus-visible { outline: var(--focus-ring); }

/* Nav */
.hp-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.hp-nav__in { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.hp-nav__name { display: inline-flex; align-items: center; gap: 0.3em; min-height: 44px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.hp-nav__name span { color: var(--muted); font-weight: 400; }
.hp-nav__links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15px; }
.hp-nav__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); }
.hp-nav__links a:hover { color: var(--text); }
.hp-nav__toggle { font: inherit; font-size: 15px; min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1.5px solid var(--border); background: transparent; color: var(--text); cursor: pointer; }

/* Hero */
.hp-hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
/* The glow layer reaches 30% past the right edge, so its 12% drift (hp-glow) never
   shows the layer's own edge as a straight line. Its centre sits at 70 / 1.3 =
   53.85% of the wider layer, the same spot on screen as 70% of the hero. The hero
   clips its overflow. Design system "Async Digital Site", Motion. */
.hp-hero::before { content: ""; position: absolute; inset: 0 -30% 0 0; background: radial-gradient(900px 560px at 53.85% 62%, var(--hp-glow), transparent 70%); pointer-events: none; }
.hp-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--border) 1.2px, transparent 1.2px); background-size: 44px 44px; opacity: .35; -webkit-mask-image: radial-gradient(1000px 600px at 50% 40%, black, transparent); mask-image: radial-gradient(1000px 600px at 50% 40%, black, transparent); pointer-events: none; }
.hp-hero .hp-wrap { position: relative; z-index: 1; }
.hp-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); margin-bottom: 26px; }
.hp-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--success); }
.hp-h1 { font-size: clamp(40px, 7.4vw, 104px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 22px; font-weight: 700; overflow-wrap: break-word; }
.hp-w { display: inline-block; }
.hp-w--a { color: var(--primary); }
.hp-sub { font-size: clamp(18px, 2vw, 24px); color: var(--muted); max-width: 720px; line-height: 1.45; margin: 0 0 34px; }
.hp-sub b { color: var(--text); font-weight: 600; }
.hp-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hp-cta--centre { justify-content: center; }

.hp-stage { perspective: 2000px; margin-top: 56px; }
.hp-screen { position: relative; border-radius: 26px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1.5px var(--border), 0 60px 140px rgba(0, 0, 0, .65), 0 0 160px rgba(180, 81, 61, .16); transform-origin: 50% 0; }
.hp-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; } /* not-brand: letterbox behind the film, black in both themes */
.hp-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--bg) 55%, transparent)); cursor: pointer; border: 0; color: var(--text); font: inherit; }
.hp-play[hidden] { display: none; }
.hp-play i { width: 104px; height: 104px; border-radius: 50%; background: var(--hp-fill); color-scheme: light; display: grid; place-items: center; }
.hp-play i::after { content: ""; margin-left: 8px; border-left: 30px solid var(--on-primary); border-top: 19px solid transparent; border-bottom: 19px solid transparent; }
.hp-play span { position: absolute; left: 28px; bottom: 24px; font-weight: 600; font-size: 17px; }
.hp-play:focus-visible { outline-offset: -6px; }

/* Counters */
.hp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.hp-stat { padding: 26px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); }
.hp-stat b { display: block; font-size: 58px; letter-spacing: -0.03em; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.hp-stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Sections */
.hp-sec { padding: 110px 0; position: relative; }
.hp-h2 { font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 14px; }
.hp-h2 em { font-style: normal; color: var(--primary); }
.hp-lede { color: var(--muted); font-size: 19px; max-width: 640px; line-height: 1.5; margin: 0 0 44px; }

/* What shipped */
.hp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hp-grid > li { display: flex; }
.hp-card { position: relative; display: block; width: 100%; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--border); min-height: 190px; text-decoration: none; color: var(--text); }
a.hp-card:hover { border-color: var(--primary); box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 80px rgba(180, 81, 61, .14); }
.hp-card__n { display: block; font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: .08em; }
.hp-card h3 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; margin: 10px 0 8px; padding-right: 0; }
.hp-card p { color: var(--muted); margin: 0; line-height: 1.45; font-size: 15.5px; }
.hp-card__tag { position: absolute; right: 22px; top: 22px; font-size: 12.5px; color: var(--muted); border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; }

/* The 2026 journey */
.hp-journey { border-radius: 44px 44px 0 0; }
.hp-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.hp-filters[hidden] { display: none; }
.hp-filters button { font: inherit; font-size: 15px; min-height: 44px; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--border-strong); background: transparent; color: var(--text); cursor: pointer; }
.hp-filters button[aria-pressed="true"] { background: var(--primary-fill); border-color: var(--primary-fill); color: var(--on-primary); }
.hp-line { position: relative; margin-top: 30px; padding-left: 44px; }
.hp-line::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--border); }
.hp-line__fill { position: absolute; left: 11px; top: 6px; width: 3px; border-radius: 2px; background: var(--primary); height: calc(100% - 12px); }
.hp-e { position: relative; padding: 0 0 34px; }
.hp-e[hidden] { display: none; }
.hp-e::before { content: ""; position: absolute; left: -41px; top: 6px; width: 19px; height: 19px; border-radius: 50%; background: var(--bg); border: 3.5px solid var(--primary); }
.hp-e-miss::before { border-color: var(--muted); background: var(--well); }
.hp-e__m { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.hp-e-miss .hp-e__m { color: var(--muted); }
.hp-e h3 { margin: 4px 0 6px; font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; }
.hp-e h3 a { text-decoration-color: var(--border-strong); text-underline-offset: 4px; }
.hp-e p:last-child { color: var(--muted); max-width: 640px; line-height: 1.5; }
.hp-kind { display: inline-block; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; margin-left: 10px; vertical-align: 3px; font-weight: 600; letter-spacing: 0; }
.hp-kind-win { background: var(--success-tint); color: var(--success-ink); }
.hp-kind-loss { background: var(--well); color: var(--muted); }
.hp-kind-note { background: var(--primary-tint); color: var(--primary); }

/* The river. Without home.js, or with reduced motion, the rows wrap and
   stand still; home.js clones each row's items so the loop can flow. */
.hp-river { padding: 40px 0 110px; overflow: hidden; }
.hp-river__pause { font: inherit; font-size: 15px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--border-strong); background: transparent; color: var(--text); cursor: pointer; margin-top: -24px; }
.hp-river__pause[hidden] { display: none; }
.hp-river__rows { max-width: 1180px; margin: 0 auto; padding: 0 var(--hp-gutter); }
.hp-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.hp-chip { display: flex; flex-direction: column; justify-content: center; padding: 16px 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); font-weight: 600; font-size: 19px; }
.hp-chip small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.hp-chip--app { padding: 0; }
.hp-chip--app > a { display: flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border-radius: inherit; color: inherit; text-decoration: none; }
.hp-chip--app > a:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
.hp-chip--app > a:focus-visible { border-radius: inherit; }
.hp-chip--app img { flex: none; width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.hp-chip--app > a > span { display: block; }

/* Get in touch (the closing section, #call) */
.hp-close { text-align: center; padding: 130px 0 90px; }
.hp-close .hp-h2 { font-size: clamp(44px, 8vw, 120px); }
.hp-close .hp-lede { margin: 0 auto 30px; }
.hp-route { position: relative; margin: 46px auto 0; max-width: 860px; height: 120px; }
.hp-route__track, .hp-route__fill { position: absolute; left: 0; right: 0; top: 48px; height: 5px; border-radius: 3px; background: var(--border); }
.hp-route__fill { background: var(--primary); transform-origin: 0 50%; }
.hp-route__stops li { position: absolute; left: calc(var(--u) * 100%); top: 0; height: 100%; width: 0; font-size: 15px; color: var(--muted); }
.hp-route__stops li::before { content: ""; position: absolute; left: -8px; top: 42.5px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }
.hp-route__stops li { white-space: nowrap; line-height: 1.2; }
.hp-route__stops li:nth-child(odd) { padding-top: 76px; }
.hp-route__stops li:nth-child(even) { padding-top: 6px; }
.hp-route__stops li { display: flex; justify-content: center; }
.hp-route__stops li:first-child { justify-content: flex-start; }
.hp-route__stops li:last-child { justify-content: flex-end; }
.hp-route__end { font-size: 20px !important; font-weight: 700; color: var(--text) !important; }
.hp-route__end::before { left: -13px !important; top: 37.5px !important; width: 26px !important; height: 26px !important; background: var(--primary) !important; border-color: var(--primary) !important; }
.hp-route__stops li:nth-child(1) { --u: 0; }
.hp-route__stops li:nth-child(2) { --u: .13; }
.hp-route__stops li:nth-child(3) { --u: .3; }
.hp-route__stops li:nth-child(4) { --u: .5; }
.hp-route__stops li:nth-child(5) { --u: .67; }
.hp-route__stops li:nth-child(6) { --u: .82; }
.hp-route__stops li:nth-child(7) { --u: 1; }

/* Footer */
.hp-ftr { border-top: 1px solid var(--border); padding: 26px 0 60px; color: var(--muted); font-size: 13.5px; }
.hp-ftr__in { display: flex; gap: 12px 20px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.hp-ftr a { display: inline-flex; align-items: center; min-height: 44px; }

/* Inner pages: the homepage's nav, hero and footer around a page of prose.
   body.hp-page. /lessons/ keeps its section markup (.section.prose), which
   the legal footer control and the timeline check read. */
.hp-page .hp-hero { padding: 72px 0 64px; }
.hp-h1--page { font-size: clamp(38px, 6vw, 80px); max-width: 16ch; }
.hp-page .hp-eyebrow a { text-decoration: none; }
.hp-page .hp-eyebrow a:hover { text-decoration: underline; }
.hp-page .hp-sub { margin-bottom: 18px; opacity: 1; animation: none; }
.hp-page .ai-line { color: var(--muted); font-size: 13.5px; }
.hp-lessons { padding: 56px 0 110px; border-radius: 40px 40px 0 0; margin-top: -40px; position: relative; z-index: 1; }
.hp-lessons > .hp-wrap { max-width: 860px; }
.hp-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.hp-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-size: 15px; font-weight: 600; text-decoration: none; }
.hp-jump a:hover { border-color: var(--primary); }
.hp-lessons .section { padding: 34px 36px; margin-top: 18px; border-radius: 24px; background: var(--card); border: 1px solid var(--border); scroll-margin-top: 88px; }
.hp-lessons .section--first { background: transparent; border: 0; padding: 0 0 22px; margin-top: 0; }
.hp-lessons .section:target { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
.hp-lessons .section h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; }
.hp-lessons .section--first h2 { font-size: clamp(30px, 4vw, 44px); }
.hp-lessons .section p { font-size: 17.5px; line-height: 1.62; max-width: 68ch; }
.hp-lessons .section p + p { margin-top: 14px; }
.hp-lessons .section a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.hp-ftr--page { font-size: 13.5px; line-height: 1.7; }
.hp-ftr--page .footer-sep { margin: 0 6px; }
.hp-ftr--page .footer-primary { display: flex; flex-wrap: wrap; align-items: center; }
.hp-ftr--page a { min-height: 44px; }
@media (max-width: 640px) {
  .hp-lessons { border-radius: 28px 28px 0 0; padding-top: 40px; }
  .hp-lessons .section { padding: 24px 20px; border-radius: 18px; }
  .hp-lessons .section p { font-size: 16.5px; }
  .hp-ftr--page .footer-primary .footer-sep:last-of-type { display: none; }
  .hp-ftr--page .footer-primary a:last-of-type { flex-basis: 100%; }
}

/* Article pages: an old article-page (styles.css still lays out its prose and
   figures) inside the homepage's nav, hero and footer. body.hp-shell. The
   body is not .hp, so the nav, hero and footer each carry .hp themselves. */
body.hp-shell { padding-top: 0; }
/* styles.css lays the body out as a flex column, where a nav that scrolls its
   own overflow (.hp hides overflow-x) may shrink to nothing. */
.hp-shell > .hp-nav { flex: none; overflow: visible; }
/* The hero's text sits on the article's own prose column: the same grid
   tracks as .article in styles.css. */
.hp-wrap--prose { display: grid; grid-template-columns: [full-start] minmax(var(--space-lg), 1fr) [gutter-l] minmax(0, 140px) [prose-start] minmax(0, var(--measure-prose)) [prose-end] minmax(0, 140px) minmax(var(--space-lg), 1fr) [full-end]; max-width: calc(var(--wrap) + var(--space-lg) * 2); padding: 0; }
/* Each section in .article is a subgrid with a column gap, which insets
   its prose by half a gap on each side. The padding here is that inset. */
.hp-wrap--prose > * { grid-column: prose-start / prose-end; min-width: 0; padding-left: calc(var(--space-lg) / 2); padding-right: calc(var(--space-lg) / 2); }
.hp-shell .hp-page-hero { padding: 64px 0 96px; text-align: left; }
.hp-shell .hp-page-hero .hp-h1 { font-size: clamp(38px, 6vw, 80px); margin: 0 0 18px; color: var(--text); }
.hp-shell .hp-page-hero .hp-eyebrow { margin: 0 0 22px; font-size: 15px; }
.hp-shell .hp-page-hero .hp-eyebrow .dot { color: var(--muted); }
.hp-shell .hp-page-hero .affiliation { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.hp-shell .hp-page-hero .hp-sub { font-size: clamp(18px, 2vw, 22px); max-width: none; }
.hp-shell .hp-page-hero .ai-line { margin: 0; }
.hp-sheet { position: relative; z-index: 1; margin-top: -40px; padding-top: 56px; border-radius: 40px 40px 0 0; }
.hp-shell .hp-ftr--page .footer-link { color: inherit; }
.hp-shell .hp-ftr--page .footer-primary { justify-content: flex-start; align-items: center; gap: 0; color: inherit; }
.hp-shell .hp-ftr--page .footer-legal { margin-top: 0; font-size: inherit; }
/* Case studies: body.hp-shell.hp-cs. case-studies.css still lays out the
   page; its hero turns dark, and what follows sits on the light sheet. The
   old top bar's back links become a line of crumbs above the hero's label. */
.hp-cs-hero { --hp-glow: rgba(180, 81, 61, 0.24); padding: 56px 0 104px; }
.hp-cs-hero > .wrap { position: relative; z-index: 1; }
.hp-cs-hero h1 { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -0.03em; color: var(--text); }
.hp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.hp-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.hp-crumbs a:hover { color: var(--text); text-decoration: underline; }
.hp-cs-sheet { padding-top: 40px; padding-bottom: 72px; }
.hp-cs-sheet > .wrap:first-child > .rule { display: none; }
/* The year page: body.hp-shell.hp-yr. styles.css still lays out the day grid
   and the dated record; these rules only seat its heading in the dark hero. */
.hp-shell .hp-yr-hero .hp-h1 { font-size: clamp(34px, 5.2vw, 64px); max-width: 20ch; }
.hp-yr-hero .tag-page__back { border-bottom: 0; padding-bottom: 0; }
.hp-yr-hero .year-page__intro { margin: 0 0 18px; max-width: 68ch; }
.hp-yr-sheet { padding-bottom: 72px; }
/* The privacy notice: body.hp-shell.hp-pn. Long text in ProseSection cards, as on /lessons/.
   The hero's column matches the 860px reading panel, so the title lines up with the cards. */
.hp-pn .hp-page-hero > .hp-wrap { max-width: 860px; }
/* The panel is outside .hp, where the gutter is set, so it carries the same three values. */
.hp-pn .hp-lessons { --hp-gutter: 32px; }
@media (max-width: 860px) { .hp-pn .hp-lessons { --hp-gutter: 24px; } }
@media (max-width: 640px) { .hp-pn .hp-lessons { --hp-gutter: 20px; } }
.hp-pn .hp-jump { list-style: none; padding: 0; margin: 0 0 40px; }
.hp-pn .hp-lessons .section { max-width: none; }
.hp-pn .hp-lessons .section :is(ul, ol) { font-size: 17.5px; line-height: 1.62; max-width: 68ch; margin: 14px 0 0; }
.hp-pn .hp-lessons .section p + :is(ul, ol), .hp-pn .hp-lessons .section :is(ul, ol) + p { margin-top: 14px; }
@media (max-width: 640px) { .hp-pn .hp-lessons .section :is(ul, ol) { font-size: 16.5px; } }
/* Notes: body.hp-shell.hp-note. An update line may follow the AI line in the hero. */
.hp-shell .hp-page-hero .ai-line + .affiliation { margin: 12px 0 0; }
.hp-shell footer.hp-ftr { margin-top: 0; border-top: 1px solid var(--border); padding: 26px 0 60px; font-size: 13.5px; }
@media (max-width: 640px) {
  .hp-cs-hero { padding: 36px 0 84px; }
  .hp-cs-sheet { padding-top: 28px; }
}

/* The same narrow-screen tracks as .article in styles.css. */
@media (max-width: 900px) {
  .hp-wrap--prose { grid-template-columns: [full-start] var(--space-lg) [gutter-l] 0 [prose-start] minmax(0, 1fr) [prose-end] 0 var(--space-lg) [full-end]; }
}
@media (max-width: 640px) {
  .hp-shell .hp-page-hero { padding: 44px 0 80px; }
  .hp-sheet { border-radius: 28px 28px 0 0; padding-top: 36px; }
}

/* Tablets and phones */
@media (max-width: 860px) {
  .hp { --hp-gutter: 24px; }
  .hp-grid { grid-template-columns: 1fr; }
  .hp-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hp-sec { padding: 80px 0; }
  .hp-close { padding: 96px 0 72px; }
  .hp-nav__links { order: 3; width: 100%; margin-left: 0; }
  .hp-nav__call { margin-left: auto; }
  .hp-js .hp-nav__toggle { display: inline-flex; align-items: center; }
  .hp-js .hp-nav__links:not(.is-open) { display: none; }
}
@media (min-width: 861px) {
  .hp-nav__toggle { display: none; }
}
@media (max-width: 640px) {
  .hp { --hp-gutter: 20px; }
  .hp-hero { padding: 56px 0 56px; }
  .hp-stage { margin-top: 40px; }
  .hp-screen { border-radius: 16px; }
  .hp-play i { width: 72px; height: 72px; }
  .hp-play i::after { margin-left: 6px; border-left-width: 22px; border-top-width: 14px; border-bottom-width: 14px; }
  .hp-play span { left: 16px; bottom: 12px; font-size: 14px; }
  .hp-stats { margin-top: 40px; }
  .hp-stat { padding: 18px 16px; border-radius: 16px; }
  .hp-stat b { font-size: 42px; }
  .hp-stat span { font-size: 14px; }
  .hp-lede { font-size: 17px; margin-bottom: 32px; }
  .hp-card { padding: 22px; min-height: 0; }
  .hp-card__tag { position: static; display: inline-block; margin-top: 8px; }
  .hp-journey { border-radius: 28px 28px 0 0; }
  .hp-line { padding-left: 36px; }
  .hp-e::before { left: -33px; }
  .hp-e h3 { font-size: 21px; }
  .hp-kind { margin-left: 0; margin-top: 6px; vertical-align: 0; }
  .hp-chip { font-size: 17px; padding: 14px 20px; }
  .hp-ftr__in { flex-direction: column; align-items: flex-start; }
  .hp-nav__name span { display: none; }
  /* The route turns to run down the page, so every stop keeps a readable label. */
  .hp-route { height: auto; max-width: 320px; text-align: left; }
  .hp-route__track, .hp-route__fill { left: 11px; right: auto; top: 12px; bottom: 12px; width: 5px; height: auto; }
  .hp-route__fill { transform-origin: 50% 0; }
  .hp-route__stops li, .hp-route__stops li:nth-child(odd), .hp-route__stops li:nth-child(even) { position: relative; left: 0; width: auto; height: auto; padding: 8px 0 8px 44px; justify-content: flex-start; }
  .hp-route__stops li::before { left: 6px; top: 50%; margin-top: -8px; }
  .hp-route__end::before { left: 1px !important; top: 50% !important; margin-top: -13px; }
}

/* Motion, for readers who have not asked for less of it. */
@media (prefers-reduced-motion: no-preference) {
  .hp { scroll-behavior: smooth; }
  .hp-hero::before { animation: hp-glow 14s ease-in-out infinite alternate; }
  .hp-hero::after { animation: hp-drift 40s linear infinite; }
  .hp-dot { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 60%, transparent); animation: hp-pulse 2.2s infinite; }
  .hp-w { opacity: 0; transform: translateY(34px); filter: blur(8px); animation: hp-word .7s var(--ease-out) forwards; }
  .hp-w:nth-child(1) { animation-delay: .15s; }
  .hp-w:nth-child(2) { animation-delay: .31s; }
  .hp-w:nth-child(3) { animation-delay: .47s; }
  .hp-w:nth-child(4) { animation-delay: .63s; }
  .hp-sub { opacity: 0; animation: hp-word .8s var(--ease-out) 1s forwards; }
  .hp-hero .hp-cta { opacity: 0; animation: hp-word .8s var(--ease-out) 1.2s forwards; }
  .hp-screen { opacity: 0; will-change: transform; animation: hp-rise 1.1s var(--ease-out) 1.3s forwards; }
  .hp-play i { box-shadow: 0 0 0 0 rgba(224, 144, 123, .5); animation: hp-ring 2.4s infinite; transition: transform .25s var(--ease-out); } /* not-brand: the pitch's play ring, a translucent glow */
  .hp-play:hover i { transform: scale(1.08); }
  .hp-btn { transition: transform .2s var(--ease-out), background .2s, border-color .2s; }
  .hp-btn:hover { transform: translateY(-2px); }
  .hp-nav__links a { transition: color .2s; }
  .hp-card { transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s; }
  .hp-filters button { transition: background .2s, border-color .2s, color .2s; }

  .hp-js .hp-reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
  .hp-js .hp-reveal.is-in { opacity: 1; transform: none; }
  .hp-stats .hp-reveal:nth-child(2), .hp-grid > li:nth-child(3n+2) .hp-reveal { transition-delay: .08s; }
  .hp-stats .hp-reveal:nth-child(3), .hp-grid > li:nth-child(3n) .hp-reveal { transition-delay: .16s; }
  .hp-stats .hp-reveal:nth-child(4) { transition-delay: .24s; }

  .hp-js .hp-route__fill { transform: scaleX(0); transition: transform 2.4s var(--ease-out) .3s; }
  .hp-js .hp-route.is-in .hp-route__fill { transform: none; }

  .hp-js .hp-line__fill { height: 0; }

  .hp-river.is-flowing .hp-river__rows { max-width: none; padding: 0; }
  .hp-river.is-flowing .hp-row { flex-wrap: nowrap; width: max-content; animation: hp-flow 46s linear infinite; }
  .hp-river.is-flowing .hp-row--b { animation-duration: 58s; animation-direction: reverse; }
  .hp-river.is-flowing .hp-chip { white-space: nowrap; }
  .hp-river.is-flowing:hover .hp-row, .hp-river.is-paused .hp-row { animation-play-state: paused; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 640px) {
  .hp-js .hp-route__fill { transform: scaleY(0); }
}

@keyframes hp-glow { to { transform: translateX(-12%); } }
@keyframes hp-drift { to { background-position: -440px 0; } }
@keyframes hp-pulse { 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes hp-word { to { opacity: 1; transform: none; filter: none; } }
@keyframes hp-rise { from { opacity: 0; transform: translateY(80px) rotateX(18deg) scale(.92); } to { opacity: 1; } }
@keyframes hp-ring { 70% { box-shadow: 0 0 0 30px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes hp-flow { to { transform: translateX(-50%); } }

/* The panel rises with the scroll (design system "Async Digital Site", PanelRise;
   approved by Rob 2026-12-03). A page opts in with .hp-rise on <body>: the light
   panel grows from 94% to full size and its top corners flatten over the first
   220px of scrolling, while the hero's text drifts up and dims. It is tied to the
   page's scroll position, so it runs as fast as the reader scrolls and reverses
   on the way back. The panel is scaled, never clipped, so no text near its edge
   is cut off. The strip beside the smaller card shows the dark band. A browser
   without scroll-driven animations, or a reader who asked for reduced motion,
   gets the static panel. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hp-rise main { color-scheme: dark; background: var(--bg); }
    .hp-rise .hp-sheet {
      transform-origin: 50% 0;
      animation: hp-panel-rise linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 220px;
    }
    .hp-rise .hp-hero > .hp-wrap {
      animation: hp-hero-recede linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 220px;
    }
  }
}
@keyframes hp-panel-rise {
  from { scale: .94; border-radius: 40px 40px 0 0; }
  to   { scale: 1;   border-radius: 0; }
}
@keyframes hp-hero-recede {
  from { transform: none; opacity: 1; }
  to   { transform: translateY(-28px) scale(.985); opacity: .55; }
}
@media (max-width: 640px) {
  @keyframes hp-panel-rise {
    from { scale: .94; border-radius: 28px 28px 0 0; }
    to   { scale: 1;   border-radius: 0; }
  }
}
