/* Assetas: one shared stylesheet. Keep it small and simple.
   All colors, fonts and sizes come from tokens.css, which loads first.
   Look: "Blueprint". Brand blue blocks (header, hero, closing band) with a drafting grid,
   white pages with ice sections, navy bands and footer, amber for the main action on blue. */

/* Base */
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.site-footer :focus-visible,
.dark-band :focus-visible,
.section--dark :focus-visible,
.statement :focus-visible { outline-color: var(--color-focus-on-dark); }
.dark-band .eyebrow, .section--dark .eyebrow { color: var(--color-accent-on-dark); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.4;
  letter-spacing: -0.006em;
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}
::selection { background: var(--color-amber); color: var(--color-text); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--color-text); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; margin: 0 0 var(--space-2); }
h1 { font-size: var(--text-h1); line-height: 1.02; font-weight: 750; letter-spacing: -0.045em; }
h2 { font-size: var(--text-h2); line-height: 1.08; font-weight: 750; letter-spacing: -0.035em; }
h3 { font-size: var(--text-h3); font-weight: 700; }
h4 { font-size: var(--text-h4); line-height: 1.5; }
p { margin: 0 0 var(--space-2); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.text-link { color: var(--color-link); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-3); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: var(--space-2); z-index: 100; background: var(--color-bg); padding: var(--space-1); }

/* Buttons: pills. Blue on white; amber is the main action on blue (header, hero, closing band). */
.button {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border: 1.5px solid var(--color-button);
  border-radius: var(--radius-pill);
  background: var(--color-button);
  color: var(--color-button-text);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.button:hover { background: var(--color-button-hover); transform: translateY(-1px); }
.button--outline { background: var(--color-bg); color: var(--color-text); border-color: var(--color-text); }
.button--outline:hover { background: var(--color-text); color: var(--color-on-fill); }
.hero .button:not(.button--outline), .cta-band .button:not(.button--ghost) { background: var(--color-amber); border-color: var(--color-amber); color: var(--color-text); }
.hero .button:not(.button--outline):hover, .cta-band .button:not(.button--ghost):hover { background: var(--color-amber-hover); border-color: var(--color-amber-hover); }

/* Header: part of the blue block.
   Desktop: Industry and Platform open a full-width "mega panel" on hover or keyboard focus (CSS only),
   the page behind dims, and an amber bar slides under the item you point at (menu.js).
   Phones and tablets: a white drawer slides in from the right, with expandable sections. */
.site-header { background: var(--color-dark); position: sticky; top: 0; z-index: 50; }
/* The bar is navy, so focus rings on it are amber; the white drawer and mega panels keep the navy ring */
.header-inner > :is(.logo, .menu-toggle):focus-visible { outline-color: var(--color-focus-on-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 4.5rem; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { width: 150px; height: auto; }
.site-nav a { text-decoration: none; }
.nav-list, .panel-grid { list-style: none; margin: 0; padding: 0; }
.link-signin { color: var(--color-on-fill); font-weight: 500; white-space: nowrap; }
.link-signin:hover { text-decoration: underline; text-decoration-color: var(--color-amber); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.chev { display: inline-block; flex: none; width: 0.42rem; height: 0.42rem; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-0.15rem) rotate(45deg); transition: transform 0.35s var(--ease); }
.nav-acc[aria-expanded="true"] .chev { transform: translateY(0.1rem) rotate(225deg); }
.panel-icon { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: calc(var(--radius) * 0.8); background: var(--color-surface); transition: background-color 0.25s var(--ease), transform 0.35s var(--ease-spring); }
.panel-icon img { width: 1.35rem; height: 1.35rem; filter: var(--filter-brand); }
.panel-label strong { display: block; font-weight: 600; }
.panel-photo { display: block; overflow: hidden; border-radius: var(--radius); }
.panel-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.6s var(--ease); }
.nav-scrim { position: absolute; left: 0; right: 0; top: 100%; z-index: -1; height: 100vh; background: var(--color-overlay); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.nav-ink { display: none; }

/* Menu button: three lines that turn into a cross */
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; color: var(--color-on-fill); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 1.4rem; height: 2px; border-radius: 2px; background: currentColor; content: ""; transition: transform 0.35s var(--ease), top 0.35s var(--ease), background-color 0.2s; }
.menu-icon { position: relative; }
.menu-icon::before { position: absolute; top: -7px; }
.menu-icon::after { position: absolute; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background-color: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

/* Phones and tablets: drawer */
@media (max-width: 63.99rem) {
  html.menu-open { overflow: hidden; }
  .site-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; width: min(25rem, 100%); overflow-y: auto; overscroll-behavior: contain; background: var(--color-bg); box-shadow: var(--shadow-float); visibility: hidden; transform: translateX(105%); transition: transform 0.45s var(--ease), visibility 0s linear 0.45s; }
  .site-header.is-open .site-nav { visibility: visible; transform: none; transition-delay: 0s; }
  .nav-scrim { position: fixed; inset: 0; z-index: 1; height: auto; }
  .site-header.is-open .nav-scrim { opacity: 1; pointer-events: auto; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; flex: none; min-height: 4.5rem; padding: 0 var(--space-2) 0 var(--space-3); border-bottom: 1px solid var(--color-border); color: var(--color-text); font-weight: 700; }
  .menu-close { position: relative; width: 2.75rem; height: 2.75rem; border: 0; background: none; color: var(--color-text); cursor: pointer; }
  .menu-close::before, .menu-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.3rem; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
  .menu-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
  .nav-list { padding: var(--space-1) var(--space-3); }
  .nav-item { border-bottom: 1px solid var(--color-border); opacity: 0; transform: translateX(1.5rem); transition: opacity 0.3s, transform 0.45s var(--ease); }
  .site-header.is-open .nav-item { opacity: 1; transform: none; transition-delay: calc(0.15s + var(--n) * 0.05s); }
  .nav-top, .nav-acc { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 0; border: 0; background: none; color: var(--color-text); font: inherit; font-size: 1.15rem; font-weight: 600; text-align: left; cursor: pointer; }
  .nav-top[aria-current="page"] { color: var(--color-accent-text); }
  .has-panel > .nav-top { display: none; }
  .nav-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.4s var(--ease), visibility 0s linear 0.4s; }
  .nav-acc[aria-expanded="true"] + .nav-panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
  .panel-inner { display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding: 0; }
  .panel-intro { order: 2; padding: 0.5rem 0 1rem; color: var(--color-link); font-weight: 600; }
  .panel-eyebrow, .panel-intro strong, .panel-text { display: none; }
  .panel-grid { display: grid; gap: 0.15rem; }
  .panel-grid a { display: flex; align-items: center; gap: 0.75rem; padding: 0.4rem 0; color: var(--color-text); }
  .panel-grid a[aria-current="page"] strong { color: var(--color-accent-text); }
  .panel-icon { width: 2rem; height: 2rem; border-radius: calc(var(--radius) * 0.6); }
  .panel-icon img { width: 1.1rem; height: 1.1rem; }
  .panel-label strong { font-weight: 500; }
  .panel-label small { display: none; }
  .panel-grid--photos { grid-template-columns: 1fr 1fr; gap: 0.75rem; padding-top: 0.25rem; }
  .panel-grid--photos a { flex-direction: column; align-items: stretch; gap: 0.4rem; }
  .nav-actions { display: flex; flex-direction: column-reverse; gap: var(--space-2); margin-top: auto; padding: var(--space-3); }
  .nav-actions .link-signin { color: var(--color-text); text-align: center; }
}

/* Desktop: mega panel */
@media (min-width: 64rem) {
  .header-inner { min-height: 5rem; align-items: stretch; }
  /* One baseline across the header, 53px down of 80: the logo's wordmark sits on the same line as the
     menu, Sign in and button text. The logo is pinned to the bottom with padding (at 180px wide its
     wordmark baseline is 1.575px above the SVG's bottom edge), and the nav is pushed down to meet it.
     The baseline is a whole pixel, so the letters' bottom edges stay crisp; 180px keeps the thin serif
     strokes above one device pixel. */
  .logo { align-items: flex-end; padding-bottom: calc(27px - 1.575px); }
  .logo img { width: 180px; }
  .menu-toggle, .drawer-head, .nav-acc { display: none; }
  .site-nav { display: flex; flex: 1; justify-content: space-between; align-items: stretch; gap: var(--space-4); padding-left: 5%; padding-top: 0.87rem; }
  .nav-list, .nav-item { display: flex; }
  .nav-list { gap: 0.25rem; }
  .nav-top { display: flex; align-items: center; gap: 0.5rem; padding: 0 1rem; color: var(--color-on-fill); font-size: var(--text-small); font-weight: 500; }
  .has-panel:hover .chev, .has-panel:focus-within .chev { transform: translateY(0.1rem) rotate(225deg); }
  .site-header:not(.has-ink) .is-current > .nav-top { box-shadow: inset 0 -3px 0 var(--color-amber); }
  .nav-ink { display: block; position: absolute; left: 0; bottom: 0; z-index: 2; width: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--color-amber); opacity: 0; pointer-events: none; transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.25s; }
  .nav-actions { display: flex; align-items: center; gap: var(--space-4); font-size: var(--text-small); }
  .nav-actions .button { padding: 0.7rem 1.4rem; white-space: nowrap; border-color: var(--color-amber); background: var(--color-amber); color: var(--color-text); }
  .nav-actions .button:hover { border-color: var(--color-amber-hover); background: var(--color-amber-hover); }
  .nav-top:focus-visible, .nav-actions :focus-visible { outline-color: var(--color-focus-on-dark); }

  .nav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--color-bg); box-shadow: var(--shadow-menu); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 0.45s var(--ease), visibility 0s linear 0.45s; }
  .has-panel:hover > .nav-panel, .has-panel:focus-within > .nav-panel { visibility: visible; clip-path: inset(0 0 -4rem 0); transition-delay: 0s; }
  .site-header:has(.has-panel:hover) .nav-scrim, .site-header:has(.has-panel:focus-within) .nav-scrim { opacity: 1; }

  .panel-inner { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-4); }
  .panel-intro { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 0.6rem; padding: var(--space-3); border-radius: var(--radius-lg); background: var(--color-dark); color: var(--color-on-dark); font-size: var(--text-small); }
  .panel-intro::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(var(--color-grid) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid) 1px, transparent 1px), linear-gradient(var(--color-grid-fine) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid-fine) 1px, transparent 1px);
    background-size: var(--grid-major) var(--grid-major), var(--grid-major) var(--grid-major), var(--grid-minor) var(--grid-minor), var(--grid-minor) var(--grid-minor);
  }
  .panel-eyebrow { font-size: var(--text-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent-on-dark); }
  .panel-intro strong { color: var(--color-on-fill); font-size: 1.4rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
  .panel-more { margin-top: auto; padding-top: var(--space-2); color: var(--color-on-fill); font-weight: 600; }
  .panel-more span { display: inline-block; transition: transform 0.3s var(--ease); }
  .panel-intro:hover .panel-more span { transform: translateX(0.35rem); }

  .panel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.25rem var(--space-2); align-content: start; }
  .panel-grid > li { opacity: 0; transform: translateY(0.6rem); transition: opacity 0.3s var(--ease), transform 0.45s var(--ease); }
  .has-panel:hover .panel-grid > li, .has-panel:focus-within .panel-grid > li { opacity: 1; transform: none; transition-delay: calc(80ms + var(--i) * 25ms); }
  .panel-grid a { display: flex; align-items: flex-start; gap: 0.85rem; height: 100%; padding: 0.75rem; border-radius: var(--radius); color: var(--color-text); transition: background-color 0.2s var(--ease); }
  .panel-grid a:hover, .panel-grid a[aria-current="page"] { background: var(--color-surface); }
  .panel-grid a:hover .panel-icon { background: var(--color-brand); transform: rotate(-8deg) scale(1.08); }
  .panel-grid a:hover .panel-icon img { filter: var(--filter-white); }
  .panel-label small { display: block; margin-top: 0.15rem; font-size: 0.85rem; line-height: 1.35; color: var(--color-muted); }
  .panel-grid--photos a { flex-direction: column; gap: 0.6rem; }
  .panel-grid--photos a:hover .panel-photo img { transform: scale(1.06); }
}
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .logo { padding-bottom: calc(27px - 1.4px); }
  .logo img { width: 160px; }
  .site-nav { gap: var(--space-3); padding-left: 2%; }
  .nav-list { gap: 0; }
  .nav-top { padding: 0 0.75rem; }
  .nav-actions { gap: var(--space-3); }
  .panel-inner { grid-template-columns: 15rem minmax(0, 1fr); gap: var(--space-3); }
  .panel-grid:not(.panel-grid--photos) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *, .site-header *::before, .site-header *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* Main content area: the white page under the blue header */
main { background: var(--color-bg); overflow: hidden; overflow: clip; }  /* clip where supported: crops the same, without making main a scroll container (scroll-driven animations track the page) */

/* Sections: the reusable patterns pages are built from */
.section { padding-block: var(--space-5); }
.section--surface { background: var(--color-section-alt); }
.section--flush-top { padding-top: 0; }
.h4 { font-size: var(--text-h4); line-height: 1.5; font-weight: 700; letter-spacing: -0.025em; }
.h3-size { font-size: var(--text-h3); letter-spacing: -0.025em; }
.section--dark { background: var(--color-dark); color: var(--color-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-on-fill); }
/* Eyebrow: blue label with an amber tick */
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; font-size: var(--text-label); font-weight: 700; letter-spacing: 0.08em; color: var(--color-accent-text); margin-bottom: var(--space-2); }
.eyebrow::before { content: ""; display: inline-block; width: 0.9em; height: 0.3em; margin-right: 0.55em; border-radius: 2px; background: var(--color-amber); vertical-align: 0.2em; }
.lead { font-size: var(--text-lead); line-height: 1.55; max-width: 46rem; }
.display { font-family: var(--font-display); font-weight: 400; }
.stat { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -0.045em; font-feature-settings: "tnum"; color: var(--color-accent); }
.grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--space-1); }
.card { padding: var(--space-3); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.card:hover { border-color: var(--color-brand); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.split { display: grid; gap: var(--space-4); align-items: center; }
.split + .split { margin-top: var(--space-5); }
@media (min-width: 48rem) { .split { grid-template-columns: 1fr 1fr; } }

.button--accent { background: var(--color-brand); border-color: var(--color-brand); }
.button--accent:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-block: var(--space-4) var(--space-3); }
.button-row .button { min-width: 14rem; }
.arrow-link { display: inline-block; margin-top: var(--space-1); color: var(--color-body); font-weight: 600; text-decoration: none; }
.arrow-link::after { content: " \2197"; }
.arrow-link:hover { color: var(--color-text); text-decoration: underline; }

/* Section heading block: optional badge icon, eyebrow, h2, lead */
.section-head { max-width: 58rem; margin-bottom: var(--space-4); }
.section-head--flush { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-inline: inherit; }

/* Hero: a block of brand blue with a drafting grid, continuing the header */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-5); color: var(--color-on-fill); background: radial-gradient(60rem 30rem at 0% 100%, var(--color-brand-shade), transparent 70%), linear-gradient(180deg, var(--color-brand) 0%, var(--color-brand-deep) 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--color-grid) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid) 1px, transparent 1px), linear-gradient(var(--color-grid-fine) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid-fine) 1px, transparent 1px);
  background-size: var(--grid-major) var(--grid-major), var(--grid-major) var(--grid-major), var(--grid-minor) var(--grid-minor), var(--grid-minor) var(--grid-minor);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.hero h1, .hero h2, .hero h3, .hero p, .hero .lead, .hero .section-head .lead { color: var(--color-on-fill); }
.hero .eyebrow { color: var(--color-on-fill); }
.hero .eyebrow::before { content: none; }
/* Amber underline in a hero headline (the home page's "meets"): a background band, not text-decoration, so it
   can draw left to right once on load. With reduced motion it is simply there. */
.hero h1 u { text-decoration: none; background: linear-gradient(var(--color-amber), var(--color-amber)) no-repeat 0 calc(100% - 0.05em) / 100% 0.09em; }
@media (prefers-reduced-motion: no-preference) { .hero h1 u { animation: underline-draw 0.75s 0.35s var(--ease) both; } }
@keyframes underline-draw { from { background-size: 0 0.09em; } }
.hero .button--outline { background: transparent; color: var(--color-on-fill); border-color: var(--color-on-fill); }
.hero .button--outline:hover { background: var(--color-on-fill); color: var(--color-text); }
.hero .text-link, .hero a:not(.button) { color: var(--color-on-fill); }
.hero .tags li { background: transparent; border-color: var(--color-on-fill-line); color: var(--color-on-fill); }
.hero .stat { color: var(--color-amber-light); }
.hero .hero-stats { border-top-color: var(--color-on-fill-line); }
.hero .hero-stats p:not(.stat) { color: var(--color-on-fill); }
.hero .icon-tile { background: var(--color-on-fill-tint); }
.hero + .section--flush-top { padding-top: var(--space-5); }
.hero-visual img { margin-inline: auto; background: var(--color-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
.hero-visual .mock { max-width: 36rem; margin-inline: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }  /* a drawn card in place of an image (/telemetry) */

/* Station hero (/emissions): the night hero's .hero-photo (see /telemetry) with a compressor station
   photo filling the hero edge to edge, under a navy wash heaviest on the left behind the headline, its top fading
   into the menu bar's navy (.hero-photo::after). Beside the headline, .hud-panels: home's glass dashboard panels in
   an SVG of their own (.engine-links and the .engine-* marks of the engine hero, below), not tied to the photo, so
   any crop works. Adds a line chart (.hud-trace, .hud-limit the dashed limit, .hud-dot its latest point,
   .hud-value its figure under the dot) and status tiles (.hud-status: a glass box and a check). The panels and
   tiles stand still; the line, bars and checks play once on load, about 3 s, so they need no pause control
   (WCAG 2.2.2); reduced motion shows it finished. Phones hide the panel text, as on home. */
.hero-photo--station img { object-position: 50% 65%; }
@media (min-width: 64rem) { .hero-photo--station img { transform: none; } }  /* not the /telemetry enlargement */
.hero-photo--station::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--color-dark) 90%, transparent) 0%, color-mix(in srgb, var(--color-dark) 74%, transparent) 45%, color-mix(in srgb, var(--color-dark) 55%, transparent) 100%); }
.hero-photo--station::after { z-index: 1; }
.hud-panels .engine-links { position: static; display: block; width: 100%; height: auto; overflow: visible; }  /* in the flow, not the engine hero's absolute overlay */
.hud-limit { stroke: var(--color-on-fill); stroke-width: 1.5; stroke-dasharray: 6 6; opacity: 0.75; }
.hud-trace { fill: none; stroke: var(--color-hud-link); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; }
.hud-dot { fill: var(--color-hud-link); filter: drop-shadow(0 0 6px var(--color-hud-glow)); transform-box: fill-box; transform-origin: center; }
.hud-status-box { fill: var(--color-hud-band); stroke: var(--color-hud-line); stroke-width: 1.5; }
.hud-value { font-weight: 700; }
.hud-status--warn .engine-check-box { fill: var(--color-amber); } /* a status that needs attention */
@media (prefers-reduced-motion: no-preference) {
  .hud-trace { animation: engine-draw 1.4s 0.7s cubic-bezier(0.4, 0, 0.6, 1) both; }
  .hud-dot { animation: engine-pop 0.4s 2.1s var(--ease-spring) both; }
  .hud-value { animation: engine-fade 0.4s 2.3s both; }
  .hud-panels .engine-panel { animation: none; }  /* the panels and tiles stand still; only their contents move */
}

/* Fan-out (/emissions, "One event. Six outputs."; /reporting, one saved report to its four destinations on a
   0 0 100 400 viewBox): one event on the left, curves to its outputs on the right, each a card with its title (h3) and one or two sentences. From 48rem the outputs share equal rows, so
   each curve's end (the SVG's 50, 150 … 550 of 600) meets the middle of its card. Pointing at an output lights its
   curve. With data-play-once (menu.js) the curves sweep out and the outputs follow, once; without JS or with reduced
   motion it shows finished. Phones stack it, no curves. */
.fan { position: relative; display: grid; gap: var(--space-2); margin-block: var(--space-4) 0; }
.fan-source { padding: var(--space-3); border: 1.5px solid var(--color-brand); border-radius: var(--radius-lg); background: var(--color-bg); box-shadow: var(--shadow-hover); }
.fan-source p { margin: 0; font-size: var(--text-small); color: var(--color-muted); }
.fan-source .fan-title { font-size: var(--text-h4); font-weight: 700; letter-spacing: -0.02em; color: var(--color-text); }
.fan-lines { display: none; }
.fan-lines path { fill: none; stroke: var(--color-border-input); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: stroke 0.2s var(--ease), stroke-width 0.2s var(--ease); }
.fan-outputs { list-style: none; margin: 0; padding: 0; }
.fan-outputs li { display: flex; padding-block: 0.35rem; }
.fan-out { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: var(--space-2) var(--space-3); border: 1.5px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); font-size: var(--text-small); color: var(--color-muted); transition: border-color 0.2s var(--ease); }
.fan-out h3 { margin: 0 0 0.25rem; font-size: var(--text-body); color: var(--color-text); }
.fan-out p { margin: 0; }
.fan-outputs li:hover .fan-out { border-color: var(--color-brand); }
@media (min-width: 48rem) {
  .fan { grid-template-columns: minmax(0, 21rem) minmax(5rem, 1fr) minmax(0, 36rem); gap: 0; align-items: center; }  /* 21rem: "Compressor blowdown" on one line */
  .fan-outputs { display: grid; grid-auto-rows: 1fr; }
  .fan-lines { display: block; width: 100%; height: auto; align-self: stretch; contain: size; }  /* no size of its own: it stretches to the row the outputs set, instead of growing to its 1:6 viewBox */
}
.fan:has(li:nth-child(1):hover) path:nth-child(1), .fan:has(li:nth-child(2):hover) path:nth-child(2),
.fan:has(li:nth-child(3):hover) path:nth-child(3), .fan:has(li:nth-child(4):hover) path:nth-child(4),
.fan:has(li:nth-child(5):hover) path:nth-child(5), .fan:has(li:nth-child(6):hover) path:nth-child(6) { stroke: var(--color-amber); stroke-width: 3.5; }
.fan.is-armed .fan-lines { clip-path: inset(0 100% 0 0); }
.fan.is-armed .fan-outputs li { opacity: 0; transform: translateX(calc(-1 * var(--space-2))); }
.fan.is-armed.is-in .fan-lines { clip-path: inset(0 0 0 0); transition: clip-path 1s 0.2s var(--ease); }
/* Dots: with data-loop (menu.js adds the pause button), one dot per curve travels from the reading to its output,
   all six together and slowly (7 s a trip, fading in and out at the ends), on repeat. Each dot is a zero-length path
   with a round cap and a non-scaling stroke, so it stays round in the stretched SVG; CSS offset-path carries it along
   its curve. Hidden without the button (no JS, reduced motion) or without offset-path support; paused offscreen or by
   the button. */
.fan-lines .fan-dot { display: none; stroke: var(--color-amber); stroke-width: 7; stroke-linecap: round; transform-box: view-box; offset-anchor: 0 0; offset-rotate: 0deg; }
@supports (offset-path: path("M0 0")) {
  .fan:has(> .loop-toggle) .fan-dot { display: inline; animation: fan-dot 7s linear 1.6s infinite both; }
}
.fan:is(.is-paused, .is-offscreen) .fan-dot { animation-play-state: paused; }
.fan .loop-toggle { top: auto; bottom: 0; left: 0; right: auto; }  /* bottom left, under the reading */
@media (max-width: 47.99rem) { .fan .loop-toggle { display: none; } }  /* phones show no curves, so nothing moves */
@keyframes fan-dot { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.fan.is-armed.is-in .fan-outputs li { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(0.8s + var(--i) * 90ms); }
/* Relay (.fan--relay, /reporting delivery): instead of dots, one delivery at a time. Every 2 s the saved report sends a
   ripple from its card, an amber comet (a head dot and two fading trail dots, each carried by offset-path like the base dots) runs down one curve, and the
   output it reaches lights amber and shows a "Sent" stamp; the four take turns on an 8 s cycle. Same gating as the dots: only with the pause button, paused by it or offscreen. */
.fan-lines .fan-comet { display: none; stroke: var(--color-amber); stroke-width: 9; stroke-linecap: round; transform-box: view-box; offset-anchor: 0 0; offset-rotate: 0deg; }
.fan-lines .fan-comet--t1 { stroke-width: 6; stroke-opacity: 0.55; }
.fan-lines .fan-comet--t2 { stroke-width: 4; stroke-opacity: 0.3; }
@supports (offset-path: path("M0 0")) {
  .fan--relay:has(> .loop-toggle) .fan-comet { display: inline; animation: fan-comet 8s cubic-bezier(.5,0,.3,1) calc(1.6s + var(--i) * 2s) infinite both; }
  .fan--relay:has(> .loop-toggle) .fan-comet--t1 { animation-delay: calc(1.65s + var(--i) * 2s); }
  .fan--relay:has(> .loop-toggle) .fan-comet--t2 { animation-delay: calc(1.7s + var(--i) * 2s); }
}
.fan--relay .fan-source { position: relative; }
.fan--relay:has(> .loop-toggle) .fan-source::after { content: ""; position: absolute; inset: -1.5px; border: 2px solid var(--color-amber); border-radius: inherit; opacity: 0; pointer-events: none; animation: fan-ripple 2s ease-out 1.6s infinite; }
.fan--relay .fan-out { position: relative; }
.fan--relay .fan-out::after { content: "Sent"; position: absolute; top: var(--space-2); right: var(--space-3); padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--color-amber); color: var(--color-dark); font-size: 0.75rem; font-weight: 700; opacity: 0; transform: scale(0.6); }
.fan--relay:has(> .loop-toggle) .fan-out { animation: fan-hit 8s var(--ease) calc(1.6s + var(--i) * 2s) infinite both; }
.fan--relay:has(> .loop-toggle) .fan-out::after { animation: fan-stamp 8s var(--ease) calc(1.6s + var(--i) * 2s) infinite both; }
.fan--relay:is(.is-paused, .is-offscreen) :is(.fan-comet, .fan-lines path, .fan-source::after, .fan-out, .fan-out::after) { animation-play-state: paused; }
@keyframes fan-comet { 0% { offset-distance: 0%; opacity: 0; } 1% { opacity: 1; } 14% { offset-distance: 100%; opacity: 1; } 15%, 100% { offset-distance: 100%; opacity: 0; } }
@keyframes fan-ripple { 0% { opacity: 0.9; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(1.08, 1.25); } }
/* Relay look (after a lit flowchart on a dark screen): the fan sits on a navy panel, its curves become white elbow
   lines, the cards are glass outlines with an arrowhead where each line arrives, and the source carries a glowing
   amber node where the lines leave. */
