/* ============================================================================
   Tessera Mobility — site.css
   Layout + components for the marketing site. Built ENTIRELY on the design-system
   tokens (see styles.css → tokens/*). No hardcoded colors, fonts, or type sizes:
   every value references a --token. The .tsr-btn rules mirror the design system's
   Button component (components/button/Button.jsx) so buttons match exactly.
   ========================================================================== */

/* ── Reset / base ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* offset for the sticky header on in-page anchors */
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body-size);
  line-height: var(--text-body-lh);
  font-weight: var(--text-body-weight);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img,
svg { display: block; max-width: 100%; }

a { color: var(--brand); text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

a:where(:not(.tsr-btn)):hover { color: var(--brand-hover); }

ul { list-style: none; padding: 0; }

button { font: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

:target { scroll-margin-top: 96px; }

/* ── Focus visibility (accessibility) ─────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}
/* On dark / brand surfaces, use a lighter ring for guaranteed 3:1 contrast */
.surface-dark :focus-visible,
.cta-band :focus-visible { outline-color: var(--accent-300); }

/* ── Skip link ────────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -120px;
  z-index: 100;
  background: var(--surface-card);
  color: var(--text-primary);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-pop);
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: var(--space-4); color: var(--text-primary); }

/* ── Visually-hidden (for screen-reader-only text) ────────────────────────── */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ── Layout primitives ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(var(--space-16), 9vw, var(--space-20)); }
.section--tight { padding-block: clamp(var(--space-12), 7vw, var(--space-16)); }

.measure { max-width: 62ch; }

.rule { border: 0; border-top: var(--border-hairline); }

/* ── Typography helpers (all sizes/weights from tokens) ───────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-label-size);
  line-height: var(--text-label-lh);
  letter-spacing: var(--text-label-ls);
  font-weight: var(--text-label-weight);
  text-transform: uppercase;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.display {
  font-family: var(--font-display);
  font-size: clamp(var(--text-h1-size), 6.4vw, var(--text-display-size));
  line-height: var(--text-display-lh);
  letter-spacing: var(--text-display-ls);
  font-weight: var(--text-display-weight);
  text-wrap: balance;
}

.h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-h2-size), 5vw, var(--text-h1-size));
  line-height: var(--text-h1-lh);
  letter-spacing: var(--text-h1-ls);
  font-weight: var(--text-h1-weight);
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-h3-size), 4vw, var(--text-h2-size));
  line-height: var(--text-h2-lh);
  letter-spacing: var(--text-h2-ls);
  font-weight: var(--text-h2-weight);
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-lh);
  letter-spacing: var(--text-h3-ls);
  font-weight: var(--text-h3-weight);
  text-wrap: balance;
}

.lead {
  font-size: var(--text-h3-size);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-600);
  font-weight: 400;
  max-width: 54ch;
}

.body-lg { font-size: var(--text-title-size); line-height: 1.55; }

.muted { color: var(--ink-500); }   /* AA-safe secondary text on light surfaces */
.text-accent { color: var(--brand); } /* accent a word in a heading on light surfaces */

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-mono-size);
  line-height: var(--text-mono-lh);
  font-variant-numeric: tabular-nums;
}

/* Stack rhythm for prose blocks */
.prose > * + * { margin-top: var(--space-5); }
.prose p { color: var(--ink-600); max-width: 54ch; font-size: var(--text-h3-size); line-height: 1.5; }

/* ── Buttons — mirrored from design system Button.jsx ─────────────────────── */
.tsr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -.01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
}
.tsr-btn:active { transform: translateY(1px); }
.tsr-btn[disabled],
.tsr-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.tsr-btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.tsr-btn--md { height: 40px; padding: 0 16px; font-size: 14px; }
.tsr-btn--lg { height: 48px; padding: 0 22px; font-size: 15px; }
.tsr-btn--block { width: 100%; }

