@layer tokens, base, ds, site;

/* ---- design-system/tokens.json (via build/tokens-to-css.mjs) ---- */
@layer tokens {
/* Generated from design-system/tokens.json by build/tokens-to-css.mjs. Do not edit. */

:root {
  --brand-navy: #001131;
  --brand-navy-alt: #031436;
  --brand-orange: #fc7e00;
  --surface: #ffffff;
  --surface-raised: #f5f7fa;
  --surface-sunken: #e9edf3;
  --surface-inverse: #001131;
  --surface-accent: #fff3e6;
  --surface-accent-solid: #fc7e00;
  --overlay: #001131cc;
  --ink: #001131;
  --ink-muted: #46536b;
  --ink-subtle: #5d6b84;
  --ink-on-navy: #ffffff;
  --ink-on-navy-muted: #cbd4e4;
  --ink-accent-lg: #d96c00;
  --ink-accent: #a34f00;
  --ink-on-accent: #001131;
  --border: #d6dbe4;
  --border-strong: #7d8aa0;
  --border-on-navy: #6c7fa3;
  --focus-ring-on-navy: #ffffff;
  --focus-ring: #001131;
  --focus-ring-on-accent: #001131;
  --success: #0d6b35;
  --success-surface: #e4f5ea;
  --warning: #8a4f00;
  --warning-surface: #fff2dd;
  --danger: #96140b;
  --danger-surface: #fdeae8;
  --info: #134d96;
  --info-surface: #e7f0fc;
  --shadow-sm: 0 1px 2px rgba(0, 17, 49, 0.10);
  --shadow-md: 0 6px 16px rgba(0, 17, 49, 0.12);
  --shadow-lg: 0 18px 40px rgba(0, 17, 49, 0.18);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --radius-none: 0;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --opacity-disabled: 0.45;
  --opacity-scrim: 0.72;
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue Condensed", system-ui, sans-serif;
  --font-sans: Barlow, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

[data-theme="dark"] {
  --brand-navy: #001131;
  --brand-navy-alt: #031436;
  --brand-orange: #fc7e00;
  --surface: #001131;
  --surface-raised: #0b1e42;
  --surface-sunken: #000a1f;
  --surface-inverse: #ffffff;
  --surface-accent: #26170a;
  --surface-accent-solid: #fc7e00;
  --overlay: #000a1fe6;
  --ink: #f2f5fa;
  --ink-muted: #b9c4d8;
  --ink-subtle: #93a1ba;
  --ink-on-navy: #ffffff;
  --ink-on-navy-muted: #cbd4e4;
  --ink-accent-lg: #fda343;
  --ink-accent: #fda343;
  --ink-on-accent: #001131;
  --border: #1d3158;
  --border-strong: #5c729b;
  --border-on-navy: #6c7fa3;
  --focus-ring-on-navy: #ffffff;
  --focus-ring: #ffffff;
  --focus-ring-on-accent: #001131;
  --success: #6ee7a0;
  --success-surface: #062313;
  --warning: #f7b25c;
  --warning-surface: #241704;
  --danger: #ef6a5c;
  --danger-surface: #2b0c08;
  --info: #8fbcff;
  --info-surface: #07182f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.t-display-xl { font-family: var(--font-display); font-size: 4rem; line-height: 0.9375; font-weight: 800; font-style: italic; letter-spacing: -0.005em; }
.t-display-lg { font-family: var(--font-display); font-size: 3rem; line-height: 0.9584; font-weight: 800; font-style: italic; letter-spacing: -0.005em; }
.t-display-md { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; font-weight: 800; font-style: italic; }
.t-display-sm { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.0715; font-weight: 700; font-style: italic; }
.t-heading-lg { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1667; font-weight: 700; }
.t-heading-md { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
.t-heading-sm { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.2942; font-weight: 700; }
.t-body-lg { font-family: var(--font-sans); font-size: 1.125rem; line-height: 1.5556; font-weight: 400; }
.t-body { font-family: var(--font-sans); font-size: 1rem; line-height: 1.625; font-weight: 400; }
.t-body-strong { font-family: var(--font-sans); font-size: 1rem; line-height: 1.625; font-weight: 600; }
.t-body-sm { font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.5715; font-weight: 400; }
.t-eyebrow { font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.2308; font-weight: 700; letter-spacing: 0.14em; }
.t-button { font-family: var(--font-sans); font-size: 0.9375rem; line-height: 1.0667; font-weight: 700; letter-spacing: 0.06em; }
.t-label { font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.2858; font-weight: 600; }
.t-caption { font-family: var(--font-sans); font-size: 0.75rem; line-height: 1.3334; font-weight: 500; letter-spacing: 0.02em; }
.t-data { font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.4286; font-weight: 500; }
}

/* ---- src/css/base.css ---- */
@layer base {
/* Element defaults. The build puts this file in the "base" cascade layer, below the design system
   ("ds", bundle.css) and the site layer. Bare element rules must sit below the design system:
   in the site layer, `a { color }` would beat `.nmse-btn--primary { color }` and recolour every button. */

/* Box sizing for every box. It stays global because removing it changes every padded box on the site;
   in the lowest layer after tokens, so any later rule can still override it. */
*, *::before, *::after { box-sizing: border-box; }

img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--ink-accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
p { margin: 0 0 var(--space-4); }
ul { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
li { margin-bottom: var(--space-2); }
}

/* ---- design-system/components/bundle.css ---- */
@layer ds {
/* NMSE Pro Tools and Equipment — component stylesheet.
   Loaded after tokens.css. Every value here is a token. */

.nmse-caps { text-transform: uppercase; }

/* ---------------------------------------------------------------- Button */
.nmse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.0667;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms cubic-bezier(0.2, 0, 0.2, 1),
              border-color 150ms cubic-bezier(0.2, 0, 0.2, 1),
              color 150ms cubic-bezier(0.2, 0, 0.2, 1);
}
.nmse-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.nmse-btn[disabled] { opacity: var(--opacity-disabled); cursor: not-allowed; }

.nmse-btn--primary { background: var(--surface-accent-solid); color: var(--ink-on-accent); }
.nmse-btn--primary:hover:not([disabled]) { background: #e37100; }
.nmse-btn--primary:active:not([disabled]) { background: #c96400; }
.nmse-btn--primary:focus-visible { outline-color: var(--focus-ring-on-accent); }

.nmse-btn--secondary { background: var(--brand-navy); color: var(--ink-on-navy); }
.nmse-btn--secondary:hover:not([disabled]) { background: #0a2352; }
.nmse-btn--secondary:active:not([disabled]) { background: #000b24; }

.nmse-btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.nmse-btn--outline:hover:not([disabled]) { border-color: var(--ink); background: var(--surface-raised); }

.nmse-btn--sm { padding: var(--space-2) var(--space-4); font-size: 0.8125rem; }
.nmse-btn--lg { padding: var(--space-4) var(--space-8); font-size: 1.0625rem; }
.nmse-btn--block { display: flex; width: 100%; }

/* On a brand-navy band. These tokens are fixed in both themes, because the band is. */
.nmse-on-navy .nmse-btn--outline { color: var(--ink-on-navy); border-color: var(--border-on-navy); }
.nmse-on-navy .nmse-btn--outline:hover:not([disabled]) { border-color: var(--ink-on-navy); background: rgba(255, 255, 255, 0.10); }
.nmse-on-navy .nmse-btn:focus-visible { outline-color: var(--focus-ring-on-navy); }
.nmse-on-navy .nmse-btn--primary:focus-visible { outline-color: var(--focus-ring-on-accent); }

/* -------------------------------------------------------- SectionHeading */
.nmse-heading { display: flex; flex-direction: column; gap: var(--space-3); }
.nmse-heading--center { align-items: center; text-align: center; }
.nmse-heading__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem; line-height: 1.2308; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-accent);
  display: flex; align-items: center; gap: var(--space-3);
}
.nmse-on-navy .nmse-heading__eyebrow { color: var(--brand-orange); }
.nmse-heading__rule { height: 2px; width: 28px; background: currentColor; flex: none; }
.nmse-heading__title {
  font-family: var(--font-display);
  font-weight: 800; font-style: italic;
  letter-spacing: -0.005em; text-transform: uppercase;
  color: var(--ink); margin: 0;
}
.nmse-on-navy .nmse-heading__title { color: var(--ink-on-navy); }
.nmse-heading__title--xl { font-size: 3rem; line-height: 0.9584; }
.nmse-heading__title--lg { font-size: 2.25rem; line-height: 1; }
.nmse-heading__title--md { font-size: 1.75rem; line-height: 1.0715; }
.nmse-heading__lede {
  font-family: var(--font-sans);
  font-size: 1.125rem; line-height: 1.5556; font-weight: 400;
  color: var(--ink-muted); margin: 0; max-width: 60ch;
}
.nmse-on-navy .nmse-heading__lede { color: var(--ink-on-navy-muted); }

/* ----------------------------------------------------------- ServiceCard */
.nmse-service {
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-5);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand-orange);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 150ms cubic-bezier(0.2, 0, 0.2, 1);
}
.nmse-service:hover { box-shadow: var(--shadow-md); }
.nmse-service__title {
  font-family: var(--font-display);
  font-size: 1.5rem; line-height: 1.1667; font-weight: 700;
  color: var(--ink); margin: 0;
}
.nmse-service__body {
  font-family: var(--font-sans);
  font-size: 1rem; line-height: 1.625; color: var(--ink-muted); margin: 0;
}
.nmse-service__meta {
  display: flex; align-items: baseline; gap: var(--space-2);
  margin-top: auto; padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.2858;
}
.nmse-service__meta-label { font-weight: 600; color: var(--ink-subtle); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.nmse-service__meta-value { font-weight: 600; color: var(--ink); }

/* ------------------------------------------------------------ BrandBadge */
.nmse-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.2858; font-weight: 600;
  color: var(--ink);
}
.nmse-badge__name { font-weight: 700; }
.nmse-badge__role {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted);
}
.nmse-badge--exclusive { border-color: var(--brand-orange); border-width: 2px; background: var(--surface-accent); }
.nmse-badge--exclusive .nmse-badge__role { color: var(--ink-accent); }
.nmse-on-navy .nmse-badge { background: transparent; border-color: var(--border-on-navy); color: var(--ink-on-navy); }
.nmse-on-navy .nmse-badge__role { color: var(--ink-on-navy-muted); }
.nmse-on-navy .nmse-badge--exclusive { border-color: var(--brand-orange); }
.nmse-on-navy .nmse-badge--exclusive .nmse-badge__role { color: var(--brand-orange); }

/* ------------------------------------------------------------- StatBlock */
.nmse-stat { display: flex; flex-direction: column; gap: var(--space-1); }
.nmse-stat__value {
  font-family: var(--font-display);
  font-size: 3rem; line-height: 0.9584; font-weight: 800; font-style: italic;
  color: var(--ink-accent-lg);
}
.nmse-on-navy .nmse-stat__value { color: var(--brand-orange); }
.nmse-stat__label {
  font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.2858; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink);
}
.nmse-on-navy .nmse-stat__label { color: var(--ink-on-navy); }
.nmse-stat__note { font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.5715; color: var(--ink-muted); }
.nmse-on-navy .nmse-stat__note { color: var(--ink-on-navy-muted); }

/* -------------------------------------------------------------- TeamCard */
.nmse-team {
  display: flex; gap: var(--space-4); align-items: flex-start;
  padding: var(--space-4);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.nmse-team__figure {
  flex: none; width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  background: var(--brand-navy);
  color: var(--ink-on-navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; font-style: italic;
  overflow: hidden;
}
.nmse-team__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nmse-team__body { display: flex; flex-direction: column; gap: var(--space-1); }
.nmse-team__name { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; font-weight: 700; color: var(--ink); margin: 0; }
.nmse-team__nickname { font-style: italic; color: var(--ink-muted); font-weight: 600; }
.nmse-team__role {
  font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.2308; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-accent);
}
.nmse-team__note { font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.5715; color: var(--ink-muted); margin: 0; }

/* --------------------------------------------------------------- InfoBar */
.nmse-infobar {
  display: flex; gap: var(--space-3); align-items: flex-start;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  border-left: 4px solid;
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.625;
}
.nmse-infobar__icon { flex: none; margin-top: 3px; }
.nmse-infobar__text { margin: 0; color: var(--ink); }
.nmse-infobar__label { font-weight: 700; }
.nmse-infobar--info    { background: var(--info-surface);    border-color: var(--info);    }
.nmse-infobar--info    .nmse-infobar__label,    .nmse-infobar--info    .nmse-infobar__icon { color: var(--info); }
.nmse-infobar--success { background: var(--success-surface); border-color: var(--success); }
.nmse-infobar--success .nmse-infobar__label, .nmse-infobar--success .nmse-infobar__icon { color: var(--success); }
.nmse-infobar--warning { background: var(--warning-surface); border-color: var(--warning); }
.nmse-infobar--warning .nmse-infobar__label, .nmse-infobar--warning .nmse-infobar__icon { color: var(--warning); }
.nmse-infobar--danger  { background: var(--danger-surface);  border-color: var(--danger);  }
.nmse-infobar--danger  .nmse-infobar__label,  .nmse-infobar--danger  .nmse-infobar__icon { color: var(--danger); }

/* -------------------------------------------------------------- CTAPanel */
.nmse-cta {
  display: flex; flex-wrap: wrap; gap: var(--space-6);
  align-items: center; justify-content: space-between;
  padding: var(--space-10) var(--space-8);
  background: var(--brand-navy);
  border-radius: var(--radius-md);
  color: var(--ink-on-navy);
}
.nmse-cta--accent { background: var(--surface-accent-solid); color: var(--ink-on-accent); }
.nmse-cta__copy { display: flex; flex-direction: column; gap: var(--space-2); max-width: 46ch; }
.nmse-cta__eyebrow {
  font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.2308; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-orange);
}
.nmse-cta--accent .nmse-cta__eyebrow { color: var(--ink-on-accent); opacity: 0.8; }
.nmse-cta__title {
  font-family: var(--font-display); font-size: 2.25rem; line-height: 1;
  font-weight: 800; font-style: italic; text-transform: uppercase; margin: 0;
}
.nmse-cta__body { font-family: var(--font-sans); font-size: 1rem; line-height: 1.625; margin: 0; }
.nmse-cta--accent .nmse-cta__body { color: var(--ink-on-accent); }
.nmse-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.nmse-cta--accent .nmse-btn--secondary:focus-visible { outline-color: var(--focus-ring-on-accent); }

@media (max-width: 640px) {
  .nmse-cta { padding: var(--space-8) var(--space-5); }
  .nmse-cta__title { font-size: 1.75rem; line-height: 1.0715; }
  .nmse-heading__title--xl { font-size: 2.25rem; line-height: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .nmse-btn, .nmse-service { transition-property: opacity; }
}

/* Dark theme: navy panels need an edge, because the page ground is also navy. */
[data-theme="dark"] .nmse-cta:not(.nmse-cta--accent) { border: 1px solid var(--border-on-navy); }
[data-theme="dark"] .nmse-team__figure { border: 1px solid var(--border-on-navy); }
[data-theme="dark"] .nmse-btn--secondary { border-color: var(--border-on-navy); }
}

/* ---- src/css/site.css ---- */
@layer site {
/* NMSE site layer. Everything here is BUILT OUTSIDE THE DESIGN SYSTEM (see PLAYBOOK.md):
   page shell, header, footer, bands, hero stage, FAQ, call bar.
   Values are tokens from tokens.css. The only non-token values are the hero stage
   custom properties below, which Paul approved for the hero on 2026-09-18. */

/* Metric-matched fallbacks, so text does not jump when Barlow arrives (display=swap).
   Each face is a local system font scaled to Barlow's width, with Barlow's ascent (1.00 em) and descent
   (0.20 em) and no line gap. Measured 2026-11-22 against the Google Fonts files: Barlow Condensed 700/800
   vs Arial Narrow Bold, mostly upper case; Barlow 400 vs Arial; Barlow 600/700 vs Arial Bold.
   Tuned to Barlow only: if the PROVISIONAL typeface changes, re-measure these and update the two stacks below. */
@font-face { font-family: "Barlow Condensed Fallback"; src: local("Arial Narrow Bold"), local("ArialNarrow-Bold"); font-weight: 600 900; size-adjust: 85%; ascent-override: 117.6%; descent-override: 23.5%; line-gap-override: 0%; }
/* devices without Arial Narrow (most phones): Arial, scaled down to the condensed width */
@font-face { font-family: "Barlow Condensed Fallback Arial"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 900; size-adjust: 70%; ascent-override: 142.9%; descent-override: 28.6%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 549; size-adjust: 95%; ascent-override: 105.3%; descent-override: 21.1%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 550 900; size-adjust: 90%; ascent-override: 111.1%; descent-override: 22.2%; line-gap-override: 0%; }
/* tokens.css sets the stacks from tokens.json; this adds the fallback faces right after each web font */
:root {
  /* bundle.css hard-codes these two on .nmse-btn--primary; the site reuses them for the orange submit */
  --surface-accent-solid-hover: #e37100;
  --surface-accent-solid-active: #c96400;
  --font-display: "Barlow Condensed", "Barlow Condensed Fallback", "Barlow Condensed Fallback Arial", "Arial Narrow", "Helvetica Neue Condensed", system-ui, sans-serif;
  --font-sans: Barlow, "Barlow Fallback", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

/* native controls and scrollbars follow the surface they sit on: light page, dark navy and charcoal bands.
   Form fields stay light because they are drawn white on those bands. */
:root { color-scheme: light; }
.nmse-on-navy, .band--navy, .pagehero, .rig__step, .rigform__contact, .site-footer { color-scheme: dark; }
.form__field :is(input, select, textarea) { color-scheme: light; }
/* headings balance their lines; running text avoids one-word last lines */
h1, h2, h3, h4, .statement__quote { text-wrap: balance; }
.prose p, .prose-grid p, .legal p, .legal li, .faq__item p, .statement__cols p, .pagehero__lede, .hero__lede { text-wrap: pretty; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.625;
}
/* never touch button text here: a navy hover colour made the text vanish on navy buttons */
a:not(.nmse-btn):hover { color: var(--ink); }
/* :where() keeps the old specificity; breadcrumbs set their own colours (see .crumbs) */
.nmse-on-navy a:not(.nmse-btn):where(:not(.crumbs a)) { color: var(--ink-on-navy); }
.nmse-on-navy a:not(.nmse-btn):where(:not(.crumbs a)):hover { color: var(--brand-orange); }
.nmse-on-navy a:focus-visible, .nmse-on-navy button:focus-visible { outline-color: var(--focus-ring-on-navy); }
/* bundle.css rings the orange primary button in navy, which vanishes on a navy or charcoal band (1:1). White instead. */
.nmse-on-navy .nmse-btn--primary:focus-visible { outline-color: var(--focus-ring-on-navy); }
/* bundle.css sets these font sizes without a line height, so they used to inherit a px one. With unitless
   ratios they would scale it, so each gets the ratio that keeps its old line height. */
.nmse-btn--sm { line-height: 1.2308; }                       /* 16px at 13px */
.nmse-btn--lg { line-height: 0.9412; }                       /* 16px at 17px */
.nmse-service__meta-label, .nmse-badge__role { line-height: 1.5; } /* 18px at 12px */
.nmse-team__figure { line-height: 0.9286; }                  /* 26px at 28px */

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--space-4); }
@media (min-width: 768px) { .wrap { padding-inline: var(--space-6); } }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: var(--z-modal);
  padding: var(--space-3) var(--space-4);
  background: var(--brand-navy); color: var(--ink-on-navy);
}
.skip-link:focus { top: var(--space-4); color: var(--ink-on-navy); }
/* main takes focus from the skip link (tabindex="-1"); it is not a control, so no ring */
main[tabindex="-1"]:focus { outline: none; }

/* ---------------------------------------------------------------- ticker
   DEVIATION 7 (Paul, 2026-09-18): a permanent orange bar. The design system keeps orange rare.
   Text is navy (ink-on-accent), never white: white on this orange is 2.59:1 and fails. */
.ticker {
  --ticker-h: 36px;
  position: sticky; top: 0; z-index: calc(var(--z-header) + 1);
  display: flex; align-items: center; min-block-size: var(--ticker-h); overflow: hidden;
  background: var(--surface-accent-solid); color: var(--ink-on-accent);
  font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.2858; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker[data-paused="true"] .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker__list li { display: flex; align-items: center; margin: 0; }
.ticker__list li::after { content: ""; width: 6px; height: 6px; margin-inline: var(--space-6); background: var(--ink-on-accent); }
.ticker a { color: inherit; text-decoration: none; }
.ticker a:hover { color: inherit; text-decoration: underline; }
.ticker a:focus-visible, .ticker button:focus-visible { outline: 2px solid var(--focus-ring-on-accent); outline-offset: -2px; }
.ticker__pause {
  position: absolute; right: 0; top: 0; bottom: 0;
  padding: 0 var(--space-4) 0 48px;
  border: 0; cursor: pointer; color: var(--ink-on-accent);
  background: linear-gradient(90deg, transparent, var(--surface-accent-solid) 40px);
  font: inherit; font-size: 0.75rem; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: underline;
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
  .ticker__track { animation: none; }
  .ticker__list[aria-hidden="true"], .ticker__pause { display: none; }
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: relative; z-index: var(--z-header);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header__row { display: flex; align-items: center; gap: var(--space-4); padding-block: var(--space-3); flex-wrap: wrap; }
.site-header__logo img { width: 168px; height: auto; } /* never under 160px, per logo rules */
.site-header__call { display: none; }
/* The Menu button sits inside <nav>, so the nav landmark is there when the menu is closed. Only the list hides.
   Without JavaScript the button is hidden and the list sits open on its own row. */
.site-header__toggle { display: none; }
.site-nav { flex-basis: 100%; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
@media (max-width: 1099px) {
  .js .site-nav { flex-basis: auto; margin-left: auto; }
  .js .site-header__toggle { display: inline-flex; }
  /* open menu drops down over the page, full width under the header */
  .js .site-nav__list {
    position: absolute; left: 0; right: 0; top: 100%; z-index: var(--z-header);
    max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain;
    padding: 0 var(--space-4) var(--space-2);
    background: var(--surface); border-bottom: 1px solid var(--border-strong); box-shadow: var(--shadow-md);
  }
  .js .site-nav[data-open="false"] .site-nav__list { display: none; }
}
@media (min-width: 768px) and (max-width: 1099px) { .js .site-nav__list { padding-inline: var(--space-6); } }
.site-nav li { margin: 0; border-top: 1px solid var(--border); }
.site-nav a {
  display: block; padding: var(--space-3) 0;
  font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.2858; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink-accent); }
/* the current page also gets an underline, so it is not marked by colour alone */
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* sub-menu: About sits under Contact. Opens on hover on desktop, and on the arrow button everywhere (keyboard and phones). */
.has-sub { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.has-sub > a { flex: 1; }
.sub-toggle { background: none; border: 0; padding: var(--space-2); cursor: pointer; color: var(--ink); display: inline-flex; }
.sub-toggle svg { transition: transform 150ms cubic-bezier(0.2, 0, 0.2, 1); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
/* hidden until opened; :where() keeps this at single-class weight, so the open rules below win on their own */
:where(.has-sub) > .sub { list-style: none; margin: 0; padding: 0 0 0 var(--space-4); flex-basis: 100%; display: none; }
.has-sub.is-open > .sub { display: block; }
.sub li { border-top: 1px solid var(--border); }
@media (min-width: 1100px) {
  .has-sub { flex-wrap: nowrap; }
  .sub-toggle { padding: var(--space-1); }
  :where(.has-sub) > .sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); text-align: center; min-width: 140px; padding: var(--space-2) 0; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brand-orange); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); z-index: var(--z-header); }
  .has-sub:hover > .sub, .has-sub.is-open > .sub { display: block; }
  /* Escape sets is-closed, which beats :hover until the pointer leaves */
  .has-sub.is-closed:not(.is-open) > .sub { display: none; }
  .sub li { border: 0; }
  .sub a { padding: var(--space-2) var(--space-4); }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge, so the menu does not close on the way down */
}

/* phones: only the ticker sticks, so the two bars do not eat the screen */
@media (min-width: 768px) { .site-header { position: sticky; top: 36px; } }
@media (min-width: 1100px) {
  .site-header__row { flex-wrap: nowrap; }
  .site-header__call { display: inline-flex; }
  .site-nav { flex-basis: auto; margin-left: auto; }
  .site-nav__list { flex-direction: row; gap: var(--space-5); }
  .site-nav li { border: 0; }
  .site-nav a { padding: var(--space-2) 0; }
}

/* ----------------------------------------------------------------- bands */
.band { padding-block: var(--space-12); }
.band--tight { padding-block: var(--space-6); border-bottom: 1px solid var(--border); }
.band--raised { background: var(--surface-raised); }
.band--navy { background: var(--brand-navy); color: var(--ink-on-navy); }
.band--navy .prose { color: var(--ink-on-navy-muted); }
.band--flush { padding-top: 0; }
@media (min-width: 768px) { .band { padding-block: var(--space-16); } .band--tight { padding-block: var(--space-6); } .band--flush { padding-top: 0; } }
@media (min-width: 1100px) { .band { padding-block: var(--space-20); } .band--tight { padding-block: var(--space-8); } .band--flush { padding-top: 0; } }

.prose { max-width: 68ch; }
.prose-grid { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .prose-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); } }

