/* ==========================================================================
   TANSI — MODERN OVERLAY (2026 refresh)
   Loaded after css/base.css. This layer restyles the existing, WCAG-verified
   component system: same class contract, same color tokens for text pairs.
   It changes surfaces, depth, radii, typography and motion — not structure.

   Type:  Public Sans (USWDS face) for display + body,
          Spline Sans Mono for operational micro-labels (eyebrows, step
          numbers, stat labels, table headers).
   ========================================================================== */

/* ---------- 0. tokens ---------------------------------------------------- */
:root {
  --font-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "Cascadia Mono", "Segoe UI Mono",
               Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-lg: 20px;

  --hairline: color-mix(in srgb, var(--line) 82%, transparent);

  --shadow-sm: 0 1px 2px rgba(12, 30, 39, .04), 0 2px 8px -2px rgba(12, 30, 39, .06);
  --shadow:    0 1px 2px rgba(12, 30, 39, .05), 0 10px 30px -12px rgba(12, 30, 39, .18);
  --shadow-lg: 0 2px 6px rgba(12, 30, 39, .06), 0 24px 60px -24px rgba(12, 30, 39, .32);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.32, .72, 0, 1);

  /* the hero / cta "control-room" field */
  --field-1: #061318;
  --field-2: #0B2531;
  --field-3: #0D3140;
  --glow: rgba(0, 168, 216, .16);
}

[data-theme="dark"] {
  --hairline: color-mix(in srgb, var(--line) 88%, transparent);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .25), 0 2px 8px -2px rgba(0, 0, 0, .3);
  --shadow:    0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .55);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 26px 64px -24px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hairline: color-mix(in srgb, var(--line) 88%, transparent);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .25), 0 2px 8px -2px rgba(0, 0, 0, .3);
    --shadow:    0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .55);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 26px 64px -24px rgba(0, 0, 0, .7);
  }
}

/* ---------- 1. base type ------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

/* the two authored sub-systems carry their own font settings */
.abt { --font: var(--font-sans); font-family: var(--font-sans); }
.tansi-cs { font-family: var(--font-sans); }

h1, h2, h3, h4 { font-weight: 750; }
h1 { letter-spacing: -.038em; }
h2 { letter-spacing: -.032em; }

::selection { background: color-mix(in srgb, var(--accent-mark) 30%, transparent); }

/* slim, quiet scrollbars where the engine allows it */
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }

/* ---------- 2. operational micro-labels (the signature) ------------------ */
.eyebrow,
.abt .kicker, .abt .sectionhead .n, .abt .eyebrow,
.tansi-cs .eyebrow,
.jr-num, .rd-kicker, .ldrawer-kicker,
.block .num, .gnum, .jrg-stages, .gdur,
.mod .g, .svc-tag, .band-t,
.footer-grid h2, .mega h2,
.faqp-label, .vlabel, .kcol-h,
.wa-c, .pick-n, .tray-cat, .rd-mod, .jr-mod,
.stats-inner .stat .l, .stats .stat span {
  font-family: var(--font-mono);
}

.eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  gap: 10px;
}
.eyebrow::before {
  width: 20px; height: 2px; border-radius: 2px;
}
.sec-head .eyebrow, .hero .eyebrow { font-size: .78rem; letter-spacing: .2em; }

.jr-num, .block .num { font-weight: 600; letter-spacing: .18em; }

.stats-inner .stat .l, .stats .stat span {
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- 3. header: translucent chrome -------------------------------- */
.site-header {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  backdrop-filter: blur(18px) saturate(1.8);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  box-shadow: 0 1px 0 rgba(12, 30, 39, .02), 0 8px 24px -18px rgba(12, 30, 39, .25);
}
[data-theme="dark"] .site-header.is-scrolled {
  box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .6);
}

.site-nav a { border-radius: 10px; transition: background .15s ease, color .15s ease; }
.site-nav a[aria-current="page"] {
  box-shadow: none;
  background: color-mix(in srgb, var(--accent-mark) 12%, transparent);
  color: var(--accent-text);
}
.mega-toggle { border-radius: 10px; transition: background .15s ease, color .15s ease; }

.theme-toggle {
  background: transparent;
  border-color: var(--hairline);
  transition: border-color .15s ease, background .15s ease;
}
.theme-toggle:hover { background: var(--band); }