.fan--relay { padding: var(--space-4) var(--space-3); border-radius: var(--radius-lg); background: radial-gradient(ellipse at 30% 50%, color-mix(in srgb, var(--color-brand) 35%, var(--color-dark)), var(--color-dark) 70%); }
.fan--relay .fan-source, .fan--relay .fan-out { background: color-mix(in srgb, #fff 6%, transparent); border: 1.5px solid color-mix(in srgb, #fff 70%, transparent); box-shadow: 0 0 18px color-mix(in srgb, #fff 8%, transparent); color: color-mix(in srgb, #fff 75%, transparent); backdrop-filter: blur(4px); }
.fan--relay .fan-source p, .fan--relay .fan-out p { color: color-mix(in srgb, #fff 72%, transparent); }
.fan--relay :is(.fan-title, h3) { color: #fff; }
.fan--relay .fan-lines path:not(.fan-comet) { stroke: color-mix(in srgb, #fff 75%, transparent); }
.fan--relay .loop-toggle { left: var(--space-3); bottom: var(--space-2); }
@media (min-width: 48rem) {
  .fan--relay .fan-source::before { content: ""; position: absolute; top: 50%; right: -0.7rem; width: 1.4rem; height: 1.4rem; margin-top: -0.7rem; border-radius: 50%; border: 1.5px solid #fff; background: radial-gradient(circle, #fff 0 15%, var(--color-amber) 40%, color-mix(in srgb, var(--color-amber) 30%, transparent) 70%); box-shadow: 0 0 14px 6px color-mix(in srgb, var(--color-amber) 60%, transparent), 0 0 40px 14px color-mix(in srgb, var(--color-amber) 25%, transparent); z-index: 1; }
  .fan--relay .fan-out::before { content: ""; position: absolute; left: -0.55rem; top: 50%; margin-top: -0.35rem; border: 0.35rem solid transparent; border-left: 0.5rem solid #fff; border-right: 0; }
}
@keyframes fan-hit { 0%, 12% { border-color: color-mix(in srgb, #fff 70%, transparent); box-shadow: none; } 15% { border-color: var(--color-amber); box-shadow: 0 0 22px 2px color-mix(in srgb, var(--color-amber) 55%, transparent); } 28%, 100% { border-color: color-mix(in srgb, #fff 70%, transparent); box-shadow: none; } }
@keyframes fan-stamp { 0%, 13% { opacity: 0; transform: scale(0.6); } 16% { opacity: 1; transform: scale(1.1); } 18%, 26% { opacity: 1; transform: scale(1); } 30%, 100% { opacity: 0; transform: scale(1); } }

/* Berm check (/spcc, "three problems at once"): the largest tank drains into its containment, the level stops
   below the required line (largest tank plus freeboard), and the result pill appears. data-play-once plays it
   once on scroll-in; at rest it shows the drained, passing state. */
.berm-check { margin: 0 auto var(--space-4); max-width: 46rem; padding: var(--space-3); border-radius: var(--radius-lg); background: var(--color-section-alt); }
.berm-check svg { display: block; width: 100%; height: auto; }
.berm-check-ground { stroke: var(--color-text); stroke-width: 2; }
.berm-check-wall { fill: var(--color-border); stroke: var(--color-text); stroke-width: 1.5; stroke-linejoin: round; }
.berm-check-tank { fill: var(--color-bg); stroke: var(--color-text); stroke-width: 2; }
.berm-check-oil, .berm-check-pool { fill: var(--color-brand); transform-box: fill-box; transform-origin: bottom; }
.berm-check-oil { transform: scaleY(0); }
.berm-check-req { stroke: var(--color-amber); stroke-width: 2.5; stroke-dasharray: 8 6; }
.berm-check figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); margin-top: var(--space-2); font-size: var(--text-small); color: var(--color-text); }
.berm-check-key::before { content: ""; display: inline-block; width: 1.4em; height: 0.3em; margin-right: 0.5em; border-radius: 2px; vertical-align: 0.2em; }
.berm-check-key--req::before { background: repeating-linear-gradient(90deg, var(--color-amber) 0 0.5em, transparent 0.5em 0.8em); }
.berm-check-key--oil::before { height: 0.8em; vertical-align: -0.05em; background: var(--color-brand); }
.berm-check-result { margin-left: auto; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); background: var(--color-status-ok-bg); color: var(--color-status-ok); font-size: var(--text-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.berm-check.is-armed .berm-check-oil { transform: none; }
.berm-check.is-armed .berm-check-pool { transform: scaleY(0); }
.berm-check.is-armed .berm-check-result { opacity: 0; transform: scale(0.8); }
.berm-check.is-armed.is-in .berm-check-oil { transform: scaleY(0); transition: transform 2s 0.3s var(--ease); }
.berm-check.is-armed.is-in .berm-check-pool { transform: none; transition: transform 2s 0.3s var(--ease); }
.berm-check.is-armed.is-in .berm-check-result { opacity: 1; transform: none; transition: opacity 0.3s 2.3s, transform 0.4s 2.3s var(--ease-spring); }

/* Plan sheet with a PE stamp (/spcc, "Where the tape measure meets the PE stamp."): the stamp comes down once on
   scroll-in (data-play-once) and the sheet takes the hit; at rest it is stamped. */
.plan-stage { display: grid; place-items: center; padding: var(--space-4) var(--space-3); border-radius: var(--radius-lg); background: var(--color-section-alt); }
.plan-sheet { position: relative; width: min(100%, 24rem); padding: var(--space-3) var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); box-shadow: var(--shadow-soft); }
.plan-sheet-kicker { margin: 0 0 0.3rem; font-size: var(--text-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-text); }
.plan-sheet-title { margin: 0 0 var(--space-2); font-weight: 700; color: var(--color-text); }
.plan-sheet dl { margin: 0 0 var(--space-2); display: grid; gap: 0.4rem; font-size: var(--text-small); }
.plan-sheet dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--space-1); padding-bottom: 0.4rem; border-bottom: 1px solid var(--color-border); }
.plan-sheet dt { color: var(--color-muted); }
.plan-sheet dd { margin: 0; color: var(--color-text); font-weight: 600; }
.plan-sheet-line { display: block; height: 0.4rem; margin-top: 0.5rem; border-radius: 3px; background: var(--color-section-alt); }
.plan-sheet-line:nth-of-type(2) { width: 80%; }
.plan-sheet-line:nth-of-type(3) { width: 55%; }
.pe-stamp { position: absolute; right: var(--space-2); bottom: var(--space-2); width: 6.5rem; height: 6.5rem; color: var(--color-text); opacity: 0.88; transform: rotate(-9deg); }
.plan-stage.is-armed .pe-stamp { opacity: 0; transform: scale(2.6) rotate(-24deg); }
.plan-stage.is-armed.is-in .pe-stamp { opacity: 0.88; transform: rotate(-9deg); transition: opacity 0.2s 0.4s, transform 0.5s 0.4s cubic-bezier(0.5, 0, 0.75, 0); }
.plan-stage.is-armed.is-in .plan-sheet { animation: plan-jolt 0.3s 0.9s; }
@keyframes plan-jolt { 35% { transform: translateY(3px) scale(0.995); } }

/* Shadow board (/defense, "FMC when it matters"): each tool snaps back into its outline, then the board reads
   all checked in. data-play-once plays it once on scroll-in; at rest every tool is in place. */
.shadow-board { margin: var(--space-4) auto 0; max-width: 46rem; }
.shadow-board svg { display: block; width: 100%; height: auto; }
.shadow-board-panel { fill: var(--color-section-alt); }
.shadow-board-peg { fill: var(--color-border-input); opacity: 0.35; }
.shadow-board-slot { fill: var(--color-brand-shade); }
.shadow-board-tool { fill: var(--color-text); transform-box: fill-box; }
.shadow-board-grip { fill: var(--color-amber); }
.shadow-board figcaption { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-top: var(--space-1); font-size: var(--text-small); color: var(--color-muted); }
.shadow-board-status { padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); background: var(--color-status-ok-bg); color: var(--color-status-ok); font-size: var(--text-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.shadow-board.is-armed .shadow-board-tool { opacity: 0; transform: translateY(-70px) rotate(-6deg); }
.shadow-board.is-armed .shadow-board-status { opacity: 0; }
.shadow-board.is-armed.is-in .shadow-board-tool { opacity: 1; transform: none; transition: opacity 0.2s, transform 0.6s var(--ease-spring); transition-delay: calc(0.2s + var(--i) * 220ms); }
.shadow-board.is-armed.is-in .shadow-board-status { opacity: 1; transition: opacity 0.4s 1.8s; }

/* Media frame (video, screenshots) */
.media { border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); box-shadow: var(--shadow-raised); }
.media--video { max-width: var(--video-width); margin-inline: auto; aspect-ratio: 16 / 9; }
.media--video video { width: 100%; height: 100%; object-fit: cover; }
.measure { max-width: 52rem; }

/* Logo strip: customer logos in one tone on an ice panel */
.logo-strip { padding: var(--space-4) var(--space-3); border-radius: var(--radius-lg); background: var(--color-surface); text-align: center; }
.logo-strip-title { text-transform: uppercase; font-size: var(--text-small); font-weight: 600; letter-spacing: 0.12em; color: var(--color-text); margin-bottom: var(--space-4); }
.logo-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: var(--space-4); }
.logo-strip img { height: 94px; width: auto; max-width: 14rem; object-fit: contain; filter: grayscale(1); opacity: 0.7; mix-blend-mode: multiply; transition: opacity 0.2s var(--ease), filter 0.2s var(--ease); }
.logo-strip img:hover { filter: none; opacity: 1; }
/* Optical sizing (/ldar): --logo-scale is set per logo from its ink area, so a sparse emblem and a
   dense wordmark carry the same visual weight. Full color on hover or keyboard focus. */
.logo-strip--optical { background: none; }
.logo-strip--optical img { height: calc(var(--logo-scale, 1) * 3.5rem); max-width: 15rem; opacity: 0.66; transition: opacity 0.25s var(--ease), filter 0.25s var(--ease); }
.logo-strip--optical li:hover img, .logo-strip--optical li:focus-within img { filter: none; opacity: 1; }
@media (hover: none) { .logo-strip--optical img { filter: grayscale(0.5); opacity: 0.85; } }

/* Icon tile: a line icon in a light circle */
.icon-tile { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--color-surface); margin-bottom: var(--space-2); }
.icon-tile img { width: 32px; height: 32px; filter: var(--filter-brand); }
/* Bare line icon (/ldar "One record" cards): no circle, drawn in its own navy stroke rather than recolored */
.line-icon { width: 52px; height: 52px; margin-bottom: var(--space-3); filter: var(--filter-brand); }

/* Stats: a row of figures with captions */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--space-3); padding-inline: var(--space-4); margin-bottom: var(--space-3); }
.stats > div { min-width: 0; }
.stats p { max-width: 14rem; }

/* Numbered steps: 2x2 rows, last one highlighted */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps li { counter-increment: step; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-1) var(--space-2); padding: var(--space-3) var(--space-3); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); font-size: 1.2rem; }
.steps li::before { content: counter(step) ".\00a0\00a0"; color: var(--color-brand); font-weight: 800; }
.steps li > span:first-of-type { flex: 1; }
.steps small { font-size: var(--text-small); color: var(--color-body); }

/* Ice rounded panel, and a row of panels underneath it */
.panel { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-4) var(--space-3); }

/* Capability block: heading + rows of "pill label | description", next to an image */
.capability { display: grid; gap: var(--space-4); align-items: center; margin-top: var(--space-5); }
@media (min-width: 56rem) {
  .capability { grid-template-columns: 1fr 1fr; }
}
.capability h3 { color: var(--color-body); font-weight: 500; }
.capability h3.headline-run, .capability h2.headline-run { color: var(--color-text); font-weight: 700; }  /* a headline run keeps its own two voices in a capability row */
.capability .headline-run span { color: var(--color-muted); font-weight: 600; }
.capability-media img { margin-inline: auto; }
.cover-image { width: 100%; object-fit: cover; }
.portrait-image { max-width: 18rem; margin-top: var(--space-3); }
.after-rows { margin-top: var(--space-3); }
.tags + .arrow-link { margin-top: var(--space-2); }

/* Small outlined tags */
.tags { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { padding: 0.25rem 0.7rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-bg); font-size: var(--text-small); font-weight: 500; }
@media (max-width: 39.99rem) { .tags li { padding: 0.2rem 0.6rem; font-size: var(--text-label); } }  /* phones: a long list (a dozen authorities) stays about half as tall, each tag on one line */

/* Card with an image on top (numbered steps) */
.card--surface { background: var(--color-surface); border: 0; }

/* White tags (on ice sections) */
.tags--white li { background: var(--color-bg); border-color: var(--color-border); }

/* Highlighted tags */
.tags li.is-dark { background: var(--color-button); border-color: var(--color-button); color: var(--color-on-fill); }
.tags li.is-accent { background: var(--color-amber); border-color: var(--color-amber); color: var(--color-text); }

/* FAQ with <details> (no JavaScript) */
.faq { display: grid; gap: 0.4rem; max-width: 46rem; }
.faq details { background: var(--color-surface); border-radius: var(--radius-lg); }
.faq summary { display: flex; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) var(--space-3); cursor: pointer; color: var(--color-text); font-size: var(--text-small); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-body); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 var(--space-3) var(--space-2); font-size: var(--text-small); }
/* Stacking cards (/telemetry FAQ, every answer open; /emissions chain): the section head beside a numbered pile of cards. Each card sticks a
   little lower than the one before (--i) and takes a little more of the ice tint, so as the page scrolls the cards
   slide up over each other and leave their tops showing, like a stack of index cards. From 64rem the head sits in
   the left column and sticks with them. Sticky only, no script; with reduced motion it behaves the same, since the
   visitor's own scroll is the only motion. */
.faq-split { display: grid; gap: var(--space-4); }
.faq-split > .section-head { margin: 0; }
.faq-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); counter-reset: faq; }
.faq-card { counter-increment: faq; position: sticky; top: calc(6.5rem + var(--i) * 2.6rem); min-height: 13rem; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  background: color-mix(in srgb, var(--color-surface) calc(var(--i) * 30%), var(--color-bg)); }
.faq-card::before { content: counter(faq, decimal-leading-zero); display: block; margin-bottom: var(--space-3); font-size: var(--text-label); font-weight: 700; letter-spacing: 0.06em; color: var(--color-accent-text); }  /* shows in the strip above the next card */
.faq-card h3 { margin: 0 0 var(--space-1); font-size: var(--text-h4); line-height: 1.25; color: var(--color-text); }
.faq-card p { margin: 0; max-width: 40rem; color: var(--color-body); }
/* A card with a product screen (/emissions, the calculation chain): the screen fills a frame under the text,
   cropped from its top unless the figure sets --focus (an object-position). Phones keep the cards in a plain column,
   since cards of different heights would show the taller ones under the shorter. From 64rem every card is one height,
   the frame taking what the text leaves, so a card stacked over another always covers it. */
.faq-card-shot { margin: var(--space-3) 0 0; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); }
.faq-card-shot > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 0); }
@media (max-width: 63.99rem) { .faq-card--shot { position: relative; top: auto; } }
.faq-split + .feature-runs { margin-top: var(--space-5); }  /* room under the pile before the points that follow it */
@media (min-width: 64rem) {
  .faq-split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-5); align-items: start; }
  .faq-split > .section-head { position: sticky; top: 7rem; }
  .faq-card--shot { display: flex; flex-direction: column; height: min(36rem, calc(100vh - 16rem)); min-height: 28rem; }
  .faq-card--shot .faq-card-shot { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
}

/* Navy rounded panel with tags */
.tags--on-dark li { background: var(--color-on-fill-tint); border-color: var(--color-on-fill-line); color: var(--color-on-fill); }
.tags li.is-regulation { background: var(--color-section-alt); }  /* regulations, set apart from the standards beside them (/assets) */

/* Pillar: heading, numbered points in two columns, image, tags */
.pillar { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 56rem) {
  .pillar { grid-template-columns: 1fr 1fr; }
  .pillar--flip > .pillar-text { order: 2; }
}
.pillar .tags li { min-width: 7.5rem; text-align: center; background: var(--color-surface); }

/* Pull quote */
.pull-quote { margin: 0; font-family: var(--font-display); font-weight: 650; letter-spacing: -0.025em; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.3; color: var(--color-text); max-width: 40rem; }
.pull-quote + cite { display: block; margin-top: var(--space-2); font-style: normal; font-weight: 600; color: var(--color-text); font-size: var(--text-small); }

/* Groups of tags in white cards (integrations) */
.tag-groups { display: grid; gap: var(--space-1); grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); max-width: 56rem; }
.tag-groups > div { padding: var(--space-3) var(--space-2); background: var(--color-bg); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); }
.tag-groups h3 { font-family: var(--font-body); font-size: var(--text-small); font-weight: 600; text-transform: uppercase; margin: 0; }
.tag-groups .tags li { background: var(--color-bg); border-color: var(--color-body); }

/* Stats row under the hero */
.hero-stats { list-style: none; margin: var(--space-4) 0 0; padding: var(--space-3) 0 0; border-top: 1px solid var(--color-border); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.hero-stats li { min-width: 0; }
.hero-stats .stat { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.3rem; }
.hero-stats p:not(.stat) { font-size: var(--text-small); color: var(--color-text); max-width: 9rem; }

/* Two-part card: white top ("with Assetas"), ice bottom ("the reality today") */
.split-card { display: flex; flex-direction: column; border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg); }
.split-card > div { padding: var(--space-3); }
.split-card > div:first-child { flex: 1; }
.split-card > div + div { background: var(--color-surface); font-size: var(--text-small); }
.split-card .label { font-family: var(--font-heading); font-size: var(--text-label); font-weight: 600; text-transform: uppercase; color: var(--color-accent-text); margin-bottom: var(--space-1); }
.split-card > div + div .label { color: var(--color-text); }

/* Short label + white tiles row (frameworks strip) */
.strip { display: grid; gap: var(--space-3); align-items: center; }
@media (min-width: 48rem) { .strip { grid-template-columns: 16rem 1fr; } }
.strip h2 { font-size: var(--text-h4); margin: 0; }
.tile-tags { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); max-width: 40rem; }
.tile-tags li { padding: var(--space-2) var(--space-1); background: var(--color-bg); border: 1px solid var(--color-border); text-align: center; font-size: var(--text-small); color: var(--color-text); }

/* Trek page */
.qr-codes { margin: var(--space-4) auto 0; max-width: 35rem; width: 100%; scroll-margin-top: var(--space-4); }

/* Plain link list (downloads) */
.download-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.download-list a { color: var(--color-link); }

/* Single-message page */
.empty-state { min-height: 24rem; display: grid; place-items: center; text-align: center; }

/* 404 page (src/404.njk). The hero ends in a sensor feed that spikes, drops out and goes dashed; it plays
   once on load (about 4.5 s) and shows finished with reduced motion. Then a work-order ticket for the
   missing page, the closest matches, and a directory of the menus. */
.hero--signal { padding-bottom: 0; }
.signal { margin-top: var(--space-3); }
.signal-plot { position: relative; height: 7rem; }
.signal-trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 5px var(--color-amber-glow)); }
.signal-trace stop { stop-color: var(--color-amber); }
.signal-trace path { fill: none; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.signal-lost { stroke: var(--color-amber); stroke-dasharray: 6 7; opacity: 0.7; }
.signal-dot { position: absolute; left: 65.83%; top: 80%; width: 0.7rem; height: 0.7rem; margin: -0.35rem 0 0 -0.35rem; border-radius: 50%; background: var(--color-amber); box-shadow: 0 0 0 4px var(--color-amber-glow); }
.signal-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--color-amber); opacity: 0; }
.signal-labels { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.signal-tag { font-size: var(--text-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-on-fill); font-feature-settings: "tnum"; }
.signal-readout { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.3rem 0.75rem; border-radius: var(--radius-pill); background: var(--color-amber); color: var(--color-text); font-size: var(--text-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.signal-readout::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--color-text); }
.signal-live { animation: signal-draw 2.2s cubic-bezier(0.3, 0, 0.4, 1) 0.3s both; }
.signal-lost { animation: signal-draw 1s linear 2.5s both; }
.signal-dot { animation: signal-pop 0.4s var(--ease-spring) 2.45s both; }
.signal-dot::after { animation: signal-ping 0.8s var(--ease) 2.6s 2; }
.signal-labels { animation: signal-fade 0.6s var(--ease) 2.7s both; }
@keyframes signal-draw { from { clip-path: inset(-2rem 100% -2rem 0); } to { clip-path: inset(-2rem 0 -2rem 0); } }
@keyframes signal-pop { from { transform: scale(0); } }
@keyframes signal-ping { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
@keyframes signal-fade { from { opacity: 0; } }

.not-found { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 56rem) { .not-found { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); } }
.ticket { border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg); box-shadow: var(--shadow-soft); }
.ticket-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); background: var(--color-dark); }
.ticket-head p { margin: 0; font-size: var(--text-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ticket-id { color: var(--color-accent-on-dark); font-feature-settings: "tnum"; }
.ticket-status { padding: 0.2rem 0.7rem; border: 1.5px solid var(--color-amber); border-radius: var(--radius-pill); color: var(--color-accent-on-dark); }
.ticket-body { padding: var(--space-3); }
.ticket-body h2 { margin-bottom: var(--space-2); }
.ticket-fields { margin: 0; }
.ticket-fields div { display: grid; gap: 0.15rem var(--space-2); padding-block: 0.7rem; border-top: 1px dashed var(--color-border-input); }
.ticket-fields dt { font-size: var(--text-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-text); padding-top: 0.2em; }
.ticket-fields dd { margin: 0; color: var(--color-text); overflow-wrap: anywhere; }
.ticket-fields time { font-feature-settings: "tnum"; }
@media (min-width: 30rem) { .ticket-fields div { grid-template-columns: 11rem minmax(0, 1fr); } }
.ticket-path { padding: 0.1rem 0.45rem; border-radius: 0.35rem; background: var(--color-surface); font-weight: 600; }
.matches-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-1); }
.match { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-2); padding: 0.9rem 1.15rem; border: 1.5px solid var(--color-border); border-radius: var(--radius); text-decoration: none; color: var(--color-text); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.match::after { content: "\2192"; grid-row: 1 / span 2; grid-column: 2; color: var(--color-accent); font-weight: 700; transition: transform 0.2s var(--ease); }
.match:hover { border-color: var(--color-brand); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.match:hover::after { transform: translateX(3px); }
.match-label { font-weight: 700; }
.match-path { grid-column: 1; font-size: var(--text-small); color: var(--color-accent-text); overflow-wrap: anywhere; }

.directory { display: grid; gap: var(--space-4) var(--space-3); }
@media (min-width: 48rem) { .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .directory { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); } }
@media (min-width: 48rem) and (max-width: 63.99rem) { .directory-group--wide { grid-column: 1 / -1; } }
.directory-heading { font-size: var(--text-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--space-2); }
.directory-heading::before { content: ""; display: block; width: 1.75rem; height: 2px; margin-bottom: 0.65rem; background: var(--color-amber); }
.directory-heading a { color: var(--color-accent-text); text-decoration: none; }
.directory-heading a:hover { text-decoration: underline; }
.directory-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2) var(--space-3); }
@media (min-width: 30rem) { .directory-group--wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.directory-group li a { font-weight: 700; color: var(--color-text); text-decoration: none; }
.directory-group li a:hover { color: var(--color-accent-text); text-decoration: underline; }
.directory-group li p { margin: 0.15rem 0 0; font-size: var(--text-small); color: var(--color-muted); }

/* About page */
.about-photo { margin: 0; justify-self: center; max-width: 28rem; }
.about-photo figcaption { margin-top: var(--space-1); font-size: 0.8rem; }
.split--top { align-items: start; }
.card--bordered { border: 1.5px solid var(--color-border); }
.stat--light { color: var(--color-amber); font-style: italic; margin: var(--space-3) 0 0; }
.small-print { font-size: var(--text-small); }
.photo-grid { display: grid; gap: var(--space-1); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.photo-grid figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid figcaption { position: absolute; inset: auto 0 0; padding: var(--space-2); text-align: center; font-size: var(--text-small); color: var(--color-on-fill); background: linear-gradient(transparent, var(--color-scrim)); }

/* Design system reference page */
.swatches { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); font-size: var(--text-small); }
.swatches span { display: block; height: 4.5rem; border-radius: var(--radius); border: 1px solid var(--color-border); margin-bottom: var(--space-1); }
.swatches strong, .swatches code { display: block; color: var(--color-text); }
.type-specimen > * { margin-bottom: var(--space-3); }

/* Long legal text */
.legal { max-width: 52rem; }
.legal h2 { font-size: var(--text-h4); margin-top: var(--space-4); }
.legal h3 { font-size: var(--text-body); margin-top: var(--space-3); }
.legal p, .legal li { font-size: var(--text-small); color: var(--color-text); }

/* Big statement on a navy band */
.statement { background: var(--color-dark); text-align: center; padding-block: clamp(4rem, 10vw, 9rem); }
.statement p { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: var(--text-h2); line-height: 1.2; color: var(--color-on-fill); }
.statement p + p { color: var(--color-on-dark-muted); }
@media (min-width: 48rem) { .statement:not(.statement--fan) p { max-width: 66.667vw; margin-inline: auto; } }  /* two-thirds of the page wide, so the line breaks shorter */
.statement em { font-style: normal; color: var(--color-amber); }
/* Lines statement (/workflows): the navy band over a gray-on-white line drawing, inverted to light lines with its
   white ground dropped by screen, set to the right; a link under the line. Decorative (alt=""). */
.statement--lines { position: relative; isolation: isolate; overflow: hidden; }
.statement-lines { position: absolute; z-index: -1; top: 50%; right: 0; width: min(44rem, 85%); max-width: none; height: auto; transform: translateY(-50%); opacity: 0.3; filter: invert(1); mix-blend-mode: screen; }
.statement--lines .text-action { margin-top: var(--space-3); color: var(--color-on-fill); }
/* Screen statement (/emissions): a taller band with a product screen behind the text, pinned top center at
   about two-thirds of the page wide so most of it shows, its bottom fading into the navy, under a navy wash heavy
   enough that the white text keeps its contrast. The screen is decorative (alt=""). */
.statement--screen { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(6rem, 16vw, 13rem); }
.statement-screen { position: absolute; z-index: -2; top: var(--space-4); left: 50%; width: min(56rem, 88%); height: auto; transform: translateX(-50%); border-radius: var(--radius);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 95%); mask-image: linear-gradient(180deg, #000 55%, transparent 95%); }
.statement--screen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--color-dark) 78%, transparent); }
/* Fan statement, the "sunrise" (/assets; the SVG is partials/sunrise.njk, ready to reuse on any page): a light band filled by 160 lines, brand blue at the hub fading through light gray, fanning out of a hub just below its bottom
   edge and running past the frame (.statement-rays, inline SVG, sliced to fill), over a faint amber glow. With
   data-play-once the lines sweep out once from the vertical to the sides and the text rises in. Then, with
   data-loop, a 10 s cycle repeats: an amber wave leaves the hub, sparks run out to 39 dots that flash amber and
   settle blue, the other dots twinkle from the center outward, and every dot fades 1.5 s after it appears.
   menu.js adds a pause button (WCAG 2.2.2) and pauses it offscreen. Without JS or with reduced motion it is still. */
.statement.statement--fan { position: relative; overflow: hidden; isolation: isolate; padding-block: calc(var(--space-section-lg) * 2.4) calc(var(--space-section-lg) * 0.95);  /* text about two-thirds down */
  background: radial-gradient(ellipse 45% 55% at 50% 108%, color-mix(in srgb, var(--color-amber) 16%, transparent), transparent 80%),
              radial-gradient(ellipse 110% 140% at 50% 108%, color-mix(in srgb, var(--color-surface) 60%, var(--color-bg)) 40%, var(--color-bg) 100%); }
.statement.statement--fan .container { position: relative; z-index: 1; }
.statement.statement--fan p, .statement.statement--fan p + p, .statement.statement--fan em { font-size: var(--text-h2); line-height: 1.2; color: var(--color-text); }  /* dark blue (navy) */
.statement-rays { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.5; }  /* kept subtle */
.statement-rays .ray-stop-center { stop-color: var(--color-brand); }
.statement-rays .ray-stop-mid { stop-color: var(--color-chart); }
.statement-rays .ray-stop-edge { stop-color: var(--color-chart); stop-opacity: 0.2; }
.statement-rays .ray { fill: none; stroke: url(#ray-ink); stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.statement-rays .ray--faint { stroke-width: 0.7; opacity: 0.5; }
.statement-rays .ray--mid { stroke-width: 1; opacity: 0.75; }
.statement-rays .ray--strong { stroke-width: 1.4; opacity: 1; }
.statement-rays .ray-dot { fill: var(--color-brand); transform-box: fill-box; transform-origin: center; }
.statement-rays .ray-spark { fill: none; stroke: var(--color-amber); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.05 2; stroke-dashoffset: 0.05; opacity: 0; vector-effect: non-scaling-stroke; }
.statement-rays .ray-wave { fill: none; stroke: var(--color-amber); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; vector-effect: non-scaling-stroke; }
.statement.is-armed p { opacity: 0; transform: translateY(0.35em); }
.statement.is-armed .ray { stroke-dashoffset: 1; }
.statement.is-armed .ray-dot { opacity: 0; }
.statement.is-armed.is-in p { opacity: 1; transform: none; transition: opacity 1.2s var(--ease) 0.5s, transform 1.2s var(--ease) 0.5s; }
.statement.is-armed.is-in p + p { transition-delay: 1.8s; }
.statement.is-armed.is-in .ray { stroke-dashoffset: 0; transition: stroke-dashoffset 3s var(--ease) calc(var(--d) * 1.6s); }
.statement.is-armed.is-in .ray-wave { animation: ray-wave 10s var(--ease) 0.2s infinite backwards; }
.statement.is-armed.is-in .ray-spark { animation: ray-spark 10s linear calc(4s + var(--k) * 256ms) infinite backwards; }
.statement.is-armed.is-in .ray-dot { animation: ray-blink 10s var(--ease) calc(4s + var(--d) * 10s) infinite backwards; }
.statement.is-armed.is-in .ray-dot--lit { animation: ray-blink-lit 10s var(--ease) calc(6.1s + var(--k) * 256ms) infinite backwards; }
.statement.is-paused .statement-rays *, .statement.is-offscreen .statement-rays * { animation-play-state: paused !important; }  /* beats each element's animation shorthand */
.statement .loop-toggle { top: auto; bottom: var(--space-2); z-index: 2; }
@keyframes ray-wave { 0% { opacity: 0.8; transform: scale(0.2); } 30% { opacity: 0; transform: scale(6); } 100% { opacity: 0; transform: scale(6); } }
@keyframes ray-spark { 0% { opacity: 0; stroke-dashoffset: 0.05; } 2% { opacity: 1; } 20% { opacity: 1; } 22% { opacity: 0; stroke-dashoffset: -0.95; } 100% { opacity: 0; stroke-dashoffset: -0.95; } }
@keyframes ray-blink { 0% { opacity: 0; transform: scale(0.4); } 4% { opacity: 1; transform: none; } 19% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
@keyframes ray-blink-lit { 0% { opacity: 0; transform: scale(0); fill: var(--color-amber); } 3% { opacity: 1; transform: scale(2.2); fill: var(--color-amber); } 7% { transform: none; fill: var(--color-brand); } 22% { opacity: 1; fill: var(--color-brand); } 28% { opacity: 0; } 100% { opacity: 0; } }

/* Navy band with amber-ruled items */
.dark-band { background: var(--color-band); color: var(--color-on-dark); }
.dark-band h2 { color: var(--color-on-fill); }
.dark-band strong { color: var(--color-on-fill); }
.dark-band .stat, .section--dark .stat { color: var(--color-amber); }

/* Feature comparison table (/pricing) */
.assetas-compare { overflow-x: auto; }
/* Wide enough for the table's 40rem min-width: no scroll container, so the page grows with the table (overflow-x: auto would also force a vertical scrollbar for the bottom rows' tooltips). */
@media (min-width: 48rem) { .assetas-compare { overflow: visible; } }
.assetas-compare table { width: 100%; min-width: 40rem; border-collapse: collapse; }
.assetas-compare th, .assetas-compare td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--color-border); }
.assetas-compare thead th { font-weight: 700; color: var(--color-text); border-bottom: 1px solid var(--color-rule); }
.assetas-compare thead th:not(:first-child), .assetas-compare tbody td:not(:first-child) { text-align: center; }
.assetas-compare tr.group td { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 28px; color: var(--color-accent-text); border-bottom: 1px solid var(--color-rule); }
.assetas-compare .no { opacity: 0.35; }
.assetas-compare tbody tr:not(.group) td:first-child { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.assetas-compare .cap { flex: 1 1 auto; min-width: 0; }
.assetas-compare .info { position: relative; flex: 0 0 auto; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; color: var(--color-body); cursor: help; outline: none; }
.assetas-compare .info svg { width: 16px; height: 16px; display: block; }
.assetas-compare .info:focus-visible { outline: 2px solid var(--color-body); outline-offset: 2px; border-radius: 50%; }
.assetas-compare .tip { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); width: 250px; background: var(--color-band); color: var(--color-on-fill); font-size: var(--text-small); font-weight: 400; letter-spacing: normal; text-transform: none; text-align: left; padding: 11px 13px; border-radius: 8px; opacity: 0; visibility: hidden; pointer-events: none; z-index: 30; transition: opacity 0.16s ease; }
.assetas-compare .tip::before { content: ""; position: absolute; right: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-right-color: var(--color-band); }
.assetas-compare .info:hover .tip, .assetas-compare .info:focus .tip { opacity: 1; visibility: visible; }
.assetas-compare sup, .compare-note sup { line-height: 0; }
.assetas-compare .fn-ref a { margin-left: 2px; color: var(--color-accent-text); text-decoration: none; }
.assetas-compare .fn-ref a:hover { text-decoration: underline; }
.compare-note { margin-top: var(--space-3); font-size: var(--text-small); color: var(--color-body); }
.compare-note + .compare-note { margin-top: var(--space-1); }

/* Rule table (/ldar-rule-map): one row per rule, a dot per segment it reaches, a status pill and sources.
   Scrolls sideways inside its frame on narrow screens. */
/* position: relative keeps the cells' absolutely positioned .visually-hidden labels inside the scroller, so they can't widen the page on phones. */
.rule-table { position: relative; overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); }
.rule-table table { width: 100%; min-width: 60rem; border-collapse: collapse; font-size: var(--text-small); line-height: 1.5; }
.rule-table th, .rule-table td { text-align: left; vertical-align: top; padding: var(--space-2); border-bottom: 1px solid var(--color-border); }
.rule-table tbody tr:last-child td { border-bottom: 0; }
.rule-table thead th { background: var(--color-surface); color: var(--color-text); font-size: var(--text-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.rule-table .rule-seg { text-align: center; }
.rule-name { min-width: 11rem; }
.rule-name strong { display: block; color: var(--color-text); font-weight: 600; }
.rule-name code { font-size: var(--text-label); color: var(--color-muted); }
.rule-what { min-width: 18rem; color: var(--color-body); }
.rule-state { min-width: 13rem; }
.rule-dot { display: inline-block; width: 0.8rem; height: 0.8rem; border: 2px solid var(--color-border-input); border-radius: 50%; }
.rule-dot.is-on { border-color: var(--color-accent); background: var(--color-accent); }
.rule-status { display: inline-block; padding: 0.15em var(--space-1); border-radius: var(--radius-pill); font-size: var(--text-label); font-weight: 600; white-space: nowrap; }
.rule-status--ok { color: var(--color-status-ok); background: var(--color-status-ok-bg); }
.rule-status--warn { color: var(--color-status-warn); background: var(--color-status-warn-bg); }
.rule-status--off { color: var(--color-status-off); background: var(--color-status-off-bg); }
.rule-note { margin: var(--space-1) 0 0; font-size: var(--text-label); color: var(--color-muted); }
.rule-src { min-width: 8rem; font-size: var(--text-label); }
.rule-src a { display: block; color: var(--color-link); }
.rule-src a + a { margin-top: var(--space-1); }
/* Narrow screens keep the horizontal scroll; tooltips open upward so they can't add a vertical one. */
@media (max-width: 47.99rem) {
  .assetas-compare .tip { top: auto; bottom: -10px; transform: none; }
  .assetas-compare .tip::before { top: auto; bottom: 13px; transform: none; }
}
/* compare.js: hovering or focusing a row tints it and marks the tier where it starts (cell + column head);
   check marks draw in, left to right, as each row scrolls into view. Without JS nothing is hidden. */
.assetas-compare tbody td, .assetas-compare thead th { transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease); }
.assetas-compare tbody tr:not(.group):is(:hover, :focus-within) td { background: var(--color-section-alt); }
.assetas-compare tr[data-tier="2"]:is(:hover, :focus-within) td:nth-child(2),
.assetas-compare tr[data-tier="3"]:is(:hover, :focus-within) td:nth-child(3),
.assetas-compare tr[data-tier="4"]:is(:hover, :focus-within) td:nth-child(4) { background: var(--color-surface); }
.assetas-compare table[data-tier="2"] thead th:nth-child(2),
.assetas-compare table[data-tier="3"] thead th:nth-child(3),
.assetas-compare table[data-tier="4"] thead th:nth-child(4) { color: var(--color-accent-text); box-shadow: inset 0 -3px var(--color-accent); }
.assetas-compare .yes { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .assetas-compare.is-armed tr:not(.is-drawn) .yes { clip-path: inset(-0.25em 100% -0.25em 0); }
  .assetas-compare.is-armed tr.is-drawn .yes { animation: compare-check 0.45s var(--ease) both; animation-delay: var(--row-delay, 0ms); }
  .assetas-compare.is-armed tr.is-drawn td:nth-child(3) .yes { animation-delay: calc(var(--row-delay, 0ms) + 90ms); }
  .assetas-compare.is-armed tr.is-drawn td:nth-child(4) .yes { animation-delay: calc(var(--row-delay, 0ms) + 180ms); }
}
@keyframes compare-check { from { clip-path: inset(-0.25em 100% -0.25em 0); } to { clip-path: inset(-0.25em 0 -0.25em 0); } }

/* Contact page */
.contact-stack { max-width: 66rem; }
.contact-form { display: grid; gap: var(--space-3) var(--space-3); padding: var(--space-3); background: var(--color-bg); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); }
@media (min-width: 48rem) { .contact-form { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; margin: 0; padding: 0; border: 0; min-width: 0; color: var(--color-text); font-size: var(--text-small); }
.field--full { grid-column: 1 / -1; }
.field legend { padding: 0; margin-bottom: 0.4rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; padding: 0.6rem 0.8rem; font: inherit; color: var(--color-text);
  background: var(--color-bg); border: 1.5px solid var(--color-border-input); border-radius: var(--radius);
}
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 1px; border-color: var(--color-brand); }
.choices { display: grid; gap: 0.6rem var(--space-3); }
@media (min-width: 48rem) { .choices { grid-template-columns: 1fr 1fr; } }
.choices label, .choice-inline { display: flex; gap: 0.6rem; align-items: flex-start; }
.choices input, .choice-inline input { width: 1rem; height: 1rem; margin-top: 0.2rem; accent-color: var(--color-button); }
.button--submit { width: 100%; background: var(--color-brand); border-color: var(--color-brand); font-size: var(--text-small); }
.button--submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-note { margin: 0; padding: var(--space-1) var(--space-2); border-left: 3px solid var(--color-accent); background: var(--color-bg); font-size: var(--text-small); }
.contact-direct { margin-top: var(--space-5); padding: var(--space-3); background: var(--color-bg); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); }
.contact-direct dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-4); margin: var(--space-3) 0 0; color: var(--color-text); }
@media (min-width: 48rem) { .contact-direct dl { grid-template-columns: 12rem 1fr; } }
.contact-direct dd { margin: 0; }

