/* ==========================================================================
   Labour Life — site.css
   Hand-written, token-driven, mobile-first. No framework.
   Order: fonts · tokens · base · primitives · chrome · sections (in the old one-page order)
          · multi-page components (page hero, teasers, expanded pillars, place, legal)
          · dialogs · motion · grain · forced colours · print
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
/* Fallbacks tuned so the swap to the web fonts barely moves the hero (size-adjust measured against Arial / Georgia) */
@font-face { font-family: "Barlow Condensed Fallback"; src: local("Arial Narrow"), local("ArialNarrow"), local("Roboto Condensed"), local("Arial"); size-adjust: 89%; ascent-override: 100%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 95%; ascent-override: 100%; descent-override: 20%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  /* colour — derived from the logo artwork; no other hues */
  --coal: #0C0C0D;
  --coal-2: #171718;
  --slate: #151518;
  --line: #2A2A2F;
  --line-2: #3B3B41;
  --red: #C8191B;
  --red-hi: #EA5C5E;          /* small red text on dark (≥ 5:1 on every dark surface) */
  --oxblood: #6E0F10;
  --mark-top: #D51A1A;
  --mark-bottom: #9E1915;
  --paper: #EDEDEA;
  --paper-hi: #F6F6F3;
  --paper-line: #CFCFC9;
  --ink: #141416;
  --ink-2: #4A4A52;
  --bone: #ECEAE6;
  --bone-88: rgb(236 234 230 / .88);
  --mist: #A09FA6;
  --placeholder: #8A8990;
  --dim: #77767D;             /* de-emphasised large text: 4.35:1 on coal, 3.99:1 on coal-2 */
  --field-line: #77767D;      /* form control borders: ≥ 3:1 on coal and coal-2 */
  --field-line-hover: #8E8D94;

  /* type */
  --f-display: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-body: "Barlow", "Barlow Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: clamp(1.0625rem, 1.01rem + .22vw, 1.125rem);
  --fs-small: .9375rem;
  --fs-label: .8125rem;
  --fs-h1: clamp(3.5rem, min(13vw, 12.5vh) + 1rem, 9.5rem);
  --fs-h2: clamp(2.4rem, 4.5vw + .75rem, 4.5rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-statement: clamp(2rem, 1.3rem + 3vw, 3.9rem);

  /* space & shape */
  --gutter: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 32px);
  --maxw: 1360px;
  --section-pad: clamp(5rem, 10vw, 9rem);
  --radius: 2px;
  --util-h: 0px;
  --header-h: 64px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --t-ui: 200ms;

  color-scheme: dark;
}
@media (min-width: 900px) {
  :root { --util-h: 40px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-gutter: stable;   /* no sideways jump when a dialog or the menu locks scrolling */
  background: var(--coal);
}
@media (max-width: 720px) {
  /* keep focused controls clear of the fixed dock */
  html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; interpolate-size: allow-keywords; }
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--coal);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: inherit; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red-hi);
  outline-offset: 2px;
}
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

/* ---------- Primitives ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: .75rem 1.1rem;
  background: var(--bone);
  color: var(--coal);
  font: 700 .9375rem/1 var(--f-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--t-ui) var(--ease);
}
.skip-link:focus { transform: none; }

.icon {
  width: 1.15em; height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.label,
.eyebrow {
  font: 600 var(--fs-label)/1.25 var(--f-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
}
.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
/* the eyebrow glyph: a single band from the mark */
.eyebrow::before {
  content: "";
  flex: none;
  width: 4px;
  height: 1.15em;
  background: linear-gradient(var(--mark-top), var(--mark-bottom));
  margin-top: .05em;
  border-radius: 1px 1px 3px 3px;
}

.h2 {
  font: 800 var(--fs-h2)/.9 var(--f-display);
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--bone);
}

.prose p { max-width: 68ch; }
.prose p + p { margin-top: 1em; }

.link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
  transition: color var(--t-ui);
}
.link:hover { text-decoration-thickness: 2px; }
.link--strong { color: var(--red-hi); font-weight: 600; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .7em 1.35em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--bone);
  font: 700 1rem/1.05 var(--f-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--t-ui), border-color var(--t-ui), color var(--t-ui);
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn__arrow { transition: transform 300ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--oxblood); }
.btn--ghost { border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--bone); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--text { padding-inline: .6em; min-height: 44px; }
.btn--text:hover { text-decoration: underline; text-underline-offset: .25em; }
.btn--sm { min-height: 44px; padding: .55em 1.05em; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: .8em 1.75em; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn:disabled,
.btn[aria-disabled="true"] { opacity: .42; filter: grayscale(1); cursor: not-allowed; pointer-events: none; }
.btn[aria-busy="true"],
.btn[aria-busy="true"][aria-disabled="true"] { cursor: progress; opacity: .8; filter: none; pointer-events: none; }

/* chips (filter) */
.chip {
  appearance: none;
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--bone);
  font: 600 .9375rem/1 var(--f-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui);
}
.chip:hover { border-color: var(--bone); }
.chip[aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--coal); }

/* segmented radio control — paper by default, --dark on coal */
.seg {
  display: flex;
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}
.seg input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
  pointer-events: none;
}
.seg label {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 .5rem;
  border-left: 1px solid var(--ink);
  color: var(--ink);
  font: 600 .875rem/1.1 var(--f-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--t-ui), color var(--t-ui);
}
.seg label:first-of-type { border-left: 0; }
.seg label:hover { background: rgb(20 20 22 / .07); }
.seg input:checked + label { background: var(--ink); color: var(--paper); }
.seg input[value="no"]:checked + label { background: var(--red); color: #fff; }
.seg input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; position: relative; z-index: 1; }
@media (min-width: 700px) {
  .seg { display: inline-flex; width: auto; }
  .seg label { flex: 0 0 auto; min-width: 4.5rem; padding: 0 1rem; letter-spacing: .08em; font-size: .9375rem; }
}
.seg--dark { border-color: var(--line-2); }
.seg--dark label { color: var(--bone); border-left-color: var(--line-2); }
.seg--dark label:hover { background: var(--slate); }
.seg--dark input:checked + label { background: var(--bone); color: var(--coal); }
.seg--dark input:focus-visible + label { outline-color: var(--red-hi); }

/* ---------- Site top: utility bar + header ---------- */
.site-top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: transform 450ms var(--ease);
}
.site-top.is-scrolled { transform: translateY(calc(-1 * var(--util-h))); }
.site-top.is-menu-open,
.site-top:focus-within { transform: none; }

.utility {
  display: none;
  height: var(--util-h);
  border-bottom: 1px solid var(--line);
  background: var(--coal);
}
@media (min-width: 900px) { .utility { display: block; } }
.utility__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.utility__list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0; padding: 0;
  list-style: none;
  font-size: .875rem;
}
.utility__list a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 36px;
  color: var(--mist);
  text-decoration: none;
  transition: color var(--t-ui);
}
.utility__list a:hover { color: var(--bone); }
.utility__icon-link { min-width: 32px; justify-content: center; }
.utility__login {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
  font: 600 .8125rem/1 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.utility__addr { display: none; }
@media (min-width: 1200px) { .utility__addr { display: list-item; } }

/* status pill (live open / closed) */
.status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font: 600 .8125rem/1.2 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
}
.status__dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--mist);
}
.status[data-state="open"] { color: var(--bone); }
.status[data-state="open"] .status__dot {
  background: var(--bone);
  border-color: var(--bone);
  box-shadow: 0 0 0 0 rgb(236 234 230 / .5);
  animation: pulse 2.4s var(--ease) 2;   /* stops well before 5 s (WCAG 2.2.2) */
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(236 234 230 / .45); }
  70%, 100% { box-shadow: 0 0 0 7px rgb(236 234 230 / 0); }
}

.header {
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 300ms, border-color 300ms;
}
.is-scrolled .header,
.is-menu-open .header {
  background: rgb(12 12 13 / .9);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
}
.brand__mark { width: auto; height: 34px; }
.brand__word { width: auto; height: 13px; }
@media (min-width: 900px) {
  .brand__mark { height: 40px; }
  .brand__word { height: 15px; }
}

.nav { display: none; }
@media (min-width: 1080px) { .nav { display: block; } }
.nav__list { display: flex; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .75rem;
  color: var(--bone-88);
  font: 600 .9375rem/1 var(--f-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--t-ui);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .75rem; right: .75rem; bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms var(--ease);
}
.nav__link:hover { color: var(--bone); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--bone); }

.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  padding: 0 .9rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--bone);
  font: 600 .875rem/1 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