/* ---------- 4. the hero field -------------------------------------------- */
.hero, #main > .hero, .abt .masthead {
  background:
    radial-gradient(90rem 40rem at 82% -18%, var(--glow), transparent 60%),
    radial-gradient(60rem 34rem at -12% 112%, rgba(0, 115, 143, .22), transparent 58%),
    linear-gradient(166deg, var(--field-1) 0%, var(--field-2) 56%, var(--field-3) 100%);
}
/* fine dot grid — a control-room map under the words */
.hero::before, .abt .masthead::before {
  content: "";
  position: absolute; inset: 0;
  width: auto; height: auto;
  background-image: radial-gradient(rgba(159, 226, 245, .35) 1px, transparent 1.4px);
  background-size: 26px 26px;
  background-position: 0 0;
  opacity: .12;
  -webkit-mask-image: radial-gradient(80rem 44rem at 78% 0%, #000 0%, transparent 68%);
  mask-image: radial-gradient(80rem 44rem at 78% 0%, #000 0%, transparent 68%);
  pointer-events: none;
}
/* the base sheet pins .hero::before opacity with (0,3,1) selectors in the
   auto-theme states, so the dot grid pins its own at the same weight */
:root:not([data-theme="light"]) .hero::before { opacity: .12; }
[data-theme="dark"] .hero::before, [data-theme="dark"] .abt .masthead::before { opacity: .14; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero::before,
  :root:not([data-theme="light"]) .abt .masthead::before { opacity: .14; }
}

/* the diagonal wedge reads as 2018 — the field now ends on a clean edge */
.hero::after, .abt .masthead::after { display: none; }
.hero > .wrap { padding-bottom: 96px; }
.abt .masthead { padding-bottom: 96px; }

.hero h1 { text-wrap: balance; }
.hero .lede { color: #B9D3DE; }

.hero .art img, .hero .art > svg, .hero .art svg {
  border-color: rgba(159, 226, 245, .16);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55);
}
.hero-photo img { border-radius: var(--radius-lg); }

/* the stat strip floats across the field edge as a glass card */
.stats-inner {
  border-radius: var(--radius-lg);
  border-color: var(--hairline);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--shadow-lg);
}
.stats-inner .stat { background: transparent; border-right-color: var(--hairline); }
.stats { border-radius: var(--radius-lg); }

/* ---------- 5. closing CTA band ------------------------------------------ */
#main > section.cta,
#main > section[aria-labelledby="next-h"] {
  background:
    radial-gradient(70rem 36rem at 50% -30%, var(--glow), transparent 62%),
    radial-gradient(50rem 30rem at 88% 120%, rgba(0, 115, 143, .2), transparent 60%),
    linear-gradient(180deg, var(--field-1) 0%, var(--field-2) 100%);
  position: relative;
  overflow: hidden;
}
#main > section.cta::before,
#main > section[aria-labelledby="next-h"]::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(159, 226, 245, .35) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: .1;
  -webkit-mask-image: radial-gradient(70rem 36rem at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(70rem 36rem at 50% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
#main > section.cta > .wrap,
#main > section[aria-labelledby="next-h"] > .wrap { position: relative; }

/* ---------- 6. buttons: instant, physical -------------------------------- */
.btn, .btn-p, .btn-s {
  border-radius: 12px;
  transition: transform .15s var(--ease-out), box-shadow .2s var(--ease-out),
              background .15s ease, border-color .15s ease, color .15s ease,
              filter .15s ease;
}
.btn-primary, .btn-p {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28),
              0 8px 20px -10px color-mix(in srgb, var(--btn-bg) 65%, transparent);
}
.btn-primary:hover, .btn-p:hover {
  filter: none;
  background: color-mix(in srgb, var(--btn-bg) 88%, #ffffff);
  border-color: color-mix(in srgb, var(--btn-bg) 88%, #ffffff);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28),
              0 12px 26px -10px color-mix(in srgb, var(--btn-bg) 70%, transparent);
}
.btn-p:hover { background: color-mix(in srgb, #38BEE4 82%, #ffffff); }
.btn:active, .btn-p:active, .btn-s:active { transform: scale(.975); transition-duration: .06s; }
.btn-secondary { border-width: 1.5px; }
.btn-secondary:hover { transform: translateY(-1px); }

/* ---------- 7. cards, tiles, panels: soft depth, hover lift --------------- */
.card, .tile, .path, .cs-card, .tcard, .kcard,
.acc, .expando, .vehicle, .jr-group, .jr-body, .jr-media,
.sectors a, .wa-grid a, .cap-tile, .pick label, .pick-item,
.proof-lead, .wwd-cta,
.abt .pcard, .abt .diff, .abt .card, .abt .panel, .abt .side,
ul.trust li, .blocks, .kanc, .kcol {
  border-color: var(--hairline);
}

.card, .cs-card, .tcard, .sectors a, .wa-grid a, .cap-tile,
.abt .pcard, .abt .diff, ul.trust li {
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              border-color .15s ease, background .15s ease;
}
.card.linked:hover, .sectors a:hover, .wa-grid a:hover, .cap-tile:hover,
a.tile:hover, .path:hover, .abt a.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent-ui) 45%, var(--line));
}
.card.linked:hover { background: var(--surface); }
.path:hover { background: var(--surface); }

.tiles, .grid { gap: 18px; }

.blocks, .stats, .abt .vgrid { border-radius: var(--radius-lg); }
.panel, .abt .mission, .abt .standard, .abt .us, .abt .signoff,
.abt .residency, .abt .commit, .abt .pull, .abt .teamcta {
  border-radius: 24px;
}

/* dark feature panels pick up the same field treatment */
.panel, .abt .mission, .abt .us, .abt .signoff, .abt .standard {
  background:
    radial-gradient(46rem 26rem at 88% -20%, var(--glow), transparent 62%),
    linear-gradient(160deg, var(--field-1) 0%, var(--field-3) 130%);
  border-color: rgba(159, 226, 245, .14);
}

.icon-badge {
  background: color-mix(in srgb, var(--accent-mark) 12%, var(--band));
  border-radius: 12px;
}

.note { border-radius: 16px; border-color: var(--hairline); }
.art img, .art > svg { border-radius: 16px; border-color: var(--hairline); }

/* ---------- 8. accordions / expandos -------------------------------------- */
.acc, .expando, .vehicle, .jr-group { border-radius: 16px; box-shadow: var(--shadow-sm); }
.acc summary, .expando > summary, .vehicle > summary, .jr-group > summary {
  transition: background .15s ease;
  border-radius: 15px;
}
.acc[open] summary, .expando[open] > summary,
.vehicle[open] > summary, .jr-group[open] > summary {
  border-radius: 15px 15px 0 0;
}
.acc summary:hover, .expando > summary:hover,
.vehicle > summary:hover, .jr-group > summary:hover { background: var(--band); }
.expando:hover, .vehicle:hover { border-color: var(--hairline); }
.expando[open], .vehicle[open], .jr-group[open] {
  border-color: color-mix(in srgb, var(--accent-ui) 45%, var(--line));
  box-shadow: var(--shadow);
}
.faqp-item summary { transition: color .15s ease; }

/* ---------- 9. tables ------------------------------------------------------ */
thead th {
  background: var(--bg-alt);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tansi-cs th {
  background: var(--thbg);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.table-scroll { border: 1px solid var(--hairline); border-radius: 16px; }
.table-scroll table { margin: 0; }
.table-scroll th, .table-scroll td { padding: 13px 16px; }

/* ---------- 10. forms ------------------------------------------------------ */
.field input, .field textarea, .field select, .ask-box {
  border-radius: 12px;
  border-color: var(--line-strong);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: none;
  border-color: var(--accent-ui);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-ui) 22%, transparent);
}
.field input:hover, .field textarea:hover, .field select:hover {
  border-color: color-mix(in srgb, var(--accent-ui) 50%, var(--line-strong));
}

/* ---------- 11. mega menus: materialize ------------------------------------ */
.mega {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: var(--shadow-lg);
  transform-origin: top center;
}
.mega:not([hidden]) { animation: megaIn .24s var(--ease-out) both; }
@keyframes megaIn {
  from { opacity: 0; transform: translateY(-8px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.mega-foot { background: color-mix(in srgb, var(--bg-alt) 72%, transparent); }
.nav-mega li { border-bottom-color: var(--hairline); }
.nav-mega li > a { transition: background .14s ease; }
.who-col { border-left-color: var(--hairline); }
.mega-foot .mega-chip {
  border-color: var(--hairline);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border-radius: 999px;
  transition: border-color .15s ease, color .15s ease, transform .15s var(--ease-out);
}
.mega-foot .mega-chip:hover { transform: translateY(-1px); }
@media (max-width: 1023px) {
  .mega { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mega:not([hidden]) { animation: none; }
}

/* ---------- 12. drawers, scrims, tray: spring + glass ---------------------- */
.drawer, .ldrawer, .rdrawer, .tansi-drawer {
  transition-timing-function: var(--ease-spring);
  transition-duration: .34s;
}
.drawer, .rdrawer, .tansi-drawer { border-radius: 20px 0 0 20px; border-left: 0; }
.ldrawer { border-radius: 0 20px 20px 0; border-right: 0; }
.drawer, .ldrawer, .rdrawer { box-shadow: var(--shadow-lg); }
@media (max-width: 680px) {
  .drawer, .rdrawer, .tansi-drawer, .ldrawer { border-radius: 0; }
}

.drawer-scrim, .dscrim, .tansi-drawer-scrim {
  background: rgba(6, 19, 24, .42);
  -webkit-backdrop-filter: blur(6px) saturate(.9);
  backdrop-filter: blur(6px) saturate(.9);
}

.tray {
  border-radius: var(--radius-lg);
  border-color: var(--hairline);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--shadow-lg);
  transition-timing-function: var(--ease-spring);
}

.tsearch-box {
  border-color: var(--hairline);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.7);
  backdrop-filter: blur(18px) saturate(1.7);
  box-shadow: var(--shadow-lg);
  transition: border-color .15s ease, box-shadow .2s ease;
}
.tsearch-box:focus-within {
  border-color: color-mix(in srgb, var(--accent-ui) 60%, var(--line));
  box-shadow: var(--shadow-lg), 0 0 0 4px color-mix(in srgb, var(--accent-ui) 16%, transparent);
}
.tsearch-results {
  border-color: var(--hairline);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
}

/* ---------- 13. reveal: quieter entrance, light stagger -------------------- */
.reveal {
  transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.grid > .reveal:nth-child(2), .tiles > .reveal:nth-child(2) { transition-delay: .06s; }
.grid > .reveal:nth-child(3), .tiles > .reveal:nth-child(3) { transition-delay: .12s; }
.grid > .reveal:nth-child(4), .tiles > .reveal:nth-child(4) { transition-delay: .18s; }
.grid > .reveal:nth-child(5), .tiles > .reveal:nth-child(5) { transition-delay: .24s; }
.grid > .reveal:nth-child(6), .tiles > .reveal:nth-child(6) { transition-delay: .3s; }

/* ---------- 14. rails, crumbs, tabs ---------------------------------------- */
.rail a::after { border-radius: 3px; transition: width .2s var(--ease-out), background .2s ease; }
.crumb li::after { color: var(--text-muted); }

.dd-tab { transition: color .15s ease; border-radius: 8px 8px 0 0; }
.dd-tab:hover { background: var(--band); }
.abt .tabnav {
  background: color-mix(in srgb, var(--sl-0, #fff) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.7);
  backdrop-filter: blur(16px) saturate(1.7);
  border-bottom-color: var(--hairline);
}

/* ---------- 15. footer ------------------------------------------------------ */
.site-footer {
  background: var(--field-1);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 216, .45), transparent);
}
.footer-grid h2 { font-size: .68rem; letter-spacing: .18em; font-weight: 600; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-social a { transition: color .15s ease, border-color .15s ease, transform .15s var(--ease-out); }
.footer-social a:hover { transform: translateY(-1px); }

/* ---------- 16. misc craft -------------------------------------------------- */
.skip { border-radius: 12px; box-shadow: var(--shadow-lg); }

blockquote.pull { border-left-width: 3px; }

.jr-dot, .gnum, .wc-i {
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-mark) 8%, transparent);
}

.cred-bar { background: var(--bg-alt); }
.cred-badge, .gov-badge, .ab-txramp { border-radius: 12px; border-color: var(--hairline); }

.badge { border-radius: 14px; border-color: var(--hairline); }

.trust-strip { border-color: var(--hairline); }

.stat-go, .tile-go, .cs-actions .btn { font-family: inherit; }

.wwd-cap {
  background: rgba(159, 226, 245, .1);
  border-color: rgba(159, 226, 245, .2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* keep long headings from ragging awkwardly */
h2, h3 { text-wrap: balance; }
.lede { text-wrap: pretty; }

/* ---------- 16b. reflow guards (pre-existing mobile blowout) ---------------
   SVG artwork carries explicit width="720" attributes; inside a grid the
   item's automatic minimum inflates the track past small viewports and the
   whole page clips. Grid items shrink, art scales, and the body never pans. */
.hero-split > *, .split > *, .dd-panel > *, .wwd-hero-grid > *,
.jr-hero > *, .wc-grid > *, .gov-grid > *, .two-col > *,
.why-agency > *, .proof-lead > *, .erp-split > * { min-width: 0; }
.art svg, .art img { max-width: 100%; height: auto; }
body { overflow-x: clip; }

/* ---------- 16c. state bridges --------------------------------------------
   Entrance-only, opacity-first motion for the places state used to teleport.
   The base sheet's global reduced-motion rule flattens the element keyframes;
   ::details-content and the View Transition (js/app.js) carry their own guards
   because that rule cannot reach them. */

/* native <details> accordions open on an animated height (progressive:
   browsers without interpolate-size keep today's instant snap) */
:root { interpolate-size: allow-keywords; }
details::details-content {
  height: 0;
  overflow: clip;
  transition: height 220ms var(--ease-out), content-visibility 220ms allow-discrete;
}
details[open]::details-content { height: auto; }
@media (prefers-reduced-motion: reduce) {
  details::details-content { transition: none; }
}

/* route changes: the new page arrives on a fast, opacity-only entrance —
   no transform (protects position: sticky descendants), no exit delay */
@media (prefers-reduced-motion: no-preference) {
  #main > :not(noscript) { animation: page-in 150ms var(--ease-out); }
}
@keyframes page-in { from { opacity: 0; } }

/* capability tab panels: display toggling via [hidden] restarts this on
   each reveal; entrance-only so switching back stays instant */
.dd-panel { animation: panel-in 180ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; } }

/* section headings share the cards' entrance: eyebrow, then title, then
   lede. The .sr class is added by js/modern.js only — with JS off nothing
   is ever hidden. Transitions (not keyframes) so a rapid anchor-jump that
   fires several at once still retargets cleanly. One-way: revealed
   headings never hide again on scroll-up. */
.sr {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.sr-d1 { transition-delay: 70ms; }
.sr-d2 { transition-delay: 140ms; }
.sr-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sr { opacity: 1; transform: none; transition: none; }
}
@media print {
  .sr, .reveal { opacity: 1 !important; transform: none !important; }
}

/* search listbox rises out of the pill beneath it, once per appearance */
.tsearch-results {
  animation: list-in 140ms var(--ease-out);
  transform-origin: bottom center;
}
@keyframes list-in { from { opacity: 0; transform: translateY(4px); } }

/* ---------- 17. accessibility fallbacks ------------------------------------ */
@media (prefers-reduced-transparency: reduce) {
  .site-header, .mega, .stats-inner, .tray, .tsearch-box, .tsearch-results,
  .abt .tabnav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--surface);
  }
  .drawer-scrim, .dscrim, .tansi-drawer-scrim {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  .site-header, .mega, .stats-inner, .tray, .tsearch-box, .tsearch-results {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--surface);
    border-color: var(--line-strong);
  }
  .card, .tile, .cs-card, .acc, .expando, .vehicle { border-color: var(--line-strong); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mega:not([hidden]) { animation: none; }
  .reveal { transition: none; }
  .btn:active, .btn-p:active, .btn-s:active { transform: none; }
}

/* ---------- 18. print -------------------------------------------------------- */
@media print {
  .hero, .abt .masthead, #main > section.cta { background: #fff; }
  .hero h1, .hero p, .hero li, .hero .lede, .hero figcaption,
  .abt .masthead h1, .abt .masthead .deck { color: #000; }
  .hero::before, .abt .masthead::before,
  #main > section.cta::before { display: none; }
}

/* ---- journey timeline: product demo videos in the media slot ------------- */
.jr-media video{ display:block; width:100%; height:auto; aspect-ratio:16/9;
  object-fit:cover; background:var(--bg-alt); }

/* ---- contact form: honeypot + inline send result ------------------------- */
.hp-field { position: absolute !important; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--ok); color: var(--ok); background: var(--surface);
  font-weight: 600; }
.form-status.err { border-color: var(--warn-fg); color: var(--warn-fg);
  background: var(--warn-bg); }