.badges { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.stats { display: grid; gap: var(--space-8); margin-top: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.nmse-stat p { margin: 0; }
.cards { display: grid; gap: var(--space-6); margin-top: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.nmse-service__title a, .dealer h3 a { color: inherit; text-decoration: none; }
.nmse-service__title a:hover, .dealer h3 a:hover { color: var(--ink-accent); text-decoration: underline; }
.nmse-service { position: relative; transition: none; }
/* bundle.css animates box-shadow on hover; here the hover shadow sits on ::after (over the 1px border and 4px top border) */
.nmse-service::after { content: ""; position: absolute; inset: -4px -1px -1px; border-radius: inherit; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity 150ms cubic-bezier(0.2, 0, 0.2, 1); }
.nmse-service:hover { box-shadow: none; }
.nmse-service:hover::after { opacity: 1; }
.dealer { padding-top: var(--space-4); border-top: 4px solid var(--brand-navy); }
.dealer h3 { margin: 0 0 var(--space-3); }
.dealer p { color: var(--ink-muted); margin: 0; }

.faq { display: grid; gap: var(--space-6); margin-top: var(--space-8); }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-16); } }
.faq__item { padding-top: var(--space-4); border-top: 1px solid var(--border-strong); }
.faq__item h3 { margin: 0 0 var(--space-2); }
.faq__item p { margin: 0; color: var(--ink-muted); }