@media (min-width: 1080px) { .menu-btn { display: none; } }
.menu-btn__bars { position: relative; width: 18px; height: 10px; }
.menu-btn__bars span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 300ms var(--ease), top 300ms var(--ease);
}
.menu-btn__bars span:first-child { top: 0; }
.menu-btn__bars span:last-child { top: calc(100% - 1.5px); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:last-child { top: 4.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: calc(var(--util-h) + var(--header-h) + 1.5rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--coal);
}
.mobile-menu.is-open { animation: fade-in 300ms var(--ease) both; }
.mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  font: 800 clamp(2.25rem, 9vw, 3.5rem)/1 var(--f-display);
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-menu__nav a:hover { color: var(--red-hi); }
.mobile-menu__idx { min-width: 2.2ch; font: 600 .8125rem/1 var(--f-display); letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--red-hi); }
.mobile-menu__foot { display: grid; gap: 1.25rem; margin-top: auto; }
.mobile-menu__contact a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  color: var(--mist);
  text-decoration: none;
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: var(--section-pad);
}
.section--slate { background: var(--slate); }
.section--deep { background: var(--coal); border-top: 1px solid var(--line); }
.section--paper {
  z-index: 2;   /* above the film grain, which is for dark surfaces only */
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}
.section--paper .h2 { color: var(--ink); }
.section--paper .eyebrow,
.section--paper .label { color: var(--ink-2); }
.section--paper .link--strong { color: var(--red); }
.section--paper :focus-visible { outline-color: var(--ink); }

.section-head { max-width: 56rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head__intro { max-width: 42ch; color: var(--mist); font-size: 1.0625rem; }
.section-head .h2 + .section-head__intro { margin-top: 1.25rem; }
.section--paper .section-head__intro { color: var(--ink-2); }
.section-head--split { display: grid; gap: 1.25rem 2rem; max-width: none; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .section-head--split > div { grid-column: 1 / 8; }
  .section-head--split > .section-head__intro { grid-column: 9 / 13; }
}

/* ---------- 1 · Hero ---------- */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--util-h) + var(--header-h) + clamp(2rem, 6vh, 4.5rem));
  padding-bottom: clamp(1.25rem, 3vh, 2.25rem);
  overflow: clip;
  background:
    radial-gradient(60% 55% at 74% 46%, #1b1b1d 0%, rgb(23 23 24 / 0) 70%),
    radial-gradient(120% 90% at 50% 40%, var(--coal-2) 0%, var(--coal) 72%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 3.5rem);
  align-content: space-between;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 1fr auto;
    column-gap: var(--gap);
  }
  .hero__copy { grid-column: 1 / 8; align-self: center; }
  .hero__visual { grid-column: 8 / 13; align-self: center; }
  .hero__facts { grid-column: 1 / -1; }
}

.hero__title { display: block; }
.hero__eyebrow { margin-bottom: clamp(1.25rem, 3vh, 2rem); }
.hero__pre {
  display: block;
  margin-bottom: .12em;
  color: var(--bone);
  font: italic 400 clamp(1.75rem, 1.15rem + 2.5vw, 3.4rem)/1.05 var(--f-serif);
  letter-spacing: -.015em;
}
.hero__words { display: block; }
.hero__word {
  display: block;
  width: fit-content;
  overflow: hidden;
  padding-block: .03em 0;
  color: var(--bone);
  font: 800 var(--fs-h1)/.84 var(--f-display);
  letter-spacing: -.012em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 450ms var(--ease);
}
.hero__word-in { display: block; }
.hero__dot { color: var(--red); transition: color 450ms var(--ease); }
.hero__word:focus-visible { outline-offset: 4px; }
.hero[data-active] .hero__word { color: var(--dim); }
.hero[data-active] .hero__word .hero__dot { color: var(--dim); }
.hero[data-active="simpler"] .hero__word[data-band="simpler"],
.hero[data-active="safer"] .hero__word[data-band="safer"],
.hero[data-active="stronger"] .hero__word[data-band="stronger"] { color: var(--bone); }
.hero[data-active="simpler"] .hero__word[data-band="simpler"] .hero__dot,
.hero[data-active="safer"] .hero__word[data-band="safer"] .hero__dot,
.hero[data-active="stronger"] .hero__word[data-band="stronger"] .hero__dot { color: var(--red); }

.hero__lede {
  max-width: 36em;
  margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
  color: var(--bone-88);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin-top: clamp(1.75rem, 4vh, 2.5rem);
}
.hero__call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .25rem;
  color: var(--mist);
  font-size: var(--fs-small);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
.hero__call:hover { color: var(--bone); }
@media (max-width: 599px) {
  .hero__actions .btn { width: 100%; }
}
@media (min-width: 900px) {
  .hero__call { display: none; }   /* the number is in the utility bar; keeps both buttons on one row */
}
@media (min-width: 900px) and (max-width: 1279px) {
  .hero__copy { grid-column: 1 / 9; }
  .hero__visual { grid-column: 9 / 13; }
}
/* short laptop screens (1366×768, 1440×900, 1024×768): keep the actions and facts above the fold */
@media (min-width: 900px) and (max-height: 860px) {
  :root { --fs-h1: clamp(3.5rem, min(13vw, 9.5vh) + 1rem, 9.5rem); }
  .hero { padding-top: calc(var(--util-h) + var(--header-h) + clamp(1rem, 3vh, 2rem)); padding-bottom: 1rem; }
  .hero__grid { row-gap: 1.5rem; }
  .hero .mark-window { width: min(100%, 36rem, 56svh); padding-bottom: 2.5rem; }
  .hero__pre { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
  .hero__lede { margin-top: 1.25rem; }
  .hero__actions { margin-top: 1.5rem; }
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 0;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--mist);
  font: 600 var(--fs-label)/1.3 var(--f-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero__facts li { display: inline-flex; align-items: center; }
.hero__facts li + li::before {
  content: "";
  width: 1px; height: 1em;
  margin-inline: 1.1rem;
  background: var(--line-2);
}
@media (max-width: 599px) {
  .hero__facts { flex-direction: column; }
  .hero__facts li + li::before { display: none; }
}

/* The Mark as Window */
.hero__visual { position: relative; }
.mark-window {
  position: relative;
  width: min(74vw, 22rem);
  margin-inline: auto;
  padding-bottom: 2.5rem;
}
@media (min-width: 900px) {
  .mark-window { width: min(100%, 36rem); margin-right: 0; padding-bottom: 3rem; }
}
/* phones & tablets: the mark sits top-right beside the eyebrow, so it is in the first screen */
@media (max-width: 899px) {
  .hero { --mw: clamp(7.5rem, 30vw, 12rem); }
  .hero__visual {
    position: absolute;
    top: calc(var(--header-h) + clamp(1.5rem, 4vh, 2.5rem));
    right: var(--gutter);
    z-index: 0;
  }
  .mark-window { width: var(--mw); margin: 0; padding-bottom: 0; }
  .hero .mark-cap { display: none; }
  .hero__eyebrow,
  .hero__pre { max-width: calc(100% - var(--mw) - 1rem); }
  .hero__copy { position: relative; z-index: 1; }
}
.mark-window__svg { width: 100%; height: auto; overflow: visible; }
.band-par { will-change: transform; }
.band { cursor: pointer; transform-box: fill-box; transform-origin: 50% 100%; transition: opacity 500ms var(--ease); }
.band__duo { transition: opacity 600ms var(--ease); }
.band__tint { opacity: .42; transition: opacity 600ms var(--ease); }
.mark-window[data-active] .band { opacity: .38; }
.mark-window[data-active] .band.is-active { opacity: 1; }
.mark-window[data-active] .band.is-active .band__duo { opacity: 0; }
.mark-window[data-active] .band.is-active .band__tint { opacity: .12; }

.mark-cap {
  position: absolute;
  bottom: 0;
  display: flex;
  gap: .5rem;
  max-width: 16rem;
  color: var(--bone);
  font: 600 var(--fs-label)/1.3 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 350ms var(--ease), transform 350ms var(--ease);
  pointer-events: none;
}
.mark-cap__idx { color: var(--red-hi); }
.mark-cap--simpler { left: 0; }
.mark-cap--safer { left: 41%; transform: translate(-50%, 6px); text-align: center; justify-content: center; }
.mark-cap--stronger { right: 0; text-align: right; }
.mark-window[data-active="simpler"] .mark-cap--simpler,
.mark-window[data-active="safer"] .mark-cap--safer,
.mark-window[data-active="stronger"] .mark-cap--stronger { opacity: 1; transform: none; }
.mark-window[data-active="safer"] .mark-cap--safer { transform: translate(-50%, 0); }

/* ---------- 2 · Triage ---------- */
.triage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 0; padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 640px) { .triage__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .triage__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.triage-card {
  --pad: clamp(1.5rem, 2.6vw, 2.25rem);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  height: 100%;
  min-height: 15.5rem;
  padding: var(--pad) var(--pad) var(--pad) calc(var(--pad) + 1.4rem);
  background: var(--slate);
  color: var(--bone);
  text-decoration: none;
  transition: background-color 300ms var(--ease);
}
.triage-card::before {
  content: "";
  position: absolute;
  top: var(--pad);
  left: var(--pad);
  width: 5px;
  height: 2.1rem;
  background: linear-gradient(var(--mark-top), var(--mark-bottom));
  border-radius: 1px 1px 4px 4px;
  transition: height 500ms var(--ease);
}
.triage-card:hover,
.triage-card:focus-visible { background: #1c1c20; }
.triage-card:hover::before,
.triage-card:focus-visible::before { height: calc(100% - 2 * var(--pad)); }
.triage-card:focus-visible { outline-offset: -4px; }
.triage-card__num { color: var(--mist); font: 600 var(--fs-label)/1 var(--f-display); letter-spacing: .14em; }
.triage-card__title {
  font: 700 clamp(1.5rem, 1.25rem + .9vw, 1.9rem)/1 var(--f-display);
  letter-spacing: -.003em;
  text-transform: uppercase;
  text-wrap: balance;
}
.triage-card__text { flex: 1; color: var(--mist); font-size: 1rem; line-height: 1.55; }
.triage-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--red-hi);
  font: 700 .875rem/1 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.triage-card__cta .icon { transition: transform 300ms var(--ease); }
.triage-card:hover .triage-card__cta .icon { transform: translateX(5px); }
.triage__urgent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0;
  padding: 1.25rem clamp(1.5rem, 2.6vw, 2.25rem);
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--coal-2);
  font: 700 1.375rem/1.1 var(--f-display);
  text-transform: uppercase;
}