/* Closing call-to-action band: back to the blue block (navy with --dark) */
.cta-band { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-block: var(--space-5); color: var(--color-on-fill); background: radial-gradient(50rem 24rem at 100% 100%, var(--color-brand-shade), transparent 70%), var(--color-brand-muted); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--color-grid) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid) 1px, transparent 1px), linear-gradient(var(--color-grid-fine) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid-fine) 1px, transparent 1px);
  background-size: var(--grid-major) var(--grid-major), var(--grid-major) var(--grid-major), var(--grid-minor) var(--grid-minor), var(--grid-minor) var(--grid-minor);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 80%);
}
.cta-band h2 { max-width: 50rem; margin-inline: auto; color: var(--color-on-fill); }
.cta-band .lead { max-width: 50rem; margin-inline: auto; }
.cta-band .eyebrow { color: var(--color-on-fill); }
.cta-band .button { min-width: 18rem; margin-top: var(--space-3); font-weight: 700; }
.cta-band .button--ghost { background: transparent; border-color: var(--color-on-fill); color: var(--color-on-fill); }
.cta-band .button--ghost:hover { background: var(--color-on-fill); color: var(--color-text); }
.cta-band .button-row { justify-content: center; gap: var(--space-4); }

/* Footer: navy, with a telemetry trace across the top and the alpha mark drawn over construction lines
   (markup: partials/footer-art.njk). static/js/menu.js adds .is-armed, which holds every effect at its
   first frame, then .is-in when the footer scrolls into view, which plays them once (about 4 s). Without
   the script, or with reduced motion, the footer shows the finished drawing. */
.site-footer { --footer-play: paused; position: relative; isolation: isolate; overflow: hidden; background: var(--color-dark); color: var(--color-on-dark); padding-block: var(--space-5) var(--space-3); font-size: var(--text-small); }
.site-footer.is-in { --footer-play: running; }
.site-footer > .container { position: relative; z-index: 1; }
.site-footer a { color: var(--color-on-fill); text-decoration: none; }
.footer-inner { display: grid; gap: var(--space-4); }
.footer-brand p { max-width: 20rem; margin-top: var(--space-2); }
.footer-social { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; gap: var(--space-2); }
.footer-social a { display: inline-flex; padding: 0.25rem; color: var(--color-on-dark); transition: transform 0.3s var(--ease-spring), color 0.2s var(--ease); }
.footer-social a:is(:hover, :focus-visible) { transform: translateY(-3px); color: var(--color-amber); }
.footer-columns { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.footer-heading { font-family: var(--font-body); font-size: var(--text-small); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-amber); margin: 0 0 var(--space-1); }
.footer-heading::before { content: ""; display: block; width: 1.75rem; height: 2px; margin-bottom: 0.65rem; background: var(--color-amber); transform-origin: left; }
.footer-columns ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-columns a, .footer-legal a { padding-bottom: 3px; background: linear-gradient(var(--color-amber), var(--color-amber)) no-repeat 0 100% / 0% 2px; transition: background-size 0.35s var(--ease); }
.footer-columns a:is(:hover, :focus-visible), .footer-legal a:is(:hover, :focus-visible) { background-size: 100% 2px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-on-fill-line); font-size: var(--text-note); }
.footer-legal p { margin: 0; }
.footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer-legal a { color: var(--color-on-dark); }
@media (min-width: 48rem) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Telemetry trace: an amber signal line, brightest at the newest reading, drawn left to right */
.footer-trace { position: absolute; z-index: 0; top: 0.75rem; left: 0; width: 100%; height: 3.5rem; overflow: visible; pointer-events: none; filter: drop-shadow(0 0 5px var(--color-amber-glow)); }
.footer-trace stop { stop-color: var(--color-amber); }
.footer-trace path { fill: none; stroke-width: 1.75; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Alpha mark: large, behind the links, bleeding off the lower-right corner */
.footer-mark { position: absolute; z-index: 0; right: clamp(-6rem, -5vw, -1.5rem); bottom: -9rem; width: clamp(22rem, 42vw, 38rem); aspect-ratio: 1; overflow: visible; pointer-events: none; opacity: 0.5; }  /* dimmed at rest so it doesn't compete with the links */
.footer-mark path { fill: none; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.footer-mark .footer-mark-guides path { stroke: var(--color-sketch-guide); stroke-width: 1.2; }
.footer-mark :is(.footer-mark-swirl, .footer-mark-bar, .footer-mark-stem, .footer-mark-pointer) { stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.footer-mark :is(.footer-mark-swirl, .footer-mark-bar) { stroke: var(--color-sketch-line); fill: var(--color-sketch-fill); }
.footer-mark :is(.footer-mark-stem, .footer-mark-pointer) { stroke: var(--color-brand); fill: var(--color-sketch-fill-blue); }

/* Arrival: guides, then an amber pen traces the mark and it inks in; the trace runs; the columns rise */
.site-footer.is-armed .footer-trace { animation: footer-trace 3s cubic-bezier(0.3, 0, 0.3, 1) 0.2s both var(--footer-play); }
.site-footer.is-armed .footer-mark { animation: footer-settle 4.6s var(--ease) both var(--footer-play); }
.site-footer.is-armed .footer-mark-guides path { animation: footer-guide 2.4s var(--ease) both var(--footer-play); }
.site-footer.is-armed .footer-mark-guides path:nth-child(2) { animation-delay: 0.15s; }
.site-footer.is-armed .footer-mark-guides path:nth-child(3) { animation-delay: 0.3s; }
.site-footer.is-armed .footer-mark-guides path:nth-child(4) { animation-delay: 0.45s; }
.site-footer.is-armed .footer-mark-swirl { animation: footer-pen 2.8s cubic-bezier(0.5, 0, 0.3, 1) 0.6s both var(--footer-play); }
.site-footer.is-armed .footer-mark-bar { animation: footer-pen 2.2s cubic-bezier(0.5, 0, 0.3, 1) 1s both var(--footer-play); }
.site-footer.is-armed .footer-mark-stem { animation: footer-pen 2.2s cubic-bezier(0.5, 0, 0.3, 1) 1.2s both var(--footer-play); }
.site-footer.is-armed .footer-mark-pointer { animation: footer-pen 2.3s cubic-bezier(0.5, 0, 0.3, 1) 1.4s both var(--footer-play); }
.site-footer.is-armed .footer-brand,
.site-footer.is-armed .footer-columns > div,
.site-footer.is-armed .footer-legal { animation: footer-rise 0.8s var(--ease) both var(--footer-play); }
.site-footer.is-armed .footer-columns > div { animation-delay: calc(0.12s + var(--i, 0) * 0.08s); }
.site-footer.is-armed .footer-legal { animation-delay: 0.45s; }
.site-footer.is-armed .footer-heading::before { animation: footer-tick 0.7s var(--ease) calc(0.5s + var(--i, 0) * 0.08s) both var(--footer-play); }
@keyframes footer-trace { from { clip-path: inset(-1rem 100% -1rem 0); } to { clip-path: inset(-1rem 0 -1rem 0); } }
@keyframes footer-guide {
  0% { stroke-dashoffset: 1; stroke: var(--color-sketch-guide-live); }
  60% { stroke-dashoffset: 0; stroke: var(--color-sketch-guide-live); }
}
@keyframes footer-pen {
  0% { stroke-dashoffset: 1; stroke: var(--color-amber); fill: transparent; }
  62% { stroke-dashoffset: 0; stroke: var(--color-amber); fill: transparent; }
}
@keyframes footer-settle { 0%, 80% { opacity: 1; } }  /* full strength while it draws, then down to its resting opacity */
@keyframes footer-rise { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes footer-tick { from { transform: scaleX(0); } }

/* Poster hero (/ldar): photograph across the whole block, a navy scrim with a blue glow behind the
   copy, and a short two-line headline whose second line is amber. */
.hero--poster { display: grid; align-items: center; background: var(--color-dark); min-height: min(84vh, 52rem); padding-block: var(--space-5); }
/* From 48rem up the copy is centered on a line two thirds of the way down: a zero-height row splits the
   free space 2 : 1, and the copy overflows it evenly above and below. */
@media (min-width: 48rem) {
  .hero--poster { grid-template-rows: 2fr 0 1fr; padding-block: 0; }  /* no padding, so the 2 : 1 split is of the whole hero */
  .hero--poster > .container { grid-row: 2; align-self: center; }
}
.hero--poster .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero--poster .hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero--poster::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(65rem 45rem at 10% 14%, var(--color-poster-glow), transparent 72%),
    linear-gradient(118deg, var(--color-scrim-deep) 0%, var(--color-scrim-mid) 66%, var(--color-scrim-edge) 100%);
}
@media (min-width: 48rem) { .hero--poster .hero-copy { max-width: calc(200% / 3); } }  /* two thirds of the container; the scrim's mid stop sits under its right edge */
/* Sized so the longer line ("Shorten the cycle time.", about 10.5 × the font size) fits the two-thirds copy column from 48rem up */
.hero--poster h1 { font-size: clamp(2.75rem, 5.6vw, 5rem); line-height: 0.98; letter-spacing: -0.015em; font-weight: 800; margin-bottom: var(--space-2); }
.hero--poster h1 span { display: block; color: var(--color-amber-light); }
.hero--poster .lead { font-size: clamp(1.1rem, 1vw + 0.9rem, 1.4rem); max-width: 40rem; }

/* Card rail: one scrolling row with arrows above, where a grid would wrap to a second row.
   Scrolls natively without JavaScript; static/js/rail.js adds the arrows. */
.rail-track {
  position: relative;  /* contains absolutely placed children (the stat count-up's hidden copy), which would otherwise widen the page */
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 21rem);
  gap: var(--space-3); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding: 3px 3px var(--space-2); margin-inline: -3px;
  scrollbar-width: none;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; height: 100%; }
/* rail.js lets a mouse drag the row: a grab cursor, and no snapping or text selection while it moves */
.rail-track.is-draggable { cursor: grab; }
.rail-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail-track.is-dragging a { pointer-events: none; }
.rail-controls { display: flex; justify-content: flex-end; gap: var(--space-1); margin-bottom: var(--space-2); }
.rail-btn {
  width: 2.75rem; height: 2.75rem; padding: 0; border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border); background: var(--color-bg); color: var(--color-text);
  display: grid; place-items: center; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.rail-btn:hover:not(:disabled) { background: var(--color-surface); border-color: var(--color-brand); }
.rail-btn:disabled { opacity: 0.32; cursor: default; }
.rail-btn svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Story rail (/assets "Follow the record deeper"): Stripe-style tall art cards, arrows above. Each tile is drawn in
   CSS: a deep field in the brand colors, a pattern layer (::before) that hints at the topic, film grain (::after),
   and the Platform menu icon in white with a soft glow; the name sits in the lower left. Then a short line and a link. */
.rail--story .rail-track { grid-auto-columns: clamp(15rem, 27%, 22rem); }
.rail-card { display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: var(--space-1); }
.rail-card > p { margin: 0; }
.rail-card > .text-action { align-self: end; padding-top: var(--space-1); }
.rail--story .rail-card > :is(p, .text-action) { margin-inline: var(--space-3); }  /* the line and link start where the name inside the tile does */
/* The line sits a little clear of the tile, and the link follows it directly, in regular weight */
.rail--story .rail-card > p { margin-top: var(--space-2); }
.rail--story .rail-card > .text-action { align-self: start; padding-top: 0; font-weight: 400; }
/* Plain rail (home key features, after the Lexington service cards): very light cards with the module icon in the
   top left (drawn from its menu icon as a mask, in brand blue), the name and its line at the foot, and a round
   arrow link sitting in a notch cut from the bottom-right corner: the card's fill is a ::before masked in three layers
   (two plain blocks, and a 5.75rem corner piece whose edges round off into a cut that curves around the 3.75rem
   button with a 0.5rem gap), so the page shows through the notch and the button sits in it unmasked. */
.rail--plain .rail-track { grid-auto-columns: clamp(16rem, 30%, 24rem); }
.rail-card--plain { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 26rem; padding: var(--space-4) var(--space-4) calc(var(--space-4) + var(--space-2)); }
.rail-card--plain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--radius-lg); background: var(--color-section-alt);
  --notch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 92'%3E%3Cpath d='M0 0H92A24 24 0 0 1 68 24H62A38 38 0 0 0 24 62V68A24 24 0 0 1 0 92Z'/%3E%3C/svg%3E");
  -webkit-mask: linear-gradient(#000 0 0) left top / 100% calc(100% - 5.75rem) no-repeat, linear-gradient(#000 0 0) left top / calc(100% - 5.75rem) 100% no-repeat, var(--notch) right bottom / 5.75rem 5.75rem no-repeat;
  mask: linear-gradient(#000 0 0) left top / 100% calc(100% - 5.75rem) no-repeat, linear-gradient(#000 0 0) left top / calc(100% - 5.75rem) 100% no-repeat, var(--notch) right bottom / 5.75rem 5.75rem no-repeat;
}
/* --aligned (/forms features): the text hangs from the top instead of sitting at the foot, each name in a two-line
   box, so every name starts on one line and every description on the next, however long the text runs */
.rail--aligned .rail-card-name { margin: var(--space-5) 0 var(--space-1); min-height: calc(2 * 1.2em); }
.rail--aligned .rail-card--plain p { min-height: 0; }
/* A card with no arrow link (/forms feature cards) keeps its whole corner: no notch */
.rail-card--plain:not(:has(.rail-card-go))::before { -webkit-mask: none; mask: none; }
/* Outlined plain cards (/platform, on a gray section): a white fill inset 1px over a fill in the border color, both
   cut by the same notch mask, so the thin outline follows the notch too. */
.rail--outlined .rail-card--plain::before { inset: 1px; border-radius: calc(var(--radius-lg) - 1px); background: var(--color-bg); }
.rail--outlined .rail-card--plain::after {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: var(--radius-lg); background: var(--color-border);
  --notch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 92'%3E%3Cpath d='M0 0H92A24 24 0 0 1 68 24H62A38 38 0 0 0 24 62V68A24 24 0 0 1 0 92Z'/%3E%3C/svg%3E");
  -webkit-mask: linear-gradient(#000 0 0) left top / 100% calc(100% - 5.75rem) no-repeat, linear-gradient(#000 0 0) left top / calc(100% - 5.75rem) 100% no-repeat, var(--notch) right bottom / 5.75rem 5.75rem no-repeat;
  mask: linear-gradient(#000 0 0) left top / 100% calc(100% - 5.75rem) no-repeat, linear-gradient(#000 0 0) left top / calc(100% - 5.75rem) 100% no-repeat, var(--notch) right bottom / 5.75rem 5.75rem no-repeat;
}
.rail-card-glyph { display: block; width: 3rem; height: 3rem; background: var(--color-brand); -webkit-mask: var(--icon) left top / contain no-repeat; mask: var(--icon) left top / contain no-repeat; }
.rail-card-name { margin: auto 0 var(--space-1); font-size: var(--text-h4); line-height: 1.2; letter-spacing: -0.01em; color: var(--color-dark); }
.rail-card--plain:not(:has(.rail-card-go)) p { max-width: none; }  /* no arrow to clear: the line may use the card's width */
.rail-card--plain p { margin: 0; max-width: 17rem; min-height: calc(3 * 1.5em); line-height: 1.5; color: var(--color-muted); }  /* clear of the arrow; three lines' room in every card, so the names align */
.rail-card-go { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%; background: var(--color-dark); color: var(--color-on-fill); transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.rail-card-go svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rail-card-go:hover { background: var(--color-brand); transform: translateX(2px); }
.rail-card-go:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.rail-card-media {
  --glow: var(--color-amber);
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: var(--space-1); container-type: inline-size;
  display: grid; place-items: center; border-radius: var(--radius-lg); color: var(--color-on-fill); background: var(--color-dark-deep);
}
.rail-card-media::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rail-card-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.22; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.rail-card-icon {
  /* one height for every icon (in tile widths), so wide and tall icons read the same size */
  position: relative; z-index: 2; width: auto; height: 34cqw; margin-bottom: 12%;
  filter: brightness(0) invert(1) drop-shadow(0 0 0.6rem var(--glow)) drop-shadow(0 0 2.4rem var(--glow));
}
.rail-card-title {
  position: absolute; z-index: 2; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); margin: 0;
  font-size: var(--text-lead); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: inherit;
}

/* Attributes: stacked blooms, amber over blue, on navy. */
.rail-card-media--attributes {
  background: radial-gradient(55% 40% at 50% 40%, color-mix(in srgb, var(--color-amber) 45%, transparent), transparent 70%),
              radial-gradient(70% 50% at 20% 85%, color-mix(in srgb, var(--color-brand) 70%, transparent), transparent 70%),
              linear-gradient(180deg, var(--color-dark-deep), var(--color-dark));
}
/* Telemetry: brand blue with scan lines and a bright band through the middle, like a trace on a scope. */
.rail-card-media--telemetry {
  --glow: var(--color-amber-light);
  background: radial-gradient(90% 22% at 50% 40%, color-mix(in srgb, var(--color-chart-highlight) 55%, transparent), transparent 70%),
              radial-gradient(80% 60% at 0% 100%, var(--color-brand-shade), transparent 70%),
              linear-gradient(180deg, var(--color-brand), var(--color-brand-deep));
}
.rail-card-media--telemetry::before { background: repeating-linear-gradient(180deg, var(--color-on-fill-tint) 0 1px, transparent 1px 7px); }
/* Association: a lattice of dots, bright at a blue center and fading out, like a network around one node. */
.rail-card-media--association {
  --glow: var(--color-chart-highlight);
  background: radial-gradient(50% 40% at 50% 40%, color-mix(in srgb, var(--color-brand) 60%, transparent), transparent 75%), var(--color-dark-deep);
}
.rail-card-media--association::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--color-on-fill) 45%, transparent) 1.2px, transparent 1.8px) 0 0 / 20px 20px;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 40%, #000, transparent); mask-image: radial-gradient(60% 50% at 50% 40%, #000, transparent);
}
/* Location: contour lines around the pin, on steel blue going to navy. */
.rail-card-media--location {
  background: radial-gradient(35% 28% at 50% 40%, color-mix(in srgb, var(--color-amber) 40%, transparent), transparent 70%),
              linear-gradient(160deg, var(--color-brand-muted), var(--color-dark) 85%);
}
.rail-card-media--location::before {
  background: repeating-radial-gradient(ellipse 120% 90% at 50% 40%, transparent 0 15px, var(--color-on-fill-line) 15px 16px);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 90%); mask-image: linear-gradient(180deg, #000 55%, transparent 90%);
}
/* Documentation: light blue to brand blue with fine diagonal ruling, like stacked sheets. */
.rail-card-media--documentation {
  --glow: var(--color-brand-deep);
  background: linear-gradient(165deg, var(--color-chart-highlight) 0%, var(--color-brand) 55%, var(--color-brand-deep) 100%);
}
.rail-card-media--documentation::before {
  background: repeating-linear-gradient(135deg, var(--color-on-fill-tint) 0 2px, transparent 2px 16px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%);
}
/* Forms: steel blue with a checklist grid fading from the top. */
.rail-card-media--forms {
  --glow: var(--color-amber-light);
  background: radial-gradient(60% 40% at 50% 40%, color-mix(in srgb, var(--color-brand) 55%, transparent), transparent 70%),
              linear-gradient(180deg, var(--color-brand-muted), var(--color-dark));
}
.rail-card-media--forms::before {
  background: linear-gradient(var(--color-on-fill-line) 1px, transparent 1px) 0 0 / 100% 28px,
              linear-gradient(90deg, var(--color-on-fill-line) 1px, transparent 1px) 0 0 / 28px 100%;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 40%, #000 20%, transparent); mask-image: radial-gradient(70% 55% at 50% 40%, #000 20%, transparent);
}
/* Compliance: rays rising from an amber glow below the card, on navy. */
.rail-card-media--compliance {
  background: radial-gradient(80% 45% at 50% 105%, color-mix(in srgb, var(--color-amber) 55%, transparent), transparent 70%),
              radial-gradient(60% 40% at 50% 40%, color-mix(in srgb, var(--color-brand) 35%, transparent), transparent 70%),
              var(--color-dark-deep);
}
.rail-card-media--compliance::before {
  background: repeating-conic-gradient(from 0deg at 50% 110%, var(--color-on-fill-tint) 0deg 1.5deg, transparent 1.5deg 7deg);
  -webkit-mask-image: linear-gradient(0deg, #000 20%, transparent 85%); mask-image: linear-gradient(0deg, #000 20%, transparent 85%);
}
/* Depreciation: bars stepping down from left to right, a declining balance, on blue going to navy. */
.rail-card-media--depreciation {
  --glow: var(--color-amber-light);
  background: radial-gradient(70% 50% at 100% 0%, color-mix(in srgb, var(--color-chart-highlight) 40%, transparent), transparent 70%),
              linear-gradient(180deg, var(--color-brand), var(--color-dark) 95%);
}
.rail-card-media--depreciation::before {
  background: repeating-linear-gradient(90deg, var(--color-on-fill-tint) 0 22px, transparent 22px 30px);
  -webkit-mask-image: linear-gradient(to top right, #000 50%, transparent 50%); mask-image: linear-gradient(to top right, #000 50%, transparent 50%);
}
/* Anomaly detection: a quiet field of points with one in amber, off to the side. */
.rail-card-media--anomaly {
  background: radial-gradient(18% 14% at 74% 22%, color-mix(in srgb, var(--color-amber) 75%, transparent), transparent 70%),
              radial-gradient(70% 50% at 30% 80%, color-mix(in srgb, var(--color-brand) 45%, transparent), transparent 70%),
              linear-gradient(180deg, var(--color-dark), var(--color-dark-deep));
}
.rail-card-media--anomaly::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--color-on-fill) 30%, transparent) 1px, transparent 1.6px) 0 0 / 26px 18px,
              radial-gradient(circle, color-mix(in srgb, var(--color-on-fill) 20%, transparent) 1px, transparent 1.6px) 13px 9px / 26px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 85%); mask-image: linear-gradient(180deg, #000 40%, transparent 85%);
}

/* Second action in a pair: text with a chevron drawn from borders, underlined on hover */
.text-action { display: inline-flex; align-items: center; gap: 0.5em; min-width: 0; color: var(--color-link); font-weight: 600; text-decoration: none; padding-block: 0.4rem; }
.text-action::after { content: ""; width: 0.42em; height: 0.42em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s var(--ease); }
.text-action:hover { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; }
.text-action:hover::after { transform: rotate(45deg) translate(0.1em, -0.1em); }
.text-action--doc::after { content: none; }  /* a document or another site: the link text ends in ↗ instead */
.hero .text-action, .cta-band .text-action, .dark-band .text-action, .section--dark .text-action { color: var(--color-on-fill); }

/* Source note under a section, led by an amber marker */
.note-ref { margin-top: var(--space-4); font-size: var(--text-note); color: var(--color-muted); max-width: 46rem; }

/* Headline run (/ldar): one text block per heading. The statement is bold; the explanation continues
   in the same paragraph at the same size in a softer color, instead of a separate lead under it. */
.headline-run { font-size: var(--text-run); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; text-wrap: pretty; max-width: 52rem; }
.headline-run span { color: var(--color-muted); font-weight: 600; }
.section-head--run { max-width: 52rem; }
.hero .headline-run { font-size: var(--text-run-hero); line-height: 1.05; letter-spacing: -0.03em; max-width: 40rem; margin-bottom: var(--space-4); }
.hero .headline-run:last-child { margin-bottom: 0; }
.hero .headline-run em { font-style: normal; color: var(--color-amber-light); }
.hero .headline-run span { color: var(--color-on-dark); }

/* Product hero (/ldar): the poster hero with copy on the left and product placeholders on the right */
.hero--poster.hero--product { min-height: 0; padding-block: var(--space-5); grid-template-rows: none; }
.hero--product > .container { grid-row: auto; }
.hero-split { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 64rem) {
  .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-split--wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }  /* a wider visual, for a photo with panels drawn over it (/emissions) */
  .hero--poster.hero--product .hero-copy { max-width: none; }
}
/* Product shots: a record card (styled like the /assets hero image) with the Trek phone standing over its
   left side, 38% of the width and about 1.5 times the card's height; the padding centers the card on the
   phone. Side by side (64rem and up) the phone reaches past the card's left edge into the gap beside the
   copy; stacked, it stays inside the screen. Percentages keep it in proportion (card height 0.512 of its
   width, phone height 2.047 of its own). On phones only the Trek phone shows, centered. The phone image
   has transparent corners, so its shadow is a filter that follows the frame. */
.hero-shots { position: relative; padding: 13.3% 0; }  /* (phone 0.778 of the width - card 0.512) / 2 */
.hero-shot-record { display: block; width: 100%; height: auto; background: var(--color-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
.hero-shot-phone { position: absolute; left: 0; top: 0; width: 38%; height: auto; filter: var(--shadow-cutout); }
@media (min-width: 64rem) { .hero-shot-phone { left: -13%; } }  /* side by side, the phone reaches into the space beside the copy */
@media (min-width: 40.01rem) and (max-width: 63.99rem) {  /* stacked: the card steps right so the phone leaves its labels clear */
  .hero-shots { padding: 18% 0; }  /* (0.778 - 0.8 x 0.512) / 2 */
  .hero-shot-record { width: 80%; margin-left: auto; }
}
@media (max-width: 40rem) {
  .hero-shots { padding: 0; }
  .hero-shot-record { display: none; }
  .hero-shot-phone { position: static; display: block; width: min(72%, 18rem); margin-inline: auto; }
}

/* Light hero (/assets): white, no drafting grid, dark text. The headline run sits beside a product
   screenshot (50/50 from 64rem, stacked below) that fades into the page over its last fifth, right and bottom. */
.hero.hero--light { background: var(--color-bg); color: var(--color-text); }
.hero.hero--light::before { content: none; }
.hero--light h1, .hero--light .headline-run { color: var(--color-text); }
.hero--light .headline-run { font-size: var(--text-run); line-height: 1.12; letter-spacing: -0.02em; max-width: 52rem; }  /* the section-head run size: statement in navy, the rest in muted */
.hero--light .headline-run span { color: var(--color-muted); }
/* Anything else in a light hero reads as it would on a white section (the .hero rules are written for blue) */
.hero--light p, .hero--light .lead { color: var(--color-body); }
.hero--light a:not(.button) { color: var(--color-link); }
.hero--light .tags li { color: var(--color-text); border-color: var(--color-border); background: var(--color-bg); }
.hero--light .button--outline { color: var(--color-text); border-color: var(--color-border-input); }
.hero--light .button--outline:hover { background: var(--color-surface); }
.hero-screen img {
  display: block; width: 100%; height: auto; border: 1px solid var(--color-border); border-radius: var(--radius) 0 0 0;
  -webkit-mask-image: linear-gradient(90deg, #000 82%, rgb(0 0 0 / 0.75) 90%, rgb(0 0 0 / 0.3) 96%, transparent), linear-gradient(180deg, #000 82%, rgb(0 0 0 / 0.75) 90%, rgb(0 0 0 / 0.3) 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 82%, rgb(0 0 0 / 0.75) 90%, rgb(0 0 0 / 0.3) 96%, transparent), linear-gradient(180deg, #000 82%, rgb(0 0 0 / 0.75) 90%, rgb(0 0 0 / 0.3) 96%, transparent);
  mask-composite: intersect;
}

/* Desk hero (/platform): real product screens (laptop, tablet, phone as cut-out PNGs) grouped as one desk layout
   (phone and laptop side by side on top, tablet under the phone, edges lined up), upright (--desk-turn: 0deg)
   and cropped by the hero's edges, over a flat drafting grid. The headline keeps the clear space on the left;
   Device positions are percentages of the
   group (1480 x 1770). The group's top-left corner sits at --gx, --gy of the desk, so it runs off the right and bottom
   edges; it is --gw of the desk wide but never over 58rem, where each screenshot shows at about 0.62 of its file
   width (the laptop file is 1246 px, shown at 775; under 1x, a little soft on 2x screens). The desk is from 64rem the whole hero and below that a strip under the headline. With data-play-once the devices settle in
   one after another (--i). Set --desk-turn (say 45deg) to turn the whole group; the tags stay upright. */
.hero.hero--desk { --desk-turn: 0deg; display: grid; align-items: center; padding-block: var(--space-section-lg); }
.hero.hero--desk::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--color-grid-light) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid-light) 1px, transparent 1px), linear-gradient(var(--color-grid-light-fine) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid-light-fine) 1px, transparent 1px);
  background-size: var(--grid-major) var(--grid-major), var(--grid-major) var(--grid-major), var(--grid-minor) var(--grid-minor), var(--grid-minor) var(--grid-minor);
}
.hero--desk .container { position: relative; z-index: 1; }
/* Ribbon: a slanted band of brand color behind the devices (over the grid, under everything else), its gradient
   drifting slowly through blue, light blue and amber on an 18 s loop (data-loop: pause button in a free corner, paused
   offscreen). On phones and tablets it runs under the device strip only. Still with reduced motion. */