.tsr-btn--primary { background: var(--brand); color: var(--text-on-accent); }
.tsr-btn--primary:hover { background: var(--brand-hover); color: var(--text-on-accent); }

.tsr-btn--secondary {
  background: var(--surface-card);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.tsr-btn--secondary:hover {
  background: var(--surface-inset);
  border-color: var(--ink-300);
  color: var(--text-primary);
}

.tsr-btn--ghost { background: transparent; color: var(--text-primary); }
.tsr-btn--ghost:hover { background: var(--surface-inset); color: var(--text-primary); }

/* Site-level extensions for dark / brand surfaces (token-based, on-brand) */
.tsr-btn--inverse { background: var(--white); color: var(--accent-700); }
.tsr-btn--inverse:hover { background: var(--accent-50); color: var(--accent-700); }

.tsr-btn--outline-light {
  background: transparent;
  color: var(--text-on-dark);
  border-color: color-mix(in srgb, var(--white) 38%, transparent);
}
.tsr-btn--outline-light:hover {
  background: color-mix(in srgb, var(--white) 10%, transparent);
  border-color: color-mix(in srgb, var(--white) 64%, transparent);
  color: var(--white);
}

.tsr-btn .tsr-btn__icon { display: inline-flex; transition: transform .15s ease; }
.tsr-btn:hover .tsr-btn__icon--arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ── Header / nav ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface-page) 82%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: var(--border-hairline);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 64px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--text-title-size);
}
.brand-lockup:hover { color: var(--text-primary); }
.brand-lockup__mark { width: 26px; height: 26px; flex: none; }
.brand-lockup__name { line-height: 1; }
.brand-lockup__name span { color: var(--ink-400); font-weight: 400; }

.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav__links { display: flex; align-items: center; gap: var(--space-1); }
.nav__link {
  color: var(--ink-600);
  font-weight: 500;
  font-size: var(--text-sm-size);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover { color: var(--text-primary); background: var(--surface-inset); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__cta { margin-left: var(--space-2); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.surface-dark { background: var(--surface-inverse); color: var(--text-on-dark); }

.hero { position: relative; overflow: hidden; isolation: isolate; }
/* Faint tessera tile-grid texture */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--white) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--white) 5%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 78% 8%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 78% 8%, #000 0%, transparent 72%);
}
/* Soft accent glow anchored to the mark */
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 540px; height: 540px;
  right: -120px; top: -160px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-glow) 30%, transparent) 0%, transparent 66%);
  pointer-events: none;
}

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid color-mix(in srgb, var(--white) 10%, transparent);
  font-family: var(--font-mono);
  font-size: var(--text-label-size);
  letter-spacing: var(--text-label-ls);
  text-transform: uppercase;
  color: var(--accent-300);
}
.hero__bar span:last-child { color: var(--ink-300); text-align: right; }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
  padding-block: clamp(var(--space-16), 11vw, calc(var(--space-20) + var(--space-10)));
}

/* Any eyebrow / heading / intro placed on a dark surface */
.surface-dark .eyebrow { color: var(--accent-300); }
.surface-dark .h2 { color: var(--text-on-dark); }
.surface-dark .section__head .section__intro { color: var(--ink-200); }

.hero__title { margin-top: var(--space-5); color: var(--text-on-dark); }
.hero__title .accent { color: var(--accent-300); }
.hero__subhead {
  margin-top: var(--space-6);
  max-width: 56ch;
  font-size: var(--text-h3-size);
  line-height: 1.5;
  color: var(--ink-200);
  font-weight: 400;
}
.hero__cta { margin-top: var(--space-8); }

.hero__figure {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
}
.hero__mark { width: clamp(160px, 30vw, 300px); height: auto; filter: drop-shadow(var(--shadow-accent)); }

@media (min-width: 920px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-16); }
}