/* ---------- 3 · Expert statement ---------- */
.expert__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1080px) {
  .expert__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .expert__lead { grid-column: 1 / 7; }
  .expert__media { grid-column: 8 / 13; align-self: start; }
  .expert__plate { grid-column: 1 / -1; }
}
.statement {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--bone);
  font: 500 var(--fs-statement)/1.04 var(--f-serif);
  letter-spacing: -.02em;
}
.statement em { display: block; color: var(--red); font-style: italic; font-weight: 400; }
.expert__body { color: var(--bone-88); }
.expert__media { position: relative; background: var(--coal-2); }
.expert__media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.expert__media::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 6px; height: 38%;
  background: linear-gradient(var(--mark-top), var(--mark-bottom));
}

.plate__heads { display: none; }
@media (min-width: 900px) {
  .plate__heads {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--line-2);
    color: var(--mist);
    font: 600 var(--fs-label)/1 var(--f-display);
    letter-spacing: .14em;
    text-transform: uppercase;
  }
}
.plate__row {
  display: grid;
  gap: .4rem 2rem;
  padding: clamp(1.1rem, 2vw, 1.6rem) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .plate__row { grid-template-columns: 5fr 7fr; align-items: center; } }
.plate__term {
  color: var(--bone);
  font: 800 clamp(2.5rem, 1.7rem + 3.6vw, 5rem)/.9 var(--f-display);
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.plate__strike { position: relative; display: inline-block; }
.plate__strike::after {
  content: "";
  position: absolute;
  left: -.05em; right: -.05em; top: 50%;
  height: .075em;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease);
}
.plate__row:nth-child(2) .plate__strike::after { transition-delay: 180ms; }
.plate__row:nth-child(3) .plate__strike::after { transition-delay: 360ms; }
.no-js .plate__strike::after,
.is-in .plate__strike::after { transform: scaleX(1); }
.plate__desc { max-width: 42ch; color: var(--bone-88); font-size: 1.125rem; }
.expert__close {
  margin-top: clamp(2rem, 4vw, 3rem);
  color: var(--bone);
  font: italic 400 clamp(1.5rem, 1.15rem + 1.3vw, 2.35rem)/1.2 var(--f-serif);
}

/* ---------- 4 · Pillars ---------- */
.pillars__row { display: flex; flex-direction: column; gap: 2px; }
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--coal);
  border: 1px solid var(--line);
  container-type: inline-size;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  z-index: 2;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease);
}
.pillar.is-active::before,
.no-js .pillar::before { transform: scaleX(1); }
@media (min-width: 1080px) {
  .pillars__row { flex-direction: row; align-items: stretch; min-height: 46rem; }
  .pillar { flex: 1 1 0; transition: flex-grow 750ms var(--ease); }
  .pillar.is-active { flex-grow: 2.5; }
  .js .pillar:not(.is-active) { cursor: pointer; }
  .js .pillar:not(.is-active) .pillar__media { flex: 1 1 auto; }
}
.pillar__media {
  position: relative;
  flex: 0 0 auto;
  height: clamp(10rem, 24vw, 15rem);
  overflow: hidden;
  background: var(--coal-2);
}
.pillar__media picture,
.pillar__media img { width: 100%; height: 100%; }
.pillar__media img {
  object-fit: cover;
  object-position: 50% 35%;
  filter: grayscale(1) contrast(1.05);
  opacity: .55;
  transition: filter 700ms var(--ease), opacity 700ms var(--ease), transform 1200ms var(--ease);
}
.pillar--safer .pillar__media img { object-position: 40% 30%; }
.pillar--stronger .pillar__media img { object-position: 66% 30%; }
.pillar.is-active .pillar__media img,
.no-js .pillar__media img { filter: none; opacity: 1; }
.js .pillar:not(.is-active):hover .pillar__media img { opacity: .8; transform: scale(1.03); }
.pillar__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(12 12 13 / 0) 45%, var(--coal));
}
.pillar__head { position: relative; z-index: 1; }
.pillar__toggle {
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "idx icon" "word word" "name name";
  align-items: start;
  width: 100%;
  margin-top: -2.25rem;
  padding: 0 clamp(1.25rem, 2.6vw, 2.25rem) 1.25rem;
  border: 0;
  background: none;
  color: var(--bone);
  text-align: left;
}
.pillar__toggle:focus-visible { outline-offset: -2px; }
.pillar__idx { grid-area: idx; align-self: end; color: var(--red-hi); font: 600 var(--fs-label)/1 var(--f-display); letter-spacing: .14em; }
.pillar__word {
  grid-area: word;
  margin: .5rem 0 .6rem;
  color: var(--bone);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 3rem;
  font-size: clamp(2.6rem, 19cqi, 6rem);
  line-height: .86;
  letter-spacing: -.012em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pillar__name { grid-area: name; color: var(--mist); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.pillar__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--coal);
  transition: border-color 300ms, background-color 300ms;
}
.pillar__toggle:hover .pillar__icon { border-color: var(--bone); }
.pillar__icon .icon { transition: transform 400ms var(--ease); }
.pillar__toggle[aria-expanded="true"] .pillar__icon { border-color: var(--red); }
.pillar__toggle[aria-expanded="true"] .pillar__icon .icon { transform: rotate(45deg); }
.no-js .pillar__icon { display: none; }
@media (min-width: 1080px) {
  .pillar.is-active .pillar__icon { visibility: hidden; }
  .pillar.is-active .pillar__toggle { cursor: default; }
}
.pillar__body {
  display: grid;
  gap: 1.5rem;
  align-content: start;
  padding: .25rem clamp(1.25rem, 2.6vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
}
.js .pillar.is-active .pillar__body { animation: fade-up 650ms var(--ease) both 180ms; }
.pillar__summary { max-width: 54ch; color: var(--bone-88); font-size: 1.0625rem; }
.svc-group .label { margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: .38rem .85rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--bone);
  font-size: .9375rem;
  line-height: 1.3;
}
.chips--quiet li { border-color: var(--line); color: var(--mist); }
.pillar__note {
  max-width: 54ch;
  padding-left: 1rem;
  border-left: 2px solid var(--red);
  color: var(--mist);
  font-size: .9375rem;
}
.pillar__body .btn { justify-self: start; }

.fees {
  display: grid;
  gap: 2rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-2);
}
@media (min-width: 900px) {
  .fees { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .fees__title { grid-column: 1 / 5; }
  .fees__list { grid-column: 5 / 13; }
}
.fees__title { font: 800 var(--fs-h3)/1 var(--f-display); text-transform: uppercase; }
.fees__title span { display: block; color: var(--mist); }
.fees__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.75rem var(--gap);
  margin: 0; padding: 0;
  list-style: none;
}
.fees__name { margin-bottom: .45rem; font: 700 1.25rem/1.1 var(--f-display); letter-spacing: .02em; text-transform: uppercase; }
.fees__list p { color: var(--mist); font-size: 1rem; }

/* ---------- 5 · Process ---------- */
.steps {
  position: relative;
  display: grid;
  gap: 2.75rem;
  margin: 0; padding: 0;
  list-style: none;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line-2);
}
.steps::after {
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1800ms var(--ease) 200ms;
}
.no-js .steps::after,
.steps.is-in::after { transform: none; }
.step { position: relative; padding-left: 2.5rem; }
.step::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  z-index: 1;
  width: 11px; height: 11px;
  border: 1px solid var(--red);
  background: var(--coal);
}
@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
  .steps::before, .steps::after { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; }
  .steps::after { transform: scaleX(0); transform-origin: left; }
  .no-js .steps::after, .steps.is-in::after { transform: none; }
  .step { padding-left: 0; padding-top: 2.75rem; }
  .step::before { top: 0; }
}
.step__num {
  display: block;
  color: transparent;
  font: 800 clamp(4.5rem, 3rem + 4vw, 7.5rem)/.8 var(--f-display);
  letter-spacing: -.02em;
  -webkit-text-stroke: 1px var(--mist);
}
@supports not (-webkit-text-stroke: 1px black) { .step__num { color: var(--line-2); } }
.step__title {
  margin: 1.1rem 0 .7rem;
  font: 700 var(--fs-h3)/1 var(--f-display);
  text-transform: uppercase;
}
.step p { max-width: 40ch; color: var(--mist); font-size: 1rem; }