.hero.hero--desk::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  clip-path: polygon(0 100%, 100% 48%, 100% 82%, 34% 100%);
  background: linear-gradient(115deg, var(--color-brand), var(--color-chart-highlight), var(--color-surface), var(--color-amber-light), var(--color-amber), var(--color-amber-light), var(--color-surface), var(--color-chart-highlight), var(--color-brand));  /* ice between blue and amber, so they never blend to gray-green */
  background-size: 300% 100%;
}
@media (min-width: 64rem) { .hero.hero--desk::after { clip-path: polygon(22% 100%, 100% 6%, 100% 60%, 62% 100%); } }
@media (prefers-reduced-motion: no-preference) { .hero.hero--desk::after { animation: desk-ribbon 18s ease-in-out infinite alternate; } }
.hero--desk.is-paused::after, .hero--desk.is-offscreen::after { animation-play-state: paused; }
.hero--desk .loop-toggle { top: var(--space-3); right: var(--space-3); z-index: 3; }  /* the empty corner above the headline */
@media (min-width: 64rem) { .hero--desk .loop-toggle { top: auto; bottom: var(--space-3); } }  /* bottom right, clear of the callouts */
@keyframes desk-ribbon { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hero--desk .headline-run { font-size: var(--text-run-hero); line-height: 1.05; letter-spacing: -0.03em; max-width: 34rem; }
.hero-desk { position: relative; aspect-ratio: 1; margin: var(--space-4) 0 calc(-1 * var(--space-section-lg)); pointer-events: none; --gx: 15%; --gy: 0px; --gw: 107.5%; }
.hero-desk-group { position: absolute; left: var(--gx); top: var(--gy); width: min(var(--gw), 58rem); aspect-ratio: 1480 / 1770; transform: rotate(var(--desk-turn)); container-type: inline-size; }  /* the tags scale with the group */
.hero-desk-item { position: absolute; margin: 0; }
.hero-desk-item img { display: block; width: 100%; height: auto; filter: var(--shadow-cutout-light); }
.hero-desk-item--phone { left: 0.8%; top: 0.3%; width: 20.4%; z-index: 1; }
.hero-desk-item--laptop { left: 16.6%; top: 0.3%; width: 83.4%; }
.hero-desk-item--tablet { left: 0.8%; top: 42.1%; width: 52.9%; }
@media (min-width: 40.01rem) and (max-width: 63.99rem) {  /* a wider, shorter strip */
  .hero-desk { aspect-ratio: 4 / 3; --gx: 25%; --gw: 87.5%; }
}
@media (min-width: 64rem) {
  .hero.hero--desk { min-height: min(86vh, 50rem); }
  .hero-desk { position: absolute; inset: 0; z-index: 0; aspect-ratio: auto; margin: 0; --gx: max(48%, 37rem, 100% - 46rem); --gy: var(--space-4); --gw: 67.5%; }  /* on wide screens the capped group still runs off the right */
}
.hero--desk.is-armed .hero-desk-item { opacity: 0; transform: translateY(3rem); }
.hero--desk.is-armed.is-in .hero-desk-item { opacity: 1; transform: none; transition: opacity 0.9s var(--ease) calc(var(--i, 0) * 0.18s), transform 1.4s var(--ease) calc(var(--i, 0) * 0.18s); }

/* Brush hero (/forms; any .hero--light): a variation on the desk ribbon. Instead of a straight slanted band over a
   grid, one curved brush stroke on plain white sweeps up behind the hero visual, from a tapered tail low in the middle
   to the right edge, with a thin second bristle line under it. The stroke is an SVG mask stretched to the hero
   (preserveAspectRatio none): from 64rem it rises behind the right column; below that it runs under the stacked
   visual only, clear of the headline. Its gradient leads with amber (the ribbon leads with blue), ice between amber
   and blue, and drifts diagonally once on load, in 4.5 s, then holds (under 5 s, so no pause button is needed,
   WCAG 2.2.2). Still with reduced motion. Padded like the desk hero, so the stroke trails off below the visual with room to spare
   before the next section. */
.hero.hero--brush { padding-block: var(--space-section-lg); }
.hero.hero--brush::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(150deg, var(--color-amber-light) 0%, var(--color-amber) 18%, var(--color-amber-light) 30%, var(--color-surface) 38%, var(--color-chart-highlight) 46%, var(--color-brand) 62%, var(--color-chart-highlight) 76%, var(--color-surface) 84%, var(--color-amber-light) 92%, var(--color-amber) 100%);
  background-size: 200% 200%;  /* half the gradient in view and the ice stops kept narrow, so amber or blue always shows */
  -webkit-mask: var(--brush) center / 100% 100% no-repeat; mask: var(--brush) center / 100% 100% no-repeat;
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M4 88C18 82 40 70 62 64S90 56 100 50L100 80C84 84 64 90 44 95S16 100 4 88Z'/%3E%3Cpath d='M30 99C52 95 76 90 100 86L100 88C76 92 52 97 30 99Z'/%3E%3C/svg%3E");
}
@media (min-width: 64rem) {
  .hero.hero--brush::after { --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M30 100C42 92 56 80 68 62S86 18 100 0L100 44C92 56 86 70 80 82S70 100 58 100Z'/%3E%3Cpath d='M64 100C75 90 87 78 100 64L100 70C88 81 77 91 70 100Z'/%3E%3C/svg%3E"); }
}
.hero.hero--brush::after { background-position: 100% 100%; }  /* the resting state, also without motion */
@media (prefers-reduced-motion: no-preference) { .hero.hero--brush::after { animation: hero-brush 4.5s ease-out 1 both; } }
/* Streams hero (/compliance; any .hero--light): a horizontal take on the brush. Lines in the brand blues, steel and ice
   blue, the wireframe cyan, and a few in amber fan in from the left edge, ease into one band at the knee, and run
   right behind the hero visual, most ending in a small swept dart and some off the right edge
   (partials/hero-streams.njk, an inline SVG; each stream is its line, its pulse, then its dart). A mask in the SVG keeps
   everything left of the knee pale, so the fan stays soft behind the headline. From 64rem it fills the hero, pinned to
   the right edge (xMaxYMid slice); below that it is a band along the bottom, under the stacked visual. The lines are
   drawn and still; along each one a lighter pulse flows left to right without stopping, every line at its own speed (15 to 27 s a pass),
   so the hero takes data-loop for a pause button (WCAG 2.2.2). The flow runs only once that button exists (never
   without JS or with reduced motion) and holds while paused or offscreen. */
.hero.hero--streams { padding-block: var(--space-section-lg); }
.hero-streams { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; pointer-events: none; }
@media (min-width: 64rem) { .hero-streams { top: 0; height: 100%; } }
.hero-streams .hs-line { fill: none; stroke: var(--tone); }
.hero-streams .hs-head { fill: var(--tone); stroke: var(--tone); stroke-width: 1.2; stroke-linejoin: round; }  /* the stroke rounds the dart's points */
.hero-streams .hs-flow { display: none; fill: none; stroke: color-mix(in srgb, var(--tone) 35%, var(--color-bg)); stroke-linecap: round; stroke-dasharray: 0.1 1.2; }
.hero--streams:has(> .loop-toggle) .hs-flow { display: inline; animation: hero-streams-flow var(--d, 7s) linear var(--o, 0s) infinite; }
.hero--streams:is(.is-paused, .is-offscreen) .hs-flow { animation-play-state: paused; }
.hero--streams .loop-toggle { top: auto; bottom: calc(var(--space-film-overlap) + var(--space-3)); right: var(--space-3); z-index: 2; }  /* bottom right, just above where the film rises in */
.hero-streams .is-a { --tone: var(--color-brand); }
.hero-streams .is-b { --tone: var(--color-chart-highlight); }
.hero-streams .is-c { --tone: var(--color-hud-link); }
.hero-streams .is-e { --tone: var(--color-amber-light); }
.hero-streams .is-f { --tone: var(--color-brand-muted); }
.hero-streams .is-g { --tone: color-mix(in srgb, var(--color-hud-link) 45%, var(--color-surface)); }
@keyframes hero-streams-flow { from { stroke-dashoffset: 0.1; } to { stroke-dashoffset: -1.1; } }
/* Parade hero (/ai; any .hero--light), after Stripe's payment-methods hero: the headline on top, then a full-bleed row
   of white product cards (.hero-parade), each with a colored top strip (--strip) and a name over its screen, set
   high and low in turn (.hero-parade-card--low). Behind them a band of brand color rises from a thin sliver low on
   the left to most of the hero's height on the right, its gradient drifting like the desk ribbon. The row holds the
   cards twice (the second set aria-hidden and inert, its high/low pattern the same as the first, so keep an even
   count) and moves right to left by half, which loops without a seam. The hero takes data-loop: the row moves and the
   band drifts only once menu.js has added the pause button (never without JS or with reduced motion), and both hold
   while paused or offscreen; the row also holds while hovered or focused. Without the motion the duplicates hide
   and the row scrolls sideways by hand. */
.hero.hero--parade { padding-block: var(--space-section-lg) 0; }
.hero.hero--parade::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  clip-path: polygon(0 90%, 100% 44%, 100% 100%, 0 97%);  /* phones: the tip stays below the taller headline */
  background: linear-gradient(115deg, var(--color-brand) 0%, var(--color-chart-highlight) 22%, var(--color-brand) 42%, var(--color-accent-hover) 55%, var(--color-brand) 68%, var(--color-chart-highlight) 80%, var(--color-surface) 88%, var(--color-amber-light) 94%, var(--color-amber) 100%);  /* blue-led, the band being large; amber only at the far end, ice before it */
  background-size: 200% 100%;
}
@media (min-width: 64rem) { .hero.hero--parade::after { clip-path: polygon(0 82%, 100% 22%, 100% 100%, 0 92%); } }
.hero--parade:has(> .loop-toggle)::after { animation: desk-ribbon 18s ease-in-out infinite alternate; }
.hero--parade:is(.is-paused, .is-offscreen)::after { animation-play-state: paused; }
.hero--parade .loop-toggle { top: auto; bottom: var(--space-3); right: var(--space-3); z-index: 2; }
.hero-parade { --card: min(24rem, 78vw); --gap: var(--space-4); position: relative; margin-top: var(--space-5); padding: var(--space-2) var(--space-3) var(--space-5); overflow-x: auto; scroll-snap-type: x mandatory; }
.hero-parade-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; width: max-content; }
.hero-parade-card { flex: none; width: var(--card); margin: 0 var(--gap) 0 0; overflow: hidden; scroll-snap-align: start; border-top: 0.375rem solid var(--strip, var(--color-brand)); border-radius: var(--radius); background: var(--color-bg); box-shadow: var(--shadow-float); }  /* each card carries its gap as a right margin, so half the row is exact */
.hero-parade-card--low { margin-top: var(--space-4); }
.hero-parade-name { margin: 0; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border); font-size: var(--text-note); font-weight: 600; color: var(--color-text); }
.hero-parade-card img { display: block; width: 100%; height: auto; }
.hero-parade-track > [aria-hidden="true"] { display: none; }
/* Moving: the duplicates show, the row runs edge to edge and stops scrolling by hand */
.hero--parade:has(> .loop-toggle) .hero-parade { overflow: hidden; padding-inline: 0; }
.hero--parade:has(> .loop-toggle) .hero-parade-track { animation: hero-parade 64s linear infinite; }
.hero--parade:has(> .loop-toggle) .hero-parade-track > [aria-hidden="true"] { display: block; }
.hero--parade:is(.is-paused, .is-offscreen) .hero-parade-track, .hero-parade:is(:hover, :focus-within) .hero-parade-track { animation-play-state: paused; }
@keyframes hero-parade { to { transform: translateX(-50%); } }
/* --ribbon (cta-band, /ai): the closing band on white with the parade hero's color band behind it, larger: a taller
   band whose ribbon rises from low on the left to above the middle on the right, under a narrower head. It drifts
   only with the pause button (data-loop), like the hero's. */
.cta-band.cta-band--ribbon { padding-block: var(--space-section-lg) calc(var(--space-section-lg) * 3.5); color: var(--color-body); background: var(--color-bg); }
.cta-band--ribbon::before { display: none; }
.cta-band--ribbon::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  clip-path: polygon(0 88%, 100% 50%, 100% 100%, 0 100%);
  background: linear-gradient(115deg, var(--color-brand) 0%, var(--color-chart-highlight) 22%, var(--color-brand) 42%, var(--color-accent-hover) 55%, var(--color-brand) 68%, var(--color-chart-highlight) 80%, var(--color-surface) 88%, var(--color-amber-light) 94%, var(--color-amber) 100%);
  background-size: 200% 100%;
}
@media (min-width: 64rem) { .cta-band--ribbon::after { clip-path: polygon(0 90%, 100% 42%, 100% 100%, 0 100%); } }
.cta-band--ribbon:has(> .loop-toggle)::after { animation: desk-ribbon 18s ease-in-out infinite alternate; }
.cta-band--ribbon:is(.is-paused, .is-offscreen)::after { animation-play-state: paused; }
.cta-band--ribbon .loop-toggle { top: auto; bottom: var(--space-3); right: var(--space-3); z-index: 2; }
.cta-band--ribbon h2 { max-width: 30rem; color: var(--color-text); }
.cta-band--ribbon .lead { max-width: 34rem; }
.cta-band--ribbon .button--ghost { border-color: var(--color-text); color: var(--color-text); background: var(--color-bg); }
/* Night hero (/telemetry): a dark photo (.hero-photo: a pump jack against market-style charts) filling the whole hero
   edge to edge under the headline, its top fading into the navy of the menu bar (.hero-photo::after) so header and
   hero read as one dark surface; enlarged a little from its left edge so the pump jack sits right
   of center. The photo shows twice: a very dim, gray copy underneath, and a dimmed full-color copy over it
   (.hero-photo-charts), which wipes in from left to right once on load (3.2 s, so no pause button), so the charts fill
   in across the hero like a trace being drawn. Without motion the full copy shows at once. The headline run reads
   white, then the muted gray-blue for its explanation. */