/* Light page hero (Company) — distinct from the dark home hero */
.page-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: var(--border-hairline); }
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ink-900) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ink-900) 4%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(110% 92% at 82% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(110% 92% at 82% 0%, #000, transparent 70%);
}
.page-hero .hero__bar { border-bottom-color: var(--border-subtle); color: var(--brand); }
.page-hero .hero__bar span:last-child { color: var(--ink-500); }
.page-hero .hero__mark { filter: none; opacity: .96; }

/* ── Section heads ────────────────────────────────────────────────────────── */
.section__head { max-width: 64ch; }
.section__head .h2 { margin-top: var(--space-4); }
.section__head .section__intro { margin-top: var(--space-5); color: var(--ink-600); font-size: var(--text-title-size); line-height: 1.6; }

/* ── Pillars (what we do) ─────────────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}
@media (min-width: 760px) { .pillars { grid-template-columns: 1fr 1fr; } }

.pillar {
  position: relative;
  background: var(--surface-card);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.pillar:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); border-color: var(--border-strong); }
.pillar__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.pillar__index {
  font-family: var(--font-mono);
  font-size: var(--text-sm-size);
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.pillar__icon { width: 28px; height: 28px; color: var(--brand); }
.pillar__title { margin-top: var(--space-5); }
.pillar__body { margin-top: var(--space-4); color: var(--ink-600); max-width: 46ch; }

/* Depot capabilities — full-width strip below the two pillars */
.depot-caps {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-8);
}
.depot-caps__label {
  font-family: var(--font-mono);
  font-size: var(--text-label-size);
  line-height: var(--text-label-lh);
  letter-spacing: var(--text-label-ls);
  text-transform: uppercase;
  color: var(--ink-500);
}
.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
}
.capability { display: inline-flex; align-items: center; gap: var(--space-2); }
.capability__tile {
  flex: none;
  width: 12px; height: 12px;
  border-radius: var(--radius-xs);
  background: var(--brand);
}
.capability:nth-child(2) .capability__tile { background: var(--accent-400); }
.capability:nth-child(3) .capability__tile { background: var(--ink-700); }
.capability:nth-child(4) .capability__tile { background: var(--accent-600); opacity: .55; }
.capability__name { font-weight: 600; font-size: var(--text-sm-size); color: var(--text-primary); }

/* ── Phased approach ──────────────────────────────────────────────────────── */
.phases {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
  list-style: none;
  padding: 0;
}
@media (min-width: 820px) { .phases { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }

.phase {
  position: relative;
  background: var(--surface-card);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: clamp(var(--space-6), 3.5vw, var(--space-8));
}
.phase__node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-tile);
  background: var(--brand-tint);
  color: var(--brand);
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.phase--future .phase__node { background: var(--surface-inset); color: var(--ink-400); }
.phase__stage {
  margin-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-label-size);
  letter-spacing: var(--text-label-ls);
  text-transform: uppercase;
  color: var(--ink-400);
}
.phase__title { margin-top: var(--space-2); }
.phase__body { margin-top: var(--space-3); color: var(--ink-600); }
/* Connector line between phases on wide screens */
@media (min-width: 820px) {
  .phase:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(clamp(var(--space-6), 3.5vw, var(--space-8)) + 22px);
    right: calc(var(--space-5) * -1);
    width: var(--space-5);
    height: 1px;
    background: var(--border-strong);
  }
}
/* Phases on a dark surface → elevated dark panels with light text */
.surface-dark .phase {
  background: var(--ink-800);
  border-color: color-mix(in srgb, var(--white) 8%, transparent);
}
.surface-dark .phase__node { background: color-mix(in srgb, var(--accent-400) 20%, transparent); color: var(--accent-300); }
.surface-dark .phase--future .phase__node { background: color-mix(in srgb, var(--white) 8%, transparent); color: var(--ink-300); }
.surface-dark .phase__stage { color: var(--ink-300); }
.surface-dark .phase__title { color: var(--text-on-dark); }
.surface-dark .phase__body { color: var(--ink-200); }
.surface-dark .phase:not(:last-child)::after { background: color-mix(in srgb, var(--white) 18%, transparent); }