/* ---------- 6 · Compliance health check (paper) ---------- */
.hc__layout { display: grid; gap: 2.5rem; }
@media (min-width: 1080px) {
  .hc__layout { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .hc__form { grid-column: 1 / 8; }
  .hc__results {
    grid-column: 8 / 13;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}
.no-js .hc__results { display: none; }

/* phones & tablets: a slim live progress strip that follows you down the sheet */
.hc__strip {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding: .6rem var(--sheet-r) 0 var(--sheet-l);
  border-bottom: 1px solid var(--paper-line);
  background: var(--paper-hi);
  color: var(--ink);
}
.hc__strip-text { font: 700 .9375rem/1.3 var(--f-display); letter-spacing: .06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.hc__strip-link { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; color: var(--ink); font-size: .9375rem; font-weight: 600; text-underline-offset: .2em; }
.hc__strip .hc__bar { flex: 1 0 100%; margin: 0 calc(-1 * var(--sheet-r)) 0 calc(-1 * var(--sheet-l)); }
@media (min-width: 1080px) { .hc__strip { display: none; } }
.no-js .hc__strip { display: none; }

/* the sheet: a printed audit form with a red margin rule */
.hc__form {
  --sheet-l: 2.75rem;
  --sheet-r: clamp(.9rem, 2vw, 1.5rem);
  position: relative;
  background: var(--paper-hi);
  border: 1px solid var(--paper-line);
  box-shadow: 0 1px 0 rgb(20 20 22 / .05), 0 24px 48px -32px rgb(20 20 22 / .25);
}
.hc__form::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--sheet-l) - 12px);
  width: 1px;
  background: var(--red);
  opacity: .55;
}
@media (min-width: 700px) { .hc__form { --sheet-l: 4rem; } }
.hc__sheet-head {
  display: none;
  justify-content: space-between;
  padding: .85rem var(--sheet-r) .75rem var(--sheet-l);
  border-bottom: 1px solid var(--paper-line);
  color: var(--ink-2);
  font: 600 .75rem/1 var(--f-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}
@media (min-width: 700px) { .hc__sheet-head { display: flex; } }
.hc-group + .hc-group { margin-top: .5rem; }
.hc-group__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .75rem;
  padding: 1.5rem var(--sheet-r) .7rem var(--sheet-l);
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font: 800 clamp(1.5rem, 1.25rem + 1vw, 2rem)/1 var(--f-display);
  text-transform: uppercase;
}
.hc-group__sub { color: var(--ink-2); font: 600 var(--fs-label)/1.2 var(--f-display); letter-spacing: .14em; }
.hc-q {
  position: relative;
  display: grid;
  gap: .75rem;
  padding: 1rem var(--sheet-r) 1.05rem var(--sheet-l);
  border-bottom: 1px solid var(--paper-line);
}
@media (min-width: 700px) {
  .hc-q { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; }
}
.hc-q__text { color: var(--ink); font-size: 1rem; line-height: 1.5; }
.hc-q__num {
  position: absolute;
  left: 0;
  width: calc(var(--sheet-l) - 12px);
  text-align: center;
  color: var(--ink-2);
  font: 600 .8125rem/1.9 var(--f-display);
  letter-spacing: .06em;
}
/* margin tick once answered */
.hc-q[data-answer] .hc-q__num { color: var(--ink); font-weight: 800; }
.hc-q[data-answer="no"] .hc-q__num { color: var(--red); }
.hc-q[data-answer]::after {
  content: "";
  position: absolute;
  left: calc(var(--sheet-l) - 15.5px);
  top: 1.45rem;
  width: 7px; height: 7px;
  background: var(--ink);
}
.hc-q[data-answer="no"]::after { background: var(--red); }
.hc-q[data-answer="unsure"]::after { background: linear-gradient(135deg, var(--ink) 50%, var(--paper-hi) 50%); outline: 1px solid var(--ink); outline-offset: -1px; }
.hc__noscript { padding: 1.5rem var(--sheet-r) 1.5rem var(--sheet-l); color: var(--ink-2); }
.hc__noscript a { color: var(--ink); }