/* ---------------------------------------------------------- brand cards
   Built outside the design system. Navy cards on a light band, product photo on a glow. */
.brandcards { display: grid; gap: var(--space-6); margin-top: var(--space-10); }
@media (min-width: 900px) { .brandcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* No overflow: hidden here, or the ::after hover shadow would be clipped. The photo clips its own top
   corners instead (the card's inner corner: radius minus the 4px top border), and min-width: 0 keeps
   the zero minimum width the card had as a clipping box. */
.brandcard {
  position: relative; min-width: 0; display: flex; flex-direction: column;
  background: var(--brand-navy); color: var(--ink-on-navy);
  border-radius: var(--radius-md); border-top: 4px solid var(--brand-orange);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
/* Hover shadows on cards are drawn once on ::after (sized to the border box) and faded in with opacity,
   instead of animating box-shadow, which repaints every frame. The card drops its small shadow on hover,
   so the end state is the large shadow alone, as before. */
.brandcard::after { content: ""; position: absolute; inset: -4px 0 0; border-radius: inherit; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity 220ms cubic-bezier(0.2, 0, 0.2, 1); }
.brandcard:hover, .brandcard:focus-within { transform: translateY(-6px); box-shadow: none; }
.brandcard:hover::after, .brandcard:focus-within::after { opacity: 1; }
.brandcard__photo {
  border-radius: var(--radius-md) var(--radius-md) 0 0 / calc(var(--radius-md) - 4px) calc(var(--radius-md) - 4px) 0 0;
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  height: 230px; padding: var(--space-6) var(--space-5) 0;
  background:
    radial-gradient(60% 70% at 50% 58%, color-mix(in oklab, var(--brand-orange) 38%, transparent), transparent 72%),
    linear-gradient(180deg, #0b1e42 0%, var(--brand-navy) 100%);
}
.brandcard__photo::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 10px; height: 16px; border-radius: 50%; background: rgb(0 0 0 / 0.55); filter: blur(10px); }
.brandcard__photo picture { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 100%; }
.brandcard__photo img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 400ms cubic-bezier(0.2, 0, 0.2, 1); }
.brandcard:hover .brandcard__photo img { transform: scale(1.05); }
.brandcard__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6) var(--space-5) var(--space-5); flex: 1; }
.brandcard__name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 0.9584; text-transform: uppercase; letter-spacing: -0.005em; } /* display-lg */
.brandcard__claim { margin: 0; color: var(--brand-orange); font-size: 0.8125rem; line-height: 1.2308; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; } /* eyebrow */
.brandcard__text { margin: var(--space-2) 0 var(--space-4); color: var(--ink-on-navy-muted); }
.brandcard__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: var(--space-2); align-self: flex-start;
  color: var(--ink-on-navy); font-size: 0.9375rem; line-height: 1.0667; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  padding-bottom: var(--space-1); border-bottom: 2px solid var(--brand-orange);
}
.brandcard__link:hover { color: var(--brand-orange); }
.brandcard__link:focus-visible { outline: 2px solid var(--focus-ring-on-navy); outline-offset: 4px; }
.brandcard__link svg { transition: transform 150ms cubic-bezier(0.2, 0, 0.2, 1); }
.brandcard__link:hover svg { transform: translateX(4px); }