.hero.hero--night { padding-block: var(--space-section-lg); background: var(--color-dark-night); }
.hero--night::before { content: none; }
.hero--night .headline-run { font-size: var(--text-run); line-height: 1.12; letter-spacing: -0.02em; max-width: 52rem; color: var(--color-on-fill); }
.hero--night .headline-run span { color: var(--color-on-dark-muted); }
.hero-photo { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
@media (min-width: 64rem) { .hero-photo img { transform: scale(1.18); transform-origin: 0 40%; } }  /* the pump jack right of center, clear of most of the headline */
.hero-photo::after { content: ""; position: absolute; inset: 0 0 auto; height: 45%; background: linear-gradient(180deg, var(--color-dark), color-mix(in srgb, var(--color-dark) 55%, transparent) 40%, transparent); }
.hero-photo-base { filter: brightness(0.22) saturate(0.4); }
.hero-photo-charts { filter: brightness(0.3) saturate(0.9); }  /* phones and tablets: the headline sits on the busiest part */
@media (min-width: 64rem) { .hero-photo-charts { filter: brightness(0.42) saturate(0.9); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo-charts { -webkit-mask: linear-gradient(90deg, #000 45%, transparent 55%) 0 0 / 220% 100% no-repeat; mask: linear-gradient(90deg, #000 45%, transparent 55%) 0 0 / 220% 100% no-repeat; animation: photo-reveal 3.2s 0.4s cubic-bezier(0.3, 0.6, 0.3, 1) both; }
}
@keyframes photo-reveal { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0% 0; mask-position: 0% 0; } }
/* Topo hero (/trek, over .hero--night): navy fading from the menu bar to a hint of brand blue at the foot; the
   contour drawing as a mask (.topo-lines) over a cyan-to-blue gradient, in one box with the route (.topo-map, the
   drawing's ratio, full hero height, anchored right so the map sits beside the headline). Waypoint beacons pulse in
   turn up the route on a 6 s cycle, the summit amber; data-loop gives the pause button. Still with reduced motion. */
.hero.hero--topo { min-height: 34rem; display: flex; align-items: center; background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-deep) 45%, color-mix(in srgb, var(--color-brand) 22%, var(--color-dark-night)) 100%); }
.topo-map { position: absolute; z-index: -1; top: 0; right: 0; height: 100%; aspect-ratio: 1996 / 894; pointer-events: none; }
@media (max-width: 63.99rem) { .topo-map { right: -30%; opacity: 0.55; } }  /* tablets and phones: the summit stays in view, the lines under the headline quieter */
.topo-lines { position: absolute; inset: 0; background: linear-gradient(200deg, var(--color-hud-link) 15%, var(--color-brand) 70%); opacity: 0.9; -webkit-mask: url("../img/trek/hero-topo.webp") center / 100% 100% no-repeat; mask: url("../img/trek/hero-topo.webp") center / 100% 100% no-repeat; }
.topo-map::after { content: ""; position: absolute; inset: 0 0 auto; height: 22%; background: linear-gradient(180deg, var(--color-dark), transparent); }  /* the map's top fades into the menu bar */
.topo-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.topo-path { fill: none; stroke: var(--color-on-fill); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; opacity: 0.85; }
.topo-beacon { --tone: var(--color-hud-link); }
.topo-beacon--summit { --tone: var(--color-amber); }
.topo-dot { fill: var(--tone); stroke: var(--color-dark-night); stroke-width: 3; }
.topo-ring { fill: none; stroke: var(--tone); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .topo-ring { animation: topo-beacon 6s calc(var(--i) * 0.5s) ease-out infinite; }
  .hero--topo:is(.is-paused, .is-offscreen) .topo-ring { animation-play-state: paused; }
}
@keyframes topo-beacon { 0% { opacity: 0.9; transform: scale(1); } 30%, 100% { opacity: 0; transform: scale(4.5); } }
.hero--topo .loop-toggle { top: auto; bottom: var(--space-3); right: var(--space-3); }
/* The /telemetry mesh (partials/hero-mesh.njk), now only behind its closing band, still: a sensor network drawn as a
   rolling surface in perspective, cyan edges, faint nodes, and lit nodes (.mh-pulse; their rings and the edge signals
   are kept for a moving version and stay hidden). */
.hero-mesh { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-mesh .mh-edges { fill: none; stroke: var(--color-hud-link); stroke-width: 1; stroke-opacity: 0.42; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hero-mesh .mh-nodes { fill: var(--color-hud-link); opacity: 0.6; }
.hero-mesh .mh-pulse { --tone: var(--color-hud-link); }
.hero-mesh .mh-pulse.is-amber { --tone: var(--color-amber); }
.hero-mesh .mh-core { fill: var(--tone); }
.hero-mesh :is(.mh-ring, .mh-signal) { display: none; }
/* Behind a hero card in the night hero (the saved partials/telemetry-tags-card.njk): an irregular glow, a lopsided
   blob (uneven radii) well past the card, most of all below and to the left, filled with offset pools of brand blue,
   cyan, steel and a touch of amber, and softened with a blur, so the card sits on light. Still. */
.hero--night .hero-visual { position: relative; isolation: isolate; }
.hero--night .hero-visual::before {
  content: ""; position: absolute; z-index: -1; inset: -26% -14% -40% -24%; pointer-events: none;
  border-radius: 62% 38% 55% 45% / 48% 62% 38% 52%;
  background:
    radial-gradient(38% 46% at 24% 30%, color-mix(in srgb, var(--color-hud-link) 75%, transparent), transparent 70%),
    radial-gradient(44% 40% at 78% 22%, color-mix(in srgb, var(--color-brand) 90%, transparent), transparent 72%),
    radial-gradient(36% 38% at 84% 78%, color-mix(in srgb, var(--color-amber) 55%, transparent), transparent 70%),
    radial-gradient(50% 44% at 30% 84%, color-mix(in srgb, var(--color-brand-muted) 85%, transparent), transparent 72%),
    radial-gradient(60% 60% at 55% 50%, color-mix(in srgb, var(--color-chart-highlight) 45%, transparent), transparent 75%);
  filter: blur(28px);
}
/* The same streams behind the closing band (cta.streams, /compliance), in place of the drafting grid: still (no
   flow), full height, in white and the light blues at low strength, so the centered heading and buttons stay clear */
.cta-band--streams::before { display: none; }
.cta-band--streams .hero-streams { top: 0; height: 100%; opacity: 0.35; }
.cta-band--streams .hero-mesh { opacity: 0.45; }
.cta-band--streams .hero-data { opacity: 0.8; }  /* the /reporting data mesh (cta.streams: data), still, on the band's own steel blue */  /* the /telemetry mesh (cta.streams: mesh), still */
.cta-band--streams .is-a { --tone: var(--color-on-fill); }
.cta-band--streams .is-b { --tone: var(--color-hud-link); }
.cta-band--streams .is-c { --tone: var(--color-chart-highlight); }
.cta-band--streams .is-f { --tone: var(--color-on-fill); }
/* Data hero (/reporting): the brand-blue hero with a data mesh behind it (partials/hero-data.njk) in place of the
   drafting grid. The background runs from the menu bar's navy at the top, so header and hero read as one surface,
   down to a deep navy-blue where the film rises in. The mesh: two triangulated meshes in white lines,
   the back one larger and fainter; nodes in cyan, some lit; packets on highlighted edge chains; a skyline of thin
   bars, a few faint amber; a cyan scan band. Masks fade it out at the top (into the navy) and toward the headline on the left. With
   data-loop (menu.js adds the pause button, hidden here by request) everything moves slowly, at half the speed set
   in the partial since Dec 3, 2026: the meshes drift at two speeds (80 s and 120 s, back and forth), lit nodes breathe
   (12 to 22 s), packets travel their chains (32 to 50 s), the bars draw in one after another from the left (a quarter second apart, each rising in 1.5 s), hold, and fade out in the same order, on a 30 s cycle, the band crosses in
   44 s. Paused offscreen; still without JS or with reduced motion
   (no packets then, since they only exist in motion). Headline only. */
.hero.hero--data { padding-top: var(--space-section-lg); background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark) 30%, color-mix(in srgb, var(--color-dark) 75%, var(--color-brand-deep)) 70%, color-mix(in srgb, var(--color-dark) 62%, var(--color-brand-deep)) 100%); }  /* darker by request (Dec 3, 2026, twice): navy with only a hint of blue toward the film */
.hero--data::before { content: none; }
.hero-data { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 2%, rgb(0 0 0 / 0.6) 22%, #000 45%); mask-image: linear-gradient(180deg, transparent 2%, rgb(0 0 0 / 0.6) 22%, #000 45%); }
.hero-data svg { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.3), rgb(0 0 0 / 0.5) 35%, #000 70%); mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.3), rgb(0 0 0 / 0.5) 35%, #000 70%); }
.hd-mesh { fill: none; stroke: var(--color-on-fill); stroke-width: 1; stroke-opacity: 0.2; stroke-linejoin: round; }
.hd-mesh--back { stroke-opacity: 0.08; }
.hd-nodes { fill: var(--color-hud-link); opacity: 0.5; }
.hd-lit { --tone: var(--color-hud-link); fill: var(--tone); stroke: color-mix(in srgb, var(--tone) 35%, transparent); stroke-width: 6; transform-box: fill-box; transform-origin: center; }
.hd-lit.is-amber { --tone: var(--color-amber); }
.hd-trail { fill: none; stroke: var(--color-hud-link); stroke-width: 1.4; stroke-opacity: 0.28; stroke-linejoin: round; }
.hd-packet { display: none; fill: var(--color-on-fill); stroke: rgb(255 255 255 / 0.3); stroke-width: 5; transform-box: view-box; offset-anchor: 0 0; offset-rotate: 0deg; }
.hd-packet.is-amber { fill: var(--color-amber); stroke: var(--color-amber-glow); }
.hd-bars rect { fill: var(--color-on-fill); fill-opacity: 0.1; transform-box: fill-box; transform-origin: 50% 100%; }
.hd-bars rect.is-amber { fill: var(--color-amber); fill-opacity: 0.22; }
.hd-scan { position: absolute; inset: 0 auto 0 0; width: 28%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-hud-link) 9%, transparent), transparent); transform: translateX(-110%); }
@media (min-width: 48rem) { .hero--data .headline-run { max-width: 75%; } }  /* 75% of the container, by request (Dec 3, 2026); full width on phones */
.hero--data .loop-toggle { display: none; }  /* no pause button, by request (Dec 3, 2026), as on /ai: it stays in the DOM so the motion runs and still stops offscreen and under reduced motion. Motion over 5 s without a pause control falls short of WCAG 2.2.2. */
.hero--data:has(> .loop-toggle) .hd-mesh--back { animation: hd-drift-back 120s ease-in-out infinite alternate; }
.hero--data:has(> .loop-toggle) .hd-front { animation: hd-drift 80s ease-in-out infinite alternate; }
.hero--data:has(> .loop-toggle) .hd-lit { animation: hd-breathe calc(var(--d) * 2) ease-in-out calc(var(--o) * 2) infinite; }
.hero--data:has(> .loop-toggle) .hd-bars rect { animation: hd-bar 30s var(--ease) calc(var(--i) * 0.25s) infinite both; }
.hero--data:has(> .loop-toggle) .hd-scan { animation: hd-scan 44s linear infinite; }
@supports (offset-path: path("M0 0")) {
  .hero--data:has(> .loop-toggle) .hd-packet { display: inline; animation: hd-packet calc(var(--d) * 2) linear calc(var(--o) * 2) infinite; }
}
.hero--data:is(.is-paused, .is-offscreen) :is(.hd-mesh, .hd-front, .hd-lit, .hd-bars rect, .hd-scan, .hd-packet) { animation-play-state: paused; }
@keyframes hd-drift-back { from { transform: translate(0, 0); } to { transform: translate(-60px, 18px); } }
@keyframes hd-drift { from { transform: translate(0, 0); } to { transform: translate(48px, -16px); } }
@keyframes hd-breathe { 0%, 100% { opacity: 0.35; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes hd-bar { 0% { transform: scaleY(0); opacity: 0; } 5% { transform: scaleY(1); opacity: 1; } 62% { transform: scaleY(1); opacity: 1; } 75%, 100% { transform: scaleY(1); opacity: 0; } }
@keyframes hd-scan { from { transform: translateX(-110%); } to { transform: translateX(380%); } }
@keyframes hd-packet { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
/* Hero film (/forms), set like the home .flow film without its scenes: one product video filling a flat gray panel
   (hairline border, large radius), which rises into the bottom of the hero by --space-film-overlap. The hero takes
   .hero--film for the extra bottom padding that room needs; the panel's section follows it directly. */
.hero.hero--film { padding-bottom: calc(var(--space-section-lg) + var(--space-film-overlap)); }
.film-section { position: relative; z-index: 1; margin-top: calc(-1 * var(--space-film-overlap)); padding-bottom: var(--space-section); }
.film { padding: var(--space-2); border: 1px solid var(--color-panel-line); border-radius: var(--radius-lg); background: var(--color-panel-gray); box-shadow: var(--shadow-raised); }
@media (min-width: 40rem) { .film { padding: var(--space-3); } }
.film-caption { margin: var(--space-2) 0 0; text-align: center; font-size: var(--text-small); font-weight: 600; color: var(--color-muted); }  /* one line naming what the film shows */
.film .media--video { max-width: none; margin: 0; overflow: hidden; border: 1px solid var(--color-panel-line); border-radius: var(--radius); box-shadow: none; }
@keyframes hero-brush { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }

/* Engine hero (home): a generator drawn half as the machine and half as a blueprint wireframe, cut out of its
   generated backdrop (transparent around the machine and between the wireframe's lines), centered at the top of
   the hero with the headline under it. Over it, an SVG in the image's 1800 x 1215 coordinates draws glass
   dashboard panels above the engine, linked to points on it: monthly fuel use (the demo generator's months, with
   August below its expected band at 60% of the others, flagged amber), a daily inspection, and cumulative NOx,
   SOx and VOC against PTE for a NESHAP ZZZZ engine (illustrative actuals at 52 to 78% of PTE, each checked within
   its limit). On load (CSS, once, about 3.1 s) the links draw in, the panels rise, the bars grow, August turns
   amber, the checks tick, the emissions fill and check off; it plays once, with no pause button. As the hero
   scrolls away the engine drifts down and fades (parallax, a CSS scroll-driven animation where supported). Reduced
   motion: everything drawn, nothing moves. On phones the panel text hides. */
/* The background, behind the cut-out engine: deep navy falling to near-black, a brand-blue spotlight under the
   engine, a cyan haze over the wireframe side, a deep blue glow under the headline, and the drafting grid, faded
   to a pool around the engine. */
.hero--engine {
  background:
    radial-gradient(40rem 28rem at 50% 36%, color-mix(in srgb, var(--color-brand) 55%, transparent), transparent 70%),
    radial-gradient(30rem 22rem at 78% 16%, color-mix(in srgb, var(--color-hud-link) 16%, transparent), transparent 70%),
    radial-gradient(48rem 30rem at 18% 88%, color-mix(in srgb, var(--color-brand-deep) 45%, transparent), transparent 70%),
    linear-gradient(170deg, var(--color-dark) 0%, var(--color-dark-deep) 100%);
}
.hero--engine::before {
  -webkit-mask-image: radial-gradient(ellipse 40% 38% at 50% 36%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 40% 38% at 50% 36%, #000, transparent 75%);
}
.engine-art { position: relative; width: min(100%, 54rem); margin-inline: auto; aspect-ratio: 1800 / 1215; }
.engine-art img, .engine-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero--engine { padding-block: var(--space-3) calc(var(--space-5) + var(--flow-overlap, var(--space-overlap))); overflow: hidden; overflow: clip; }
/* The bottom padding leaves room for the .flow film, which rises into the hero by a third of its height (--flow-overlap
   from flow.js; --space-overlap until then). Overflow is clip, not hidden: hidden makes the hero a scroll container,
   and the parallax view() timeline would track it instead of the page. */
.hero--engine > .container { position: relative; z-index: 1; margin-top: var(--space-3); }
/* The headline as one statement in two voices (after a studio's intro line): upright medium in white, with
   phrases in Inter's true italic, regular weight, in the softer blue-gray */
.hero-statement { max-width: 64rem; margin: 0; font-size: var(--text-run-hero); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; color: var(--color-on-fill); }
.hero-statement em { font-style: italic; font-weight: 400; color: var(--color-on-dark-gray); padding-right: 0.04em; }
@media (max-width: 47.99rem) { .engine-links text { display: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .engine-art { animation: engine-parallax linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}
@keyframes engine-parallax { to { translate: 0 28%; opacity: 0.35; } }
.engine-links :where(text) { font-family: var(--font-body); fill: var(--color-on-fill); }
.engine-link { fill: none; stroke: var(--color-hud-link); stroke-width: 2.5; stroke-dasharray: 1; }
.engine-node { fill: var(--color-hud-link); filter: drop-shadow(0 0 6px var(--color-hud-glow)); }
.engine-panel-box { fill: var(--color-hud-fill); stroke: var(--color-hud-line); stroke-width: 2; filter: drop-shadow(0 0 12px var(--color-hud-glow)); }
.engine-panel-tag { font-weight: 600; fill: var(--color-hud-link); }
.engine-panel-text { font-weight: 600; }
.engine-panel-label { fill: var(--color-on-dark-muted); }
.engine-band, .engine-track { fill: var(--color-hud-band); }
.engine-axis { stroke: var(--color-hud-line); stroke-width: 1.5; }
.engine-bar { fill: var(--color-hud-link); transform-box: fill-box; transform-origin: 50% 100%; }
.engine-bar--flag { fill: var(--color-amber); }
.engine-fill { fill: var(--color-hud-link); transform-box: fill-box; transform-origin: 0 50%; }
.engine-check-box { fill: var(--color-hud-link); transform-box: fill-box; transform-origin: center; }
.engine-check-mark { fill: none; stroke: var(--color-engine-field); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
/* Delays: --d per panel or link, --b per bar, --c per checklist or emissions row. Plays once on load, about 3.1 s,
   so it needs no pause control (WCAG 2.2.2). */
@media (prefers-reduced-motion: no-preference) {
  .engine-link { animation: engine-draw 0.8s var(--d) var(--ease) both; }
  .engine-node { animation: engine-fade 0.4s var(--d) both; }
  .engine-panel { animation: engine-rise 0.6s var(--d) var(--ease) both; }
  .engine-bar { animation: engine-grow 0.6s calc(1.1s + var(--b) * 0.12s) var(--ease) both; }
  .engine-bar--flag { animation: engine-grow 0.6s 1.34s var(--ease) both, engine-flag 0.4s 2.1s both; }
  .engine-check .engine-check-box { animation: engine-pop 0.3s calc(1.5s + var(--c) * 0.35s) var(--ease-spring) both; }
  .engine-check .engine-check-mark { animation: engine-draw 0.3s calc(1.65s + var(--c) * 0.35s) var(--ease) both; }
  .engine-fill { animation: engine-fill 0.9s calc(1.8s + var(--c) * 0.25s) var(--ease) both; }
  .engine-limit .engine-check-box { animation: engine-pop 0.3s calc(2.6s + var(--c) * 0.25s) var(--ease-spring) both; }
  .engine-limit .engine-check-mark { animation: engine-draw 0.3s calc(2.75s + var(--c) * 0.25s) var(--ease) both; }

}
@keyframes engine-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes engine-fade { from { opacity: 0; } }
@keyframes engine-rise { from { opacity: 0; translate: 0 14px; } }
@keyframes engine-grow { from { scale: 1 0; } }
@keyframes engine-fill { from { scale: 0 1; } }
@keyframes engine-flag { from { fill: var(--color-hud-link); } }
@keyframes engine-pop { from { opacity: 0; scale: 0.3; } }

/* Navy hero (the home-style pages other than home: /industry, the four industry pages, /pricing, /contact): home's
   engine-hero field without the engine. Deep navy falling to near-black, a brand-blue spotlight behind the visual
   on the right, a cyan haze above it and a deep glow under the headline, and the drafting grid faded to a pool
   around the visual. The H1 is a two-voice .hero-statement (upright white, then <em> phrases in the gray italic);
   the lead and buttons follow; an optional .hero-visual sits beside it in the usual .split. */
.hero--navy {
  background:
    radial-gradient(38rem 28rem at 74% 46%, color-mix(in srgb, var(--color-brand) 50%, transparent), transparent 70%),
    radial-gradient(28rem 20rem at 88% 12%, color-mix(in srgb, var(--color-hud-link) 14%, transparent), transparent 70%),
    radial-gradient(44rem 28rem at 14% 92%, color-mix(in srgb, var(--color-brand-deep) 40%, transparent), transparent 70%),
    linear-gradient(170deg, var(--color-dark) 0%, var(--color-dark-deep) 100%);
}
.hero--navy::before {
  -webkit-mask-image: radial-gradient(ellipse 42% 60% at 74% 46%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 42% 60% at 74% 46%, #000, transparent 75%);
}
.hero--navy .hero-statement { font-size: var(--text-run); }  /* beside a visual: the section-head size, not home's full width */
.hero--navy .container:not(.split) .hero-statement { font-size: var(--text-run-hero); }
.hero--navy .lead { max-width: 36rem; color: var(--color-on-dark); }
.hero--navy .hero-statement + .lead { margin-top: var(--space-3); }

/* Spacious rhythm (front matter pageClass: page--spacious; on every page in the three page systems, not yet the base rhythm):
   fluid section padding that grows to 128px on wide screens, 160px for the hero, dark band and closing
   band, a thinner band for the logo strip, and more room under each section head. */
.page--spacious .section { padding-block: var(--space-section); }
.page--spacious .section--flush-top { padding-top: 0; }
.page--spacious .section--dark,
.page--spacious .cta-band,
.page--spacious .hero--poster.hero--product { padding-block: var(--space-section-lg); }
.page--spacious .hero + .section--flush-top { padding-block: var(--space-band); }
.page--spacious .section-head { margin-bottom: var(--space-head); }
.page--spacious .section-head--flush { margin-bottom: 0; }

/* Product mocks: drawn stand-ins for screenshots until the real
   screen replaces it. Skeleton lines take their width from --w. */
.mock { position: relative; background: var(--color-bg); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; font-size: var(--text-mock); }
.mock-bar { display: flex; align-items: center; gap: var(--space-1); padding: 0.6rem var(--space-2); background: var(--color-section-alt); border-bottom: 1px solid var(--color-border); font-weight: 600; color: var(--color-muted); }
.mock-dots { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-border-input); box-shadow: 0.8rem 0 var(--color-border-input), 1.6rem 0 var(--color-border-input); margin-right: 1.8rem; }
.mock-body { padding: var(--space-2); }
.mock-body--split { display: grid; gap: var(--space-3); align-items: start; }
@media (min-width: 40rem) { .mock-body--split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.mock-stack { display: grid; gap: var(--space-1); justify-items: start; }
.mock-line { display: block; width: var(--w, 100%); height: 0.5rem; border-radius: var(--radius-pill); background: var(--color-border); }
.mock-fields { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem var(--space-2); align-items: center; width: 100%; margin-top: var(--space-1); color: var(--color-muted); }
.mock-chip { display: inline-block; padding: 0.15rem 0.6rem; border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-accent-text); font-weight: 600; white-space: nowrap; justify-self: start; }
.mock-chip--amber { background: var(--color-amber); color: var(--color-text); }
.mock-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.mock-timeline li { position: relative; padding-left: var(--space-3); color: var(--color-muted); font-weight: 600; }
.mock-timeline li::before { content: ""; position: absolute; left: 0; top: 0.1em; width: 0.8rem; height: 0.8rem; border-radius: 50%; border: 2px solid var(--color-border-input); background: var(--color-bg); }
.mock-timeline li:not(:last-child)::after { content: ""; position: absolute; left: calc(0.4rem - 1px); top: 1.1rem; height: calc(100% + var(--space-2) - 1.1rem); width: 2px; background: var(--color-border); }
.mock-timeline .is-done { color: var(--color-text); }
.mock-timeline .is-done::before { background: var(--color-accent); border-color: var(--color-accent); }
.mock-timeline .is-now { color: var(--color-text); }
.mock-timeline .is-now::before { background: var(--color-amber); border-color: var(--color-amber); }
/* A filled-in record (label and value pairs) beside a field photo, cropped square on the finding */
.mock-fields--filled { margin: 0; gap: var(--space-1) var(--space-2); align-items: baseline; font-size: var(--text-label); }
.mock-fields--filled dt { max-width: 10rem; color: var(--color-muted); }
.mock-fields--filled dd { margin: 0; min-width: 0; color: var(--color-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.mock-fields--filled .mock-chip { white-space: normal; }
@media (max-width: 40rem) {
  .mock-fields--filled { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .mock-fields--filled dt { max-width: none; }
  .mock-fields--filled dd + dt { margin-top: var(--space-1); }
}
.mock-shot { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 62% 18%; border-radius: var(--radius); }
.mock-shot-frame { position: relative; }
.mock-stamp { position: absolute; left: var(--space-1); bottom: var(--space-1); padding: 0.15em var(--space-1); border-radius: var(--radius-pill); background: var(--color-scrim); color: var(--color-on-fill); font-size: var(--text-mock); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Rule matching above a due-date timeline: the facility type and state pick the rule that sets each clock */
.mock-label { margin: 0 0 var(--space-1); font-size: var(--text-mock); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }
.mock-rules { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: var(--space-1); }
.mock-rules li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem var(--space-1); padding: 0.4rem var(--space-1); border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-muted); font-weight: 500; }
.mock-rules b { font-weight: 700; }
.mock-rules .is-match { border-color: var(--color-accent); background: var(--color-surface); color: var(--color-text); }
.mock-rules .is-match b { color: var(--color-accent-text); }
/* Every step gets the chip's height, so the gaps match and the dots and chip line up with the label. */
.mock-timeline--due li { display: flex; align-items: center; min-height: 2.1em; }
.mock-timeline--due li::before { top: 50%; transform: translateY(-50%); }
.mock-timeline--due li:not(:last-child)::after { top: calc(50% + 0.5rem); height: calc(100% + var(--space-2) - 1rem); }
.mock-timeline--due li span { margin-left: var(--space-1); font-weight: 500; color: var(--color-muted); }
.mock-timeline--due li span.mock-chip { color: var(--color-text); font-weight: 600; }
.mock-track { display: block; width: 100%; height: 0.5rem; border-radius: var(--radius-pill); background: var(--color-border); overflow: hidden; }
.mock-track span { display: block; width: var(--w); height: 100%; background: var(--color-amber); }
.mock-tree { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.mock-tree li { padding: 0.35rem var(--space-1); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); font-weight: 600; color: var(--color-muted); }
.mock-tree li:nth-child(2) { margin-left: var(--space-2); }
.mock-tree li:nth-child(3) { margin-left: var(--space-4); }
.mock-tree li:nth-child(4) { margin-left: calc(var(--space-4) + var(--space-2)); }
.mock-tree .is-now { border-color: var(--color-accent); color: var(--color-accent-text); }
.mock-bars { display: flex; align-items: flex-end; gap: var(--space-1); height: 7rem; padding-top: var(--space-3); border-bottom: 1px solid var(--color-border-input); }
.mock-bars span { flex: 1; height: var(--h); border-radius: 0.3rem 0.3rem 0 0; background: var(--color-chart); opacity: 0.85; }
.mock-bars span:nth-child(4) { background: var(--color-chart-highlight); opacity: 1; }
/* Export card: the reports the record fills (left) beside the monthly totals it tracks (right) */
.mock-export { display: grid; gap: var(--space-3); }
@media (min-width: 48rem) { .mock-export { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.mock-reports { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.mock-reports li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr) 10em; gap: 0.2rem var(--space-2); align-items: center; padding: 0.4rem var(--space-1); border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-muted); font-weight: 500; }
.mock-reports b { color: var(--color-text); font-weight: 700; }
.mock-reports .mock-chip { justify-self: end; }
@media (max-width: 40rem) {
  .mock-reports li { grid-template-columns: minmax(0, 1fr) auto; }
  .mock-reports b { grid-column: 1 / -1; }
}
.mock-trend { display: grid; grid-template-rows: auto minmax(8rem, 1fr) auto; gap: var(--space-1); }
.mock-trend .mock-label { margin: 0; }
.mock-trend-bars, .mock-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.3rem; width: 100%; }
.mock-trend-bars { align-items: end; border-bottom: 1px solid var(--color-border); }
.mock-trend-bars span { height: var(--h); border-radius: 0.2rem 0.2rem 0 0; background: var(--color-chart); }
.mock-trend-bars .is-now { background: var(--color-chart-highlight); }
/* With data-play-once (menu.js) the months fill in one at a time on scroll-in: each bar grows from zero in
   amber, then settles to blue as the next one starts; the current month stays amber. About 4 s, plays once,
   so no pause control; without JS or with reduced motion the chart shows finished. */
.mock-trend-bars.is-armed span { clip-path: inset(100% 0 0 0); }
/* Each bar rises (a clip from the top, so the rounded corners hold), then, once full, dips faint and comes
   back blue: the color switches while it is faint, so it never shows a muddy in-between. Ends by 5 s. */
.mock-trend-bars.is-armed.is-in span { animation: trend-grow 0.8s cubic-bezier(0.45, 0, 0.2, 1) both, trend-settle 0.5s ease-in-out both; animation-delay: calc(0.2s + var(--i) * 0.39s), calc(1s + var(--i) * 0.39s); }
.mock-trend-bars.is-armed.is-in .is-now { animation-name: trend-grow, none; }
.mock-trend-bars.is-armed.is-in .is-next { animation: none; }
@keyframes trend-grow { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes trend-settle {
  0% { background: var(--color-chart-highlight); opacity: 1; }
  48% { background: var(--color-chart-highlight); opacity: 0.2; }
  52% { background: var(--color-chart); opacity: 0.2; }
  100% { background: var(--color-chart); opacity: 1; }
}
.mock-months { margin-top: -0.3rem; color: var(--color-muted); font-weight: 600; text-align: center; }

/* Bento grid (/ldar): cards of different widths, each led by a product placeholder */
.bento { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 48rem) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card--full { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento-card--wide { grid-column: span 2; }
}
/* Outlined like .survey-panel: a white card with a hairline border; the drawing fills the top edge to edge on
   the same soft gray glow as the survey diagram, split from the text by one rule. No nested boxes or shadows. */
.bento-card { min-width: 0; display: flex; flex-direction: column; padding: var(--space-3); overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); }
.bento-card .mock--panel { flex: 1; min-height: 11rem; padding: var(--space-4) var(--space-3) var(--space-3); margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) var(--space-3); display: grid; align-content: center; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; background: var(--card-glow); }
.bento-card h3 { margin-bottom: var(--space-1); }
/* --text (/compliance "Compliance by sector"): no drawing. The sector icon (its menu icon as a brand-blue mask), name,
   line, and a small link at the foot. --tint fills a card with ice. */
.bento-card--text { padding: var(--space-4); }
.bento-card--text > .rail-card-glyph { margin-bottom: var(--space-3); }
.bento-card--text > p { margin: 0; color: var(--color-muted); max-width: 38rem; }
.bento-card--text > .text-action { margin-top: auto; padding-top: var(--space-3); font-size: var(--text-small); }
.bento-card--tint { border-color: transparent; background: var(--color-surface); }
/* --split (/compliance): rows split 60/40 and 40/60 instead of thirds, on five columns (wide 3, the rest 2). Each text
   card spans four shared rows (subgrid: icon, name, line, link), so names, lines, and links start level across a row
   even when a name wraps; the grid's row gap is 0 and each card carries the space under it instead. */
@media (min-width: 64rem) {
  .bento--split { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 0; }
  .bento--split > .bento-card { grid-column: span 2; margin-bottom: var(--space-3); }
  .bento--split > .bento-card--wide { grid-column: span 3; }
  .bento--split > .bento-card:nth-last-child(-n + 2) { margin-bottom: 0; }  /* the last row */
  .bento--split > .bento-card--text { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .bento--split > .bento-card--text > .text-action { margin-top: 0; align-self: end; }
}
.bento-card-media { display: block; width: calc(100% + 2 * var(--space-3)); max-width: none; height: auto; margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) var(--space-3); border-bottom: 1px solid var(--color-border); }  /* a full-bleed illustration with its own gray canvas, in place of a .mock--panel (/assets) */
/* Split card: text beside a real screenshot on the glow, split by one rule (below on narrow screens). */
.bento-card--split { display: grid; padding: 0; }
.bento-card-text { padding: var(--space-3); align-self: center; }
.bento-card-text p { margin: 0; }
.bento-card-shot { display: block; width: 100%; height: auto; border-top: 1px solid var(--color-border); padding: var(--space-3); }  /* plain white: the screenshot has its own white canvas */
@media (min-width: 48rem) {
  .bento-card--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); }
  .bento-card-text { padding: var(--space-4); }
  .bento-card-shot { border-top: 0; border-left: 1px solid var(--color-border); padding: var(--space-4); }
}

/* Feature runs (/ldar): each point is one paragraph, a bold title running into a softer explanation,
   under a short amber tick. --stack puts them in one column. */
.feature-runs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4) calc(var(--space-3) * 2); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.feature-runs--stack { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
@media (min-width: 64rem) { .feature-runs--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }  /* six items as two even rows of three */
.feature-runs > li { min-width: 0; line-height: 1.5; }
.feature-runs > li::before { content: ""; display: block; width: var(--space-3); height: 3px; margin-bottom: var(--space-2); border-radius: var(--radius-pill); background: var(--color-amber); }
.feature-runs > li > :is(h3, h4), .feature-runs > li > p { display: inline; margin: 0; font-size: var(--text-body); line-height: inherit; }
.feature-runs > li > :is(h3, h4) { font-family: var(--font-body); font-weight: 600; color: var(--color-text); }
.feature-runs > li > :is(h3, h4)::after { content: ". "; white-space: pre; }  /* the markup has no space between </h3> and <p> */
.feature-runs p { color: var(--color-muted); }
.section--dark .feature-runs h3 { color: var(--color-on-fill); }
.section--dark .feature-runs p { color: var(--color-on-dark); }

/* Top cards: the bento card look (white, hairline outline, diagram on a glow above one rule) on a six-column
   grid. --wide spans four columns and puts its diagram in a .top-card-panel above the text, like a bento mock; --fill is
   a solid brand-blue card for a rule or a quote; --narrow spans two, beside a --wide one or two more --narrow ones for a bento row (/forms "Forms
   that know the asset": wide-narrow, then three narrow); plain cards span three. One column on narrow screens. */
.top-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.top-card { min-width: 0; display: flex; flex-direction: column; padding: var(--space-3); overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); }
.top-card h3 { font-size: var(--text-h4); margin-bottom: var(--space-1); }
.top-card p { margin: 0; color: var(--color-muted); max-width: 34rem; }
.top-card > .text-action { margin-top: auto; padding-top: var(--space-2); }  /* links sit at the foot, so a row of cards lines them up */
.top-card-panel { flex: 1; display: grid; align-content: center; margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) var(--space-3); padding: var(--space-4) var(--space-3) var(--space-3); border-bottom: 1px solid var(--color-border); background: var(--card-glow); }
.top-card-panel > img { display: block; width: 100%; max-width: 34rem; height: auto; margin-inline: auto; }  /* a drawn card, centered, at most its file's comfortable size */
/* --matched (/forms): drawings made at one scale (960 px files) show at one width, so their type matches from card to
   card (from 64rem, the inside of a two-column --narrow panel, measured off the grid's width), pinned top left. Every
   panel takes the height of the tallest drawing (about 0.66 of its width) and every .top-card-text one minimum height,
   so the cards line up and their text areas match from row to row. */
.top-cards--matched { container-type: inline-size; }
.top-cards--matched .top-card-panel { align-content: start; }
.top-cards--matched .top-card-panel > img { margin-inline: 0; }
@media (min-width: 64rem) {
  .top-cards--matched { --img-w: calc((100cqw - 5 * var(--space-3)) / 3 - var(--space-3) - 2px); }
  .top-cards--matched .top-card-panel { flex: none; height: calc(var(--img-w) * 0.66 + var(--space-4) + var(--space-3)); }
  .top-cards--matched .top-card-panel > img { width: var(--img-w); max-width: none; }
  .top-cards--matched .top-card-text { flex: 1; min-height: 12rem; }  /* fits the narrow cards' longest text down to 64rem */
  /* Six columns: a wide-narrow pair splits the row in halves (3 + 3), and a row of narrow cards in thirds (2 each), so
     --img-w above (two of six columns) still fits every drawing */
  .top-cards.top-cards--matched > .top-card--wide, .top-cards.top-cards--matched > .top-card--wide + .top-card--narrow { grid-column: span 3; }
}

.top-card--fill { justify-content: center; gap: var(--space-2); padding: var(--space-4) var(--space-3); background: var(--color-surface); }
.top-card--fill p { color: var(--color-body); }
.top-card--fill .top-card-cite { color: var(--color-text); }
.top-card .top-card-cite { font-size: var(--text-h3); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
@media (min-width: 64rem) {
  .top-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .top-cards > .top-card { grid-column: span 3; }  /* the spans belong to the six-column .top-cards grid only */
  .top-cards > .top-card--wide { grid-column: span 4; }
  .top-cards > .top-card--fill, .top-cards > .top-card--narrow { grid-column: span 2; }
}

/* Leak clock: how long subpart W counts a found leak as open, one bar per survey cadence over a calendar
   year. Amber is the time counted as open; navy ticks are surveys. */
.leak-clock { margin: 0; display: grid; gap: var(--space-2); }
.leak-clock figcaption { font-size: var(--text-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }
.top-card .leak-clock-label { margin-bottom: var(--space-1); font-size: var(--text-small); }
.leak-clock-label b { color: var(--color-text); font-weight: 600; }
.leak-clock-track { position: relative; display: block; height: 0.75rem; border-radius: var(--radius-pill); background: var(--color-surface); }
.leak-clock-fill { position: absolute; top: 0; bottom: 0; left: var(--from); right: calc(100% - var(--to)); border-radius: var(--radius-pill); background: var(--color-amber); }
.leak-clock-track i { position: absolute; top: 50%; left: var(--at); width: 2px; height: 1.25rem; border-radius: 1px; background: var(--color-text); transform: translate(-50%, -50%); }
.leak-clock-axis { display: flex; justify-content: space-between; font-size: var(--text-label); color: var(--color-muted); }
.top-card .leak-clock-key { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); font-size: var(--text-label); }
.leak-clock-key span { display: inline-flex; align-items: center; gap: 0.4em; }
.leak-clock-key-open::before { content: ""; width: 1.25em; height: 0.6em; border-radius: var(--radius-pill); background: var(--color-amber); }
.leak-clock-key-survey::before { content: ""; width: 2px; height: 1em; border-radius: 1px; background: var(--color-text); }
.section--dark .headline-run span { color: var(--color-on-dark-muted); }

/* Stat row (/ldar): big numbers side by side, split by thin rules instead of boxed cards.
   --stack lists them down a column with rules between. */
.stat-row { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: var(--space-4) var(--space-3); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.stat-row li { min-width: 0; padding-left: var(--space-3); border-left: 1px solid var(--color-border-input); }
.stat-row p { margin: 0; }
.stat-row .stat { font-size: var(--text-stat-row); margin-bottom: var(--space-1); letter-spacing: -0.015em; }  /* looser than the big .stat: at this size -0.045em made longer figures (34,632) read condensed */
.story .stat-row .stat { color: var(--color-muted); }  /* numbers beside a quote card in the headline-run gray, not brand blue */
.stat-row p:not(.stat):not(.stat-source) { color: var(--color-text); max-width: 22rem; }
.stat-row .stat-source { margin-top: var(--space-1); font-size: var(--text-small); color: var(--color-muted); }
.stat-row--stack { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; }
.stat-row--stack li { padding: var(--space-3) 0; border-left: 0; border-top: 1px solid var(--color-border); }
.stat-row--stack li:first-child { padding-top: 0; border-top: 0; }
/* Statement panel (home integrations, after the Lexington statement panel): a light rounded panel with one large
   statement, the connected systems in a row, each under a hairline with its name and one line, and the Assetas
   alpha mark in pale blue in the bottom-right corner, cropped by the panel. */
.statement-panel { position: relative; isolation: isolate; overflow: hidden; padding: var(--space-5) var(--space-4); border-radius: var(--radius-lg); background: var(--color-section-alt); }
.statement-panel::after { content: ""; position: absolute; z-index: -1; right: -5rem; bottom: -9rem; width: 32rem; aspect-ratio: 1; background: var(--color-arc); -webkit-mask: url("../img/brand/alpha-light.svg") center / contain no-repeat; mask: url("../img/brand/alpha-light.svg") center / contain no-repeat; pointer-events: none; }  /* the Assetas alpha mark in one pale blue, cropped by the corner */
.statement-panel-title { margin: 0 0 var(--space-5); color: var(--color-dark); }  /* the type is the shared .headline-run */
.statement-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3) var(--space-4); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.statement-facts li { padding-top: var(--space-3); border-top: 1px solid var(--color-border-input); }
.statement-facts h3 { margin: 0 0 var(--space-1); font-size: var(--text-h4); font-weight: 600; color: var(--color-dark); }
.statement-facts p { margin: 0; font-size: var(--text-small); color: var(--color-muted); }
.statement-panel-link { margin: var(--space-4) 0 0; }
@media (min-width: 48rem) { .statement-panel { padding: calc(var(--space-5) * 1.5) var(--space-5); } }
@media (max-width: 47.99rem) { .statement-panel::after { right: -4rem; bottom: -5rem; width: 18rem; } }  /* smaller on phones, clear of most of the text */

/* Price cards (home pricing teaser): tall white cards on a light gray section, the price large in the top left
   with its term small in the top right, and the plan name and its line at the foot */
.price-cards { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-2); }
@media (min-width: 48rem) { .price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price-card { display: flex; flex-direction: column; min-height: 18rem; padding: var(--space-4) var(--space-4) var(--space-4); border-radius: var(--radius-lg); background: var(--color-bg); }
.price-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); margin-bottom: auto; padding-bottom: var(--space-5); }
.price-card .price-card-figure { margin: 0; font-size: var(--text-h3); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--color-dark); }
.price-card .price-card-term { margin: 0; font-size: var(--text-small); color: var(--color-muted); text-align: right; }
.price-card-name { margin: 0 0 var(--space-1); font-size: var(--text-h4); }
.price-card p:last-child { margin: 0; line-height: 1.5; color: var(--color-muted); }
/* Full tier cards (/pricing): a short list of what the tier adds, then its button at the foot. The top keeps a
   fixed gap instead of pushing the name down, so the names line up and the buttons line up at the bottom. */
.price-card:has(> ul) .price-card-top { margin-bottom: 0; }
.price-card > p:not(.price-card-figure):not(.price-card-term) { margin: 0; line-height: 1.5; color: var(--color-muted); }
.price-card > ul { list-style: none; margin: var(--space-3) 0 var(--space-4); padding: var(--space-3) 0 0; display: grid; gap: var(--space-1); border-top: 1px solid var(--color-border); font-size: var(--text-small); color: var(--color-body); }
.price-card > ul li::before { content: ""; display: inline-block; width: 0.45em; height: 0.45em; margin-right: 0.6em; border-radius: 50%; background: var(--color-brand); vertical-align: 0.15em; }
.price-card > .button { align-self: flex-start; margin-top: auto; }
@media (min-width: 48rem) { .price-card p:last-child { min-height: calc(3 * 1.5em); } }  /* side by side, every line gets three lines' room so the plan names align */

/* Story panel (/ldar): a client quote on a navy card beside the numbers it stands behind */
.story { display: grid; gap: var(--space-4); }
@media (min-width: 56rem) { .story { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; } }
/* Quote card: a deep navy field with soft amber and blue glows and the faint alpha marks, holding a glass panel
   (thin light outline, translucent fill, blur) with the quote set left under a small amber quote mark, an <em>
   phrase in amber, and a dots-and-rule mark in its lower corner. */
.story-quote { position: relative; isolation: isolate; overflow: hidden; margin: 0; display: grid; align-content: center; min-height: 100%; padding: var(--space-4) var(--space-3); border-radius: var(--radius-lg); box-shadow: var(--shadow-raised);
  background: radial-gradient(16rem 13rem at 2% 2%, color-mix(in srgb, var(--color-amber) 62%, transparent), color-mix(in srgb, var(--color-amber) 14%, transparent) 45%, transparent 75%),
              radial-gradient(30rem 24rem at 96% 100%, color-mix(in srgb, var(--color-brand) 55%, transparent), transparent 70%),
              var(--color-dark-deep); }
.story-quote::before, .story-quote::after { content: ""; position: absolute; z-index: -1; aspect-ratio: 1; background: url("../img/brand/alpha-dark.svg") center / contain no-repeat; filter: brightness(0) invert(1); opacity: 0.07; pointer-events: none; }
.story-quote::before { width: 60%; left: -18%; bottom: -22%; }
.story-quote::after { width: 34%; right: -8%; top: 8%; }
.story-glass { position: relative; display: grid; gap: var(--space-3); padding: var(--space-4) var(--space-4) calc(var(--space-4) + var(--space-2)); border: 1px solid var(--color-on-fill-line); border-radius: var(--radius-lg); background: var(--color-on-fill-tint); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); text-align: left; }
.story-glass::after { content: ""; position: absolute; right: var(--space-3); bottom: var(--space-3); width: 5.5rem; height: 0.6rem; background: var(--color-on-fill-line); -webkit-mask: var(--glass-mark) center / contain no-repeat; mask: var(--glass-mark) center / contain no-repeat;
  --glass-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 10'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.5'%3E%3Ccircle cx='5' cy='5' r='3.5'/%3E%3Ccircle cx='15' cy='5' r='3.5'/%3E%3Ccircle cx='25' cy='5' r='3.5'/%3E%3Cpath d='M38 5h50'/%3E%3C/g%3E%3C/svg%3E"); }
.story-quote blockquote { margin: 0; max-width: 30rem; font-family: var(--font-display); font-size: var(--text-h3); font-weight: 500; line-height: 1.22; letter-spacing: -0.02em; color: var(--color-on-fill); text-wrap: pretty; }
.story-quote blockquote::before { content: ""; display: block; width: 2.5rem; aspect-ratio: 31 / 22; margin: 0 0 var(--space-2); background: var(--color-amber); -webkit-mask: var(--quote-mark) center / contain no-repeat; mask: var(--quote-mark) center / contain no-repeat; --quote-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 22'%3E%3Cpath d='M0 15C0 7 5 1.5 12.5 0l.5 1.6C9 2.8 6.6 5.3 6.2 8.05A7 7 0 1 1 0 15zM17 15c0-8 5-13.5 12.5-15l.5 1.6c-4 1.2-6.4 3.7-6.8 6.45A7 7 0 1 1 17 15z'/%3E%3C/svg%3E"); }
.story-quote blockquote em { font-style: normal; font-weight: 700; color: var(--color-amber); }
.story-quote figcaption { font-size: var(--text-small); color: var(--color-on-dark); }
.story-quote figcaption::before { content: "\2014\00a0"; }

/* Survey map (static/js/survey.js): a stat row above a diagram of one facility record branching
   to pads, equipment and components. Pulses run out to components; amber dots are leak findings.
   Without JS the gray glow shows empty. */
.survey-panel { margin-bottom: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg); }
.survey-panel .stat-row { margin: 0; padding: var(--space-4) var(--space-3); }

/* Tour (/assets, /trek): a product tour video beside its chapter list, in one outlined panel like .survey-panel.
   The video sits on the card glow; the chapters (time, topic, title) are buttons once tour.js runs, and
   the playing chapter gets an ice fill, its detail line, and a thin bar that fills as the chapter plays; the
   others show time and topic only, so the list stays about as tall as the video. Without JS every chapter
   shows in full. The video keeps its .media--video frame; inside a tour it fills the stage
   instead of taking --video-width. Side by side from 64rem; below that the chapters run under the video,
   in two columns on tablets. */
.tour { display: grid; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg); }
.tour-stage { display: grid; align-content: center; padding: var(--space-3); border-bottom: 1px solid var(--color-border); background: var(--card-glow); }
.tour .media--video { max-width: none; margin: 0; border: 1px solid var(--color-border); box-shadow: none; }
.tour-chapters { list-style: none; margin: 0; padding: var(--space-2); display: grid; align-content: center; gap: 0; }
.tour-chapters li { position: relative; }
.tour-step { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: var(--space-2); width: 100%; padding: 0.45rem var(--space-2) 0.6rem; border: 0; border-radius: var(--radius); background: none; color: inherit; font: inherit; line-height: 1.25; text-align: left; }
button.tour-step { cursor: pointer; transition: background 0.2s var(--ease); }
button.tour-step:hover { background: var(--color-section-alt); }
.tour-time { grid-row: span 2; padding-top: 0.15rem; font-size: var(--text-small); font-feature-settings: "tnum"; color: var(--color-muted); }
.tour-topic { font-size: var(--text-small); font-weight: 600; color: var(--color-text); }
.tour-title { margin-top: 0.1rem; font-size: var(--text-small); color: var(--color-muted); }
.tour.is-live .tour-chapters li:not(.is-active) .tour-title { display: none; }  /* live, only the playing chapter shows its detail line */
.tour-chapters .is-active > .tour-step { background: var(--color-surface); }
.tour-chapters .is-active > .tour-step :is(.tour-time, .tour-topic) { color: var(--color-accent-text); font-weight: 600; }
.tour-chapters .is-active::after { content: ""; position: absolute; left: calc(var(--space-2) * 2 + 2.75rem); right: var(--space-2); bottom: 0.25rem; height: 2px; border-radius: var(--radius-pill); background: linear-gradient(var(--color-accent), var(--color-accent)) 0 0 / var(--p, 0%) 100% no-repeat, var(--color-border); }
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .tour-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
}
@media (min-width: 64rem) {
  .tour { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .tour-stage { padding: var(--space-4); border-bottom: 0; border-right: 1px solid var(--color-border); }
}

/* Infographic (/platform "From the first warning sign to the emissions report"): five cards in a bento grid (Plan wide with Connect on the first
   row, then Detect, Repair and Report; two across on tablets with Plan full width; stacked on phones). Each card: a
   title running into its caption in the softer voice, then a stage, a static wash from ice to brand blue with an amber
   glow at its ice end (the angle and glow corner vary by card), holding the chart on a floating white screen. The charts: a P-F curve for
   rotating equipment, connectors flowing into one record, a reading drifting out of its expected range, a work order
   checklist closing at the asset, and monthly emissions against a permit limit. With data-play-once and data-loop
   they play in turn on one 30 s cycle: each card's --d (0, 6, 12, 18, 24 s) starts its 6 s turn, when its border
   turns blue and its chart redraws. Inside a card each
   part waits its own --o after the card starts. menu.js adds the pause button (top right, above the grid) and pauses
   it offscreen. Before it scrolls in, without JS or with reduced motion every chart shows finished and nothing moves. */
.infographic { position: relative; padding-top: calc(2.5rem + var(--space-2)); }  /* room for the pause button */
.infographic .loop-toggle { top: 0; right: 0; }
.infographic-panels { display: grid; gap: var(--space-3); }
@media (min-width: 40rem) {
  .infographic-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .infographic-panel:first-child { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .infographic-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .infographic-panel:first-child { grid-column: span 2; }
}
.infographic-panel { position: relative; margin: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); box-shadow: var(--shadow-soft); }
.infographic-panel:nth-child(2) { --d: 6s; --wash-angle: 160deg; --wash-at: 20% 0%; }
.infographic-panel:nth-child(3) { --d: 12s; --wash-angle: 200deg; --wash-at: 100% 0%; }
.infographic-panel:nth-child(4) { --d: 18s; --wash-angle: 135deg; --wash-at: 0% 0%; }
.infographic-panel:nth-child(5) { --d: 24s; --wash-angle: 220deg; --wash-at: 100% 0%; }
.infographic-title { margin: 0; padding: var(--space-4) var(--space-4) var(--space-3); max-width: 34rem; font-size: var(--text-h4); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: var(--color-text); }
.infographic-title span { font-weight: 500; color: var(--color-muted); }
.infographic-stage { flex: 1; display: grid; place-items: center; padding: var(--space-4) var(--space-3);
  background: radial-gradient(70% 90% at var(--wash-at, 0% 0%), color-mix(in srgb, var(--color-amber) 45%, transparent), transparent 70%),  /* amber at the ice end, never over the blue */
              linear-gradient(var(--wash-angle, 120deg), var(--color-surface) 15%, color-mix(in srgb, var(--color-chart-highlight) 70%, var(--color-surface)) 55%, var(--color-brand) 100%); }
.infographic-screen { width: 100%; max-width: 26rem; padding: var(--space-2); border-radius: var(--radius); background: var(--color-bg); box-shadow: var(--shadow-raised); }
.infographic-panel svg { display: block; width: 100%; height: auto; font-family: var(--font-body); }
/* Static wash behind the section, like the stages but faint */
.section--wash { background: radial-gradient(60rem 30rem at 100% 0%, color-mix(in srgb, var(--color-chart-highlight) 22%, transparent), transparent 70%),
                             radial-gradient(50rem 26rem at 0% 100%, color-mix(in srgb, var(--color-amber) 18%, transparent), transparent 70%),
                             var(--color-section-alt); }
/* Stat band (/platform "Proven in the field"): a headline run and the client figures in a row along the bottom, big and
   filled with an amber-to-light-blue gradient, over a photo of a crew in a C-5 cargo hold under a navy gradient
   (solid at the top left where the headline sits, thinner toward the lit hold on the right, and solid again at the
   bottom edge so the photo fades into the navy footer). */
.stat-wave { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-section-lg);
  background: linear-gradient(100deg, color-mix(in srgb, var(--color-dark) 78%, transparent) 15%, color-mix(in srgb, var(--color-dark) 50%, transparent) 55%, color-mix(in srgb, var(--color-dark) 20%, transparent)),
              linear-gradient(0deg, var(--color-dark) 8%, color-mix(in srgb, var(--color-dark) 80%, transparent) 26%, transparent 55%),  /* solid navy at the bottom edge: fades into the footer */
              url("../img/platform/stats-cargo-hold.webp") center / cover no-repeat var(--color-dark); }