/* results slip */
.hc__results {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--paper-hi);
  border: 1px solid var(--paper-line);
  border-top: 4px solid var(--ink);
  color: var(--ink);
}
.print-brand { display: none; }
.hc__results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; }
.hc__results-title { color: var(--ink); }
.hc__progress { color: var(--ink-2); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.hc__bar { height: 3px; margin-top: .75rem; background: var(--paper-line); }
.hc__bar span { display: block; width: 0; height: 100%; background: var(--ink); transition: width 500ms var(--ease); }

.hc__readout { display: grid; gap: 1.5rem; margin: 1.75rem 0 1.5rem; }
@media (min-width: 480px) {
  .hc__readout { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); align-items: center; }
}
.gauge { width: min(100%, 13rem); }
@media (max-width: 479px) { .gauge { margin-inline: auto; } }
.gauge__svg { width: 100%; height: auto; }
.gauge__track { fill: #D9D8D2; }
.gauge__fill {
  fill: url(#g-mark);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 900ms var(--ease);
}
.gauge__labels {
  display: grid;
  grid-template-columns: 28fr 42fr 30fr;
  margin: .6rem 0 0; padding: 0;
  list-style: none;
  text-align: center;
}
.gauge__word { display: block; color: var(--ink-2); font: 600 .75rem/1.2 var(--f-display); letter-spacing: .1em; text-transform: uppercase; }
.gauge__pct { display: block; color: var(--ink); font: 700 1rem/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.hc__pct {
  color: var(--ink);
  font: 800 clamp(4rem, 3rem + 3vw, 6rem)/.82 var(--f-display);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.hc__score:not([data-level]) .hc__pct { color: var(--paper-line); }
.hc__rating { margin-top: .7rem; color: var(--ink); font: 800 1.625rem/1 var(--f-display); text-transform: uppercase; }
.hc__rating[data-state="pending"] { color: var(--ink-2); font: 400 1rem/1.5 var(--f-body); text-transform: none; }
.hc__score[data-level="exposed"] .hc__rating { color: var(--red); }
.hc__summary { margin-top: .5rem; color: var(--ink-2); font-size: .9375rem; }
.hc__summary:empty { display: none; }

.hc__gaps { margin-top: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--paper-line); }
.hc__gaps-title { margin-bottom: .75rem; font: 800 1.25rem/1 var(--f-display); text-transform: uppercase; }
.hc__gaplist { margin: 0; padding: 0; list-style: none; counter-reset: gap; }
.hc__gaplist li {
  position: relative;
  padding: .7rem 0 .75rem 2rem;
  border-bottom: 1px dashed var(--paper-line);
  counter-increment: gap;
  font-size: .9375rem;
}
.hc__gaplist li::before {
  content: counter(gap, decimal-leading-zero);
  position: absolute;
  left: 0; top: .82rem;
  color: var(--red);
  font: 700 .8125rem/1 var(--f-display);
}
.hc__gap-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.hc__gap-tag {
  padding: .15rem .4rem;
  border: 1px solid currentColor;
  color: var(--red);
  font: 700 .75rem/1 var(--f-display);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hc__gap-tag--unsure { color: var(--ink-2); }
.hc__gap-risk { display: block; margin-top: .25rem; color: var(--ink-2); line-height: 1.5; }
.hc__nogaps { color: var(--ink-2); font-size: .9375rem; }
.hc__gaplist li.is-extra { display: none; }
.hc__more { margin-top: .5rem; padding-inline: 0; color: var(--ink); }

.hc__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.5rem; }
.hc__actions .btn--text { color: var(--ink); }
.hc__disclaimer { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--paper-line); color: var(--ink-2); font-size: .8125rem; line-height: 1.5; }

/* ---------- 7 · Training ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.courses {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0; padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .courses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.course.is-entering { animation: fade-up 450ms var(--ease) both; }
.course__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--slate);
  border: 1px solid var(--line);
  transition: border-color 300ms;
}
.course__card:hover { border-color: var(--line-2); }
/* arriving from a home "Course details" button (/training/#course-<slug>): mark the requested course */
.course:target .course__card { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.course__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--coal-2); }
.course__media picture, .course__media img { width: 100%; height: 100%; }
.course__media img { object-fit: cover; transition: transform 1000ms var(--ease); }
.course__card:hover .course__media img { transform: scale(1.035); }
.course__body { display: flex; flex-direction: column; gap: .85rem; flex: 1; padding: clamp(1.25rem, 2.2vw, 1.75rem); }
.course__meta { display: flex; gap: 1rem; color: var(--mist); font: 600 var(--fs-label)/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.course__badge { display: inline-flex; align-items: center; gap: .45rem; color: var(--red-hi); }
.course__badge::before { content: ""; width: 7px; height: 7px; background: var(--red); }
.course__title { font: 700 clamp(1.6rem, 1.4rem + .6vw, 1.9rem)/1 var(--f-display); text-transform: uppercase; }
.course__body > p:not([class]) { color: var(--bone-88); font-size: 1rem; line-height: 1.55; }
.course__detail {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font: 600 .8125rem/1.45 var(--f-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.course__actions { display: flex; align-items: center; gap: .6rem; }
.course__wa {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--bone);
  transition: border-color var(--t-ui);
}
.course__wa:hover { border-color: var(--bone); }
.course__type {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 2;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  background: var(--coal-2);
  color: transparent;
  font: 800 clamp(2.5rem, 1.8rem + 2.6vw, 3.6rem)/.84 var(--f-display);
  text-transform: uppercase;
  -webkit-text-stroke: 1px var(--line-2);
}
.course__type span:last-child { color: var(--red); -webkit-text-stroke: 0; }
@supports not (-webkit-text-stroke: 1px black) { .course__type { color: var(--line-2); } }

.course-aside .business {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--oxblood);
  color: var(--bone);
}
.business__title { font: 800 clamp(2rem, 1.6rem + 1.6vw, 2.75rem)/.92 var(--f-display); text-transform: uppercase; }
.business p { color: rgb(236 234 230 / .9); }
.business .btn { align-self: flex-start; margin-top: auto; background: var(--bone); color: var(--coal); }
.business .btn:hover { background: #fff; }
.business__login { font-size: .9375rem; }
.business :focus-visible { outline-color: var(--bone); }
.training__small { margin-top: 1.25rem; color: var(--mist); font-size: .875rem; }

.training__lower { display: grid; gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(3.5rem, 7vw, 5.5rem); }
@media (min-width: 1080px) {
  .training__lower { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: stretch; }
  .calc { grid-column: 1 / 9; }
  .partner { grid-column: 9 / 13; }
}

/* calculator — an instrument panel */
.calc {
  display: grid;
  border: 1px solid var(--line-2);
  background: var(--coal-2);
}
@media (min-width: 800px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.calc__inputs { padding: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .calc__inputs { border-bottom: 0; border-right: 1px solid var(--line); } }
.calc__kicker { font-size: .75rem; }
.calc__title { margin: .6rem 0 .5rem; font: 800 clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem)/.95 var(--f-display); text-transform: uppercase; }
.calc__intro { color: var(--mist); font-size: 1rem; }
.calc__field { margin: 1.5rem 0 0; padding: 0; border: 0; min-width: 0; }
.calc__label { display: block; margin-bottom: .6rem; padding: 0; color: var(--mist); font: 600 var(--fs-label)/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.calc__hint { margin-top: .5rem; color: var(--mist); font-size: .875rem; }
.stepper { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); }
.stepper__btn {
  display: grid;
  place-items: center;
  width: 52px;
  min-height: 56px;
  border: 0;
  background: transparent;
  color: var(--bone);
  transition: background-color var(--t-ui);
}
.stepper__btn:hover { background: var(--slate); }
.stepper__btn:focus-visible { outline-offset: -2px; }
.stepper__input {
  width: 6.5ch;
  border: 0;
  border-inline: 1px solid var(--line-2);
  background: transparent;
  color: var(--bone);
  font: 700 1.75rem/1 var(--f-display);
  font-variant-numeric: tabular-nums;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper__input::-webkit-inner-spin-button,
.stepper__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input:focus-visible { outline-offset: -2px; }
.calc__out { display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.readouts { display: grid; }
.readout {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.readout:first-child { padding-top: 0; }
.readout__num { color: var(--bone); font: 800 clamp(3rem, 2.4rem + 2vw, 4.25rem)/.85 var(--f-display); font-variant-numeric: tabular-nums; }
.readout__num--word { font-size: 1.6rem; letter-spacing: .02em; text-transform: uppercase; }
.readout.is-zero .readout__num { color: var(--dim); }
.readout.is-on .readout__num { color: var(--red-hi); }
.readout__label { color: var(--bone-88); font-size: 1rem; line-height: 1.4; }
.calc__note { color: var(--mist); font-size: .875rem; }
.calc__out .btn { align-self: flex-start; }

.partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--slate);
}
.partner__title { font: 800 clamp(1.75rem, 1.5rem + 1vw, 2.25rem)/.95 var(--f-display); text-transform: uppercase; }
.partner p:not(.label) { color: var(--mist); }
.partner .btn { margin-top: auto; }

/* ---------- 8 · Industries ---------- */
.ind-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80%, 22rem);
  gap: 1rem;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter) 1rem;
  list-style: none;
  overflow-x: auto;
  /* keep the off-screen tiles out of the page's scrollable overflow (mobile Chrome otherwise widens the layout viewport) */
  contain: paint;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
@media (min-width: 640px) {
  .ind-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 3vw, 2.75rem) var(--gap);
    margin: 0; padding: 0;
    overflow: visible;
    contain: none;
  }
}
@media (min-width: 1080px) { .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ind-grid:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 4px; }
.ind { scroll-snap-align: start; }
.ind__media { position: relative; aspect-ratio: 4 / 3; margin-bottom: 1.25rem; overflow: hidden; background: var(--coal-2); }
.ind__media picture, .ind__media img { width: 100%; height: 100%; }
.ind__media img { object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 700ms var(--ease), transform 1100ms var(--ease); }
.ind:hover .ind__media img { filter: none; transform: scale(1.035); }
.ind__media::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 6px; height: 28%;
  background: linear-gradient(var(--mark-top), var(--mark-bottom));
  transition: height 600ms var(--ease);
}
.ind:hover .ind__media::after { height: 100%; }
.ind__name { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .5rem; font: 700 clamp(1.6rem, 1.4rem + .6vw, 1.9rem)/1 var(--f-display); text-transform: uppercase; }
.ind__idx { color: var(--red-hi); font: 600 var(--fs-label)/1 var(--f-display); letter-spacing: .14em; }
.ind p { color: var(--mist); font-size: 1rem; }
.industries__more { margin-top: 2.5rem; color: var(--bone-88); font: italic 400 1.5rem/1.3 var(--f-serif); }

/* ---------- 9 · The law, decoded ---------- */
.law__grid { display: grid; gap: 0; }
@media (min-width: 1080px) {
  .law__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .law__head { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 2rem); }
  .acts { grid-column: 5 / 13; }
}
.acts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  margin: 0; padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-2);
}
@media (min-width: 700px) { .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.act {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .2rem 1rem;
  padding: 1.25rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}
.act__name { display: grid; gap: .3rem; color: var(--bone); font: 800 1.75rem/1 var(--f-display); letter-spacing: .01em; }
.act__full { color: var(--mist); font: 500 .9375rem/1.3 var(--f-body); letter-spacing: 0; }
.act__cite { justify-self: end; text-align: right; font: 600 .75rem/1.3 var(--f-display); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.act__cite a { color: var(--red-hi); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--t-ui); }
.act__cite a:hover { border-bottom-color: currentColor; }
.act__line { grid-column: 1 / -1; margin-top: .55rem; color: var(--bone-88); font-size: 1rem; line-height: 1.55; }

/* ---------- 10 · About ---------- */
.about__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1080px) {
  .about__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .about__lead { grid-column: 1 / 7; align-self: center; }
  .about__media { grid-column: 8 / 13; }
  .mission, .values { grid-column: 1 / -1; }
}
.about__lead .h2 { margin-bottom: 1.75rem; }
.about__lead .prose { color: var(--bone-88); }
.about__media picture { background: var(--coal-2); }
.about__media img { aspect-ratio: 5 / 4; object-fit: cover; }
.about__cap {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .9rem;
  color: var(--mist);
  font: 600 var(--fs-label)/1.3 var(--f-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.about__cap::before { content: ""; width: 1.5rem; height: 1px; background: var(--red); }
.mission {
  display: grid;
  gap: 1rem 2rem;
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-block: 1px solid var(--line-2);
}
@media (min-width: 900px) { .mission { grid-template-columns: 3fr 9fr; } }
.mission__label { padding-top: .6rem; }
.mission__text { max-width: 44ch; color: var(--bone); font: italic 400 clamp(1.6rem, 1.2rem + 1.7vw, 2.6rem)/1.22 var(--f-serif); letter-spacing: -.01em; }
.values {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem var(--gap);
  margin: 0; padding: 0;
  list-style: none;
}
@media (min-width: 600px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.values li { padding-top: 1.1rem; border-top: 1px solid var(--line-2); }
.values__name { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font: 700 1.5rem/1 var(--f-display); text-transform: uppercase; }
.values__name::before { content: ""; width: 4px; height: .9em; background: linear-gradient(var(--mark-top), var(--mark-bottom)); border-radius: 1px 1px 3px 3px; }
.values p { color: var(--mist); font-size: 1rem; }

/* ---------- 11 · FAQ (paper) ---------- */
.faq__grid { display: grid; gap: 0; }
@media (min-width: 1080px) {
  .faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .faq__head { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 2rem); }
  .faq__list { grid-column: 5 / 13; }
}
.faq__ask { margin-top: 1.5rem; color: var(--ink-2); }
.faq__list { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--paper-line); }
.faq__q {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 44px;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  padding: 1.15rem 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover .faq__text { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.faq__num { color: var(--red); font: 700 .875rem/1 var(--f-display); letter-spacing: .08em; }
.faq__icon {
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: background-color var(--t-ui);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 350ms var(--ease), background-color var(--t-ui);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--paper); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { max-width: 68ch; padding: 0 0 1.75rem 3.25rem; color: var(--ink-2); }
@media (max-width: 599px) { .faq__a { padding-left: 0; } }
@supports selector(::details-content) {
  .faq__item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 450ms var(--ease), content-visibility 450ms allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; }
}
.faq__disclaimer { max-width: 80ch; margin-top: 2rem; color: var(--ink-2); font-size: .8125rem; line-height: 1.55; }

/* ---------- 12 · Final CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(7rem, 14vw, 12rem);
  background: var(--coal);
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media picture, .cta__media img { width: 100%; height: 100%; }
.cta__media img { object-fit: cover; object-position: 50% 45%; filter: grayscale(.5); }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(12 12 13 / .95) 0%, rgb(12 12 13 / .8) 50%, rgb(12 12 13 / .5) 100%),
    linear-gradient(0deg, rgb(12 12 13 / .6), rgb(12 12 13 / 0) 40%);
}
.cta__inner { position: relative; }
.cta__mark { width: 4rem; height: auto; margin-bottom: 2rem; }
.cta__mark-tint { opacity: .45; }
@media (max-width: 899px) {
  .cta::before { background: rgb(12 12 13 / .82); }   /* text runs full width over the photo */
}
@media (min-width: 900px) {
  .cta__media { opacity: .25; }   /* the photo lives in the mark; the backdrop only hints at it */
}
@media (min-width: 900px) {
  .cta__mark { position: absolute; right: 0; top: 50%; width: clamp(9rem, 20vw, 17rem); margin: 0; transform: translateY(-50%); }
}
.cta__title { max-width: 12ch; margin-bottom: 1.5rem; font: 800 clamp(3rem, 1.9rem + 5.2vw, 6.75rem)/.86 var(--f-display); letter-spacing: -.012em; text-transform: uppercase; }
.cta__text { max-width: 44ch; margin-bottom: 2.5rem; color: var(--bone-88); font-size: 1.125rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta .btn--ghost { background: rgb(12 12 13 / .35); }

/* ---------- 13 · Contact ---------- */
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 1080px) {
  .contact__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .contact__main { grid-column: 1 / 8; }
  .contact__card { grid-column: 8 / 13; }
}
.banner {
  display: none;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-2);
  border-left-width: 4px;
  background: var(--slate);
}
/* :target is the no-JS path only (contact.php redirects to #form-sent / #form-error);
   with JS, site.js owns the banners through .is-shown */