.creds { list-style: none; margin: var(--space-10) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4) var(--space-8); }
.creds li { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0; font-size: 0.875rem; line-height: 1.2858; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.creds strong { color: var(--ink); }
.creds svg { flex: none; color: var(--ink-accent-lg); }

.brandcard__link--ink { color: var(--ink); }
.brandcard__link--ink:hover { color: var(--ink-accent); }
.brandcard__link--ink:focus-visible { outline-color: var(--focus-ring); }

/* ---------------------------------------------------------------- punch
   A loud left-hand headline for two-column sections. The span carries the orange. */
.punch { display: flex; flex-direction: column; align-items: flex-start; }
.punch__eyebrow { color: var(--ink-accent); }
.punch__title { margin: 0 0 var(--space-5); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; font-size: 3rem; line-height: 0.9584; color: var(--ink); text-wrap: balance; }
.punch__title span { display: block; color: var(--ink-accent-lg); }
@media (min-width: 1100px) { .punch__title { font-size: 4rem; line-height: 0.9375; } .punch { position: sticky; top: 140px; } }
.punch__lede { margin: 0 0 var(--space-6); font-size: 1.125rem; line-height: 1.5556; color: var(--ink-muted); max-width: 40ch; }

/* ------------------------------------------------------------ statement */
.statement__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.statement__eyebrow { color: var(--ink-accent); justify-content: center; }
.statement__quote {
  margin: 0 0 var(--space-10); max-width: 18ch;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em;
  font-size: 2.25rem; line-height: 1; color: var(--ink);
}
.statement__quote span { color: var(--ink-accent-lg); }
@media (min-width: 768px) { .statement__quote { font-size: 4rem; line-height: 0.9375; } }
.statement__cols { display: grid; gap: var(--space-6); text-align: left; color: var(--ink-muted); }
.statement__cols p { margin: 0; }
@media (min-width: 900px) { .statement__cols { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }

/* ------------------------------------------------------------- big stats */
.bigstats { position: relative; overflow: hidden; isolation: isolate; }
.bigstats::before {
  content: ""; position: absolute; z-index: -1; inset: -40% -10% auto; height: 120%;
  background: radial-gradient(50% 50% at 50% 0%, color-mix(in oklab, var(--brand-orange) 22%, transparent), transparent 70%);
}
.bigstats__row { display: grid; gap: var(--space-8); margin-top: var(--space-10); }
@media (min-width: 900px) { .bigstats__row { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.bigstat { text-align: center; padding: var(--space-4) var(--space-6); }
@media (min-width: 900px) { .bigstat + .bigstat { border-left: 1px solid var(--border-on-navy); } }
.bigstat :where(p) { margin: 0; }
.bigstat__value { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 3rem; line-height: 0.9584; color: var(--brand-orange); }
@media (min-width: 1100px) { .bigstat__value { font-size: 4rem; line-height: 0.9375; } }
.bigstat__label { margin-top: var(--space-3); font-size: 0.875rem; line-height: 1.2858; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-on-navy); }
.bigstat__note { margin-top: var(--space-2); color: var(--ink-on-navy-muted); }

/* ------------------------------------------------------ what we fix cards */
.fixes { counter-reset: fix; grid-template-columns: 1fr; }
/* explicit columns so no row is left half empty: 2x3, 3x2, then 4 + 2 wide */
@media (min-width: 600px)  { .fixes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px)  { .fixes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .fixes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fixes .nmse-service:nth-child(n+5) { grid-column: span 2; }
}
.fixes .nmse-service { counter-increment: fix; padding-top: var(--space-6); transition: transform 220ms cubic-bezier(0.2, 0, 0.2, 1), border-color 220ms; }
.fixes .nmse-service::after { box-shadow: var(--shadow-lg); transition-duration: 220ms; }
.fixes .nmse-service::before {
  content: counter(fix, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 0.9584; color: var(--ink-accent-lg);
}
.fixes .nmse-service__title a::after { content: ""; position: absolute; inset: 0; }   /* whole card is the link */
.fixes .nmse-service:hover, .fixes .nmse-service:focus-within { transform: translateY(-6px); box-shadow: none; background: var(--surface); }
.fixes .nmse-service:hover::after, .fixes .nmse-service:focus-within::after { opacity: 1; }
.fixes .nmse-service__title a:focus-visible { outline: none; }
.fixes .nmse-service:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* ---------------------------------------------------------------- pickup */
.pickup { display: grid; gap: var(--space-6); margin-top: var(--space-10); }
@media (min-width: 900px) { .pickup { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.pickup__price {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2);
  padding: var(--space-8) var(--space-6); border-radius: var(--radius-md); border-top: 4px solid var(--brand-orange);
  background: radial-gradient(90% 70% at 100% 0%, color-mix(in oklab, var(--brand-orange) 28%, transparent), transparent 70%), var(--brand-navy);
  color: var(--ink-on-navy);
}
.pickup__price :where(p) { margin: 0; }
.pickup__price-label { font-size: 0.8125rem; line-height: 1.2308; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-orange); }
.pickup__price-value { font-family: var(--font-display); font-weight: 800; font-size: 6rem; line-height: 0.9167; color: var(--ink-on-navy); }
.pickup__price-note { color: var(--ink-on-navy-muted); margin-bottom: var(--space-5); }
.pickup__needs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: need; }
@media (min-width: 600px) { .pickup__needs { grid-template-columns: 1fr 1fr; } }
.pickup__needs li {
  counter-increment: need; margin: 0; position: relative;
  display: flex; flex-direction: column; gap: var(--space-1);
  padding: var(--space-5) var(--space-5) var(--space-5) 76px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.pickup__needs li::before {
  content: counter(need); position: absolute; left: var(--space-5); top: var(--space-5);
  min-inline-size: 40px; min-block-size: 40px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-accent-solid); color: var(--ink-on-accent); border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.1667;
}
.pickup__needs strong { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
.pickup__needs span { color: var(--ink-muted); }

/* ----------------------------------------------------------------- fleet */
.chips { list-style: none; margin: var(--space-6) 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips li { margin: 0; padding: var(--space-2) var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-size: 0.875rem; line-height: 1.2858; font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.ticks li { margin: 0; display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-5); background: var(--surface-raised); border-left: 4px solid var(--brand-orange); border-radius: var(--radius-sm); }
.ticks svg { flex: none; margin-top: 3px; color: var(--ink-accent-lg); }

/* ------------------------------------------------------------------ BYOB
   The design system reserves the orange panel, radius-lg and shadow-lg for this offer. */
.byob {
  display: grid; gap: var(--space-8); align-items: center;
  padding: var(--space-8) var(--space-5);
  background: var(--surface-accent-solid); color: var(--ink-on-accent);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .byob { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); padding: var(--space-16) var(--space-12); gap: var(--space-12); } }
.byob__eyebrow { margin: 0 0 var(--space-3); font-size: 0.8125rem; line-height: 1.2308; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.byob__title { margin: 0 0 var(--space-4); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2.25rem; line-height: 1; }
@media (min-width: 900px) { .byob__title { font-size: 3rem; line-height: 0.9584; } }
.byob__copy p:not(.byob__eyebrow) { margin-bottom: var(--space-6); max-width: 46ch; font-weight: 500; }
.byob .nmse-btn--secondary:focus-visible { outline-color: var(--focus-ring-on-accent); }
.byob__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.byob__steps li {
  margin: 0; display: grid; grid-template-columns: 56px 1fr; column-gap: var(--space-4); align-items: center;
  padding: var(--space-4) var(--space-5); background: var(--brand-navy); color: var(--ink-on-navy); border-radius: var(--radius-md);
  transition: transform 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
.byob__steps li:hover { transform: translateX(8px); }
.byob__num { grid-row: span 2; font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: 0.9375; color: var(--brand-orange); }
.byob__steps strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1667; font-weight: 700; text-transform: uppercase; }
.byob__steps li > span:last-child { color: var(--ink-on-navy-muted); font-size: 0.875rem; line-height: 1.5715; }

/* ------------------------------------------------------------ page hero */
.pagehero { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--space-12); color: var(--ink-on-navy);
  background: radial-gradient(70% 90% at 85% 10%, color-mix(in oklab, var(--brand-orange) 30%, transparent), transparent 65%), var(--brand-navy); }
@media (min-width: 1000px) { .pagehero { padding-block: var(--space-20); } }
.pagehero__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1000px) { .pagehero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-12); } }
.pagehero__title { margin: 0 0 var(--space-5); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2.25rem; line-height: 1; text-wrap: balance; }
@media (min-width: 768px) { .pagehero__title { font-size: 4rem; line-height: 0.9375; letter-spacing: -0.005em; } }
.pagehero__lede { margin: 0 0 var(--space-8); color: var(--ink-on-navy-muted); max-width: 60ch; }
.pagehero__photo { position: relative; }
.pagehero__photo::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 2%; height: 8%; border-radius: 50%; background: rgb(0 0 0 / 0.6); filter: blur(14px); z-index: -1; }
.crumbs { margin-bottom: var(--space-5); font-size: 0.875rem; line-height: 1.2858; font-weight: 600; color: var(--ink-on-navy-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; gap: var(--space-2); margin: 0; }
/* the divider is decoration: the empty alt text keeps it out of the accessibility tree */
.crumbs li + li::before { content: "/"; content: "/" / ""; }
.crumbs a, .crumbs a:hover { color: var(--ink-on-navy-muted); }
/* current page: still a link, marked by weight and no underline as well as colour */
.crumbs a[aria-current="page"] { color: var(--ink-on-navy); font-weight: 700; text-decoration: none; }
.crumbs a[aria-current="page"]:hover { text-decoration: underline; }

/* ------------------------------------------------------------- catalogue */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-top: var(--space-8); }
.filters__btn {
  padding: var(--space-2) var(--space-4); cursor: pointer;
  background: var(--surface); color: var(--ink); border: 2px solid var(--border-strong); border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.2858; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  transition: background-color 150ms cubic-bezier(0.2, 0, 0.2, 1), border-color 150ms cubic-bezier(0.2, 0, 0.2, 1), color 150ms cubic-bezier(0.2, 0, 0.2, 1);
}
.filters__btn:hover { border-color: var(--ink); }
.filters__btn.is-on { background: var(--brand-navy); border-color: var(--brand-navy); color: var(--ink-on-navy); }
.machines { list-style: none; margin: var(--space-10) 0 0; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.machine { position: relative; min-width: 0; margin: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--brand-orange); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform 220ms cubic-bezier(0.2, 0, 0.2, 1); }
/* as .brandcard: the photo clips its own top corners, so the card needs no overflow: hidden to show the ::after shadow */
.machine::after { content: ""; position: absolute; inset: -4px -1px -1px; border-radius: inherit; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity 220ms cubic-bezier(0.2, 0, 0.2, 1); }
.machine[hidden] { display: none; }
.js .machine.reveal.is-in:hover, .js .machine.reveal.is-in:focus-within { transform: translateY(-6px); box-shadow: none; transition-delay: 0s; }
.js .machine.reveal.is-in:hover::after, .js .machine.reveal.is-in:focus-within::after { opacity: 1; }
/* green corner ribbon for machines at the shop. The status line under the photo carries the words for screen readers. */
.ribbon {
  position: absolute; z-index: 2; top: 22px; left: -38px; width: 170px;
  transform: rotate(-45deg); text-align: center; padding: var(--space-1) 0;
  background: var(--success); color: #fff;
  font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.3847; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
/* every photo sits in the same locked 4:3 frame, whatever shape the file is */
.machine__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0 / calc(var(--radius-md) - 4px) calc(var(--radius-md) - 4px) 0 0; background: #fff; border-bottom: 1px solid var(--border); }
.machine__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transition: transform 400ms cubic-bezier(0.2, 0, 0.2, 1); }
.machine__photo--cover img { object-fit: cover; object-position: 50% 60%; }
.machine__photo--contain img { object-fit: contain; padding: var(--space-4); }
.machine:hover .machine__photo img { transform: scale(1.05); }
.machine__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); flex: 1; }
.machine__body :where(p) { margin: 0; }
.machine__status { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 0.75rem; line-height: 1.3334; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.machine__status::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-pill); background: currentColor; }
.machine__status--shop { color: var(--success); }
.machine__status--warehouse { color: var(--info); }
.machine__name { margin: 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1667; font-weight: 700; text-transform: uppercase; }
.machine__cat { color: var(--ink-muted); font-size: 0.875rem; line-height: 1.5715; }
.machine__price { margin-top: auto; padding-top: var(--space-3); font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--ink); }
.machine__price span { font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.2858; font-weight: 600; color: var(--ink-muted); }
.machine__ask { margin-top: var(--space-3); }
.machine__price--ask { font-size: 1.5rem; line-height: 1.1667; }