.stat-wave-credit { position: absolute; left: 0; right: 0; bottom: var(--space-3); margin-inline: auto; }  /* the photo credit, lower left */
.stat-wave-credit p { margin: 0; font-size: var(--text-label); color: var(--color-on-dark-muted); }
.stat-wave .headline-run { max-width: 44rem; }
.stat-wave-stats { list-style: none; margin: clamp(12rem, 24vw, 22rem) 0 0; padding: 0; display: grid; gap: var(--space-4) var(--space-5); }
@media (min-width: 48rem) { .stat-wave-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat-wave-stats p { margin: 0; color: var(--color-on-fill); }
.stat-wave-stats .stat { font-size: clamp(3rem, 4vw + 1.5rem, 5rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--space-2);
  background: linear-gradient(90deg, var(--color-amber-light), var(--color-chart-highlight)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-wave-stats .stat-source { margin-top: var(--space-1); font-size: var(--text-small); color: var(--color-on-dark-muted); }
/* --grid (/telemetry): the same band without a photo, on the intake panel's grid and glow, the figures closer under
   the headline, two across. */
.stat-wave--grid { background:
    linear-gradient(var(--color-hud-band) 1px, transparent 1px) 0 0 / 100% var(--space-4),
    linear-gradient(90deg, var(--color-hud-band) 1px, transparent 1px) 0 0 / var(--space-4) 100%,
    radial-gradient(45% 80% at 88% 100%, color-mix(in srgb, var(--color-brand) 40%, transparent), transparent 72%),
    linear-gradient(160deg, var(--color-dark) 0%, var(--color-dark-night) 100%); }
.stat-wave--grid .stat-wave-stats { margin-top: var(--space-5); }
@media (min-width: 48rem) { .stat-wave--grid .stat-wave-stats { grid-template-columns: repeat(2, minmax(0, 24rem)); } }
/* Chart parts */
.ig-axis { stroke: var(--color-border-input); stroke-width: 1; }
.ig-bar { fill: var(--color-chart-highlight); transform-box: fill-box; transform-origin: 50% 100%; }
.ig-bar--warn { fill: var(--color-amber); }
.ig-card { fill: var(--color-bg); stroke: var(--color-border); }
.ig-box { fill: var(--color-bg); stroke: var(--color-border-input); }
.ig-tick { fill: none; stroke: var(--color-brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ig-grid { stroke: var(--color-border); stroke-width: 1; }
.ig-line, .ig-read, .ig-link, .ig-ref { fill: none; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ig-line { stroke: var(--color-text); stroke-width: 2; stroke-linejoin: round; }
.ig-read { stroke: var(--color-brand); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ig-ref { stroke: var(--color-amber); stroke-width: 1.5; }
.ig-link { stroke: var(--color-arc); stroke-width: 1.5; }
.ig-flow { fill: none; stroke: var(--color-brand); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0.02 0.14; }
.ig-flow--back { stroke: var(--color-dark); }  /* dots flowing back out of the record (two-way connectors) */
.ig-dot { fill: var(--color-text); }
.ig-band { fill: var(--color-surface); stroke: var(--color-arc); stroke-width: 1; }
.ig-alert { fill: var(--color-amber); stroke: var(--color-bg); stroke-width: 2; }
.ig-pulse { fill: none; stroke: var(--color-amber); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ig-text { font-size: 10px; fill: var(--color-muted); }
.ig-text--strong { fill: var(--color-text); font-weight: 600; }
.ig-chip rect { fill: var(--color-bg); stroke: var(--color-border); }
.ig-chip .ig-chip-edge { fill: var(--color-amber); stroke: none; }
.ig-node rect { fill: var(--color-bg); stroke: var(--color-border); }
.ig-hub { fill: var(--color-text); }
.ig-hub-face { fill: var(--color-bg); stroke: var(--color-border); }  /* the Assetas alpha mark sits on it (Connect) */
.ig-hub-ring { fill: none; stroke: var(--color-arc); stroke-width: 6; }
.ig-in { transform-box: fill-box; }
/* The 30 s cycle: 1% is 0.3 s */
.infographic.is-armed.is-in .infographic-panel { animation: ig-active 30s step-end var(--d, 0s) infinite; }
.infographic.is-armed.is-in .ig-bar { animation: ig-grow 30s var(--ease) calc(var(--d, 0s) + var(--o, 0s)) infinite; }
.infographic.is-armed.is-in :is(.ig-line, .ig-read, .ig-link, .ig-ref, .ig-tick) { animation: ig-draw 30s var(--ease) calc(var(--d, 0s) + var(--o, 0s)) infinite; }
.infographic.is-armed.is-in .ig-in { animation: ig-in 30s var(--ease) calc(var(--d, 0s) + var(--o, 0s)) infinite; }
.infographic.is-armed.is-in .ig-flow { animation: ig-in 30s var(--ease) calc(var(--d, 0s) + var(--o, 0s)) infinite, ig-flow 1.6s linear infinite; }
.infographic.is-armed.is-in .ig-flow--back { animation: ig-in 30s var(--ease) calc(var(--d, 0s) + var(--o, 0s)) infinite, ig-flow 1.6s linear infinite reverse; }
.infographic.is-armed.is-in .ig-pulse { animation: ig-pulse 2s var(--ease) infinite; }
.infographic.is-paused *, .infographic.is-offscreen * { animation-play-state: paused !important; }
@keyframes ig-active { 0% { border-color: var(--color-brand); box-shadow: var(--shadow-soft); } 20% { border-color: var(--color-border); box-shadow: none; } }
@keyframes ig-grow { 0% { transform: scaleY(0); } 4%, 100% { transform: scaleY(1); } }
@keyframes ig-draw { 0% { stroke-dashoffset: 1; } 6%, 100% { stroke-dashoffset: 0; } }
@keyframes ig-in { 0% { opacity: 0; transform: translateY(6px); } 2%, 100% { opacity: 1; transform: none; } }
@keyframes ig-flow { to { stroke-dashoffset: -0.16; } }
@keyframes ig-pulse { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.survey-map {
  position: relative; height: clamp(16rem, 34vw, 28rem); border-top: 1px solid var(--color-border);
  background: radial-gradient(ellipse 75% 130% at 50% calc(100% - 30px), var(--color-survey-center), var(--color-survey-edge) 72%);
}
.survey-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.survey-mark { display: none; }  /* source for the alpha mark survey.js draws at the record; never shown itself */
.survey-toggle {
  position: absolute; top: var(--space-2); right: var(--space-2); width: 2.5rem; height: 2.5rem; padding: 0;
  display: grid; place-items: center; cursor: pointer; color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-bg);
  transition: border-color 0.2s var(--ease);
}
.survey-toggle:hover { border-color: var(--color-border-input); }
.survey-toggle:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.survey-toggle svg { width: 1rem; height: 1rem; fill: currentColor; }
/* Report run (/emissions, the last stacking card; /reporting templates, in a .template-run frame): three screens stacked on one spot that play in order
   once it scrolls into view (data-play-once: data in Assetas, the agency template and year with a press on
   Generate, the generated file), with a row of labels under them lit in step. About 3.5 s and it ends on the last
   screen, so no pause control (WCAG 2.2.2). Held on the first screen until it plays; without JS or with reduced
   motion it shows the last. It fills its .faq-card-shot frame: each screen cropped from its top left corner, so the
   press on Generate lines up. Phones drop the label row, which would wrap and take half the frame. */
.report-run { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; }
.report-run-frames { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: minmax(0, 1fr); min-height: 0; }
.report-run-frames > li { position: relative; grid-area: 1 / 1; min-height: 0; }
.report-run-frames > li:not(:last-child) { opacity: 0; }
.report-run-frames img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.report-run-press { position: absolute; border: 2px solid var(--color-amber); border-radius: var(--radius); opacity: 0; pointer-events: none; }
.report-run-steps { list-style: none; margin: 0; padding: var(--space-2); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1) var(--space-2); border-top: 1px solid var(--color-border); background: var(--color-bg); font-size: var(--text-label); font-weight: 600; color: var(--color-muted); }
.report-run-steps li:not(:last-child)::after { content: "→"; margin-left: var(--space-2); color: var(--color-border-input); }  /* on the label before it, so a wrapped row never starts with an arrow */
.report-run-steps li:last-child { color: var(--color-accent-text); }
@media (max-width: 39.99rem) { .report-run-steps { display: none; } }
.template-run { margin: 0; aspect-ratio: 16 / 11; box-shadow: var(--shadow-soft); }  /* the same frame outside a stacking card: taller for the label row */
.is-armed:not(.is-in) .report-run-frames > li:first-child { opacity: 1; }
.is-armed:not(.is-in) .report-run-frames > li:last-child { opacity: 0; }
.is-armed:not(.is-in) .report-run-steps li:first-child { color: var(--color-accent-text); }
.is-armed:not(.is-in) .report-run-steps li:last-child { color: var(--color-muted); }
.is-in .report-run-frames > li:nth-child(1) { animation: report-first 1.8s 0.4s var(--ease) both; }
.is-in .report-run-frames > li:nth-child(2) { animation: report-mid 1.9s 1.9s var(--ease) both; }
.is-in .report-run-frames > li:nth-child(3) { animation: report-last 0.4s 3.5s var(--ease) both; }
.is-in .report-run-press { animation: report-press 0.6s 2.9s var(--ease) both; }
.is-in .report-run-steps li:nth-child(1) { animation: report-label-first 1.8s 0.4s both; }
.is-in .report-run-steps li:nth-child(2) { animation: report-label-mid 1.9s 1.9s both; }
.is-in .report-run-steps li:nth-child(3) { animation: report-label-last 0.4s 3.5s both; }
@keyframes report-first { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes report-mid { 0% { opacity: 0; transform: translateY(var(--space-1)); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes report-last { from { opacity: 0; transform: translateY(var(--space-1)); } to { opacity: 1; transform: none; } }
@keyframes report-press { 0% { opacity: 0; transform: scale(1.25); } 40% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes report-label-first { 0%, 85% { color: var(--color-accent-text); } 100% { color: var(--color-muted); } }
@keyframes report-label-mid { 0% { color: var(--color-muted); } 15%, 85% { color: var(--color-accent-text); } 100% { color: var(--color-muted); } }
@keyframes report-label-last { from { color: var(--color-muted); } to { color: var(--color-accent-text); } }
/* Approach (home "Follow one finding", /workflows; after the Carrington "Our Approach" section): one rounded block, a navy panel
   over a dimmed field photo pinned on the left, and the steps on the right as white cards on light gray. From 64rem
   each card is sticky, a --step-strip lower than the one before (--i), so the next card slides over it and leaves
   its number and title showing: the steps collapse to their titles as the reader scrolls. Below 64rem, a plain
   stack. The block uses overflow: clip, not hidden, so the sticky parts still follow the page. */
.stat-row--formats + .approach { margin-top: var(--space-5); }  /* the rule anatomy above the steps (/workflows) */
.approach { display: grid; overflow: clip; border-radius: var(--radius-lg); background: var(--color-section-alt); }
.approach-lead { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: var(--space-2); padding: var(--space-5) var(--space-4); background: var(--color-dark-deep); color: var(--color-on-dark); }
.approach-photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.approach-lead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, var(--color-dark-deep)); }
.approach-lead .eyebrow { margin: 0; color: var(--color-amber); }
.approach-lead .eyebrow::before { content: none; }
.approach-lead h2 { margin: 0; font-size: var(--text-run); line-height: 1.1; color: var(--color-on-fill); }
.approach-lead p:not(.eyebrow) { margin: 0; max-width: 32rem; font-size: var(--text-lead); color: var(--color-on-dark); }
.approach-lead > .text-action { align-self: start; color: var(--color-on-fill); }
.approach-steps { list-style: none; margin: 0; padding: var(--space-3); display: grid; gap: var(--space-3); }
.approach-step { --num-col: 2.25rem; --num-gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); }  /* the number keeps its own column; the run and the screen share one left edge after it */
.approach-step-head { display: flex; align-items: flex-start; gap: var(--num-gap); }
.approach-num { flex: none; width: var(--num-col); font-family: var(--font-body); font-size: var(--text-h2); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--color-amber-dark); }  /* set like the rule-anatomy words (.stat-row--formats .stat), in dark amber (4.87:1 on white), with a period (Dec 3, 2026) */
.approach-num::after { content: "."; }
.approach-step h3 { margin: 0; font-size: var(--text-h4); line-height: 1.3; color: var(--color-dark); }  /* a headline run: the title, then its line in the softer voice */
.approach-step h3 span { font-weight: 500; color: var(--color-muted); }
.approach-shot { display: block; width: calc(100% - var(--num-col) - var(--num-gap)); max-width: 30rem; height: auto; margin: var(--space-3) 0 0 calc(var(--num-col) + var(--num-gap)); }
video.approach-shot { align-self: start; width: auto; max-width: calc(100% - var(--num-col) - var(--num-gap)); aspect-ratio: 1280 / 722; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-soft); }  /* a screen recording (white on the white card) gets the frame the drawn cards carry in their art, sized from its own ratio so the frame hugs it when the card squeezes its height (/ai) */
/* A screen that scrolls and circles (/ai sentiment): a tall product screen in a frame that pans from its top down
   to one field, draws a hand-drawn amber ring around it, holds, then pans back up (data-loop: 10 s, with a pause
   button). Positions are in the image's own pixels (1340 wide) through cqw, so they track the image at any width:
   at the end the field's center line (--pan-to) sits at --pan-at of the frame's height, whatever that height is,
   and the ring is placed from the same line. Without JS or with reduced motion it shows the end with the ring
   drawn. */
.shot-pan, .shot-seq { --pan-to: 1214; --pan-at: 35%; position: relative; container-type: inline-size; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-soft); background: var(--color-bg); }
.shot-pan img { position: absolute; left: 0; top: var(--pan-at); width: 100%; height: auto; max-width: none; transform: translateY(calc(var(--pan-to) / 1340 * -100cqw)); }
.shot-pan-ring { position: absolute; left: calc(300 / 1340 * 100cqw); top: calc(var(--pan-at) - 48 / 1340 * 100cqw); width: calc(500 / 1340 * 100cqw); height: calc(95 / 1340 * 100cqw); overflow: visible; }
.shot-pan-ring path { fill: none; stroke: var(--color-amber); stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.shot-pan:has(> .loop-toggle) img { animation: shot-pan-scroll 10s var(--ease-in-out) infinite; }
.shot-pan:has(> .loop-toggle) .shot-pan-ring path { animation: shot-pan-ring 10s var(--ease) infinite; }
.shot-pan:is(.is-paused, .is-offscreen) :is(img, .shot-pan-ring path) { animation-play-state: paused; }
.shot-pan .loop-toggle, .shot-seq .loop-toggle { top: auto; bottom: var(--space-2); z-index: 1; }
@keyframes shot-pan-scroll {
  0%, 10% { top: 0%; transform: translateY(0); }
  38%, 86% { top: var(--pan-at); transform: translateY(calc(var(--pan-to) / 1340 * -100cqw)); }
  100% { top: 0%; transform: translateY(0); }
}
@keyframes shot-pan-ring {
  0%, 40% { stroke-dashoffset: 1; opacity: 1; }
  52%, 82% { stroke-dashoffset: 0; opacity: 1; }
  86%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
/* Click-through (.shot-pan--click, /ai permit card): two screens. The first (.shot-pan-a, 1473 wide) pans down to a
   link, which takes a click (.shot-pan-click); the second (.shot-pan-b, 1468 wide) loads over it, pans down to one
   row, and the ring and a note (.shot-pan-note, real text) mark it; then it fades back to the first. 14 s loop.
   Each image's own pixels set where the link and the row sit (--a-to, --b-to: their center lines), and --a-at and
   --pan-at where those lines end in the frame. Without JS or with reduced motion it shows the second screen with
   the ring and the note. */
.shot-pan--click { --a-to: 1222; --a-at: 60%; --b-to: 1280; }
.shot-pan--click .shot-pan-a { top: var(--a-at); transform: translateY(calc(var(--a-to) / 1473 * -100cqw)); }
.shot-pan--click .shot-pan-b { top: var(--pan-at); transform: translateY(calc(var(--b-to) / 1468 * -100cqw)); }
.shot-pan-click { position: absolute; left: calc(300 / 1473 * 100cqw); top: var(--a-at); width: 2.5rem; height: 2.5rem; margin: -1.25rem 0 0 -1.25rem; border: 3px solid var(--color-amber); border-radius: 50%; background: var(--color-amber-glow); opacity: 0; pointer-events: none; }
.shot-pan--click .shot-pan-ring { left: calc(30 / 1468 * 100cqw); top: calc(var(--pan-at) - 44 / 1468 * 100cqw); width: calc(810 / 1468 * 100cqw); height: calc(88 / 1468 * 100cqw); }
.shot-pan-note { position: absolute; left: calc(50 / 1468 * 100cqw); top: calc(var(--pan-at) + 72 / 1468 * 100cqw); max-width: min(30rem, calc(100% - 2 * var(--space-2))); margin: 0; padding: var(--space-1) var(--space-2); border-radius: var(--radius); background: var(--color-dark); color: var(--color-on-fill); font-size: var(--text-small); line-height: 1.4; box-shadow: var(--shadow-soft); }
@container (max-width: 30rem) { .shot-pan-note { max-width: calc(100% - var(--space-4)); padding: 0.25rem var(--space-1); font-size: var(--text-mock); line-height: 1.3; } }  /* a phone-sized frame: the note shrinks with the screen, clear of the pause button */
.shot-pan--click:has(> .loop-toggle) .shot-pan-a { animation: shot-click-a 14s var(--ease-in-out) infinite; }
.shot-pan--click:has(> .loop-toggle) .shot-pan-b { animation: shot-click-b 14s var(--ease-in-out) infinite; }
.shot-pan--click:has(> .loop-toggle) .shot-pan-click { animation: shot-click-tap 14s var(--ease) infinite; }
.shot-pan--click:has(> .loop-toggle) .shot-pan-ring path { animation: shot-click-ring 14s var(--ease) infinite; }
.shot-pan--click:has(> .loop-toggle) .shot-pan-note { animation: shot-click-note 14s var(--ease) infinite; }
.shot-pan--click:is(.is-paused, .is-offscreen) :is(.shot-pan-a, .shot-pan-b, .shot-pan-click, .shot-pan-note) { animation-play-state: paused; }
@keyframes shot-click-a {
  0%, 6% { top: 0%; transform: translateY(0); }
  20%, 90% { top: var(--a-at); transform: translateY(calc(var(--a-to) / 1473 * -100cqw)); }
  91%, 100% { top: 0%; transform: translateY(0); }
}
@keyframes shot-click-tap {
  0%, 22% { opacity: 0; transform: scale(0.4); }
  24% { opacity: 1; transform: scale(1); }
  29%, 100% { opacity: 0; transform: scale(1.8); }
}
@keyframes shot-click-b {
  0%, 29% { opacity: 0; top: 0%; transform: translateY(0); }
  33%, 36% { opacity: 1; top: 0%; transform: translateY(0); }
  52%, 90% { opacity: 1; top: var(--pan-at); transform: translateY(calc(var(--b-to) / 1468 * -100cqw)); }
  100% { opacity: 0; top: var(--pan-at); transform: translateY(calc(var(--b-to) / 1468 * -100cqw)); }
}
@keyframes shot-click-ring {
  0%, 54% { stroke-dashoffset: 1; opacity: 1; }
  62%, 86% { stroke-dashoffset: 0; opacity: 1; }
  90%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes shot-click-note {
  0%, 60% { opacity: 0; transform: translateY(var(--space-1)); }
  65%, 86% { opacity: 1; transform: none; }
  90%, 100% { opacity: 0; transform: none; }
}
/* Screen sequence (.shot-seq, /ai AI Assistant card): the frame of .shot-pan holding screens (.shot-seq-screen, each
   an image with its overlays) stacked in one frame and played in order on a 20 s loop with a pause button: the
   question types into the first screen's prompt (a white mask, .shot-seq-mask, wiped off the screenshot's own text
   in steps), the send button takes a tap (.shot-pan-click), the answer screen fades in and its first sentence is
   marked (.shot-seq-mark), it scrolls to its prompt, where a follow-up types in (.shot-seq-type, real text in the
   app's size), takes a tap, and the last screen fades in. Overlays are placed in % of their screen, read from the
   screenshot's pixels. Without JS or with reduced motion it shows the last screen. */
.shot-seq-screen { position: absolute; left: 0; top: 0; width: 100%; }
.shot-seq-screen img { display: block; width: 100%; height: auto; }
.shot-seq-screen > * { pointer-events: none; }
.shot-seq-screen > :not(img) { position: absolute; }
.shot-seq-1 { top: 100%; transform: translateY(-100%); }
.shot-seq-2 { transform: translateY(-21%); }
.shot-seq-3 { transform: translateY(-18.6%); }
.shot-seq-mask { background: var(--color-bg); clip-path: inset(0 0 0 100%); }
.shot-seq-1 .shot-seq-mask { left: 12.1%; top: 91.06%; width: 71.28%; height: 4.47%; }
.shot-seq-1 .shot-pan-click { left: 85.88%; top: 93.22%; }
.shot-seq-2 .shot-seq-mask { left: 12.2%; top: 92.81%; width: 71.86%; height: 3.18%; display: flex; align-items: center; padding-left: 0.4%; clip-path: none; opacity: 0; }
.shot-seq-2 .shot-pan-click { left: 86.44%; top: 94.27%; }
.shot-seq-type { position: static; white-space: nowrap; font-size: calc(25 / 1475 * 100cqw); color: var(--color-text); clip-path: inset(0 100% 0 0); }
.shot-seq-mark { left: 16.81%; height: 2.29%; background: var(--color-amber); opacity: 0.35; mix-blend-mode: multiply; transform-origin: left center; }
.shot-seq-mark:nth-of-type(1) { top: 35.39%; width: 68.47%; }
.shot-seq-mark:nth-of-type(2) { top: 38.13%; width: 38.24%; }
.shot-seq:has(> .loop-toggle) .shot-seq-1 .shot-seq-mask { animation: seq-type-a 20s linear infinite; }
.shot-seq:has(> .loop-toggle) .shot-seq-1 .shot-pan-click { animation: seq-tap-a 20s var(--ease) infinite; }
.shot-seq:has(> .loop-toggle) .shot-seq-2 { animation: seq-screen-2 20s var(--ease-in-out) infinite; }
.shot-seq:has(> .loop-toggle) .shot-seq-mark:nth-of-type(1) { animation: seq-mark-1 20s var(--ease) infinite; }
.shot-seq:has(> .loop-toggle) .shot-seq-mark:nth-of-type(2) { animation: seq-mark-2 20s var(--ease) infinite; }
.shot-seq:has(> .loop-toggle) .shot-seq-2 .shot-seq-mask { animation: seq-mask-b 20s linear infinite; }
.shot-seq:has(> .loop-toggle) .shot-seq-type { animation: seq-type-b 20s linear infinite; }
.shot-seq:has(> .loop-toggle) .shot-seq-2 .shot-pan-click { animation: seq-tap-b 20s var(--ease) infinite; }
.shot-seq:has(> .loop-toggle) .shot-seq-3 { animation: seq-screen-3 20s var(--ease) infinite; }
.shot-seq:is(.is-paused, .is-offscreen) * { animation-play-state: paused !important; }
@keyframes seq-type-a {
  0%, 4% { clip-path: inset(0 0 0 0); animation-timing-function: steps(46, end); }
  20%, 90% { clip-path: inset(0 0 0 100%); }
  91%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes seq-tap-a {
  0%, 22% { opacity: 0; transform: scale(0.4); }
  23.5% { opacity: 1; transform: scale(1); }
  27%, 100% { opacity: 0; transform: scale(1.8); }
}
@keyframes seq-screen-2 {
  0%, 26% { opacity: 0; top: 0%; transform: translateY(-21%); }
  29%, 50% { opacity: 1; top: 0%; transform: translateY(-21%); }
  56%, 76% { opacity: 1; top: 100%; transform: translateY(-100%); }
  78%, 100% { opacity: 0; top: 0%; transform: translateY(-21%); }
}
@keyframes seq-mark-1 {
  0%, 31% { transform: scaleX(0); }
  35%, 100% { transform: scaleX(1); }
}
@keyframes seq-mark-2 {
  0%, 35% { transform: scaleX(0); }
  38%, 100% { transform: scaleX(1); }
}
@keyframes seq-mask-b {
  0%, 56% { opacity: 0; }
  57%, 100% { opacity: 1; }
}
@keyframes seq-type-b {
  0%, 58% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(45, end); }
  70%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes seq-tap-b {
  0%, 72% { opacity: 0; transform: scale(0.4); }
  73.5% { opacity: 1; transform: scale(1); }
  77%, 100% { opacity: 0; transform: scale(1.8); }
}
@keyframes seq-screen-3 {
  0%, 74% { opacity: 0; }
  77%, 95% { opacity: 1; }
  100% { opacity: 0; }
}
/* Detection photo (.shot-detect, /ai object recognition card): a photo "loads" (fades in from a blur), then the model's
   boxes and their labels appear one tank at a time and hold, on a 10 s loop with a pause button (.shot-seq's frame
   and pause). Boxes and labels are placed in % of the photo, read from the model's output on this photo (border and
   label sizes in 600-wide units, as it drew them), so they scale with it. Without JS or with reduced
   motion it shows the photo with its boxes. */
.shot-seq.shot-detect { aspect-ratio: 768 / 514; }
.shot-detect-box { box-sizing: border-box; border: calc(3 / 600 * 100cqw) solid var(--color-detect); }
.shot-detect-box:nth-of-type(1) { left: 24.17%; top: 22.94%; width: 21.33%; height: 51.37%; }
.shot-detect-box:nth-of-type(2) { left: 44.67%; top: 29.43%; width: 16.5%; height: 42.64%; }
.shot-detect { --detect-text: max(0.6rem, calc(13 / 600 * 100cqw)); }  /* one type size for every label and the stamp on the photo */
.shot-detect-label { padding: 0.2em 0.4em; background: var(--color-detect-label); color: var(--color-on-fill); font-size: var(--detect-text); line-height: 1.2; white-space: nowrap; }  /* sits on its box's top edge, sized by its text */
.shot-detect-label:nth-of-type(3) { left: 24.17%; bottom: 77.06%; }
.shot-detect-label:nth-of-type(4) { left: 44.67%; bottom: 70.57%; }
.shot-detect-stamp { left: var(--space-1); bottom: var(--space-1); padding: 0.15em 0.5em; border-radius: 0.25rem; background: var(--color-detect-stamp); color: var(--color-on-fill); font-size: var(--detect-text); font-variant-numeric: tabular-nums; line-height: 1.3; white-space: nowrap; }  /* the photo's GPS position and time, as the capture stamps it; appears with the first box */
.shot-detect:has(> .loop-toggle) .shot-detect-stamp { animation: detect-stamp 10s var(--ease) infinite; }
@keyframes detect-stamp {
  0%, 16% { opacity: 0; }
  20%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
.shot-detect:has(> .loop-toggle) .shot-seq-screen img { animation: detect-photo 10s var(--ease) infinite; }
.shot-detect:has(> .loop-toggle) .shot-detect-box:nth-of-type(1) { animation: detect-box-1 10s var(--ease) infinite; }
.shot-detect:has(> .loop-toggle) .shot-detect-box:nth-of-type(2) { animation: detect-box-2 10s var(--ease) infinite; }
.shot-detect:has(> .loop-toggle) .shot-detect-label:nth-of-type(3) { animation: detect-label-1 10s var(--ease) infinite; }
.shot-detect:has(> .loop-toggle) .shot-detect-label:nth-of-type(4) { animation: detect-label-2 10s var(--ease) infinite; }
@keyframes detect-photo {
  0% { opacity: 0; filter: blur(12px); transform: scale(1.04); }
  12%, 92% { opacity: 1; filter: none; transform: none; }
  100% { opacity: 0; filter: none; transform: none; }
}
@keyframes detect-box-1 {
  0%, 16% { opacity: 0; transform: scale(1.08); }
  20%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}
@keyframes detect-label-1 {
  0%, 21% { opacity: 0; transform: translateY(25%); }
  24%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}
@keyframes detect-box-2 {
  0%, 27% { opacity: 0; transform: scale(1.08); }
  31%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}
@keyframes detect-label-2 {
  0%, 32% { opacity: 0; transform: translateY(25%); }
  35%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}
.approach-lead .headline-run span { color: var(--color-on-dark); }  /* a run as the panel's head (/ai) */
@media (max-width: 39.99rem) {  /* phones: the number above the run, so the text, rows, and screen take the card's full width */
  .approach-steps { padding: var(--space-2); gap: var(--space-2); }
  .approach-step { --num-col: 0px; --num-gap: 0px; padding: var(--space-3); }
  .approach-step-head { flex-direction: column; gap: var(--space-1); }
  .approach-num { width: auto; }
}
/* Wide cards (/ai): the panel is a band across the top and the cards run full width under it, so each card's screen
   or recording runs from the run's left edge to the card's right edge, as large as the card allows. The cards grow
   to 48rem, but never past the bottom of the screen where they stick, so a stacked card always ends at the same
   line and none shows beneath another. A stacked card shows only its top edge (--step-strip: a deck, not a list of
   titles), so every card keeps almost the full height for its screen; each screen scales to the room left under
   the run (contain, top left). */
.approach.approach--wide-cards { --step-strip: var(--space-2); }  /* over .approach--tight */
.approach--wide-cards .approach-shot { width: calc(100% - var(--num-col) - var(--num-gap)); max-width: none; }
.approach--wide-cards video.approach-shot { aspect-ratio: 1280 / 742; padding-bottom: 1.6%; background: var(--color-bg); }  /* a white band under the recording (in % of the width, so it scales), as deep as the gap above its title, so the axis dates clear the frame; the ratio counts the band, so the frame still hugs it */
@media (min-width: 64rem) {
  .approach.approach--wide-cards { grid-template-columns: minmax(0, 1fr); }
  .approach--wide-cards .approach-lead { position: relative; top: auto; min-height: 22rem; margin: var(--space-3) var(--space-3) 0; padding: var(--space-5); }
  .approach--wide-cards .approach-lead h2 { max-width: 40rem; }
  .approach--wide-cards .approach-photo { left: -35%; width: 135%; max-width: none; object-position: 60% 45%; }  /* wider than the band and set right, so the chart's axis labels fall off its left edge */
  .approach--wide-cards .approach-step { height: min(48rem, calc(100vh - var(--sticky-top) - 2 * var(--space-3) - var(--i) * var(--step-strip))); overflow: clip; }
  .approach--wide-cards .approach-step:last-child { height: calc(min(48rem, 100vh - var(--sticky-top) - 2 * var(--space-3) - var(--i) * var(--step-strip)) + var(--space-4) * 2); }  /* taller by the strip that covers the cards behind when the stack unpins... */
  .approach--wide-cards .approach-step:last-child > .approach-shot { margin-bottom: calc(var(--space-4) * 2); }  /* ...and its screen ends above that strip, at the same line as the others, so it stays whole on screen while pinned */
  .approach--wide-cards .shot-seq.shot-detect { align-self: start; width: auto; max-width: calc(100% - var(--num-col) - var(--num-gap)); aspect-ratio: 768 / 514; }  /* its height from the room left, its width from the photo's ratio, so the frame hugs it */
  .approach--wide-cards :is(.shot-pan, .shot-seq) { aspect-ratio: auto; min-height: 12rem; }  /* the frame takes the room left under the run, and the pan covers what it cannot show */
  .approach--wide-cards video.approach-shot { width: auto; max-width: calc(100% - var(--num-col) - var(--num-gap)); }  /* its height from the room left, its width from the ratio, so the frame hugs it */
}
/* A phone screen (/trek): set in a phone frame (a thin silver bezel with rounded corners, padded inside so the rounded corners never clip the screen) at a fixed width. Side by side
   (64rem and up), where the card's height is fixed, the phone runs past the card's bottom edge and is cut off there,
   so the screen stays wide; below that the whole phone shows. */
.approach-step > .approach-shot--phone { flex: none; align-self: start; width: min(19rem, calc(100% - var(--num-col) - var(--num-gap))); max-width: none; height: auto; object-fit: initial; padding: 0.5rem 0.5rem 0; border: 0.3rem solid var(--color-device-silver); border-radius: 2rem; background: var(--color-device-silver); box-shadow: var(--shadow-soft); }
@media (min-width: 64rem) {
  .approach-step:has(> .approach-shot--phone) { overflow: clip; padding-bottom: 0; }
  .approach-step:has(> .approach-shot--phone):last-child { padding-bottom: calc(var(--space-4) * 2); }
  .approach-step > .approach-shot--phone { width: min(21rem, calc(100% - var(--num-col) - var(--num-gap))); }
}
.approach--tight { --step-strip: var(--step-strip-tight); }  /* five or more steps: stacked cards show only their number and first line, so the later ones still fit a laptop screen */
.approach--tight .approach-num { margin-top: -0.5rem; }  /* raised to the title's cap height, so the digit ends inside the strip */
/* Optional, between the run and the screen (/ai): what the step reads and returns, then a link to its module */
.approach-io { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2rem var(--space-2); margin: var(--space-2) 0 0 calc(var(--num-col) + var(--num-gap)); font-size: var(--text-small); }
.approach-io dt { font-weight: 600; color: var(--color-text); }
.approach-io dd { margin: 0; color: var(--color-muted); }
.approach-step > .text-action { align-self: start; margin: var(--space-1) 0 0 calc(var(--num-col) + var(--num-gap)); font-size: var(--text-small); }
@media (min-width: 64rem) {
  .approach { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .approach--solo { grid-template-columns: minmax(0, 1fr); }  /* steps only, no lead panel (/workflows) */
  .approach-lead { position: sticky; top: calc(var(--sticky-top) + var(--space-3)); align-self: start; min-height: calc(100vh - var(--sticky-top) - 2 * var(--space-3)); margin: var(--space-3) 0 var(--space-3) var(--space-3); border-radius: var(--radius); padding: var(--space-5); }
  .approach-steps { padding: var(--space-4); gap: var(--space-4); }
  /* One height for every card, so a card stacked over a taller one never lets the taller one show beneath it;
     each screen scales to the room left under its line */
  .approach-step { position: sticky; top: calc(var(--sticky-top) + var(--space-3) + var(--i) * var(--step-strip)); display: flex; flex-direction: column; height: 36rem; }
  .approach-shot { flex: 1 1 auto; min-height: 0; object-fit: contain; object-position: left top; }
  /* The last card is taller by the room the others leave below it, so when the stack unpins at the end of the
     section its bottom still covers the cards behind it */
  .approach-step:last-child { height: calc(36rem + var(--space-4) * 2); }
}

/* Horizontal stack (/forms "One form engine"; static/js/hstack.js), after Stripe's "What's happening": arrows above,
   then one row of panels. The active one takes the room left over, with its caption (a headline run) under it; the
   panels after it narrow to slivers on its right (data-d 1, 2, 3+), and the ones before it collapse to nothing on the
   left, so stepping forward slides the row along. Each stage is a tinted gradient (--tone-a, --tone-b) holding one
   product screen (the phone screens 848 px wide, centered at one fixed width and cut off by the stage's bottom edge;
   a desktop screen, --wide, sits left and runs off the bottom); a sliver shows its screen's top left corner. A sliver is a button that brings its panel forward. Without the script the
   panels run as a row of equal cards that scrolls sideways, every caption showing. */
.hstack-track { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-2); overflow-x: auto; scroll-snap-type: x mandatory; }
.hstack-slide { flex: 0 0 min(85%, 30rem); min-width: 0; scroll-snap-align: start; }
.hstack-stage { position: relative; display: block; width: 100%; height: clamp(22rem, 18rem + 18vw, 36rem); padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-lg); cursor: pointer; font: inherit;
  background: radial-gradient(26rem 20rem at 85% 0%, color-mix(in srgb, var(--color-amber-light) 45%, transparent), transparent 70%),
              linear-gradient(160deg, var(--tone-a, var(--color-chart-highlight)), var(--tone-b, var(--color-brand))); }
.hstack-shot { position: absolute; left: 50%; top: var(--space-5); width: clamp(16rem, 6rem + 22vw, 28rem);  /* tall enough that even the shortest screen (848 x 1077) runs off the stage's bottom */ max-width: none; height: auto; transform: translateX(-50%); border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow-float); }
.hstack-shot--wide { left: var(--space-5); width: clamp(22rem, 10rem + 55vw, 60rem); transform: none; }  /* a desktop screen: sits left and runs off the bottom */
.hstack-caption { margin: var(--space-3) 0 0; max-width: 44rem; font-size: var(--text-lead); line-height: 1.4; color: var(--color-muted); }
.hstack-caption b { font-weight: 600; color: var(--color-text); }
.hstack.is-live .rail-controls { margin-bottom: var(--space-3); }
.hstack.is-live .hstack-track { gap: 0; overflow: hidden; scroll-snap-type: none; }
.hstack.is-live .hstack-slide { flex: 0 0 var(--w, 0px); margin-right: var(--space-2); overflow: hidden; transition: flex-basis 0.7s var(--ease), flex-grow 0.7s var(--ease), margin 0.7s var(--ease); }
.hstack.is-live .hstack-slide[data-d="0"] { flex: 1 1 0; }
.hstack.is-live .hstack-slide[data-d^="-"] { --w: 0px; margin-right: 0; }
.hstack.is-live .hstack-slide[data-d="1"] { --w: clamp(3rem, 14vw, 18rem); }
.hstack.is-live .hstack-slide[data-d="2"] { --w: clamp(1.5rem, 6vw, 8rem); }
.hstack.is-live .hstack-slide[data-d="3"] { --w: 1rem; }
.hstack.is-live .hstack-slide:last-child { margin-right: 0; }
/* A sliver shows its screen's top left corner (the app bar and title), not a slice from the middle; the screen slides
   to center as its panel opens */
.hstack.is-live .hstack-shot { transition: left 0.7s var(--ease), transform 0.7s var(--ease); }
.hstack.is-live .hstack-slide:not([data-d="0"]) .hstack-shot { left: var(--space-3); transform: none; }
@media (max-width: 39.99rem) {  /* phones: one thin sliver, so the active panel keeps room for its screen and caption */
  .hstack.is-live .hstack-slide[data-d="1"] { --w: 2rem; }
  .hstack.is-live .hstack-slide:is([data-d="2"], [data-d="3"]) { --w: 0px; margin-right: 0; }
  .hstack.is-live .hstack-slide[data-d="1"]:not(:last-child) { margin-right: 0; }
  .hstack.is-live .hstack-slide:not([data-d="0"]) .hstack-shot { left: var(--space-1); }
}
.hstack.is-live .hstack-slide[data-d="0"] .hstack-stage { cursor: default; }
.hstack.is-live .hstack-stage:focus-visible { outline-offset: -4px; }
/* The caption keeps the active panel's width while it opens, so it doesn't rewrap; on slivers it's hidden */
.hstack.is-live .hstack-caption { min-width: min(44rem, 70vw); transition: opacity 0.4s var(--ease) 0.3s; }
.hstack.is-live .hstack-slide:not([data-d="0"]) .hstack-caption { opacity: 0; visibility: hidden; transition: none; }
@media (prefers-reduced-motion: reduce) { .hstack.is-live .hstack-slide, .hstack.is-live .hstack-caption, .hstack.is-live .hstack-shot { transition: none; } }

/* Registry stage (/compliance "One registry for every obligation"), after the home engine hero: a field photo of a tank
   with the asset's record card on it. The card is one glass panel: the source asset on top, then its linked records in
   groups down a cyan spine (a ring on the spine at each group's tag), every group set the same way: a cyan tag with a
   muted note, then rows of a muted label, a bar or not, and a white figure with a muted unit. From 64rem the card sits on the photo at --x/--y/--w (percent of the photo), sized in
   cqw so it scales with it; below that it stacks under the photo. With data-play-once, on scroll-in (from 64rem): the
   card rises, the spine grows and the groups follow down it (--d), the bars fill, and the figures count up (.stat,
   menu.js). Under 5 s and once, so no pause button. Without JS or with reduced motion, all shown at once. */
.registry { margin: 0; display: grid; gap: var(--space-2); }
.registry-note { margin: 0; max-width: 46rem; font-size: var(--text-label); line-height: 1.6; color: var(--color-muted); }  /* a footnote under the card (/telemetry) */
.registry-photo { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.registry-card { padding: var(--space-3); border: 1px solid var(--color-hud-line); border-radius: var(--radius); background: var(--color-dark); color: var(--color-on-fill); line-height: 1.4; }
.registry-card p { margin: 0; }
.registry-tag { font-size: 0.85em; font-weight: 600; letter-spacing: 0.02em; color: var(--color-hud-link); }
.registry-tag span { display: block; font-weight: 400; letter-spacing: 0; color: var(--color-on-dark-muted); }
.registry-tag b, .registry-rows b { font: inherit; font-size: 1.2em; font-weight: 800; letter-spacing: normal; line-height: inherit; color: var(--color-on-fill); }  /* also resets .stat's big-number style */
.registry-name { font-size: 1.35em; font-weight: 700; line-height: 1.25; }
.registry-sub { font-size: 0.85em; color: var(--color-on-dark-muted); }
.registry-head { padding-bottom: 0.9em; border-bottom: 1px solid var(--color-hud-line); }
/* The spine: a cyan line down the left of the groups, from the first ring to the last */
.registry-groups { position: relative; list-style: none; margin: 0; padding: 0 0 0 1.5em; }
.registry-groups::before { content: ""; position: absolute; left: 0.3em; top: 1.6em; bottom: 1.6em; width: 2px; border-radius: 1px; background: var(--color-hud-link); transform-origin: 50% 0; }
.registry-group { position: relative; padding: 0.9em 0 0.3em; }
.registry-group + .registry-group { border-top: 1px solid var(--color-hud-band); }
.registry-group::before { content: ""; position: absolute; left: -1.55em; top: 1.2em; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--color-dark); box-shadow: inset 0 0 0 2px var(--color-hud-link); }
/* Every row type shares one set of columns (--cols): label, bar, figure. The inventory puts its three figures in
   those columns, and the flare status answers in the bar column, so everything lines up down the card. */
.registry-card { --cols: minmax(0, 1fr) minmax(4.5em, 0.8fr) 5.6em; }
.registry-rows { list-style: none; margin: 0.55em 0 0; padding: 0; display: grid; gap: 0.35em; font-size: 0.9em; }
.registry-rows li { display: grid; grid-template-columns: var(--cols); gap: 0.8em; align-items: center; color: var(--color-on-dark-muted); }
.registry-rows li > :last-child { white-space: nowrap; }
/* --chips: the inventory's three figures side by side in the shared columns, each a label over its figure */
.registry-rows--chips { grid-template-columns: var(--cols); gap: 0.35em 0.8em; }
.registry-rows--chips li { grid-template-columns: none; gap: 0; align-content: start; }
/* --flag: one label, and its answer in the bar column */
.registry-bar { height: 0.5em; border-radius: var(--radius-pill); background: var(--color-hud-band); overflow: hidden; }
.registry-bar > span { display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: inherit; background: var(--color-hud-link); transform-origin: 0 50%; }
@media (min-width: 64rem) {
  .registry { position: relative; display: block; container-type: inline-size; }
  .registry-card { --cols: 8.4em minmax(0, 1fr) 6.6em; }
  .registry-note { position: absolute; left: var(--x); bottom: 7%; width: var(--w); }
  .registry-card { position: absolute; left: var(--x); top: var(--y); width: var(--w); padding: 1.4cqw 1.5cqw 1.1cqw; font-size: 1.1cqw; background: var(--color-hud-fill); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
@media (min-width: 64rem) and (prefers-reduced-motion: no-preference) {  /* the stacked phone layout shows at once */
  .registry.is-armed:not(.is-in) :is(.registry-card, .registry-group) { opacity: 0; }
  .registry.is-armed:not(.is-in) .registry-groups::before { scale: 1 0; }
  .registry.is-in .registry-card { animation: engine-rise 0.6s 0.1s var(--ease) both; }
  .registry.is-in .registry-groups::before { animation: registry-spine 0.9s 0.4s var(--ease) both; }
  .registry.is-in .registry-group { animation: engine-rise 0.5s var(--d, 0s) var(--ease) both; }
  .registry.is-in .registry-bar > span { animation: engine-fill 0.9s calc(var(--d, 0s) + 0.3s) var(--ease) both; }
}
@keyframes registry-spine { from { scale: 1 0; } }
/* Chart stage (/telemetry "Drowning in data?"): the registry stage with a drawn chart (an inline SVG,
   .registry-chart) in place of the photo: five months of one reading on an ice wash, the expected range as a dark gray
   candlestick, its three values beside it, at the flagged month, and the flagged reading as an amber dot in a ring. The card is that reading's record,
   its alert bar and answer in amber. The chart leaves its left third clear for the card; below 64rem, where the
   card stacks under it, the SVG crops to its right part (xMaxYMid slice). With data-play-once (from 64rem): as the
   card rises, the line draws left to right, the band follows, and the flag lands last, once, in under 3 s. */
.registry-chart { aspect-ratio: 720 / 667; border: 1px solid var(--color-border); background: linear-gradient(180deg, var(--color-surface), var(--color-bg) 85%); }
@media (min-width: 64rem) { .registry-chart { aspect-ratio: 1200 / 667; } }
.registry-chart text { font-family: var(--font-body); font-size: 26px; font-weight: 600; fill: var(--color-muted); }  /* in viewBox units: larger while the crop shows the chart small */
.rc-grid line { stroke: var(--color-border); stroke-width: 1; }
.rc-axis text { font-size: 22px; }
@media (min-width: 64rem) { .registry-chart text { font-size: 15px; } .rc-axis text { font-size: 13px; } }
.rc-months .is-flag { fill: var(--color-text); font-weight: 800; }
/* The expected range as a candlestick: the wick and its caps span the range (280.09–327.82, three spreads either
   side of expected), the body one spread either side (296.0–311.9), and the tick in the body is the expected value. */
.rc-band rect { fill: color-mix(in srgb, var(--color-body) 14%, var(--color-bg)); stroke: var(--color-body); stroke-width: 1.5; }
.rc-band line { stroke: var(--color-body); stroke-width: 2; stroke-linecap: round; }
.rc-band .rc-mid { stroke-width: 2.5; stroke-linecap: butt; }
.rc-band text { fill: var(--color-body); font-weight: 700; }
.rc-band-values text { font-weight: 600; }
.rc-band > text { font-size: 20px; translate: 0 -6px; }  /* phones: clear of the upper value */
.rc-band-values text { font-size: 16px; }  /* beside the caps and the tick, flush left: upper, expected, lower */
@media (min-width: 64rem) { .rc-band > text { font-size: 12px; translate: 0 6px; } .rc-band-values text { font-size: 11px; } }
.rc-line { fill: none; stroke: var(--color-brand); stroke-width: 3; stroke-linejoin: round; }
.rc-points circle { fill: var(--color-bg); stroke: var(--color-brand); stroke-width: 3; }
.rc-ring { fill: color-mix(in srgb, var(--color-amber) 25%, transparent); stroke: var(--color-amber); stroke-width: 2; }
.rc-dot { fill: var(--color-amber); stroke: var(--color-text); stroke-width: 2; }
.rc-flag text { fill: var(--color-text); font-weight: 800; }
.rc-flag { transform-box: fill-box; transform-origin: 0 50%; }
.registry-bar--alert > span { background: var(--color-amber); }
.registry-rows--alert b { color: var(--color-amber); }
/* The chart card takes the /telemetry intake card's look (near-black fill, banded glow), with no spine: its groups
   sit flush left. */
.registry--chart .registry-card { background: color-mix(in srgb, var(--color-dark-night) 94%, transparent); border-radius: var(--radius-lg); box-shadow: 0 0 0 0.4rem var(--color-hud-band), 0 0 3rem var(--color-hud-glow); }
.registry--chart .registry-groups { padding-left: 0; }
.registry--chart :is(.registry-groups, .registry-group)::before { content: none; }
.registry--chart .registry-sub + .registry-sub { margin-top: 0.15em; }
@media (min-width: 64rem) and (prefers-reduced-motion: no-preference) {
  .registry.is-armed:not(.is-in) :is(.rc-line, .rc-points, .rc-band, .rc-flag) { opacity: 0; }
  .registry.is-in .rc-line { stroke-dasharray: 1; animation: rc-draw 1.4s 0.5s var(--ease) both; }
  .registry.is-in .rc-points { animation: engine-rise 0.5s 0.5s var(--ease) both; }
  .registry.is-in .rc-band { animation: engine-rise 0.6s 1.3s var(--ease) both; }
  .registry.is-in .rc-flag { animation: rc-pop 0.5s 1.8s var(--ease) both; }
}
@keyframes rc-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rc-pop { from { opacity: 0; scale: 0.6; } }

/* Burst (/compliance "Captured once. Delivered everywhere it's owed."; static/js/burst.js), after Stripe's ray fan: a
   wide panel with a warm amber core at the bottom center fading through light blue to white, the source asset as a
   navy pill at the core, and the canvas rays above it. The script places the destination labels at their rays' tips
   (.is-live, from 35rem); without it, or on phones, they wrap in a row near the top. The data-loop pause button sits
   top right. Above it, the formats in a stat row of words (--formats: centered under a centered head, after Stripe: light (300)
   figures in navy, small muted lines, no dividers, a hairline above and below the row). */
.stat-row--formats { margin-top: var(--space-4); padding-block: var(--space-4); border-block: 1px solid var(--color-border); text-align: center; }
.stat-row--formats li { padding: 0 var(--space-2); border-left: 0; }
.stat-row--formats .stat { margin-bottom: var(--space-1); font-family: var(--font-body); font-size: var(--text-h2); font-weight: 300; letter-spacing: -0.03em; color: var(--color-text); }
.stat-row.stat-row--formats p:not(.stat):not(.stat-source) { margin-inline: auto; max-width: 16rem; font-size: var(--text-small); line-height: 1.45; color: var(--color-muted); }
.stat-row--formats.stat-row--start { text-align: start; }
.stat-row--formats.stat-row--start li { padding-inline: 0 var(--space-3); }
.stat-row.stat-row--formats.stat-row--start p:not(.stat):not(.stat-source) { margin-inline: 0; }  /* left-aligned words row (/workflows, Dec 3, 2026) */
.burst { position: relative; margin: var(--space-4) 0 0; height: clamp(24rem, 18rem + 18vw, 36rem); overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(ellipse 30% 55% at 50% 100%, var(--color-amber-light), color-mix(in srgb, var(--color-amber-light) 55%, transparent) 45%, transparent 75%),
              radial-gradient(ellipse 70% 105% at 50% 100%, color-mix(in srgb, var(--color-chart-highlight) 55%, transparent), color-mix(in srgb, var(--color-chart-highlight) 20%, transparent) 60%, transparent 85%),
              var(--color-bg); }
.burst-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.burst-source { position: absolute; z-index: 1; left: 50%; bottom: var(--space-3); margin: 0; display: flex; align-items: center; gap: 0.6em; padding: 0.55em 1.2em 0.55em 0.8em; transform: translateX(-50%); border-radius: var(--radius-pill); background: var(--color-dark); color: var(--color-on-fill); font-weight: 700; white-space: nowrap; box-shadow: 0 0 0 0.4em color-mix(in srgb, var(--color-amber-light) 55%, transparent); }
.burst-source-dot { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--color-amber); }
.burst-ends { position: absolute; z-index: 1; left: var(--space-2); right: var(--space-2); top: var(--space-3); list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1); }
.burst-ends li { padding: 0.3em 0.85em; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-bg); font-size: var(--text-small); font-weight: 600; color: var(--color-text); white-space: nowrap; }
.burst.is-live .burst-ends { inset: 0; display: block; }
.burst.is-live .burst-ends li { position: absolute; transform: translate(-50%, calc(-100% - 0.7em)); }
.burst .loop-toggle { top: var(--space-2); right: var(--space-2); z-index: 2; }
.burst-link { margin: var(--space-3) 0 0; text-align: center; }
/* Intake (/telemetry "Every process instrumentation & sensor tag links to one asset"): a dark scope panel, after the mesh hero. One lane per source,
   its name and how it arrives on the left and its own kind of signal on the right, in its own tone (a steady wave,
   a spiky trace, monthly steps, batched rows of points, the odd hand entry with its tick). From 48rem the lanes'
   ends run into curves that merge on the asset's record card (.intake-merge, stretched to the lanes' height so
   each curve meets its lane's center line), with an amber pulse riding each curve in. Each lane ends in a lit port
   (.intake-feed::after) and its curve leaves in the lane's tone, fading to the shared line color (the --tone-n stops)
   by the time it reaches the card. Each signal is drawn from -400
   to 400 and repeats every 400, so sliding it right by 400 loops without a seam. The panel takes data-loop: the
   signals scroll and the pulses run only once the pause button exists (never without JS
   or with reduced motion), and hold while paused or offscreen. Below 48rem the lanes stack over the card. */
.intake { position: relative; isolation: isolate; margin: var(--space-4) 0 0; display: grid; gap: var(--space-3); padding: var(--space-5) var(--space-3) var(--space-3); border-radius: var(--radius-lg); color: var(--color-on-fill); overflow: hidden;
  --tone-1: var(--color-hud-link); --tone-2: color-mix(in srgb, var(--color-hud-link) 55%, var(--color-on-fill)); --tone-3: var(--color-chart-highlight); --tone-4: var(--color-on-dark); --tone-5: var(--color-amber);
  background:
    linear-gradient(var(--color-hud-band) 1px, transparent 1px) 0 0 / 100% var(--space-4),
    linear-gradient(90deg, var(--color-hud-band) 1px, transparent 1px) 0 0 / var(--space-4) 100%,
    radial-gradient(46% 70% at 86% 50%, color-mix(in srgb, var(--color-brand) 38%, transparent), transparent 72%),
    linear-gradient(160deg, var(--color-dark) 0%, var(--color-dark-night) 100%); }
.intake-feeds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(5, 1fr); gap: 0; }
.intake-feed { --tone: var(--tone-1); position: relative; display: grid; align-items: center; gap: var(--space-1); padding-block: var(--space-2); border-bottom: 1px dashed var(--color-hud-band); }  /* phones: the name over its signal */
.intake-feed:last-child { border-bottom: 0; }
.intake-feed.is-iiot { --tone: var(--tone-2); }
.intake-feed.is-accounting { --tone: var(--tone-3); }
.intake-feed.is-sheets { --tone: var(--tone-4); }
.intake-feed.is-hand { --tone: var(--tone-5); }
.intake-label { margin: 0; font-weight: 700; line-height: 1.25; color: var(--color-on-fill); }
.intake-label span { display: block; margin-top: 0.15em; font-size: var(--text-small); font-weight: 500; color: var(--color-on-dark-muted); }
.intake-wave { display: block; width: 100%; height: 3rem; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%); mask: linear-gradient(90deg, transparent, #000 12%); }
.intake-base { stroke: var(--color-hud-band); stroke-width: 1; vector-effect: non-scaling-stroke; }
.intake-signal { fill: none; stroke: var(--tone); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.intake-signal .intake-dots { fill: var(--tone); stroke: none; }
.intake-signal .intake-ticks line { stroke: var(--tone); stroke-width: 1.5; }
.intake-merge { display: none; }
.intake-stop-1 { stop-color: var(--tone-1); }
.intake-stop-2 { stop-color: var(--tone-2); }
.intake-stop-3 { stop-color: var(--tone-3); }
.intake-stop-4 { stop-color: var(--tone-4); }
.intake-stop-5 { stop-color: var(--tone-5); }
.intake-stop-end { stop-color: var(--color-hud-line); }
.intake-curve { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.intake-pulse { display: none; fill: none; stroke: var(--color-amber); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.07 1.2; vector-effect: non-scaling-stroke; }
.intake-asset { position: relative; align-self: center; text-align: left; padding: var(--space-3); border: 1px solid var(--color-hud-line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--color-dark-night) 94%, transparent); box-shadow: 0 0 0 0.4rem var(--color-hud-band), 0 0 3rem var(--color-hud-glow); }
.intake-asset p { margin: 0; }
.intake-asset-name { padding-right: 2.5rem; font-size: var(--text-lead); font-weight: 700; }  /* clear of the mark */
.intake-mark { position: absolute; top: var(--space-3); right: var(--space-3); width: 1.75rem; height: auto; }  /* the Assetas alpha mark, upper right */
.intake-asset .intake-asset-sub { margin-top: 0.2em; font-size: var(--text-small); color: var(--color-on-dark-muted); }
.intake-tags { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-1); font-size: var(--text-label); }
.intake-tags li { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.2em var(--space-1); padding: 0.45em 0.7em; border: 1px solid var(--color-hud-band); border-radius: var(--radius); }
.intake-tags b { font-weight: 700; overflow-wrap: anywhere; }
.intake-tags span { color: var(--color-hud-link); font-weight: 600; }
.intake-tags strong { color: var(--color-on-fill); font-weight: 700; }  /* the reading, before its unit */
.intake-asset .intake-last { margin-top: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--color-hud-band); font-size: var(--text-small); color: var(--color-on-dark-muted); }
.intake-last b { color: var(--color-on-fill); }
.intake .loop-toggle { top: var(--space-2); right: var(--space-2); z-index: 2; }
@media (min-width: 48rem) {
  .intake { grid-template-columns: minmax(0, 1.35fr) minmax(3rem, 0.45fr) minmax(15rem, 0.9fr); gap: 0; padding: var(--space-5) var(--space-4); }
  .intake-merge { display: block; width: 100%; height: 100%; contain: size; }  /* sized by the lanes, not by its viewBox */
  .intake-feed { grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--space-2); min-height: 4.5rem; padding-block: 0; }
  .intake-feed::after { content: ""; position: absolute; top: 50%; right: -0.4rem; width: 0.8rem; height: 0.8rem; margin-top: -0.4rem; border: 2px solid var(--tone); border-radius: 50%; background: var(--color-dark-night); box-shadow: 0 0 0.8rem var(--tone); }  /* the port where the lane hands off to its curve */
  .intake-wave { -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 90%, transparent 99%); mask: linear-gradient(90deg, transparent, #000 12%, #000 90%, transparent 99%); }  /* fades into the port */
  @media (min-width: 64rem) { .intake-feed { grid-template-columns: 13rem minmax(0, 1fr); } }  /* room for "Production accounting" on one line */
}
.intake:has(> .loop-toggle) .intake-signal { animation: intake-scroll var(--d) linear infinite; }
.intake:has(> .loop-toggle) .intake-pulse { display: inline; animation: intake-pulse var(--d) linear var(--o) infinite; }
.intake:is(.is-paused, .is-offscreen) :is(.intake-signal, .intake-pulse) { animation-play-state: paused; }
@keyframes intake-scroll { from { transform: translateX(0); } to { transform: translateX(400px); } }
@keyframes intake-pulse { from { stroke-dashoffset: 0.07; } to { stroke-dashoffset: -1.13; } }

/* Program grid (/compliance "Compliance work we've done"): a compact grid of white tiles on the gray band, one per
   compliance program, each with its icon (a menu icon as a brand-blue mask), name, and one line. Four across from
   64rem, two from 40rem, one on phones. */
.program-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
@media (min-width: 40rem) { .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .program-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .program-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }  /* six tiles in two even rows (/reporting security) */
.program-tile { padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); }
.program-tile .rail-card-glyph { width: var(--space-4); height: var(--space-4); margin-bottom: var(--space-2); }
.program-tile h3 { margin: 0 0 var(--space-1); font-size: var(--text-lead); line-height: 1.3; }
.program-tile p { margin: 0; font-size: var(--text-small); color: var(--color-muted); }
/* View rail (/reporting "One definition, eight views"; a .rail of .program-tile cards, so rail.js adds the arrows, arrow
   keys, and mouse drag): each tile led by a drawing of its view in place of the icon, an inline SVG on one 160 x 90
   grid (a white sheet on an ice ground), sample shapes only. The .va-* classes color its parts from the tokens: rules
   and cells, gray ink, the highlight blue, brand blue for totals and pins, amber for the one thing due today. */
.rail--views .rail-track { list-style: none; margin-block: 0; grid-auto-columns: minmax(15rem, 19rem); gap: var(--space-2); }
.rail--views .program-tile { padding: var(--space-2) var(--space-2) var(--space-3); }
.rail--views .program-tile :is(h3, p) { padding-inline: var(--space-1); }
.view-art { display: block; width: 100%; height: auto; margin-bottom: var(--space-2); border-radius: var(--radius); background: var(--color-surface); }
.va-paper { fill: var(--color-bg); stroke: var(--color-border); stroke-width: 1; }
.va-rule { fill: var(--color-border); }
.va-line { fill: var(--color-border-input); }
.va-ink { fill: var(--color-chart); }
.va-dark { fill: var(--color-border-input); }
.va-hi { fill: var(--color-chart-highlight); }
.va-brand { fill: var(--color-accent); }
.va-amber { fill: var(--color-amber); }
.va-contour path { fill: none; stroke: var(--color-border); stroke-width: 1.5; }
.va-pin circle { stroke: var(--color-bg); stroke-width: 2; }
.va-arrow { fill: none; stroke: var(--color-border-input); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.va-spark { fill: none; stroke: var(--color-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.va-num { font-family: var(--font-body); font-size: 36px; font-weight: 700; letter-spacing: -0.03em; fill: var(--color-text); }

/* Spec sheet (/security "Controls, layer by layer", /trek "What Trek runs on", /reporting "Read the query
   before you trust it"): a technical sheet for the reviewer who wants the specifics. A <dl> of rows (.spec-row, a div around
   each dt and dd), split by hairline rules under one strong rule: the term in navy, with an optional standard or
   note under it (dt span), beside its detail, a sentence or a list of facts on amber ticks. The term takes a left
   column from 48rem. On navy (.section--dark) it reads light. --code (/reporting) sets each fact as a query line on
   an ice chip, for the filters the report AI writes. .spec-card-prompt quotes a prompt on an ice strip with a
   blue rule (/reporting bento). */
.spec-sheet { margin: 0; border-top: 2px solid var(--color-rule); }
.spec-row { display: grid; gap: var(--space-1) var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); }
@media (min-width: 48rem) { .spec-row { grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr); } }
.spec-row dt { margin: 0; font-weight: 600; line-height: 1.35; color: var(--color-text); }
.spec-row dt span { display: block; margin-top: 0.25rem; font-size: var(--text-small); font-weight: 400; color: var(--color-muted); }
.spec-row dd { margin: 0; color: var(--color-body); }
.spec-row dd ul:not(.tags) { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.spec-row dd ul:not(.tags) > li { position: relative; padding-left: var(--space-3); }
.spec-row dd ul:not(.tags) > li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: var(--space-2); height: 2px; border-radius: var(--radius-pill); background: var(--color-amber); }
.section--dark .spec-sheet { border-top-color: var(--color-on-fill-line); }
.section--dark .spec-row { border-bottom-color: var(--color-on-fill-line); }
.section--dark .spec-row dt { color: var(--color-on-fill); }
.section--dark .spec-row dt span { color: var(--color-on-dark-muted); }
.section--dark .spec-row dd { color: var(--color-on-dark); }
.spec-sheet--code .spec-row { padding: var(--space-2) 0; }
.spec-sheet--code dd ul:not(.tags) > li { padding-left: 0; }
.spec-row dd .tags { margin: 0; }
.spec-sheet--code dd ul:not(.tags) > li::before { content: none; }
.spec-sheet--code code { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 0.4rem; background: var(--color-surface); font-family: var(--font-body); font-size: var(--text-small); font-feature-settings: "tnum"; color: var(--color-text); }
.spec-sheet--code mark { padding: 0; background: none; color: var(--color-accent-text); font-weight: 600; text-decoration: underline 2px; text-underline-offset: 0.2em; }  /* the word from the prompt */
.spec-card-prompt { margin: 0 0 var(--space-3); padding: var(--space-2) var(--space-3); border-left: 3px solid var(--color-accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--color-surface); font-weight: 500; color: var(--color-text); }
.spec-card-prompt span { display: block; margin-bottom: 0.25rem; font-size: var(--text-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent-text); }
/* Query bento (/reporting "Read the query before you trust it", and its API section, "Your data, in your systems."): the .bento with the written-out query in the wide
   card and one card per step. In the drawing areas: the prompt strip, the sheet with a narrow term column, a preview
   table (.mock-table: four rows, the figures right-aligned), and the columns a follow-up prompt adds
   (.mock-sources--added, in blue). The query card's drawing sits at the top rather than centered. */
.bento--query .mock--panel { gap: var(--space-2); justify-items: stretch; text-align: left; }
.bento--query .bento-card--wide .mock--panel { align-content: start; font-size: var(--text-small); }  /* the query reads at the size of its code chips */
.bento--query .spec-card-prompt { margin: 0; }
.bento--query .spec-sheet { border-top-width: 1px; }
.bento--query .spec-row { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .bento--query .spec-row { grid-template-columns: 6rem minmax(0, 1fr); } }
.bento--query :is(.mock-label, p.spec-sheet--code) { margin: 0; }
.bento--query p.spec-sheet--code code { margin: 0 0.25rem 0.35rem 0; overflow-wrap: anywhere; }  /* a row of request lines or parameter names, wrapping */
.bento--query .mock-fields--filled { font-size: var(--text-small); }  /* the pick and the roll-forward dates, read at a glance */
.mock-table { width: 100%; border-collapse: collapse; font-size: var(--text-label); font-variant-numeric: tabular-nums; }
.mock-table th { padding: 0.35rem 0.5rem; text-align: left; font-weight: 700; color: var(--color-muted); background: var(--color-section-alt); }
.mock-table td { padding: 0.4rem 0.5rem; border-top: 1px solid var(--color-border); color: var(--color-text); background: var(--color-bg); }
.mock-table :is(th, td):last-child { text-align: right; }
.mock-sources--added li { border-color: var(--color-chart-highlight); color: var(--color-accent-text); background: var(--color-bg); }

/* Glide (/compliance "From field events to filed report"): static text on the left, and on the right a row of light
   gray cards, two in view, that glides left on its own, slowly and without stopping. Each card holds a drawn card, its
   name, and one line, left-aligned and level from card to card (subgrid rows), over its module icon drawn large and faint in the lower right (--icon, a mask). The row
   holds the cards twice (the second set aria-hidden and inert), so moving it by half loops seamlessly; each card
   carries its own gap as a right margin so the half is exact. The motion runs only once menu.js has added the
   data-loop pause button (so never without JS or with reduced motion), and holds while paused, offscreen, hovered,
   or focused. Without the motion the duplicates hide and the row scrolls sideways by hand. Stacked below 64rem,
   with one card and a bit of the next in view. */
.glide { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 64rem) { .glide { grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); } .glide-viewport { --fade: var(--space-4); } }
.glide-intro .headline-run { margin: 0; font-size: var(--text-h3); }
.glide-viewport { --fade: var(--space-1); position: relative; container-type: inline-size; overflow-x: auto; scroll-snap-type: x mandatory; }
.glide-track { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-template-rows: auto auto 1fr; width: max-content; }  /* rows shared by every card (subgrid), so names and lines start level */
.glide-card { --gap: var(--space-3); position: relative; isolation: isolate; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; width: min(85cqw, 26rem); margin-right: var(--gap); padding: var(--space-4) var(--space-3); overflow: hidden; scroll-snap-align: start; border-radius: var(--radius-lg); background: var(--color-section-alt); }
@media (min-width: 40rem) { .glide-card { width: calc((100cqw - var(--gap)) / 2); } }
.glide-card::after { content: ""; position: absolute; z-index: -1; right: -12%; bottom: -14%; width: 62%; aspect-ratio: 1; background: var(--color-text); opacity: 0.045; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.glide-card-art { display: grid; align-content: start; aspect-ratio: 3 / 2; margin-bottom: var(--space-3); }  /* one frame for every drawing (each under 0.66 of its width tall), pinned to its top, so the drawings and the names line up */
.glide-card-art img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-float); }
.glide-card h3 { margin: 0 0 var(--space-1); font-size: var(--text-h4); }
.glide-card p { margin: 0; max-width: 26rem; color: var(--color-muted); }
.glide-track > [aria-hidden="true"] { display: none; }
/* Moving: the duplicates show, the row stops scrolling by hand, and the edges fade so cards glide in and out */
.glide-viewport:has(> .loop-toggle) { overflow: hidden; padding-bottom: calc(var(--space-4) + var(--space-3)); -webkit-mask: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); mask: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); }
.glide-viewport:has(> .loop-toggle) .glide-track { animation: glide 56s linear infinite; }
.glide-viewport:has(> .loop-toggle) .glide-track > [aria-hidden="true"] { display: grid; }
.glide-viewport:is(.is-paused, .is-offscreen, :hover, :focus-within) .glide-track { animation-play-state: paused; }
.glide-viewport .loop-toggle { top: auto; bottom: 0; right: var(--space-4); }
@keyframes glide { to { transform: translateX(-50%); } }
/* Client story (/forms "No paper left in the field"), after Stripe's enterprise story: the headline run beside its lead
   (stacked below 64rem); a bar with the client's logo and one line, and the case study button at the right; a wide
   field photo, cropped to 21:9 (4:3 on phones) around the person, under a brand-blue gradient; then the figures in one row, each a bold figure
   running into its softer label. */
.proof-story-head { display: grid; gap: var(--space-3); }
.proof-story-head .headline-run { margin: 0; max-width: 36rem; }
.proof-story-head p { margin: 0; max-width: 36rem; font-size: var(--text-lead); line-height: 1.5; color: var(--color-muted); }
.proof-story-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-5); }
.proof-story-brand { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: var(--text-h4); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: var(--color-text); }
.proof-story-brand img { flex: none; width: auto; height: 3.25rem; }
.proof-story-photo { position: relative; margin: var(--space-3) 0 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; }
.proof-story-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; filter: brightness(0.85); }
/* The photo, dimmed a little, under a navy wash: dark over the background on the left, lighter toward the right, where the person stands */
.proof-story-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, color-mix(in srgb, var(--color-dark) 90%, transparent) 0%, color-mix(in srgb, var(--color-dark) 72%, transparent) 35%, color-mix(in srgb, var(--color-dark) 40%, transparent) 62%, color-mix(in srgb, var(--color-dark) 22%, transparent) 100%); }
.proof-story-facts { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2) var(--space-4); font-size: var(--text-lead); color: var(--color-muted); }
.proof-story-facts b { font-weight: 600; color: var(--color-text); }
@media (min-width: 48rem) {
  .proof-story-photo { aspect-ratio: 21 / 9; }
  .proof-story-facts { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: var(--space-4); }  /* equal columns across the photo's width */
}
@media (min-width: 64rem) { .proof-story-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

/* QR cards (/forms "Try a form on your phone"): white cards on the gray band, each a category, the form's name as a
   link, and its QR code (the same link), centered; three across from 48rem. */
.qr-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.qr-card { display: grid; justify-items: center; gap: var(--space-1); padding: var(--space-4) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); text-align: center; }
.qr-card h3 { margin: 0; font-size: var(--text-h3); letter-spacing: -0.02em; color: var(--color-dark); }
.qr-card img { width: min(100%, 13rem); height: auto; margin-top: var(--space-3); }
@media (min-width: 48rem) { .qr-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* A row of module links under a home section (the security band) */
.chapter-links { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); margin: var(--space-3) 0 0; }
/* --spread (/forms, under the bento): the links spaced evenly across the row, in the small size */
.chapter-links--spread { justify-content: space-between; font-size: var(--text-small); }
.chapter-links--spread .text-action { font-size: inherit; }