.banner.is-shown,
.no-js .banner:target { display: block; }
.banner--ok { border-left-color: var(--bone); }
.banner--error { border-color: var(--red-hi); background: rgb(200 25 27 / .08); }
.banner a { color: inherit; text-underline-offset: .2em; }

.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form__intro { color: var(--mist); font-size: .9375rem; }
.form__summary {
  padding: 1rem 1.25rem;
  border: 1px solid var(--red-hi);
  border-left-width: 4px;
  background: rgb(200 25 27 / .08);
  font-weight: 600;
}
.form__summary ul { margin: .5rem 0 0; padding-left: 1.25rem; font-weight: 400; }
.form__summary a { color: var(--bone); text-underline-offset: .2em; }
.field { display: grid; gap: .5rem; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { padding: 0; color: var(--mist); font: 600 .875rem/1.2 var(--f-display); letter-spacing: .12em; text-transform: uppercase; }
.field__hint { margin-top: -.15rem; color: var(--mist); font-size: .9375rem; line-height: 1.45; }
.field__opt { margin-left: .3rem; color: var(--mist); font: italic 400 .9375rem/1 var(--f-serif); letter-spacing: 0; text-transform: none; }
.field__input {
  width: 100%;
  min-height: 52px;
  padding: .75rem 1rem;
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  background: var(--coal-2);
  color: var(--bone);
  font: 400 1.0625rem/1.4 var(--f-body);
  transition: border-color var(--t-ui), box-shadow var(--t-ui);
}
.field__input::placeholder { color: var(--placeholder); }
.field__input:hover { border-color: var(--field-line-hover); }
/* transparent outline: invisible normally, drawn in forced-colours mode where box-shadow is dropped */
.field__input:focus { outline: 2px solid transparent; outline-offset: 0; border-color: var(--bone); box-shadow: 0 0 0 1px var(--bone); }
.field__input[aria-invalid="true"] { border-color: var(--red-hi); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 1px var(--red-hi); }
.field__input--area { min-height: 10rem; resize: vertical; }
.select { position: relative; }
.select select { appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select select option { background: var(--coal-2); color: var(--bone); }
.select::after {
  content: "";
  position: absolute;
  right: 1.15rem; top: 50%;
  width: 8px; height: 8px;
  border: solid var(--mist);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field__error { display: flex; align-items: center; gap: .5rem; color: var(--red-hi); font-size: .9375rem; line-height: 1.4; }
.field__error::before { content: ""; flex: none; width: 6px; height: 6px; background: currentColor; }
.field--radios .seg { max-width: 30rem; }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: .9rem; }
.field--check label { color: var(--bone-88); font-size: .9375rem; line-height: 1.55; cursor: pointer; }
.field--check label a { color: var(--bone); text-underline-offset: .2em; }
.field--check .field__error { grid-column: 1 / -1; }
.check {
  appearance: none;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  margin: 1px 0 0;
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  background: var(--coal-2);
  cursor: pointer;
  transition: background-color var(--t-ui), border-color var(--t-ui);
}
.check:hover { border-color: var(--bone); }
.check:checked { background: var(--red); border-color: var(--red); }
.check:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.check[aria-invalid="true"] { border-color: var(--red-hi); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .25rem; }
.form__note { color: var(--mist); font-size: .9375rem; }

.form-success {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line-2);
  background: var(--slate);
  animation: fade-up 500ms var(--ease) both;
}
.form-success__mark { width: 3.25rem; height: auto; }
.form-success__title { font: 800 clamp(2rem, 1.6rem + 1.6vw, 2.75rem)/.95 var(--f-display); text-transform: uppercase; }
.form-success p { max-width: 52ch; color: var(--bone-88); }
.form-success a { color: var(--bone); }

.contact__card {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--slate);
}
.details { display: grid; }
.details__row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.details__row:first-child { padding-top: 0; }
.details__row dt { padding-top: .3rem; }
.details dd { display: grid; justify-items: start; gap: .35rem; color: var(--bone-88); }
.details__big { color: var(--bone); font: 700 1.5rem/1.15 var(--f-display); letter-spacing: .01em; text-decoration: none; transition: color var(--t-ui); }
.details__big:hover { color: var(--red-hi); }
.details__big--email { font-size: 1.25rem; overflow-wrap: anywhere; }
.status--card { margin-top: .3rem; }
.lines__title { margin-bottom: .9rem; }
.lines__list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.lines__list li { display: grid; justify-items: start; gap: .05rem; font-size: .9375rem; }
.lines__name { color: var(--bone); font-weight: 600; }
.lines__list a { color: var(--mist); text-decoration: none; overflow-wrap: anywhere; }
.lines__list a:hover { color: var(--bone); text-decoration: underline; text-underline-offset: .2em; }
.map {
  position: relative;
  aspect-ratio: auto;
  min-height: 14rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, rgb(236 234 230 / .035) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgb(236 234 230 / .035) 0 1px, transparent 1px 28px),
    var(--coal);
}
.map:has(iframe) { aspect-ratio: 4 / 3; }
/* contact page: the map is a full-width row under the form and details card */
.contact__map { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 1080px) { .contact__map:has(iframe) { aspect-ratio: 21 / 8; } }
.map__placeholder { position: relative; min-height: 14rem; display: grid; place-content: center; justify-items: center; gap: .6rem; padding: 1.5rem; text-align: center; }
.map__pin { width: 2rem; height: 2rem; color: var(--red-hi); }
.map__addr { color: var(--bone); font: 700 1.125rem/1.2 var(--f-display); letter-spacing: .04em; text-transform: uppercase; }
.map__note { color: var(--mist); font-size: .8125rem; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }

/* ==========================================================================
   Multi-page components
   ========================================================================== */

/* ---------- Page hero (inner pages) ----------
   The mark on the right tells the truth about the page: all three bands lit
   (services), the centre band (training), an empty gauge (health check), or a
   quiet unlit mark (everything else). */