.tablewrap { overflow-x: auto; margin-top: var(--space-10); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); }
.compare th, .compare td { padding: var(--space-4) var(--space-5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare thead th { background: var(--brand-navy); color: var(--ink-on-navy); font-size: 0.875rem; line-height: 1.2858; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.compare tbody th { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; border-left: 4px solid var(--brand-orange); white-space: nowrap; }

/* ------------------------------------------------------------------ form */
.form { display: grid; gap: var(--space-4); align-content: start; }
@media (min-width: 600px) { .form { grid-template-columns: 1fr 1fr; } .form__field--wide, .form .nmse-btn { grid-column: 1 / -1; } }
.form__hp { position: absolute; left: -9999px; }
.form__field { display: flex; flex-direction: column; gap: var(--space-2); }
.form__field span { font-size: 0.875rem; line-height: 1.2858; font-weight: 600; color: var(--ink-on-navy); }
.form__field input, .form__field select, .form__field textarea {
  width: 100%; padding: var(--space-3); font: inherit; color: var(--ink);
  background: var(--surface); border: 2px solid var(--border-on-navy); border-radius: var(--radius-sm);
}
.form__field input:focus-visible, .form__field select:focus-visible, .form__field textarea:focus-visible { outline: 2px solid var(--focus-ring-on-navy); outline-offset: 2px; }
/* Required marker. The empty alt text keeps the asterisk out of the label's name: the required attribute already says "required". */
.form__field:has(:required) > span:first-child::after { content: " *"; content: " *" / ""; color: var(--brand-orange); }
.form__field .form__hint { font-weight: 400; color: var(--ink-on-navy-muted); }
.form__note { grid-column: 1 / -1; margin: 0; font-size: 0.875rem; line-height: 1.2858; color: var(--ink-on-navy-muted); }
/* Errors show only after the visitor leaves a field or tries to send (:user-invalid), never on page load.
   The message comes from site.js, with an icon and words so the error is not shown by colour alone. */
.form__field :is(input, select, textarea):user-invalid { border-color: var(--danger); background-color: var(--danger-surface); }
.form__turnstile, .form__progress, .form__status { grid-column: 1 / -1; }
.form__progress { margin: 0; padding: var(--space-2) var(--space-3); background: var(--info-surface); color: var(--info); border-radius: var(--radius-sm); font-size: 1rem; line-height: 1.5; font-weight: 700; }
.form__turnstile { min-block-size: 65px; }
.form__status { margin: 0; padding: var(--space-2) var(--space-3); background: var(--danger-surface); color: var(--danger); border-radius: var(--radius-sm); font-size: 1rem; line-height: 1.5; font-weight: 700; }
/* Empty status boxes stay in the accessibility tree (visually hidden, out of the grid) so screen readers
   announce text the moment it arrives. display: none would make some readers skip it. */
.form__progress:empty, .form__status:empty { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:is(.form__field, .form__choice) .form__error { display: none; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-2); background: var(--danger-surface); color: var(--danger); border-radius: var(--radius-sm); font-size: 0.875rem; line-height: 1.2858; font-weight: 700; }
.form__field .form__error svg, .form__choice .form__error svg { flex: none; }
.form__field .form__error span, .form__choice .form__error span { font: inherit; color: inherit; }
.form__field :user-invalid ~ .form__error { display: flex; }
/* Short single choices (2 or 3 options) are radio groups that reuse the B.Y.O.B. chips. site.js sets aria-invalid
   on the group after a blocked send. On navy the danger red is too dark to see, so the chips switch to a light dashed edge. */
.form__choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.form__choice legend { float: left; width: 100%; margin: 0 0 var(--space-2); padding: 0; font-size: 0.875rem; line-height: 1.2858; font-weight: 600; color: var(--ink-on-navy); }
.form__choice:has(:required) > legend::after { content: " *"; content: " *" / ""; color: var(--brand-orange); }
.form__choice > .chips-row { clear: both; }
.form__choice[aria-invalid="true"] .chip span { border-style: dashed; border-color: var(--danger-surface); }
.form__choice[aria-invalid="true"] > .form__error { display: flex; margin-top: var(--space-2); }

/* ----------------------------------------------------------- legal pages */
.legal { max-width: 76ch; }
.legal h2 { margin: var(--space-10) 0 var(--space-3); font-family: var(--font-display); font-size: 1.75rem; line-height: 1.0715; font-weight: 700; text-transform: uppercase; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-muted); }
.legal strong { color: var(--ink); }
.pagehero--plain .pagehero__title { font-size: 2.25rem; line-height: 1; }
@media (min-width: 768px) { .pagehero--plain .pagehero__title { font-size: 3rem; line-height: 0.9584; } }
.sitemap-list { list-style: none; padding: 0; margin: 0 0 var(--space-8); display: grid; gap: var(--space-2); }
.sitemap-list a { font-weight: 600; }
.sitemap-list span { color: var(--ink-muted); }

/* --------------------------------------------------------------- reviews */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reviews__score { display: flex; align-items: center; justify-content: center; gap: var(--space-5); margin-top: var(--space-8); }
.reviews__score :where(p) { margin: 0; }
.reviews__rating { font-family: var(--font-display); font-weight: 800; font-size: 6rem; line-height: 0.9167; color: var(--ink); }
.reviews__stars, .review__stars { display: flex; gap: 2px; color: var(--ink-accent-lg); margin: 0; }
.reviews__stars svg { width: 28px; height: 28px; }
.reviews__count { margin-top: var(--space-2); color: var(--ink-muted); font-weight: 600; }
.reviews__viewport {
  overflow: hidden; margin-top: var(--space-10); padding-block: var(--space-3);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.reviews__viewport:hover .reviews__track, .reviews__viewport:focus-within .reviews__track, .reviews__viewport[data-paused="true"] .reviews__track { animation-play-state: paused; }
.reviews__list { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0 var(--space-3); }
.review {
  margin: 0; width: 320px; display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-6) var(--space-5); background: var(--surface-raised);
  border: 1px solid var(--border); border-top: 4px solid var(--brand-orange); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.review__text { margin: 0; font-size: 1.125rem; line-height: 1.5556; color: var(--ink); }
.review__by { margin: auto 0 0; display: flex; flex-direction: column; font-size: 0.875rem; line-height: 1.5715; color: var(--ink-muted); }
.review__by strong { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--ink); }
.review__link { font-size: 0.875rem; line-height: 1.2858; font-weight: 700; }
.reviews__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-3); margin-top: var(--space-8); }
.reviews__pause { background: none; border: 0; padding: var(--space-2); cursor: pointer; color: var(--ink-muted); font: inherit; font-size: 0.875rem; line-height: 1.8572; font-weight: 600; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .reviews__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .reviews__track { animation: none; }
  .reviews__list[aria-hidden="true"], .reviews__pause { display: none; }
}

/* ------------------------------------------------------------------- map */
.map { line-height: 0; border-top: 4px solid var(--brand-orange); }
.map iframe { display: block; width: 100%; height: 450px; }
@media (max-width: 767px) { .map iframe { height: 360px; } }

/* ------------------------------------------------------------------ crew */
.crew { display: grid; gap: var(--space-4); margin-top: var(--space-10); grid-template-columns: 1fr; }
/* five cards with no half-empty row: 2+2+1 wide, then 3 over 2 */
@media (min-width: 700px)  { .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); } .crew .nmse-team:last-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .crew { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .crew .nmse-team { grid-column: span 2; }
  .crew .nmse-team:nth-child(n+4), .crew .nmse-team:last-child { grid-column: span 3; }
}
.crew .nmse-team { border-left: 4px solid var(--brand-orange); }
.crew .nmse-team__figure { font-style: normal; }
.crew__more { margin: var(--space-8) 0 0; text-align: center; }
.band--raised .faq__item { border-top-color: var(--border-strong); }

/* ------------------------------------------------------------------- FAQ */
.faq { counter-reset: faq; }
.faq__item { counter-increment: faq; position: relative; padding-left: 64px; }
.faq__item::before { content: counter(faq, decimal-leading-zero); position: absolute; left: 0; top: var(--space-4); font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--ink-accent-lg); }

/* --------------------------------------------------------------- closing */
.band--last { padding-bottom: var(--space-12); }
.closing {
  display: grid; gap: var(--space-8);
  padding: var(--space-8) var(--space-5);
  border-radius: var(--radius-md); border-top: 4px solid var(--brand-orange);
  background: radial-gradient(70% 90% at 100% 0%, color-mix(in oklab, var(--brand-orange) 25%, transparent), transparent 70%), var(--brand-navy);
  color: var(--ink-on-navy-muted);
}
@media (min-width: 900px) { .closing { grid-template-columns: 1fr 1fr; padding: var(--space-16) var(--space-12); gap: var(--space-16); } }
.closing__eyebrow { margin: 0 0 var(--space-3); font-size: 0.8125rem; line-height: 1.2308; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-orange); }
.closing__title { margin: 0 0 var(--space-4); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2.25rem; line-height: 1; color: var(--ink-on-navy); }
.closing__phone { margin: 0 0 var(--space-4); font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 0.9584; }
@media (min-width: 1100px) { .closing__phone { font-size: 4rem; line-height: 0.9375; } }
.closing__phone a { color: var(--ink-on-navy); text-decoration: none; }
.closing__phone a:hover { color: var(--brand-orange); }
.closing__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
@media (min-width: 900px) { .closing__call { padding-left: var(--space-16); border-left: 1px solid var(--border-on-navy); } }

/* rise-in on scroll, only when JS is running */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 600ms cubic-bezier(0.2, 0, 0.2, 1), transform 600ms cubic-bezier(0.2, 0, 0.2, 1); }
.js .reveal:nth-child(2) { transition-delay: 120ms; }
.js .reveal:nth-child(3) { transition-delay: 240ms; }
.js .reveal:nth-child(4) { transition-delay: 120ms; }
.js .reveal:nth-child(5) { transition-delay: 240ms; }
.js .reveal:nth-child(6) { transition-delay: 360ms; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .brandcard.reveal.is-in:hover, .js .brandcard.reveal.is-in:focus-within,
.js .fixes .nmse-service.reveal.is-in:hover, .js .fixes .nmse-service.reveal.is-in:focus-within { transform: translateY(-6px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .brandcard, .brandcard::after, .brandcard__photo img, .fixes .nmse-service, .nmse-service::after, .byob__steps li { transition: none; } }
/* reduced motion: no lifts, zooms or slides on hover (the shadow still changes). Colour changes stay. */
@media (prefers-reduced-motion: reduce) {
  .machine, .machine::after, .machine__photo img, .brandcard__link svg { transition: none; }
  .brandcard:hover, .brandcard:focus-within, .fixes .nmse-service:hover, .fixes .nmse-service:focus-within,
  .js .brandcard.reveal.is-in:hover, .js .brandcard.reveal.is-in:focus-within,
  .js .fixes .nmse-service.reveal.is-in:hover, .js .fixes .nmse-service.reveal.is-in:focus-within,
  .js .machine.reveal.is-in:hover, .js .machine.reveal.is-in:focus-within,
  .machine:hover .machine__photo img, .brandcard:hover .brandcard__photo img, .brandcard__link:hover svg { transform: none; }
  /* bundle.css drops every button transition under reduced motion; colour fades are not motion, so they come back */
  .nmse-btn { transition-property: background-color, border-color, color; }
}

/* ------------------------------------------------------------ B.Y.O.B. rig builder
   Built outside the design system. The orange band is the design system's reserved BYOB surface;
   text on it is navy (ink-on-accent), never white. */
.rigband { background: var(--surface-raised); color: var(--ink); padding-block: var(--space-12); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 1000px) { .rigband { padding-block: var(--space-20); } }
.rigband__head { display: grid; gap: var(--space-4); align-items: end; margin-bottom: var(--space-8); }
@media (min-width: 1000px) { .rigband__head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-12); } }
.rigband__eyebrow { margin: 0 0 var(--space-3); font-size: 0.8125rem; line-height: 1.2308; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-accent); }
.rigband__title { margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 3rem; line-height: 0.9584; letter-spacing: -0.005em; }
@media (min-width: 1100px) { .rigband__title { font-size: 4rem; line-height: 0.9375; } }
.rigband__lede { margin: 0; font-size: 1.125rem; line-height: 1.5556; color: var(--ink-muted); }
.rigband__title span { color: var(--ink-accent-lg); }