/* Quote rail (home "Clients on the record", after Stripe's customer quote): one centered quote per slide, large
   and gray with its key phrase in navy, the name in bold, and the story link; under the slides, the client names as
   tabs on a hairline: rail.js marks the current one (dark, with a line above it) and slides to a name on click.
   Without JS the names are plain links to each slide. */
.rail--quotes .rail-track { grid-auto-columns: 100%; }
.quote-slide { margin: 0; display: grid; justify-items: center; align-content: start; gap: var(--space-3); padding: var(--space-3) var(--space-2) var(--space-4); text-align: center; }
.quote-slide blockquote { margin: 0; max-width: 46rem; font-size: var(--text-h3); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--color-muted); }
.quote-slide blockquote em { font-style: normal; color: var(--color-dark); }
.quote-slide figcaption { color: var(--color-muted); }
.quote-slide figcaption b { font-weight: 600; color: var(--color-dark); }
.quote-tabs { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--color-border); }
.quote-tabs a { position: relative; display: block; padding: var(--space-3) var(--space-1); font-size: var(--text-lead); font-weight: 700; letter-spacing: -0.01em; text-align: center; text-decoration: none; color: var(--color-border-input); transition: color 0.2s var(--ease); }
.quote-tabs a::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--color-dark); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.quote-tabs a:hover, .quote-tabs a.is-current { color: var(--color-dark); }
.quote-tabs a.is-current::before { transform: scaleX(1); }
@media (max-width: 47.99rem) { .quote-tabs a { font-size: var(--text-small); } }
.story .text-action { margin-top: var(--space-2); }