.page-hero {
  position: relative;
  overflow: clip;
  padding-top: calc(var(--util-h) + var(--header-h) + clamp(2.5rem, 7vw, 5.5rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(55% 90% at 84% 45%, #1b1b1d 0%, rgb(23 23 24 / 0) 70%),
    radial-gradient(120% 90% at 50% 40%, var(--coal-2) 0%, var(--coal) 72%);
}
.page-hero--compact {
  padding-top: calc(var(--util-h) + var(--header-h) + clamp(1.5rem, 3.5vw, 3rem));
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
}
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.page-hero__copy { position: relative; z-index: 1; }
.page-hero__title {
  max-width: 22ch;
  color: var(--bone);
  font: 800 clamp(3rem, 1.9rem + 5.6vw, 7rem)/.86 var(--f-display);
  letter-spacing: -.012em;
  text-transform: uppercase;
}
.page-hero--compact .page-hero__title { max-width: none; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); }
.page-hero__lede {
  max-width: 46ch;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--bone-88);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.55;
}
.page-hero--compact .page-hero__lede { max-width: 60ch; }
.page-hero__lede a { color: var(--bone); text-underline-offset: .2em; }

.page-mark { width: clamp(8rem, 15vw, 13rem); height: auto; overflow: visible; }
.page-hero--compact .page-mark { width: clamp(6rem, 10vw, 9.5rem); }
.page-mark__band { fill: var(--line-2); opacity: .6; }
.page-mark__level { display: none; }
.page-mark--all .page-mark__band,
.page-mark--safer .page-mark__band--safer { fill: url(#g-mark); opacity: .92; }
.page-mark--quiet { opacity: .8; }
/* the health-check gauge, empty: light tracks with only a red zero line at the base */
.page-mark--gauge .page-mark__band { fill: var(--bone); opacity: .16; }
.page-mark--gauge .page-mark__level {
  display: inline;
  fill: url(#g-mark);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(.05);
}
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .page-hero__copy { grid-column: 1 / 10; }
  .page-mark { grid-column: 10 / 13; justify-self: end; }
  /* lit marks stay faint too: the lit bands still say which pillars the page covers */
  .page-mark--all, .page-mark--safer { opacity: .75; }
}
/* phones & small tablets: the mark shrinks and sits behind the title, top right */
@media (max-width: 899px) {
  .page-mark,
  .page-hero--compact .page-mark { position: absolute; top: 0; right: 0; z-index: 0; width: clamp(4.5rem, 20vw, 7.5rem); opacity: .5; }
  .page-mark--quiet { opacity: .5; }
  .page-hero__eyebrow { max-width: calc(100% - clamp(4.5rem, 20vw, 7.5rem) - 1rem); }
}
.js .page-hero__copy { animation: fade-up 700ms var(--ease) both 60ms; }
/* mark-in has no "to" step, so the mark settles at its own (faint) opacity */
.js .page-mark { animation: mark-in 900ms var(--ease) both 200ms; }
.js-late .page-hero__copy, .js-late .page-mark { animation: none; }

/* the first section under a page hero doesn't need the full section padding on top */
.page-hero + .section { padding-top: clamp(3.5rem, 7vw, 6rem); }
/* …and its heading steps down a size, so the H1 above stays the only page title */
.page-hero + .section .section-head .h2,
.page-hero + .section .about__lead .h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); }

/* current page in the mobile menu and footer (the header nav uses its underline) */
.mobile-menu__nav a[aria-current="page"] { color: var(--red-hi); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }
/* :not(.footer__lockup) lifts this above the later `.footer a:not(.footer__lockup)` rule, which would otherwise win */
.footer a[aria-current="page"]:not(.footer__lockup) { color: var(--bone); text-decoration: underline; text-underline-offset: .2em; }

/* uppercase "see more" text link */
.link--caps {
  min-height: 44px;
  font: 700 .9375rem/1.2 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.link--caps .icon { transition: transform 300ms var(--ease); }
.link--caps:hover .icon { transform: translateX(4px); }
.link--caps:hover { text-decoration: underline; text-underline-offset: .3em; }

/* ---------- Home: pillars footer link ---------- */
.pillars__more { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* ---------- Services: pillars, fully expanded ---------- */
.pillars__stack { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.pillar--expanded { display: grid; grid-template-columns: minmax(0, 1fr); }
.pillar--expanded::before { transform: scaleX(1); }
.pillar--expanded .pillar__media { height: auto; aspect-ratio: 3 / 2; }
.pillar--expanded .pillar__media img { filter: none; opacity: 1; }
.pillar--expanded .pillar__content {
  display: grid;
  gap: 1.5rem;
  align-content: start;
  padding: clamp(1.5rem, 3.5vw, 3rem) clamp(1.25rem, 3vw, 3rem);
}
.pillar__heading { display: grid; justify-items: start; }
.pillar__heading > * { grid-area: auto; }
.pillar--expanded .pillar__word { margin: .55rem 0 .65rem; font-size: clamp(3rem, 2rem + 4.2vw, 5.75rem); }
.pillar--expanded .pillar__body { padding: 0; }
@media (min-width: 1080px) {
  .pillar--expanded { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pillar--expanded .pillar__media { grid-column: 1 / 6; grid-row: 1; height: 100%; min-height: 28rem; aspect-ratio: auto; }
  .pillar--expanded .pillar__media::after { background: linear-gradient(to right, rgb(12 12 13 / 0) 70%, rgb(12 12 13 / .55)); }
  .pillar--expanded .pillar__content { grid-column: 6 / 13; grid-row: 1; }
  /* the middle band mirrors, so the three read as a rhythm, not a list */
  .pillar--expanded:nth-child(even) .pillar__media { grid-column: 8 / 13; }
  .pillar--expanded:nth-child(even) .pillar__media::after { background: linear-gradient(to left, rgb(12 12 13 / 0) 70%, rgb(12 12 13 / .55)); }
  .pillar--expanded:nth-child(even) .pillar__content { grid-column: 1 / 8; }
}

/* ---------- Home: health-check teaser (paper) ---------- */
.hc-teaser__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .hc-teaser__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .hc-teaser__copy { grid-column: 1 / 7; }
  .hc-teaser__visual { grid-column: 7 / 13; }
}
.hc-teaser__text { max-width: 44ch; margin: 1.25rem 0 2rem; color: var(--ink-2); font-size: 1.0625rem; }
.hc-teaser__visual {
  justify-self: center;
  width: min(100%, 17rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--paper-line);
  border-top: 4px solid var(--ink);
  background: var(--paper-hi);
  box-shadow: 0 1px 0 rgb(20 20 22 / .05), 0 24px 48px -32px rgb(20 20 22 / .25);
}
@media (min-width: 900px) { .hc-teaser__visual { width: min(100%, 20rem); } }
@media (max-width: 899px) { .hc-teaser__visual { width: 12rem; justify-self: start; } }
.hc-teaser__fill { transform: scaleY(var(--f, .5)); transition-delay: 250ms; }
.reveal-ready .hc-teaser__visual:not(.is-in) .hc-teaser__fill { transform: scaleY(0); }

/* ---------- Home: training teaser ---------- */
@media (min-width: 1080px) { .courses--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.course--compact .course__body { gap: .8rem; }
.course--compact .course__title { font-size: clamp(1.45rem, 1.25rem + .5vw, 1.7rem); }
.course--compact .course__detail { padding-top: .8rem; }
.course--compact .btn { align-self: flex-start; }
.training-teaser .section-head__intro { align-self: end; justify-self: end; }
/* phones: the four compact cards become a swipeable strip (same pattern as the industries strip) */
@media (max-width: 639px) {
  .courses--compact {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 1rem;
    overflow-x: auto;
    contain: paint; /* see .ind-grid */
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
  }
  .courses--compact > * { scroll-snap-align: start; }
}

/* ---------- About: place band ---------- */
.place__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
@media (min-width: 1080px) {
  .place__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .place__media { grid-column: 1 / 8; }
  .place__copy { grid-column: 8 / 13; }
}
.place__media picture { position: relative; background: var(--coal-2); }
.place__media img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 55%; }
.place__media picture::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 6px; height: 38%;
  background: linear-gradient(var(--mark-top), var(--mark-bottom));
}
.place__line {
  color: var(--bone);
  font: 500 clamp(2rem, 1.35rem + 2.5vw, 3.4rem)/1.06 var(--f-serif);
  letter-spacing: -.02em;
}
.place__line em { display: block; color: var(--red); font-style: italic; font-weight: 400; }
.place__addr { margin: 1.75rem 0 .5rem; color: var(--mist); }

/* ---------- FAQ page: the head column only carries the "ask us" line ---------- */
/* the list takes the centre columns; the "ask us" prompt follows it as a closing line */
.faq--page .faq__head { margin-top: clamp(2rem, 4vw, 3rem); }
.faq--page .faq__ask { margin-top: 0; }
@media (min-width: 1080px) {
  .faq--page .faq__list,
  .faq--page .faq__head { grid-column: 2 / 12; }
  .faq--page .faq__head { position: static; }
}

/* ---------- Legal pages (privacy notice, terms of use) ---------- */
.legal__grid { display: grid; gap: 1.5rem var(--gap); }
@media (min-width: 1080px) {
  .legal__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .legal__updated { grid-column: 1 / 4; position: sticky; top: calc(var(--header-h) + 2rem); }
  .legal__body { grid-column: 4 / 11; }
}
.legal__body { max-width: 68ch; }
.legal__body h2 {
  margin: 2.25rem 0 .5rem;
  color: var(--bone);
  font: 700 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.15 var(--f-display);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { color: var(--bone-88); }
.legal__body a { color: var(--bone); text-underline-offset: .2em; }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; border-top: 1px solid var(--line); background: var(--coal); }
.footer__grid { display: grid; gap: 2.5rem var(--gap); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 5fr 2fr 3fr 2.4fr; } }
.footer__lockup { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; }
.footer__mark { width: auto; height: 68px; }
.footer__type { display: grid; gap: .55rem; }
.footer__word { width: 210px; }
.footer__tag { width: 172px; }
.footer__line { max-width: 36ch; margin-top: 1.5rem; color: var(--mist); font-size: .9375rem; }
.footer__title { margin-bottom: 1rem; }
.footer ul { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.footer a:not(.footer__lockup) {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 32px;
  color: var(--bone-88);
  font-size: .9375rem;
  text-decoration: none;
}
.footer a:not(.footer__lockup):hover { color: var(--bone); text-decoration: underline; text-underline-offset: .2em; }
.footer__nap { margin-bottom: .75rem; color: var(--bone-88); font-size: .9375rem; line-height: 1.6; }
.footer__hours { color: var(--mist); font-size: .9375rem; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: .8125rem;
}

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.15fr;
  gap: 1px;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: var(--line);
  transform: translateY(110%);
  visibility: hidden;   /* hidden dock links leave the tab order and the accessibility tree */
  transition: transform 450ms var(--ease), visibility 0s linear 450ms;
}
.dock.is-visible,
.no-js .dock { transform: none; visibility: visible; transition-delay: 0s; }
.dock__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 56px;
  background: var(--coal);
  color: var(--bone);
  font: 700 .9375rem/1 var(--f-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.dock__item--primary { background: var(--red); color: #fff; }
.dock__item:focus-visible { outline-offset: -3px; }
.dock__item--primary:focus-visible { outline-color: #fff; }
@media (max-width: 720px) {
  body { padding-bottom: calc(57px + env(safe-area-inset-bottom)); }
}
@media (min-width: 721px) { .dock { display: none; } }
/* very short viewports (e.g. 400% zoom): don't let fixed bars eat the screen */
@media (max-height: 500px) {
  .site-top { position: absolute; }
  .site-top.is-menu-open { position: fixed; }
  .dock { display: none; }
  body { padding-bottom: 0 !important; }
  html { scroll-padding: 1rem; }
}

/* ---------- Dialogs ---------- */
.dialog {
  width: min(100% - 2rem, 44rem);
  max-height: min(88vh, 52rem);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--coal-2);
  color: var(--bone);
}
.dialog::backdrop { background: rgb(0 0 0 / .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog[open] { animation: dialog-in 380ms var(--ease) both; }
.dialog__inner { display: flex; flex-direction: column; }
.dialog__head { position: sticky; top: 0; z-index: 1; flex: none; padding: 1.6rem 4.75rem 1.2rem 1.75rem; border-bottom: 1px solid var(--line); background: var(--coal-2); }
.dialog__title { margin-top: .35rem; font: 800 clamp(2rem, 1.7rem + 1.2vw, 2.6rem)/.95 var(--f-display); text-transform: uppercase; }
.dialog__close {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--bone);
}
.dialog__close:hover { border-color: var(--bone); }
.dialog__close .icon { width: 1.3rem; height: 1.3rem; }
.dialog__body { padding: 1.5rem 1.75rem 2.25rem; overflow: visible; }
.dialog__body h3 { margin: 1.6rem 0 .4rem; font: 700 1.125rem/1.2 var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.dialog__body h3:first-child { margin-top: 0; }
.dialog__body p { color: var(--bone-88); font-size: 1rem; }
.dialog__body a { color: var(--bone); text-underline-offset: .2em; }
.no-js .dialog:target { display: block; position: fixed; inset: 0; z-index: 100; margin: auto; }

/* ---------- Motion ---------- */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mark-in { from { opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rise-sm { from { transform: translateY(16px); } to { transform: none; } }
@keyframes band-in { from { transform: translateY(24%); } to { transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

/* hero load sequence (CSS-driven, keyed on .js so no-JS shows everything at rest) */
/* opacity animates on the parallax wrapper, transform on the band, so hover dimming (.band opacity) stays free */
.js .band-par { animation: fade-in 700ms var(--ease) both; animation-delay: calc(100ms + var(--i) * 90ms); }
.js .band { animation: band-in 800ms var(--ease) both; animation-delay: calc(100ms + var(--i) * 90ms); }
.js .hero__word-in { animation: rise-in 750ms var(--ease) both; animation-delay: calc(180ms + var(--i) * 90ms); }
.js .hero__eyebrow,
.js .hero__pre { animation: fade-up 700ms var(--ease) both 60ms; }
.js .hero__lede,
.js .hero__actions { animation: fade-up 700ms var(--ease) both 420ms; }
.js .hero__facts { animation: fade-in 600ms var(--ease) both 600ms; }
/* phones: the lede is the likely LCP element, so it moves but never starts invisible */
@media (max-width: 899px) {
  .js .hero__lede,
  .js .hero__actions { animation: rise-sm 700ms var(--ease) both 150ms; }
}
.js-late .band-par, .js-late .band, .js-late .hero__word-in, .js-late .hero__eyebrow, .js-late .hero__pre,
.js-late .hero__lede, .js-late .hero__actions, .js-late .hero__facts { animation: none; }

/* scroll reveals — enabled by site.js (html.reveal-ready) so content never hides if JS fails */
.reveal-ready .reveal:not(.is-in) { opacity: 0; transform: translateY(16px); }
.reveal-ready .reveal { transition: opacity 800ms var(--ease), transform 800ms var(--ease); }

/* ---------- Film grain (dark surfaces) ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;   /* header 50, menu 45, dock 40 and .section--paper 2 sit above it */
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .reveal-ready .reveal:not(.is-in) { opacity: 1; transform: none; }
  .band-par { will-change: auto; }
}

/* ---------- Forced colours ---------- */
@media (forced-colors: active) {
  body::after { display: none; }
  .btn, .chip, .menu-btn, .seg, .stepper, .pillar, .course__card, .calc, .contact__card, .dialog { border: 1px solid CanvasText; }
  .seg input:checked + label,
  .chip[aria-pressed="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .eyebrow::before, .triage-card::before, .values__name::before, .course__badge::before { background: CanvasText; }
  .nav__link[aria-current="page"],
  .mobile-menu__nav a[aria-current="page"] { text-decoration: underline; }
  .gauge__fill { fill: Highlight; }
  .gauge__track { fill: Canvas; stroke: CanvasText; }
  .check:checked { background: Highlight; }
  .hero__dot { color: inherit; }
  .field__input:focus { outline-color: Highlight; }
  .seg input:focus-visible + label,
  .check:focus-visible { outline: 2px solid Highlight; }
}

/* ---------- Increased contrast ---------- */
@media (prefers-contrast: more) {
  :root { --mist: #CFCED3; --bone-88: var(--bone); --line: #55555C; --line-2: #8A8990; --ink-2: #2A2A30; --dim: #A09FA6; }
  body::after { display: none; }
  .pillar__media img, .ind__media img { filter: none; opacity: 1; }
  .hero[data-active] .hero__word,
  .hero[data-active] .hero__word .hero__dot { color: var(--bone); }
}

/* ---------- Print ---------- */
@media print {
  @page { margin: 16mm 14mm; }
  body { padding: 0; background: #fff; color: #000; font-size: 11pt; }
  body::after, .site-top, .mobile-menu, .dock, .skip-link, .hero__visual, .page-mark, .cta, .map, dialog, .filters, .hc__actions { display: none !important; }
  .section, .hero, .page-hero, .footer { padding-block: 12mm; background: #fff !important; color: #000 !important; }
  .page-hero__title, .page-hero__lede, .legal__body h2, .legal__body p { color: #000; }
  .reveal-ready .reveal:not(.is-in) { opacity: 1; transform: none; }
  a { color: #000; }

  /* "Print or save as PDF" from the health check: only the results slip */
  html.print-hc body > *:not(main) { display: none !important; }
  html.print-hc main > *:not(#health-check) { display: none !important; }
  html.print-hc #health-check { padding: 0; background: #fff; }
  html.print-hc #health-check .section-head,
  html.print-hc #health-check .hc__form { display: none !important; }
  html.print-hc .hc__layout { display: block; }
  html.print-hc .hc__results { position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: #fff; }
  html.print-hc .print-brand { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6mm; margin-bottom: 8mm; padding-bottom: 5mm; border-bottom: 2px solid #000; }
  html.print-hc .print-brand img:first-child { width: 14mm; height: auto; }
  html.print-hc .print-brand img:nth-child(2) { width: 62mm; height: auto; }
  html.print-hc .print-brand p { grid-column: 1 / -1; font-size: 9pt; color: #333; }
  html.print-hc .gauge__fill { fill: #C8191B; print-color-adjust: exact; -webkit-print-color-adjust: exact; transition: none; }
  html.print-hc .gauge__track { fill: #ddd; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  html.print-hc .hc__gaplist li { break-inside: avoid; }
  html.print-hc .hc__gaplist li.is-extra { display: block; }
  html.print-hc .hc__more { display: none !important; }
  html.print-hc .hc__disclaimer { font-size: 8.5pt; }
}