.chips-group + .chips-group { margin-top: var(--space-4); }
.chips-group__label { margin: 0 0 var(--space-2); font-size: 0.8125rem; line-height: 1.2308; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-orange); }
.chips-group[hidden], .rig__empty[hidden] { display: none; }
.rig__empty { margin: 0; font-weight: 600; color: var(--ink-on-navy); }
.rig__stage {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  background: radial-gradient(80% 90% at 50% 10%, #22252b 0%, #0d0e10 75%);
}
.rig__stage::before { /* two light strips over the stage, like the hero */
  content: ""; position: absolute; left: 18%; right: 18%; top: 18px; height: 5px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, #fec48a 15%, #fec48a 85%, transparent);
  box-shadow: 0 0 14px 3px var(--brand-orange), 0 0 60px 18px color-mix(in oklab, var(--brand-orange) 35%, transparent);
}
.rig-svg { display: block; width: 100%; height: auto; }
.rig__summary { margin: var(--space-5) 0 0; font-size: 1.125rem; line-height: 1.5556; font-weight: 500; }
.rig__warn { margin: var(--space-3) 0 0; padding: var(--space-3) var(--space-4); background: var(--warning-surface); color: var(--ink); border-left: 4px solid var(--warning); border-radius: var(--radius-sm); font-weight: 600; }
/* the status region is always in the page; empty, it takes no space */
.rig__warn:empty { margin: 0; padding: 0; border: 0; }
.rig__steps { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
@media (min-width: 900px) { .rig__steps { grid-template-columns: 1fr 1fr; } }
.rig__step { margin: 0; padding: var(--space-5); border: 0; border-radius: var(--radius-md); background: var(--brand-navy); color: var(--ink-on-navy); }
.rig__step legend { float: left; width: 100%; display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); padding: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1667; text-transform: uppercase; }
.rig__step--pkg { grid-column: 1 / -1; border-top: 4px solid var(--brand-orange); }
.rig__step .rig__num--start { width: auto; padding: 0 var(--space-3); font-size: 1rem; line-height: 1.75; letter-spacing: 0.06em; }
.rig__step:last-child { grid-column: 1 / -1; } /* accessories: full width, no half-empty row */
.rig__step--pkg .chip span { padding: var(--space-3) var(--space-5); font-size: 1rem; line-height: 1.125; }
.rig__num { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 36px; min-block-size: 36px; border-radius: var(--radius-sm); background: var(--surface-accent-solid); color: var(--ink-on-accent); font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 1.2728; }
.rig__hint { clear: both; margin: 0 0 var(--space-3); color: var(--ink-on-navy-muted); font-size: 0.875rem; line-height: 1.5715; }
/* Each chip label is at least 48px tall (tap target), while the visible chip stays 38px. The label takes the
   extra height, so the row gap is 0 and the chips still sit about 10px apart. */
.chips-row { display: flex; flex-wrap: wrap; gap: 0 var(--space-2); }
.chip { position: relative; cursor: pointer; display: inline-flex; align-items: center; min-block-size: 48px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3);
  border: 2px solid var(--border-on-navy); border-radius: var(--radius-sm); color: var(--ink-on-navy);
  font-size: 0.875rem; line-height: 1.2858; font-weight: 600; transition: background-color 150ms, border-color 150ms, color 150ms;
}
.chip:hover span { border-color: var(--ink-on-navy); }
.chip input:checked + span { background: var(--surface-accent-solid); border-color: var(--surface-accent-solid); color: var(--ink-on-accent); }
.chip input:checked + span::before { content: ""; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.chip input:focus-visible + span { outline: 2px solid var(--focus-ring-on-navy); outline-offset: 2px; }
.rigform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin-top: var(--space-6); }
.rigform__link { color: var(--ink-accent); font-weight: 700; }
.rigform__link:hover { color: var(--ink); }
.rigband .nmse-btn--secondary:focus-visible { outline-color: var(--focus-ring-on-accent); }

.rigform__contact { margin-top: var(--space-6); padding: var(--space-6) var(--space-5); background: var(--brand-navy); color: var(--ink-on-navy); border-radius: var(--radius-md); }
.rigform__contact-title { margin: 0 0 var(--space-4); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1667; text-transform: uppercase; }
.rigform__contact .nmse-btn--secondary { background: var(--surface-accent-solid); color: var(--ink-on-accent); } /* on the navy panel the submit turns orange */
.rigform__contact .nmse-btn--secondary:hover:not([disabled]) { background: var(--surface-accent-solid-hover); color: var(--ink-on-accent); } /* keep navy text readable on hover */
.rigform__contact .nmse-btn--secondary:active:not([disabled]) { background: var(--surface-accent-solid-active); color: var(--ink-on-accent); }
.rigform__contact .nmse-btn--secondary:focus-visible { outline-color: var(--focus-ring-on-navy); }
.howsteps { margin-top: var(--space-10); counter-reset: need; }
@media (min-width: 900px) { .howsteps { grid-template-columns: repeat(3, 1fr); } }

/* motion: the trailer rolls in once, wheels turn while it rolls, new machines and tools drop in */
.rig__stage.is-waiting .rig-trailer { transform: translateX(-115%); }
.rig__stage.is-rolling .rig-trailer { animation: rig-roll 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rig-spin { transform-box: fill-box; transform-origin: center; }
.rig__stage.is-rolling .rig-spin { animation: rig-spin 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rig-item.is-new { animation: rig-drop 600ms cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
@keyframes rig-roll { from { transform: translateX(-115%); } to { transform: none; } }
@keyframes rig-spin { from { transform: rotate(-900deg); } to { transform: none; } }
@keyframes rig-drop { from { opacity: 0; transform: translateY(-70px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rig__stage.is-waiting .rig-trailer { transform: none; }
  .rig-trailer, .rig-spin, .rig-item.is-new { animation: none !important; }
}

/* nav: the one loud link */
.nav-pill a { color: var(--ink-accent); }
@media (min-width: 1100px) {
  /* later than .site-nav a at the same weight, so order wins; the current-page variant keeps the pill's navy text */
  .nav-pill a, .nav-pill a[aria-current="page"] { padding: var(--space-1) var(--space-3); border: 2px solid var(--brand-orange); border-radius: var(--radius-pill); color: var(--ink); }
  .nav-pill a:hover { background: var(--surface-accent-solid); color: var(--ink-on-accent); }
}

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--brand-navy); color: var(--ink-on-navy-muted); padding-block: var(--space-12) var(--space-6); }
.site-footer__grid { display: grid; gap: var(--space-8); }
/* four columns: shop details, then three link lists */
@media (min-width: 600px)  { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__grid > div:first-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-10); } .site-footer__grid > div:first-child { grid-column: auto; } }
.site-footer__head { margin: 0 0 var(--space-4); font-size: 0.8125rem; line-height: 1.2308; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-orange); }
.site-footer img { width: 200px; margin-bottom: var(--space-5); }
.site-footer__nap { color: var(--ink-on-navy); }
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; color: var(--ink-on-navy); }
.site-footer__legal { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--border-on-navy); font-size: 0.75rem; line-height: 1.3334; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6); }
.site-footer__legal p { margin: 0; }

/* Sticky call and text bar, phones only. */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2);
  padding: var(--space-2) var(--space-4) calc(var(--space-2) + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--border-strong);
}
body { padding-bottom: 64px; }
/* a field focused near the bottom of a phone screen scrolls clear of the call bar */
@media (max-width: 767px) { html { scroll-padding-bottom: 72px; } }
@media (min-width: 768px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* DEVIATION 5 (Paul, 2026-09-18): no italics anywhere. The design system sets its display
   styles in italic and Paul found it choppy on screen. bundle.css stays unmodified, so the
   italic is switched off here. Recommend changing fontStyle in tokens.json to match. */
[class*="t-display"], .nmse-heading__title, .nmse-stat__value, .nmse-cta__title,
.nmse-team__figure, .nmse-team__nickname { font-style: normal; }

/* ------------------------------------------------------------------ hero
   Layer order, back to front: band ground, glow, sweep, beam, light strips, embers, floor,
   sheen, contact shadows, pedestal, products. Nothing is drawn in front of a product. */
.hero {
  /* DEVIATION 1: charcoal is not a design-system token. Hero only. */
  --stage-charcoal: #17181b;
  --stage-charcoal-deep: #0d0e10;
  --stage-floor: #25262a;
  --stage-amber-core: color-mix(in srgb, var(--brand-orange) 40%, #fff);
  --glow-strong: color-mix(in oklab, var(--brand-orange) 42%, transparent);
  --glow-soft: color-mix(in oklab, var(--brand-orange) 14%, transparent);
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 70% 0%, var(--stage-charcoal) 0%, var(--stage-charcoal-deep) 70%);
  color: var(--ink-on-navy);
  padding-block: var(--space-12);
}
.hero__grid { display: grid; gap: var(--space-8); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__eyebrow { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-4); color: var(--brand-orange); text-transform: uppercase; }
/* established year: same eyebrow style, set off by a short rule */
.hero__est { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--ink-on-navy); }
.hero__est::before { content: ""; width: 1px; height: 12px; background: var(--border-on-navy); }
.hero__title { margin: 0 0 var(--space-5); font-family: var(--font-display); line-height: 0.8125; font-weight: 800; text-transform: uppercase; color: var(--ink-on-navy); }
.hero__brands { display: block; font-size: 2.25rem; line-height: 1; }            /* display-md on phones */
.hero__brand { transition: color 500ms var(--ease); }
.hero__title-sub { display: block; margin-top: var(--space-3); font-size: 1.5rem; line-height: 1.1667; font-weight: 700; color: var(--ink-on-navy-muted); } /* heading-lg */
.hero[data-active="scag"] .hero__brand[data-brand="scag"],
.hero[data-active="stihl"] .hero__brand[data-brand="stihl"],
.hero[data-active="ariens"] .hero__brand[data-brand="ariens"] { color: var(--brand-orange); }
.hero__lede { margin: 0 0 var(--space-8); color: var(--ink-on-navy-muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

@media (min-width: 768px) {
  .hero { padding-block: var(--space-16); }
  .hero__brands { font-size: 4rem; line-height: 0.9375; letter-spacing: -0.005em; } /* display-xl */
  .hero__title-sub { font-size: 1.75rem; line-height: 1.0715; }                        /* display-sm */
}
@media (min-width: 1000px) {
  .hero { padding-block: var(--space-24); }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-10); }
}

/* Video hero: the clip always sits BEHIND the copy, as one section.
   Wide screens: full-bleed cover, copy on the clip's dark left side.
   Narrow screens: the clip is anchored to the bottom of the band and oversized so the product
   stays whole and centred. The copy sits over the clip's dark upper area, and the band's
   bottom padding keeps the copy off the product. */