/* Breadcrumb eyebrow on a light hero. */
.hero--light .eyebrow { color: var(--color-accent-text); }
.hero--light .eyebrow::before { content: ""; }
.hero--light .eyebrow a, .eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.mock-reports b, .mock-fields--filled dd { overflow-wrap: anywhere; }
.mock-sources { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.mock-sources li { padding: 0.15rem 0.6rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-bg); font-weight: 600; color: var(--color-muted); }

.bento-card .text-action { margin-top: auto; padding-top: var(--space-2); }

.hero-industries { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1); }
.hero .hero-industries a {
  display: inline-block; padding: var(--space-1) var(--space-2); border: 1px solid var(--color-on-fill-line); border-radius: var(--radius-pill);
  font-size: var(--text-small); font-weight: 600; text-decoration: none; color: var(--color-on-fill);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero .hero-industries a:hover, .hero .hero-industries a:focus-visible { background: var(--color-on-fill-tint); border-color: var(--color-on-fill); }

/* Flow film (home, under the hero; static/js/flow.js), after Zapier's product film under its hero: a wide light gray
   panel, playing five scenes in one spot. Four are real Demo
   Sandbox screens in a browser window (16:10, the screenshots cropped to match), with a cursor that glides and
   clicks and a search box that types; one is the Trek phone. Chapter buttons along the bottom mark the playing
   scene and jump to any of them; the pause button sits lower right (data-loop). Without JS or with reduced
   motion only the .is-poster scene shows, on its last screen, and the chapters are hidden. */
.flow-section { position: relative; z-index: 1; margin-top: calc(-1 * var(--flow-overlap, var(--space-overlap))); padding-bottom: var(--space-section); }
.flow { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: var(--space-3); padding: var(--space-3) var(--space-2); border: 1px solid var(--color-panel-line); border-radius: var(--radius-lg); background: var(--color-panel-gray); }
@media (min-width: 40rem) { .flow { padding: var(--space-4) var(--space-4) var(--space-3); } }
.flow-stage { display: grid; align-items: center; transition: opacity 0.4s var(--ease); }
.flow-scene { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--space-4); min-width: 0; }
@media (min-width: 48rem) { .flow-scene { flex-direction: row; } }
.flow.is-live .flow-scene { grid-area: 1 / 1; }
.flow:not(.is-live) .flow-scene:not(.is-poster) { display: none; }

/* The browser window: a title bar over a 16:10 view where the screenshots stack and crossfade */
.flow-window { width: min(100%, 52rem); overflow: hidden; border: 1px solid var(--color-panel-line); border-radius: var(--radius); background: var(--color-bg); }
.flow .flow-bar { display: flex; align-items: center; gap: var(--space-1); margin: 0; padding: var(--space-1) var(--space-2); border-bottom: 1px solid var(--color-panel-line); background: var(--color-section-alt); font-size: var(--text-label); font-weight: 600; color: var(--color-muted); }
.flow-dots { width: 1.7em; height: 0.5em; flex: none; background: radial-gradient(circle, var(--color-border-input) 42%, transparent 48%) 0 0 / 0.6em 0.5em repeat-x; }
.flow-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; background: var(--color-bg); }
.flow-shot, .flow-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.flow-video { object-fit: contain; object-position: center; background: var(--color-bg); }
/* A page taller than the window (asset search): it scrolls up by its --shift when flow.js adds .is-shifted */
.flow-page { position: absolute; inset: 0 0 auto; }
.flow-page .flow-shot { position: static; display: block; height: auto; }
.flow-page.is-shifted { transform: translateY(var(--shift)); }
/* Typing: a white patch over the word already in the asset-search screenshot, where the word is typed again
   (in % of the .flow-page, and cqw of the window) */
.flow-typed { position: absolute; left: 36.93%; top: 23.43%; width: 5.88%; height: 2.82%; padding-left: 0.6cqw; background: var(--color-bg); color: var(--color-text); font-size: 1.73cqw; line-height: 4.24cqw; white-space: nowrap; }
.flow-typed::after { content: ""; display: inline-block; width: 1px; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: currentColor; animation: flow-caret 1s steps(1) infinite; }
@keyframes flow-caret { 50% { opacity: 0; } }
/* The cursor: its tip sits on the point; it glides between stops and dips with a ring on a click */
.flow-pointer { position: absolute; z-index: 2; width: 2.4cqw; min-width: 1rem; aspect-ratio: 1; margin: -0.3cqw 0 0 -0.5cqw; pointer-events: none; transition: left 0.9s var(--ease), top 0.9s var(--ease); }
.flow-pointer svg { width: 100%; height: 100%; fill: var(--color-text); stroke: var(--color-bg); stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgb(2 27 78 / 0.35)); transition: transform 0.15s var(--ease); }
.flow-pointer::after { content: ""; position: absolute; left: 0.5cqw; top: 0.3cqw; width: 3cqw; aspect-ratio: 1; border: 2px solid var(--color-brand); border-radius: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
.flow-pointer.is-click svg { transform: scale(0.82); }
.flow-pointer.is-click::after { animation: flow-ring 0.45s var(--ease); }
@keyframes flow-ring { 0% { opacity: 0.9; transform: translate(-50%, -50%) scale(0.3); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.4); } }

/* Real-time data: the dashboard on a laptop, as the phone stands alone in Work offline; a click on the gas chart
   opens the chart recording in its own window. The cursor's size reads the laptop box. */
.flow-scene--laptop { justify-self: center; width: min(100%, 56rem); }
.flow-laptop { position: relative; width: min(100%, 56rem); container-type: inline-size; }
.flow-laptop img { display: block; width: 100%; height: auto; }
/* The chart recording is 1774 app pixels across (the screenshots 1504), so its window is wider by as much and its
   text matches theirs */
.flow-window--chart { width: min(100%, calc(52rem * 1774 / 1504)); }
.flow-window--chart .flow-view { aspect-ratio: 1774 / 978; }
/* People, dispatch: the work order record stays put and the Trek iPad slides in over its right side, with lines
   from the record's Status and Leak Repair Form rows to the same fields on the iPad. The layer sits exactly over
   the window's 16:10 view, so the iPad and the lines are placed in the record's own pixels (1504 x 940): the iPad at
   x 900, y -50, 746 x 1000, standing 142 px past the window's right edge, which .flow-dispatch leaves room for. */
.flow-dispatch { width: min(100%, calc(52rem * 1646 / 1504)); }
.flow-dispatch-box { position: relative; width: calc(100% * 1504 / 1646); }
.flow-dispatch-box .flow-window { width: 100%; }
.flow-dispatch-layer { position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1504 / 940; pointer-events: none; }
.flow-tablet { position: absolute; left: calc(100% * 900 / 1504); top: calc(-100% * 50 / 940); width: calc(100% * 746 / 1504); height: auto; }
.flow.is-live .flow-tablet:not(.is-on) { translate: 45% 0; }
.flow.is-ready .flow-dispatch-layer .flow-tablet[data-at]:not(.flow-pointer) { transition: opacity 0.6s var(--ease), translate 1.1s var(--ease); }
.flow-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-links path { fill: none; stroke: var(--color-brand); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.flow-links .is-on path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease-in-out); }
.flow-links circle { fill: var(--color-brand); stroke: var(--color-bg); stroke-width: 3; }
.flow .flow-caption { position: absolute; left: 3%; bottom: 1.5%; max-width: 42%; margin: 0; padding: var(--space-1) var(--space-2); border: 1px solid var(--color-panel-line); border-radius: var(--radius); background: var(--color-bg); font-size: var(--text-small); font-weight: 600; line-height: 1.35; color: var(--color-dark); }
/* On phones the window is too small to hold it: the caption sits under the window instead */
@media (max-width: 47.99rem) { .flow .flow-caption { top: calc(100% + var(--space-2)); bottom: auto; left: 0; max-width: none; font-size: var(--text-note); } }
.flow .mock-chip { font-size: var(--text-mock); }

/* Chapters: one button per scene; the playing one is filled */
.flow-chapters { list-style: none; margin: 0; padding: 0 var(--space-5) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1); }
.flow-chapters button { padding: var(--space-1) var(--space-2); border: 1px solid var(--color-border-input); border-radius: var(--radius-pill); background: var(--color-bg); color: var(--color-text); font: inherit; font-size: var(--text-label); font-weight: 600; cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease); }
.flow-chapters button:hover { border-color: var(--color-text); }
.flow-chapters button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.flow-chapters button.is-current { background: var(--color-text); border-color: var(--color-text); color: var(--color-on-fill); }
.flow:not(.is-live) .flow-chapters { display: none; }
@media (max-width: 47.99rem) {  /* one swipeable row on phones instead of a column of pills */
  .flow-chapters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-right: var(--space-4); padding: 3px var(--space-2) 3px 3px; }
  .flow-chapters::-webkit-scrollbar { display: none; }
  .flow-chapters button { white-space: nowrap; }
}

/* Timeline states: flow.js adds .is-live, toggles .is-on / .is-off by time, and adds .is-ready a frame later */
.flow:not(.is-live) [data-off]:not(.flow-scene) { visibility: hidden; }
.flow:not(.is-live) .flow-pointer, .flow:not(.is-live) .flow-typed { display: none; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) { .flow:not(.is-live) .flow-stage { opacity: 0; } }  /* no flash of the poster before flow.js starts */
.flow.is-ready [data-at]:not(.flow-pointer):not(.flow-typed) { transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.flow.is-ready .flow-pointer { transition: left 0.9s var(--ease), top 0.9s var(--ease), opacity 0.3s var(--ease); }
.flow.is-ready [data-off]:not([data-at]) { transition: opacity 0.3s var(--ease); }
.flow.is-ready .flow-view .flow-page[data-shift-at] { transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); }
/* Compliance split: the permit PDF fills the window, then the digital record slides in from the right to cover two
   thirds of it while the PDF shifts left, keeping its EPA header in the remaining third. The record is at the same
   scale as every other screen, so its page is 150% of the panel wide (cropped on the right); it scrolls down to its
   requirements by --shift, and the requirement the cursor opens fades in over it and scrolls to its limit. The
   scrolls ease in and out over 2 s, like a wheel scroll. */
.flow-split { position: absolute; top: 0; right: 0; bottom: 0; z-index: 1; width: calc(200% / 3); overflow: hidden; border-left: 1px solid var(--color-panel-line); background: var(--color-bg); }
.flow-split .flow-page { right: auto; width: 150%; }
.flow.is-ready .flow-view .flow-split .flow-page[data-shift-at] { transition: opacity 0.6s var(--ease), transform 2s var(--ease-in-out); }
.flow.is-live .flow-view .flow-split[data-at]:not(.is-on) { opacity: 1; translate: 100% 0; }
.flow.is-ready .flow-view .flow-split[data-at]:not(.flow-pointer) { transition: translate 1s var(--ease); }
.flow-doc.is-shifted { translate: -19.4% 0; }
.flow.is-ready .flow-view .flow-doc[data-shift-at]:not(.flow-pointer) { transition: opacity 0.5s var(--ease), translate 1s var(--ease); }
.flow.is-live [data-at]:not(.is-on) { opacity: 0; }
.flow.is-live .flow-scene[data-at]:not(.is-on), .flow.is-live .flow-caption:not(.is-on) { transform: translateY(var(--space-1)); }
.flow.is-live [data-off].is-off { opacity: 0; pointer-events: none; }
.flow.is-live .flow-scene:not(.is-on) { pointer-events: none; }
.flow.is-resetting .flow-stage { opacity: 0; }
.flow .loop-toggle { top: auto; bottom: var(--space-3); right: var(--space-3); z-index: 2; }
.flow.is-paused *, .flow.is-offscreen * { animation-play-state: paused !important; }

/* Proof band (home, under the film), after Stripe's enterprise block: the statement, the client logos in a row on white, a wide field photo, and the client numbers under it. More room above it than a
   plain section, since the film over the hero sits right before it. */
.page--spacious .section--proof { padding-top: var(--space-section-lg); }
.proof-head { margin-bottom: var(--space-4); }
.proof-head .headline-run { margin: 0; }
.proof-logos { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: flex; justify-content: space-between; align-items: center; gap: var(--space-1) var(--space-3); }
.proof-logos li { display: flex; }
.proof-logos img { height: calc(var(--logo-scale, 1) * 1.4rem); width: auto; max-width: 8rem; object-fit: contain; filter: grayscale(1); opacity: 0.7; mix-blend-mode: multiply; transition: opacity 0.25s var(--ease), filter 0.25s var(--ease); }
@media (min-width: 48rem) { .proof-logos { margin-bottom: var(--space-4); padding-inline: var(--space-3); } .proof-logos img { height: calc(var(--logo-scale, 1) * 3rem); max-width: 12rem; } }
.proof-logos li:hover img { filter: none; opacity: 1; }
.proof-photo { position: relative; margin: 0 0 var(--space-4); overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--color-section-alt); }
@media (min-width: 48rem) { .proof-photo { aspect-ratio: 21 / 9; } }
.proof-photo-field { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* The product on the field: a phone (cut off at the bottom in the image) rising from the photo's bottom edge on
   its right side, clear of the operator */
.proof-photo-device { position: absolute; bottom: 0; right: 8%; height: 88%; width: auto; filter: var(--shadow-cutout); }
/* Client numbers in one quiet row, Stripe-style: the figure bold in navy running into its label, the client under it */
.proof-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3) var(--space-5); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.proof-stats p { margin: 0; font-size: var(--text-lead); line-height: 1.45; color: var(--color-muted); }
.proof-stats .stat { font-family: inherit; font-size: inherit; font-weight: 700; line-height: inherit; letter-spacing: 0; color: var(--color-text); }
.proof-stats .proof-source { margin-top: var(--space-1); font-size: var(--text-small); }

/* Motion: respect the visitor's setting */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover, .card:hover, .footer-social a:is(:hover, :focus-visible) { transform: none; }
}

/* page--no-pause (/ai, by request Dec 2, 2026): hides the data-loop pause buttons. They stay in the DOM, so the
   animations that run only beside one (:has(> .loop-toggle)) still play, and still stop offscreen and under reduced
   motion. Note: motion over 5 s without a pause control falls short of WCAG 2.2.2. */
.page--no-pause .loop-toggle { display: none; }

/* Network hero (/workflows): the light hero over a drawing of linked nodes (img/workflows/hero-network.png), behind
   the centered headline, cleared under it; colored rings pulse out of its hubs at uneven intervals (each span sets
   --x, --y, --c, --r, --d, --t in the markup). data-loop gives the pause button; still with reduced motion. */
.hero.hero--network { display: grid; align-items: center; min-height: min(44rem, 80vh); padding-block: var(--space-section-lg); text-align: center; }  /* taller, headline centered over the drawing (Dec 3, 2026) */
.hero--network .hero-copy { max-width: 52rem; margin-inline: auto; }
.hero--network .headline-run { margin-inline: auto; }
.hero--network .hero-network { position: absolute; z-index: -1; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hero--network .hero-network::after { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse 50% 42% at 50% 50%, color-mix(in srgb, var(--color-bg) 96%, transparent) 0%, color-mix(in srgb, var(--color-bg) 85%, transparent) 55%, transparent 100%); }  /* a soft white clearing under the headline */
.hero-network-art { position: relative; width: max(100%, 64rem); aspect-ratio: 842 / 440; flex: none; }
.hero-network-art > img { display: block; width: 100%; height: auto; opacity: 0.75; }
.hero-network-pulses { position: absolute; inset: 0; z-index: 1; }
.hero-network-pulses span { position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * 0.42rem); aspect-ratio: 1; margin: calc(var(--r) * -0.21rem) 0 0 calc(var(--r) * -0.21rem); border-radius: 50%; background: var(--c); opacity: 0; animation: network-pulse var(--t) ease-out var(--d) infinite; }
.hero-network-pulses span::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c); animation: network-ring var(--t) ease-out var(--d) infinite; }
@keyframes network-pulse { 0%, 100% { opacity: 0; transform: scale(0.6); } 6% { opacity: 0.9; transform: scale(1.15); } 18% { opacity: 0; transform: scale(1); } }
@keyframes network-ring { 0% { opacity: 0.8; transform: scale(1); } 30%, 100% { opacity: 0; transform: scale(3.2); } }
.hero--network:is(.is-paused, .is-offscreen) .hero-network-pulses span, .hero--network:is(.is-paused, .is-offscreen) .hero-network-pulses span::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hero-network-pulses { display: none; } }

/* Case rail (/workflows "Any record can start a workflow", after stripe.com/startups): the head with its arrows on
   the right, tabs that name each card over a progress bar (filled up to the card in view; rail.js marks it
   .is-current), then wide cards in a track that runs to both edges of the page, so the next card is cut by the
   right edge. Each card: copy on top, art on a gray panel below. */
.rail-cases-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-3); }
.rail-cases-head .section-head { flex: 0 0 min(60%, 100%); max-width: none; }
.rail-cases-head .headline-run { max-width: none; }  /* the head spans 60% of the container (Dec 3, 2026) */
.rail-cases-head .rail-controls { margin: 0; }
.case-tabs { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: var(--space-4) 0 var(--space-3); padding: 0; }
.case-tabs a { display: grid; gap: 0.2rem; padding-top: var(--space-2); border-top: 3px solid var(--color-border); text-align: center; text-decoration: none; color: var(--color-text); transition: border-color 0.3s var(--ease); }
.case-tabs b { font-weight: 600; }
.case-tabs span { font-size: var(--text-small); color: var(--color-muted); }
.case-tabs li:has(~ li .is-current) a, .case-tabs a.is-current { border-top-color: var(--color-brand); }
.case-tabs a:hover b { color: var(--color-link); }
.rail--cases { --bleed: calc(max(0px, (100vw - var(--container)) / 2) + var(--space-3)); }  /* from the page edge to the container's text edge */
.rail--cases .rail-track { list-style: none; margin-block: 0; margin-inline: calc(var(--bleed) * -1); padding-inline: var(--bleed) max(var(--bleed), calc(100vw - var(--bleed) - min(36rem, 82vw))); scroll-padding-inline: var(--bleed);  /* room after the last card, so it can come to the start and its tab light up */ grid-auto-columns: min(36rem, 82vw); gap: var(--space-3); }
.rail--cases .rail-track { grid-template-rows: auto 1fr; }  /* copy row, art row: shared by every card through subgrid, so the copy blocks match in height and the art starts on one line */
.case-slide { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); box-shadow: var(--shadow-soft); overflow: hidden; }
.case-copy { padding: var(--space-4) var(--space-4) var(--space-3); }
.case-copy h3 { margin: 0 0 var(--space-1); }
.case-copy p { margin: 0; color: var(--color-muted); }
.case-art { display: grid; place-items: start center; min-height: 18rem; padding: var(--space-4); background: var(--color-section-alt); }
.case-art img { width: 100%; max-width: 28rem; height: auto; border-radius: var(--radius); }

/* Section head width (Dec 3, 2026, by request): every section head spans 60% of its container from 48rem up,
   unless it sits beside an image or the sticky FAQ cards (.split, .capability, .faq-split columns, where it fills its column). */
@media (min-width: 48rem) {
  .section-head, .section-head--run { max-width: 60%; }
  .section-head .headline-run { max-width: none; }
  :is(.split, .capability, .faq-split) .section-head { max-width: none; }  /* beside an image or the FAQ cards: the column sets the width */
}