/* ── Stat / proof strip (used on company page) ────────────────────────────── */
.facets {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 760px) { .facets { grid-template-columns: repeat(3, 1fr); } }
.facet { padding-top: var(--space-5); border-top: 2px solid var(--brand); }
.facet__title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h3-size); letter-spacing: -0.015em; }
.facet__body { margin-top: var(--space-3); color: var(--ink-600); }

/* ── Split block (mission / backing / stewardship) ───────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 860px) { .split { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-16); } }
.split__label {
  font-family: var(--font-mono);
  font-size: var(--text-label-size);
  letter-spacing: var(--text-label-ls);
  text-transform: uppercase;
  color: var(--brand);
  padding-top: var(--space-2);
}

.panel {
  background: var(--surface-card);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: clamp(var(--space-6), 3vw, var(--space-8)) clamp(var(--space-6), 4vw, var(--space-10));
}
.panel--tint { background: var(--brand-tint); border-color: color-mix(in srgb, var(--brand) 16%, transparent); }

.backing-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-lh);
  letter-spacing: var(--text-h2-ls);
  color: var(--text-primary);
}
.backing-link {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--brand) 45%, transparent);
  transition: color .15s ease, text-decoration-color .15s ease;
}
.backing-link:hover { color: var(--brand-hover); text-decoration-color: var(--brand-hover); }

/* ── CTA band ─────────────────────────────────────────────────────────────── */
.cta-band { background: var(--brand); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--white) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--white) 8%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(90% 140% at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(90% 140% at 100% 0%, #000, transparent 70%);
}
.cta-band__inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  padding-block: clamp(var(--space-16), 8vw, var(--space-20));
}
@media (min-width: 820px) { .cta-band__inner { grid-template-columns: 1.4fr auto; gap: var(--space-12); } }
.cta-band__eyebrow { color: var(--accent-100); }
.cta-band__title { margin-top: var(--space-4); color: var(--white); }
.cta-band__text { margin-top: var(--space-5); color: var(--accent-100); max-width: 52ch; font-size: var(--text-title-size); line-height: 1.55; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background: var(--surface-inverse); color: var(--text-on-dark); }
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-block: clamp(var(--space-12), 7vw, var(--space-16));
}
@media (min-width: 760px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-8); } }

.footer-brand .brand-lockup { color: var(--text-on-dark); }
.footer-brand .brand-lockup__name span { color: var(--ink-300); }
.footer-brand p { margin-top: var(--space-5); color: var(--ink-300); max-width: 38ch; }

.footer-col__title {
  font-family: var(--font-mono);
  font-size: var(--text-label-size);
  letter-spacing: var(--text-label-ls);
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a { color: var(--text-on-dark); font-size: var(--text-sm-size); }
.footer-col a:hover { color: var(--accent-300); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-6);
  border-top: 1px solid color-mix(in srgb, var(--white) 10%, transparent);
  font-family: var(--font-mono);
  font-size: var(--text-sm-size);
  color: var(--ink-300);
}
.site-footer__bottom a { color: var(--ink-300); }
.site-footer__bottom a:hover { color: var(--accent-300); }

/* ── Scroll-reveal (progressive enhancement; visible by default) ──────────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }

/* ── Responsive nav tweaks ────────────────────────────────────────────────── */
@media (max-width: 560px) {
  /* Header wraps to two rows: logo on top, nav + CTA full-width below.
     Keeps every element accessible without a JS menu, down to 320px. */
  .site-header__inner { flex-wrap: wrap; min-height: 0; padding-block: var(--space-3); row-gap: var(--space-3); }
  .nav { width: 100%; justify-content: space-between; gap: var(--space-2); }
  .nav__cta { margin-left: 0; }
  .nav__link { padding-inline: var(--space-2); }
  .hero__bar { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .hero__bar span:last-child { text-align: left; }
}

/* ── Reduced motion ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