.hero--video { padding-bottom: 86vw; }
.hero--video .hero__grid { position: relative; z-index: 2; }
.hero__video {
  position: absolute; z-index: 0; bottom: 0; left: -87vw;
  width: 190vw; max-width: none; height: auto; aspect-ratio: 16 / 9;
  display: block; background: var(--stage-charcoal-deep);
}
.hero__scrim {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 107vw; /* the clip's height */
  background: linear-gradient(180deg, var(--stage-charcoal-deep) 0%, rgb(13 14 16 / 0.7) 18%, rgb(13 14 16 / 0) 42%);
}
.hero--video .hero__rail { margin-top: var(--space-8); }
@media (min-width: 600px) {
  .hero--video { padding-bottom: 54vw; }
  .hero__video { width: 130vw; left: -32vw; }
  .hero__scrim { height: 73vw; }
}
@media (min-width: 1000px) {
  .hero--video { min-height: clamp(600px, 80vh, 780px); padding-block: var(--space-24); }
  .hero--video .hero__grid { min-height: clamp(408px, calc(80vh - 192px), 588px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__video { inset: 0; left: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 70% 50%; }
  .hero__scrim { inset: 0; height: auto;
    background: linear-gradient(90deg, var(--stage-charcoal-deep) 0%, rgb(13 14 16 / 0.88) 30%, rgb(13 14 16 / 0) 58%),
                linear-gradient(0deg, rgb(13 14 16 / 0.55) 0%, rgb(13 14 16 / 0) 22%); }
}

/* hero--shift: for clips where the machine sits near the middle of the frame. The clip is slid right
   so the machine clears the copy. The clip's left edge is near black, so it blends into the band. */
.hero__brands { text-wrap: balance; }
.hero--shift .hero__video { left: -66vw; }
@media (min-width: 600px) { .hero--shift .hero__video { left: -30vw; } }
@media (min-width: 1000px) {
  /* small nudge only, and anchored to the right edge so the front casters are never cropped */
  .hero--shift .hero__video { left: 2%; object-position: 100% 50%; }
  .hero--shift .hero__scrim { background: linear-gradient(90deg, var(--stage-charcoal-deep) 0%, var(--stage-charcoal-deep) 4%, rgb(13 14 16 / 0.9) 30%, rgb(13 14 16 / 0) 54%),
                                          linear-gradient(0deg, rgb(13 14 16 / 0.55) 0%, rgb(13 14 16 / 0) 22%); }
  .hero--shift .hero__copy { max-width: 480px; }
}
/* narrower desktops: the machine slides behind the copy, so the fade runs further right */
@media (min-width: 1000px) and (max-width: 1299px) {
  .hero--shift .hero__scrim { background: linear-gradient(90deg, var(--stage-charcoal-deep) 0%, rgb(13 14 16 / 0.94) 38%, rgb(13 14 16 / 0.55) 52%, rgb(13 14 16 / 0) 68%),
                                          linear-gradient(0deg, rgb(13 14 16 / 0.55) 0%, rgb(13 14 16 / 0) 22%); }
}

/* hero--copy-right: for clips where the products sit on the left and the right of the frame is empty
   wall. On desktop the clip is NOT scaled to fill the band. It keeps its own shape at 66% of the band
   width, pinned bottom-left, so the products stay in the left two thirds and the copy sits over the
   empty wall. The clip's edges are dark, so it blends into the charcoal band. On phones the copy sits
   above the clip as usual. */
.hero--copy-right .hero__video { left: -20vw; }
@media (min-width: 600px) { .hero--copy-right .hero__video { left: -4vw; } }
@media (min-width: 1000px) and (max-width: 1299px) { .hero--copy-right .hero__video { width: 60%; } .hero--copy-right .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
@media (min-width: 1000px) {
  .hero--copy-right { background: var(--stage-charcoal-deep); }
  .hero--copy-right .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hero--copy-right .hero__copy { grid-column: 2; justify-self: end; max-width: 480px; transform: translateX(48px); } /* half an inch right, per Paul, to show more of the light strip */
  .hero--copy-right .hero__video { inset: auto auto 0 -72px; width: calc(66% + 72px); height: auto; aspect-ratio: 16 / 9; object-fit: fill; object-position: 0 0; }
  /* fade the clip's own top and right edges into the band so no hard frame edge shows */
  .hero--copy-right .hero__video { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%), linear-gradient(270deg, transparent 0%, #000 22%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0%, #000 32%), linear-gradient(270deg, transparent 0%, #000 22%); mask-composite: intersect; }
  .hero--copy-right .hero__scrim { background: linear-gradient(270deg, var(--stage-charcoal-deep) 0%, var(--stage-charcoal-deep) 30%, rgb(13 14 16 / 0.6) 40%, rgb(13 14 16 / 0) 50%),
                                               linear-gradient(180deg, var(--stage-charcoal-deep) 0%, rgb(13 14 16 / 0) 30%); }
}

/* The stage scales as one group: every child is placed in percentages of it. */
.hero__show { position: relative; z-index: 1; }
.stage { position: relative; width: 100%; aspect-ratio: 100 / 72; }
.stage > * { position: absolute; }
@media (max-width: 999px) { .hero__show { margin-top: var(--space-8); } }

.stage__glow {
  inset: -45% -40% 10% -40%;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  background:
    radial-gradient(42% 46% at 40% 22%, var(--glow-strong), transparent 70%),
    radial-gradient(38% 42% at 68% 30%, var(--glow-strong), transparent 70%),
    radial-gradient(70% 60% at 54% 30%, var(--glow-soft), transparent 75%);
  filter: blur(6px);
  animation: lights-up 1.8s var(--ease) both, glow-drift 9s ease-in-out 1.8s infinite alternate;
  will-change: opacity, transform;
}
/* a slow gleam that crosses the back wall */
.stage__sweep {
  top: -12%; left: 0; width: 16%; height: 72%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.08), transparent);
  filter: blur(4px);
  animation: sweep 8s linear 2s infinite backwards;
}
/* spotlight that travels to the active product */
.stage__beam {
  top: -6%; left: 0; width: 44%; height: 78%;
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand-orange) 34%, transparent), color-mix(in oklab, var(--brand-orange) 10%, transparent) 60%, transparent 92%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  filter: blur(10px);
  opacity: 0; transform: translateX(77%);
  transition: transform 900ms var(--ease), opacity 600ms var(--ease);
}
.hero[data-active="scag"]   .stage__beam { opacity: 1; transform: translateX(14%); }
.hero[data-active="stihl"]  .stage__beam { opacity: 1; transform: translateX(77%); }
.hero[data-active="ariens"] .stage__beam { opacity: 1; transform: translateX(130%); }

.stage__strip {
  height: 1.1%; min-height: 3px; border-radius: var(--radius-pill);
  background: linear-gradient(90deg, transparent, var(--stage-amber-core) 12%, var(--stage-amber-core) 88%, transparent);
  box-shadow: 0 0 12px 2px var(--brand-orange), 0 0 48px 10px var(--glow-strong);
  animation: flicker-on 1.4s linear both, strip-pulse 3.5s ease-in-out 1.4s infinite alternate;
}
.stage__strip--a { left: 6%; width: 46%; top: -7%; }
.stage__strip--b { left: 44%; width: 50%; top: -1%; animation-delay: 0.3s, 1.7s; }

.stage__embers { inset: 0; pointer-events: none; }
.stage__embers i {
  position: absolute; bottom: 30%; left: calc(6% + var(--i) * 9.5%);
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--stage-amber-core); box-shadow: 0 0 6px 1px var(--brand-orange);
  opacity: 0;
  animation: ember calc(6s + var(--i) * 0.5s) linear calc(var(--i) * -1.1s) infinite;
}

.stage__floor {
  left: -200%; right: -100%; bottom: -40%; top: 56%;
  background: linear-gradient(180deg, var(--stage-floor) 0%, var(--stage-charcoal) 38%, var(--stage-charcoal-deep) 100%);
  border-top: 1px solid rgb(255 255 255 / 0.06);
  /* fade the floor out before it reaches the headline column */
  -webkit-mask-image: linear-gradient(90deg, transparent 42%, #000 54%);
  mask-image: linear-gradient(90deg, transparent 42%, #000 54%);
}
.stage__sheen {
  left: 0; right: 0; top: 56%; height: 34%;
  background: radial-gradient(60% 100% at 52% 0%, var(--glow-soft), transparent 70%);
  animation: lights-up 1.8s var(--ease) both, strip-pulse 4.5s ease-in-out 1.8s infinite alternate;
}

.stage__shadow { border-radius: 50%; background: rgb(0 0 0 / 0.72); filter: blur(10px); animation: lights-up 1s var(--ease) 0.4s backwards; }
.stage__shadow--scag     { left: 2%;  width: 54%; bottom: 26%;  height: 9%; }
.stage__shadow--ariens   { left: 61%; width: 36%; bottom: 26.5%; height: 7%; }
.stage__shadow--pedestal { left: 35%; width: 42%; bottom: -1.5%; height: 6%; }

.stage__pedestal {
  left: 38%; width: 36%; bottom: 2%; height: 10%;
  background: linear-gradient(180deg, #2c2d31 0%, #2c2d31 18%, #141518 18.5%, #0b0c0e 100%);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.10);
  animation: rise 700ms var(--ease) 0.2s backwards;
}

/* Products. The image pixels are never changed. They roll in, then the active one lifts
   and the other two drop back slightly. */
.stage__product { margin: 0; transform-origin: 50% 100%; transition: transform 900ms var(--ease), filter 900ms var(--ease); }
.stage__product img { width: 100%; height: auto; }
.stage__product--scag   { left: 0;   width: 56%; bottom: 30%;   animation: roll-in-left 1s var(--ease) 0.1s backwards; }
.stage__product--ariens { left: 50%; width: 58%; bottom: 23.5%; animation: roll-in-right 1s var(--ease) 0.3s backwards; }
.stage__product--stihl  { left: 41%; width: 30%; bottom: 10.4%; animation: drop-in 700ms var(--ease) 0.9s backwards; }
.hero[data-active] .stage__product { filter: brightness(0.7); }
.hero[data-active="scag"]   .stage__product--scag,
.hero[data-active="stihl"]  .stage__product--stihl,
.hero[data-active="ariens"] .stage__product--ariens { filter: none; transform: translateY(-2.5%) scale(1.05); }

/* caption rail under the stage */
.hero__rail { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-8); min-height: 40px; }
.hero__captions { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); flex: 1; }
.hero__captions li { margin: 0; font-size: 0.875rem; line-height: 1.2858; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-on-navy-muted); }
.hero__captions a { text-decoration: none; color: inherit; }
.hero__captions a:hover { color: var(--ink-on-navy); }
.hero__captions strong { color: var(--brand-orange); margin-right: var(--space-2); }
/* with JS running, the captions share one cell and cross-fade with the spotlight */
.js .hero[data-active] .hero__captions li { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 500ms var(--ease), transform 500ms var(--ease), visibility 0s 500ms; }
.js .hero[data-active="scag"] .hero__captions li[data-brand="scag"],
.js .hero[data-active="stihl"] .hero__captions li[data-brand="stihl"],
.js .hero[data-active="ariens"] .hero__captions li[data-brand="ariens"] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.stage__pause {
  flex: none;
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: transparent; color: var(--ink-on-navy-muted);
  border: 1px solid var(--border-on-navy); border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 0.75rem; line-height: 1.3334; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
  transition: color 150ms var(--ease), border-color 150ms var(--ease);
}
.stage__pause:hover { color: var(--ink-on-navy); border-color: var(--ink-on-navy); }
.stage__pause-icon--play { display: none; }
.hero[data-lights="paused"] .stage__pause-icon--play { display: block; }
.hero[data-lights="paused"] .stage__pause-icon--pause { display: none; }
/* paused: finish the entrances, freeze the loops */
.hero[data-lights="paused"] .stage__product, .hero[data-lights="paused"] .stage__pedestal,
.hero[data-lights="paused"] .stage__shadow, .hero[data-lights="paused"] .stage__strip { animation: none; }
.hero[data-lights="paused"] .stage__glow, .hero[data-lights="paused"] .stage__sheen { animation: none; opacity: 1; }
.hero[data-lights="paused"] .stage__sweep, .hero[data-lights="paused"] .stage__embers { display: none; }

/* DEVIATION 2: hero-only motion, well past the 150 to 220ms the design system allows. */
@keyframes lights-up { from { opacity: 0.08; } to { opacity: 1; } }
@keyframes glow-drift {
  from { opacity: 1;    transform: translate3d(-4%, 0, 0) scale(1); }
  to   { opacity: 0.62; transform: translate3d(5%, 2%, 0) scale(1.08); }
}
@keyframes flicker-on { 0% { opacity: 0.05; } 8% { opacity: 0.9; } 12% { opacity: 0.1; } 22% { opacity: 1; } 27% { opacity: 0.25; } 36%, 100% { opacity: 1; } }
@keyframes strip-pulse { from { opacity: 1; } to { opacity: 0.78; } }
@keyframes sweep { from { transform: translateX(-160%) skewX(-18deg); } to { transform: translateX(760%) skewX(-18deg); } }
@keyframes ember {
  0%   { opacity: 0; transform: translate3d(0, 0, 0); }
  12%  { opacity: 0.9; }
  70%  { opacity: 0.5; }
  100% { opacity: 0; transform: translate3d(calc((var(--i) - 5) * 6px), -220px, 0); }
}
@keyframes roll-in-left  { from { opacity: 0; transform: translateX(-14%); } to { opacity: 1; transform: none; } }
@keyframes roll-in-right { from { opacity: 0; transform: translateX(14%); }  to { opacity: 1; transform: none; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-30%); } 70% { opacity: 1; transform: translateY(3%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage *, .stage__product { animation: none !important; transition: none !important; }
  .stage__glow, .stage__strip, .stage__sheen { opacity: 1; }
  .stage__sweep, .stage__embers, .stage__beam { display: none; }
  .hero[data-active] .stage__product { filter: none; transform: none; }
  .stage__pause { display: none; }
  .hero__captions li { opacity: 1 !important; visibility: visible !important; transform: none !important; grid-area: auto !important; }
}
.form__field textarea[readonly] { cursor: default; font-weight: 600; }

/* B.Y.O.B. flag: orange box straddling the hero's bottom edge and the builder band (home only).
   Navy text, not white: white on brand orange is 2.6:1 and fails WCAG even at display size. */
.byobflag { position: relative; z-index: 5; height: 0; display: flex; justify-content: center; align-items: flex-start; padding-inline: var(--space-4); }
.byobflag__inner { position: relative; transform: translateY(-50%); }
.byobflag__box { display: flex; flex-direction: column; align-items: center; padding: var(--space-4) var(--space-10) var(--space-5); background: var(--brand-orange); color: var(--ink-on-accent); text-decoration: none; border-radius: var(--radius-md); box-shadow: 0 18px 40px rgba(0, 17, 49, 0.35); transition: transform 180ms ease; position: relative; isolation: isolate; }
/* hover shadow on ::after, under the box's text and focus outline (z-index -1 inside the isolated box) */
.byobflag__box::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: 0 24px 48px rgba(0, 17, 49, 0.45); opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.byobflag__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 11vw, 7.5rem); line-height: 0.9; letter-spacing: 0.01em; text-transform: uppercase; }
.byobflag__small { margin-top: var(--space-2); font-size: 0.875rem; line-height: 1.2858; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.byobflag__box:hover, .byobflag__box:focus-visible { color: var(--ink-on-accent); transform: translateY(-4px); box-shadow: none; }
.byobflag__box:hover::after, .byobflag__box:focus-visible::after { opacity: 1; }
/* The box straddles the charcoal hero and the white band, so the ring is two-tone: white outline, navy halo */
.byobflag__box:focus-visible { outline: 3px solid var(--focus-ring-on-navy); outline-offset: 3px; box-shadow: 0 0 0 9px var(--brand-navy); }
.band--flagged { padding-top: calc(var(--space-12) + 70px); }
@media (min-width: 1000px) { .band--flagged { padding-top: calc(var(--space-16) + 90px); } }
/* hand-drawn arrow in the white band, curling up to point at the box */
.byobflag__arrow { position: absolute; left: calc(100% + 14px); top: 52%; width: 150px; height: auto; fill: none; stroke: var(--brand-navy); stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.byobflag__inner:hover .byobflag__arrow { transform: translateX(-6px); transition: transform 180ms ease; }
/* hand-written note at the arrow's tail. Permanent Marker is a flagged deviation, used here only. */
.byobflag__note { position: absolute; left: calc(100% + 70px); top: calc(52% + 118px); transform: rotate(-6deg); transform-origin: left center; font-family: 'Permanent Marker', var(--font-display); font-size: 1.625rem; line-height: 1.1; color: var(--brand-navy); white-space: nowrap; pointer-events: none; }
/* draw on once when it scrolls into view (site.js adds .is-in); without JS it is simply there */
.js .byobflag__arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .byobflag__arrow.is-in path { stroke-dashoffset: 0; transition: stroke-dashoffset 700ms ease-out; }
.js .byobflag__arrow.is-in path + path { transition-duration: 220ms; transition-delay: 700ms; }
.js .byobflag__note { opacity: 0; }
.js .byobflag__note.is-in { opacity: 1; transition: opacity 400ms ease 850ms; }
@media (max-width: 1099px) { .byobflag__arrow, .byobflag__note { display: none; } }
@media (prefers-reduced-motion: reduce) { .byobflag__box, .byobflag__box::after, .byobflag__box:hover, .byobflag__arrow { transition: none; } .byobflag__inner:hover .byobflag__arrow { transform: none; } .js .byobflag__arrow path { stroke-dashoffset: 0; transition: none !important; } .js .byobflag__note { opacity: 1; transition: none !important; } }
@media (min-width: 900px) { .howsteps--four { grid-template-columns: repeat(4, 1fr); } }
.wrap--narrow { max-width: 820px; }
/* About: team photo */
.teamphoto { margin: 0 auto; max-width: 960px; }
.teamphoto img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: 0 18px 40px rgba(0, 17, 49, 0.18); }
.teamphoto figcaption { margin-top: var(--space-3); font-size: 0.875rem; line-height: 1.4286; color: var(--ink-muted); text-align: center; }
.about__lede { max-width: 760px; }
.about__visit { align-self: center; align-items: center; }
/* Buying notes under equipment lists (financing, delivery, taxes) */
.buynotes { list-style: none; margin: var(--space-8) 0 0; padding: var(--space-5); display: grid; gap: var(--space-3); background: var(--surface-raised); border: 1px solid var(--border); border-left: 4px solid var(--brand-orange); border-radius: var(--radius-md); }
@media (min-width: 900px) { .buynotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }
.buynotes li { margin: 0; display: flex; gap: var(--space-2); align-items: flex-start; font-size: 0.9375rem; line-height: 1.4667; }
.buynotes svg { flex: none; margin-top: 1px; color: var(--ink-accent); }
/* Scag Fast Lane highlight */
.fastlane__badge { display: inline-block; margin-bottom: var(--space-3); padding: var(--space-1) var(--space-3); border: 2px solid var(--brand-orange); border-radius: var(--radius-sm); font-size: 0.8125rem; line-height: 1.3847; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-accent); }
.fastlane { border-top: 4px solid var(--brand-orange); }
/* PosPro Financial logo is white and green: always on a navy badge */
.finlogo { display: inline-flex; align-items: center; margin-top: var(--space-2); padding: var(--space-2) var(--space-3); background: var(--brand-navy); border-radius: var(--radius-sm); }
.buynotes .finlogo { display: flex; width: max-content; }
.finlogo img { display: block; width: 110px; height: auto; }
.finpartner { display: flex; align-items: center; justify-content: center; gap: var(--space-3); margin: var(--space-4) 0 0; font-size: 0.875rem; line-height: 1.8572; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.finpartner .finlogo { margin-top: 0; }
/* Ariens model cards: published specs */
.machine__specs { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: 2px; font-size: 0.8125rem; line-height: 1.3847; font-weight: 600; color: var(--ink-muted); }
.machine__specs li { margin: 0; }
.machine__specs li { padding-left: var(--space-3); border-left: 2px solid var(--brand-orange); }
/* Contact: three ways to reach us */
.contactcards { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .contactcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contactcards li { margin: 0; padding: var(--space-6); background: var(--surface-raised); border: 1px solid var(--border); border-top: 4px solid var(--brand-orange); border-radius: var(--radius-md); }
.contactcards p { margin: 0 0 var(--space-2); }
.contactcards__label { font-size: 0.8125rem; line-height: 1.2308; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-accent); }
.contactcards__value { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1.1429; text-transform: uppercase; color: var(--ink); }
.contactcards__value a { color: inherit; text-decoration: none; }
/* B.Y.O.B. finance calculator */
.fincalc { display: grid; gap: var(--space-4); margin: var(--space-8) 0; }
@media (min-width: 900px) { .fincalc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } }
.fincalc__inputs { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--brand-orange); border-radius: var(--radius-md); }
.fincalc__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1.1429; text-transform: uppercase; color: var(--ink); }
.fincalc__field { display: grid; gap: var(--space-2); }
.fincalc__field > span { display: flex; justify-content: space-between; gap: var(--space-3); font-size: 0.875rem; line-height: 1.2858; font-weight: 700; color: var(--ink); }
.fincalc__field output { color: var(--ink-accent); font-weight: 800; }
.fincalc__field input[type="text"], .fincalc__field select { width: 100%; min-height: 48px; padding: var(--space-2) var(--space-3); font: inherit; font-size: 1.125rem; line-height: 1.4445; color: var(--ink); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.fincalc__field input[type="range"] { width: 100%; min-height: 48px; accent-color: var(--ink-accent); }
.fincalc__field input:focus-visible, .fincalc__field select:focus-visible { outline: 2px solid var(--brand-navy); outline-offset: 2px; }
.fincalc__hint { margin: 0; font-size: 0.875rem; line-height: 1.4286; color: var(--ink-muted); }
.fincalc__result { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-6); background: var(--brand-navy); color: var(--ink-on-navy); border-radius: var(--radius-md); }
.fincalc__result p { margin: 0; }
.fincalc__label { font-size: 0.8125rem; line-height: 1.2308; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-orange); }
.fincalc__monthly { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 9vw, 4.5rem); line-height: 1; }
.fincalc__note { font-size: 0.875rem; line-height: 1.4286; color: var(--ink-on-navy-muted); }
.fincalc__lines { margin: var(--space-2) 0; display: grid; gap: var(--space-2); }
.fincalc__lines div { display: flex; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-2); border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.9375rem; line-height: 1.3334; }
.fincalc__lines dt { color: var(--ink-on-navy-muted); }
.fincalc__lines dd { margin: 0; font-weight: 700; }
.fincalc__fine { font-size: 0.8125rem; line-height: 1.3847; color: var(--ink-on-navy-muted); }
/* Parts and shipping caveat under turnaround tables */
.caveat { margin: var(--space-4) 0 0; padding: var(--space-3) var(--space-4); border-left: 4px solid var(--brand-orange); background: var(--surface-raised); font-weight: 600; }
/* Reviews page: static grid of review cards */
.reviewgrid { list-style: none; margin: var(--space-10) 0 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.reviewgrid .review { width: auto; }

/* Windows high contrast: fills and colours are replaced, so selected and current states use system colours */
@media (forced-colors: active) {
  .site-nav a[aria-current="page"] { text-decoration-color: Highlight; }
  .crumbs a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
  .filters__btn.is-on { border-color: Highlight; background: Highlight; color: HighlightText; }
  .chip input:checked + span { border-color: Highlight; background: Highlight; color: HighlightText; }
}
}
