/* BTR VSI shared design system v4 "Cummins editorial"
   White ground, sentence-case display, chromeless photography-led sections,
   hairline uppercase text links, surgical red. Same class vocabulary as v2/v3
   (103 knowledge articles + 2 interactive tools depend on it; tokens
   --ink/--line/--accent keep their names). Fonts self-hosted, no external
   requests at runtime. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/archivo-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #101214;
  --ink-deep: #000000;
  --paper: #ffffff;
  --panel: #f4f4f4;
  --steel: #4a5158;
  --grey: #8a8f95;
  --line: #e5e5e5;
  --accent: #e02417;
  --accent-dark: #b71d12;
  --accent-bright: #ff6a5c; /* accent for dark surfaces, >= 4.5:1 on ink */
  --accent-text: #cf1d0e;   /* accent for small text on light surfaces */
  --shadow-header: 0 6px 24px rgba(16, 18, 20, 0.08);
  --shadow-lift: 0 16px 34px rgba(16, 18, 20, 0.08);
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --container: 1280px;
  --section-space: clamp(5rem, 10vw, 7.5rem);
  --space-block: 2.25rem;
  --font-sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-height: 84px;
  --utility-height: 34px;
  --transition: 200ms ease;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-reveal: 700ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 650;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
}

h4 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.15rem;
}

p:last-child {
  margin-bottom: 0;
}

p + .button-group,
ul + .button-group,
ol + .button-group,
.feature-list + .button-group,
.check-list + .button-group {
  margin-top: var(--space-block);
}

::selection {
  background: rgba(224, 36, 23, 0.16);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

table {
  width: 100%;
  margin-bottom: 1.25rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

th,
td {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--panel);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--accent);
  color: var(--paper);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  color: var(--paper);
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - 2.5rem), 860px);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section-sm {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section-panel {
  background: var(--panel);
}

.section-ink {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.section-ink h2,
.section-ink h3,
.section-ink h4 {
  color: var(--paper);
}

.section-header {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-header > :last-child {
  max-width: 640px;
  color: var(--steel);
}

.section-ink .section-header > :last-child {
  color: rgba(255, 255, 255, 0.68);
}

.section-panel .card {
  border-top-color: #d8d8d8;
}

.section-panel .teaser-media {
  background: #e9e9e9;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--steel);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.7rem;
  height: 2px;
  background: var(--accent);
  content: "";
}

.section-ink .eyebrow,
.cta-band .eyebrow,
.stat-strip .eyebrow,
.site-footer .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.section-ink .eyebrow::before,
.hero .eyebrow::before {
  background: var(--accent-bright);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.lead {
  max-width: 700px;
  color: var(--steel);
  font-size: clamp(1.05rem, 1.9vw, 1.22rem);
  line-height: 1.65;
}

.text-steel { color: var(--steel); }
.text-paper { color: var(--paper); }
.text-accent { color: var(--accent-text); }
.text-centre { text-align: center; }
.max-copy { max-width: 680px; }
.flow > * + * { margin-top: 1.25rem; }
.stack-sm > * + * { margin-top: 0.75rem; }
.stack-lg > * + * { margin-top: 2rem; }

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.progress-bar {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

/* Repeating brand mark, used as a quiet texture on footer and light bands */
.brand-pattern {
  position: relative;
  isolation: isolate;
}

.brand-pattern::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("/assets/img/valve-pattern.png");
  background-repeat: repeat;
  background-size: 240px auto;
  content: "";
  opacity: 0.05;
  pointer-events: none;
}

.site-footer.brand-pattern::before,
.section-ink.brand-pattern::before {
  filter: brightness(0) invert(1);
  opacity: 0.035;
}

.utility-bar {
  min-height: var(--utility-height);
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.2;
}

.utility-inner {
  display: flex;
  min-height: var(--utility-height);
  align-items: center;
  justify-content: flex-end;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.utility-links li,
.utility-links > a,
.utility-links > span {
  padding: 0;
  border: 0;
}

.utility-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.utility-links a:hover {
  color: var(--paper);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: box-shadow var(--transition), min-height var(--transition), transform 320ms var(--ease-out);
}

/* Blur on a pseudo-element: backdrop-filter on the header itself would become
   the containing block for the fixed mobile nav panel. */
.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.97);
  content: "";
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-header);
}

.site-header.is-hidden {
  box-shadow: none;
  transform: translateY(-101%);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  transition: min-height var(--transition);
}

.site-header.is-scrolled .header-inner {
  min-height: 66px;
}

.brand {
  position: relative;
  z-index: 102;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand:hover {
  color: inherit;
}

.brand img {
  width: 76px;
  height: 48px;
  object-fit: contain;
  transition: width var(--transition), height var(--transition);
}

.site-header.is-scrolled .brand img {
  width: 64px;
  height: 40px;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  position: relative;
  z-index: 102;
  display: inline-flex;
  width: 46px;
  height: 46px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color var(--transition);
}

.nav-toggle-label:hover {
  border-color: var(--ink);
}

.nav-toggle:focus-visible ~ .nav-toggle-label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  width: 22px;
  height: 2px;
  background: var(--ink);
  content: "";
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after { top: 7px; }

.nav-toggle:checked + .nav-toggle-label .nav-toggle-icon {
  background: transparent;
}

.nav-toggle:checked + .nav-toggle-label .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  z-index: 95;
  inset: var(--header-height) 0 0;
  display: flex;
  visibility: hidden;
  overflow-y: auto;
  align-items: center;
  padding: 2rem max(1.25rem, calc((100vw - var(--container)) / 2));
  background: var(--ink-deep);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out), visibility 300ms;
}

.nav-toggle:checked ~ .site-nav {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body:has(.nav-toggle:checked) {
  overflow: hidden;
}

.nav-list {
  display: grid;
  width: 100%;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-toggle:checked ~ .site-nav .nav-list > li {
  animation: nav-item-in 480ms var(--ease-out) both;
}

.nav-toggle:checked ~ .site-nav .nav-list > li:nth-child(2) { animation-delay: 40ms; }
.nav-toggle:checked ~ .site-nav .nav-list > li:nth-child(3) { animation-delay: 80ms; }
.nav-toggle:checked ~ .site-nav .nav-list > li:nth-child(4) { animation-delay: 120ms; }
.nav-toggle:checked ~ .site-nav .nav-list > li:nth-child(5) { animation-delay: 160ms; }
.nav-toggle:checked ~ .site-nav .nav-list > li:nth-child(6) { animation-delay: 200ms; }
.nav-toggle:checked ~ .site-nav .nav-list > li:nth-child(7) { animation-delay: 240ms; }
.nav-toggle:checked ~ .site-nav .nav-list > li:nth-child(8) { animation-delay: 280ms; }

@keyframes nav-item-in {
  from {
    opacity: 0;
    translate: 0 18px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.nav-link {
  display: block;
  padding: 0.72rem 0;
  color: var(--paper);
  font-size: clamp(1.45rem, 6.5vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--accent-bright);
}

.nav-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent-bright);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45rem;
}

.nav-cta {
  margin-top: 1.5rem;
}

/* Buttons: one filled red action per page; everything else is a text link. */
.button,
.nav-cta {
  position: relative;
  z-index: 0;
  display: inline-flex;
  overflow: hidden;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: var(--paper);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 250ms var(--ease-out), color 250ms var(--ease-out), background-color 250ms var(--ease-out);
}

.button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--accent-dark);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms var(--ease-out);
}

.button:hover::before,
.button:focus-visible::before {
  transform: scaleX(1);
}

.button:hover {
  border-color: var(--accent-dark);
  color: var(--paper);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.8);
  background: transparent;
  color: var(--paper);
}

.button-secondary::before {
  background: var(--paper);
}

.button-secondary:hover {
  border-color: var(--paper);
  color: var(--ink);
}

.button-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-outline::before {
  background: var(--ink);
}

.button-outline:hover {
  border-color: var(--ink);
  color: var(--paper);
}

/* Hairline editorial link: uppercase, underline rule, arrow.
   Self-sufficient: works both bare and layered on .button. */
.button-link {
  display: inline-flex;
  min-height: auto;
  overflow: visible;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0 0.35rem;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 250ms var(--ease-out), color 250ms var(--ease-out);
}

.button-link::before {
  display: none;
}

.button-link:hover {
  border-bottom-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

.button-arrow::after {
  content: "\2192";
  font-size: 1.05em;
  letter-spacing: 0;
  transition: transform 250ms var(--ease-out);
}

.button-arrow:hover::after {
  transform: translateX(4px);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
}

/* The header CTA is a text link with a red rule, not a filled button */
.nav-cta,
.button.nav-cta {
  min-height: auto;
  overflow: visible;
  padding: 0.3rem 0 0.45rem;
  border: 0;
  border-bottom: 2px solid var(--accent);
  background: transparent;
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.nav-cta::before,
.button.nav-cta::before {
  display: none;
}

.nav-cta:hover,
.button.nav-cta:hover {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent-bright);
}

.edge-contact {
  position: fixed;
  z-index: 80;
  top: 48%;
  right: 0;
  display: none;
  padding: 1.05rem 0.6rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-50%);
  transition: background var(--transition), padding-right var(--transition);
  writing-mode: vertical-rl;
}

.edge-contact:hover {
  padding-right: 0.85rem;
  background: var(--accent);
  color: var(--paper);
}

.floating-whatsapp {
  position: fixed;
  z-index: 80;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.1rem;
  border: 0;
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(16, 18, 20, 0.24);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}

.floating-whatsapp::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse-dot 2.4s ease-in-out infinite;
  background: var(--paper);
  content: "";
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.floating-whatsapp:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 68svh;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.4) 0%, rgba(10, 12, 14, 0.3) 45%, rgba(10, 12, 14, 0.72) 100%);
  content: "";
}

.hero-inner {
  display: flex;
  min-height: 68svh;
  align-items: flex-end;
  padding-top: clamp(6rem, 12vw, 9rem);
  padding-bottom: clamp(3.25rem, 7vw, 5.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-copy > * {
  animation: hero-rise 800ms var(--ease-out) both;
}

.hero-copy > :nth-child(2) { animation-delay: 90ms; }
.hero-copy > :nth-child(3) { animation-delay: 180ms; }
.hero-copy > :nth-child(4) { animation-delay: 270ms; }
.hero-copy > :nth-child(5) { animation-delay: 360ms; }

@keyframes hero-rise {
  from {
    opacity: 0;
    translate: 0 26px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* Cummins-style hero: a white content panel docked on the photo */
.hero-panel {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: clamp(2rem, 4vw, 3.4rem);
  background: var(--paper);
  color: var(--ink);
  animation: hero-rise 800ms var(--ease-out) both;
}

.hero-panel h1 {
  color: var(--ink);
}

.hero-panel .lead {
  color: var(--steel);
}

.hero-panel .eyebrow {
  color: var(--steel);
}

.hero-panel .eyebrow::before {
  background: var(--accent);
}

.hero h1 {
  max-width: 700px;
  color: var(--paper);
}

.hero .lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
}

/* Panel colours must beat the over-photo defaults above (same specificity
   would let source order paint white-on-white). */
.hero .hero-panel h1 {
  color: var(--ink);
}

.hero .hero-panel .lead {
  color: var(--steel);
}

.hero .hero-panel .eyebrow {
  color: var(--steel);
}

.hero .hero-panel .eyebrow::before {
  background: var(--accent);
}

.hero .hero-panel .hero-kicker {
  color: var(--steel);
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  max-width: none;
  height: 100%;
  animation: hero-zoom 14s var(--ease-out) both;
  object-fit: cover;
  object-position: center;
}

.hero-home .hero-media img {
  object-position: center 52%;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  padding: 1.45rem 0 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  list-style: none;
}

.hero-panel .hero-kicker {
  color: var(--steel);
}

.hero-kicker li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-kicker li::before {
  width: 6px;
  height: 6px;
  background: var(--accent);
  content: "";
}

.hero-scroll-cue {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 2.25rem;
  display: none;
  width: 2px;
  height: 64px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.hero-scroll-cue::after {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  animation: cue-drop 2.2s var(--ease-out) infinite;
  background: var(--paper);
  content: "";
}

@keyframes cue-drop {
  from { top: -50%; }
  to { top: 110%; }
}

.hero-compact,
.hero-inner-page {
  min-height: 46svh;
}

.hero-compact .hero-inner,
.hero-inner-page .hero-inner {
  min-height: 46svh;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.key-answer {
  position: relative;
  padding: clamp(1.9rem, 4vw, 2.8rem) 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.key-answer .eyebrow {
  margin-bottom: 0.85rem;
}

.key-answer p {
  max-width: 1020px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.5;
}

.key-answer-wrap {
  position: relative;
  z-index: 2;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  margin-top: 0;
}

.cards-2,
.cards-3,
.cards-4 {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

/* Chromeless editorial cards: hairline top rule, no borders, no shadows */
.card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.6rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: border-color 300ms var(--ease-out);
}

.card::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease-out);
}

.card:hover::before,
.card.is-read::before {
  transform: scaleX(1);
}

.card.is-read .card-number {
  color: var(--ink);
  transition: color 400ms var(--ease-out);
}

.card:hover h3 {
  color: var(--accent);
}

.card h3 {
  transition: color var(--transition);
}

.card-number {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 1.1rem;
  border: 0;
  color: #6b7075; /* 5.0:1 on white, 4.55:1 on panel grey */
  font-size: 0.86rem;
  font-weight: 500;
}

.card-icon {
  display: inline-flex;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(224, 36, 23, 0.08);
  color: var(--accent);
  font-weight: 600;
}

.card p {
  color: var(--steel);
}

.card-link,
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.15rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.card-link > span,
.link-arrow > span {
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 0.3rem;
  transition: border-color var(--transition);
}

.card-link::after,
.link-arrow::after {
  content: "\2192";
  font-size: 1.05em;
  transition: transform 250ms var(--ease-out);
}

.card-link:hover,
.link-arrow:hover {
  color: var(--accent);
}

.card-link:hover > span,
.link-arrow:hover > span {
  border-color: var(--accent);
}

.card-link:hover::after,
.link-arrow:hover::after,
.card:hover .card-link::after,
.teaser-card:hover .link-arrow::after {
  transform: translateX(5px);
}

/* Whole card is clickable: stretch the card's link over the card face.
   Inline links and buttons inside cards sit on a higher layer. */
.card .card-link::before,
.card .link-arrow::before,
.teaser-card .card-link::before,
.teaser-card .link-arrow::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
}

.card p a,
.card .button,
.card .button-link,
.teaser-body p a {
  position: relative;
  z-index: 2;
}

.card:has(.card-link:focus-visible),
.card:has(.link-arrow:focus-visible),
.teaser-card:has(.card-link:focus-visible),
.teaser-card:has(.link-arrow:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.card-dark {
  border-top-color: rgba(255, 255, 255, 0.22);
  background: transparent;
}

.card-dark::before {
  background: var(--paper);
}

.card-dark h3,
.card-dark h4,
.card-dark .card-link {
  color: var(--paper);
}

.card-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.card-dark .card-number {
  color: rgba(255, 255, 255, 0.55);
}

.card-dark:hover h3 {
  color: var(--accent-bright);
}

.card:has(:target)::before,
.card:target::before {
  background: var(--accent);
  transform: scaleX(1);
}

/* Teaser cards: image-led, chromeless */
.teaser-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  background: transparent;
  transition: none;
}

.teaser-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin-bottom: 1.4rem;
  background: #ececec;
}

.teaser-media::after {
  display: none;
}

.teaser-media img {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.teaser-card:hover .teaser-media img {
  transform: scale(1.04);
}

.teaser-media.media-contain {
  background: var(--panel);
}

.teaser-media.media-contain img {
  padding: clamp(0.75rem, 2vw, 1.25rem);
  object-fit: contain;
}

.teaser-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0;
}

.teaser-body h3 {
  transition: color var(--transition);
}

.teaser-card:hover .teaser-body h3 {
  color: var(--accent);
}

.teaser-body p {
  color: var(--steel);
}

/* Filterable directory (equipment, case studies, knowledge hub) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filter-bar input[type="search"] {
  min-height: 52px;
  flex: 1 1 260px;
  max-width: 420px;
  padding: 0.75rem 1.1rem;
  border: 1px solid #c9cdd1;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--transition);
}

.filter-bar input[type="search"]:focus {
  border-color: var(--ink);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  padding: 0.55rem 1rem;
  border: 1px solid #c9cdd1;
  background: var(--paper);
  color: var(--steel);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.filter-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.filter-count {
  min-height: 1.2em;
  color: var(--steel);
  font-size: 0.86rem;
}

.filter-empty {
  padding: 2rem 0;
  color: var(--steel);
}

.filter-empty[hidden] {
  display: none;
}

.step-grid {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  counter-reset: step;
  list-style: none;
}

.step {
  position: relative;
  padding: 1.7rem 1.5rem 1.7rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.step::before {
  display: block;
  margin-bottom: 1.6rem;
  color: #6b7075; /* 5.0:1 on white, 4.55:1 on panel grey */
  content: "0" counter(step);
  font-size: 0.86rem;
  font-weight: 500;
}

.step::after {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ink);
  content: "";
  transition: width 450ms var(--ease-out);
}

.step:hover::after {
  width: 100%;
}

/* Read-along: main.js walks numbered grids item by item when they enter view */
.step.is-read::after {
  width: 100%;
}

.step.is-read::before {
  color: var(--ink);
  transition: color 400ms var(--ease-out);
}

.step h3 {
  color: var(--ink);
}

.step p {
  color: var(--steel);
}

.section-ink .step-grid {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.section-ink .step {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.section-ink .step h3 {
  color: var(--paper);
}

.section-ink .step p {
  color: rgba(255, 255, 255, 0.72);
}

.section-ink .step::after {
  background: var(--accent-bright);
}

.split {
  display: grid;
  overflow: hidden;
  border: 0;
  background: transparent;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.split-media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: var(--panel);
}

.split-media > .media-frame,
.split-media > figure,
.split-media > figure > .media-frame {
  width: 100%;
  height: 100%;
}

.split-media > figure {
  margin: 0;
}

.split-media .media-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.55rem 0.7rem;
  background: rgba(16, 18, 20, 0.78);
  color: rgba(255, 255, 255, 0.85);
}

.split-reverse .split-media {
  order: -1;
}

.split-copy > :last-child {
  margin-bottom: 0;
}

.split-copy .button-group {
  margin-top: var(--space-block);
}

.split-media img {
  transition: transform 900ms var(--ease-out);
}

.split:hover .split-media .media-frame:not(.media-contain) img {
  transform: scale(1.03);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--panel);
}

.media-frame img {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: cover;
}

/* Inside a split the frame must fill its column */
.split-media .media-frame img {
  height: 100%;
}

.media-contain img {
  padding: clamp(1rem, 4vw, 2.4rem);
  object-fit: contain;
}

.media-caption {
  margin-top: 0.75rem;
  color: var(--steel);
  font-size: 0.82rem;
}

/* Detail pages: copy that follows a split inside the same section needs air.
   Articles are excluded (their flow wrapper also carries .container). */
.section > .container-narrow:not(.container) {
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
}

.section > .container-narrow:not(.container):first-child {
  margin-top: 0;
}

.case-media {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.case-media img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.feature-list,
.check-list,
.footer-links,
.inline-list,
.guide-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list {
  display: grid;
  gap: 0;
  margin-block: 1.6rem;
  counter-reset: feature;
}

.feature-list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-block: 0.95rem;
  border-top: 1px solid var(--line);
  counter-increment: feature;
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list li::before {
  color: var(--accent-text);
  content: "0" counter(feature);
  font-size: 0.82rem;
  font-weight: 600;
}

.check-list {
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
}

.check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  content: "";
}

/* Stats: white, hairline top rules, big ink numerals */
.stat-strip {
  background: var(--paper);
  color: var(--ink);
}

.stat-strip-inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  border: 0;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.stat-primary,
.stat-context {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 1.6rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.stat-primary {
  background: transparent;
}

.stat-number,
.stat-value {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  color: var(--steel);
  font-size: 0.92rem;
}

.stat-context strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-context span {
  color: var(--steel);
  font-size: 0.92rem;
}

.stat-grid {
  display: grid;
  overflow: hidden;
  border: 0;
  background: transparent;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.stat {
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.trust-copy {
  max-width: 270px;
}

.trust-copy strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.3;
}

.trust-copy span {
  display: block;
  margin-top: 0.4rem;
  color: var(--steel);
  font-size: 0.86rem;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  border: 0;
}

.logo-item {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.logo-item img {
  width: auto;
  max-width: 104px;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 400ms var(--ease-out), opacity 400ms var(--ease-out);
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Standards / certification text chips */
.standards-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.standards-strip li {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  color: var(--steel);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* CTA band: light editorial contact bar (restyles the band on all 103 articles) */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 0;
  background: var(--panel);
  color: var(--steel);
}

.cta-band::after {
  display: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.cta-band h2 {
  max-width: 760px;
  color: var(--ink);
}

.cta-band p {
  max-width: 640px;
  color: var(--steel);
}

.cta-band .eyebrow {
  color: var(--steel);
}

.cta-band .eyebrow::before {
  background: var(--accent);
}

/* Legacy secondary/outline buttons inside the now-light band become ink text links */
.cta-band .button-secondary {
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  min-height: auto;
  overflow: visible;
  padding: 0 0 0.35rem;
  background: transparent;
  color: var(--ink);
}

.cta-band .button-secondary::before {
  display: none;
}

.cta-band .button-secondary:hover {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

.faq {
  border-top: 1px solid var(--line);
  counter-reset: faq;
}

.faq details {
  border-bottom: 1px solid var(--line);
  counter-increment: faq;
}

.faq summary {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  align-items: baseline;
  padding: 1.45rem 3rem 1.45rem 0;
  cursor: pointer;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  list-style: none;
  transition: color var(--transition);
}

.faq summary:hover {
  color: var(--accent);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  color: var(--grey);
  content: counter(faq, decimal-leading-zero);
  font-size: 0.84rem;
  font-weight: 500;
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  content: "";
  margin-top: -7px;
  transform: rotate(45deg);
  transition: transform 300ms var(--ease-out), border-color var(--transition);
}

.faq summary:hover::after,
.faq details[open] summary::after {
  border-color: var(--accent);
}

.faq details[open] summary::after {
  margin-top: -2px;
  transform: rotate(225deg);
}

.faq details[open] summary {
  color: var(--accent);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--steel);
  transition: grid-template-rows 320ms var(--ease-out);
}

.faq details[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  max-width: 780px;
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 3rem 1.5rem 2.6rem;
}

.breadcrumbs {
  padding-block: 1rem;
  color: var(--steel);
  font-size: 0.84rem;
}

/* When breadcrumbs precede a hero they overlay the photo instead of
   forming a strip under the menu */
.breadcrumbs:has(+ .hero) {
  position: relative;
  z-index: 5;
  margin-bottom: -3.1rem;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs:has(+ .hero) a:hover {
  color: var(--paper);
}

.breadcrumbs:has(+ .hero) li + li::before {
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 0.35rem;
  color: #9ba3ac;
  content: "/";
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.62rem;
  border: 1px solid var(--line);
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.notice {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--panel);
}

/* Brochure-request lead magnet (product and equipment detail pages) */
.lead-magnet {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--panel);
}

.lead-magnet h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.lead-magnet > p {
  max-width: 620px;
  color: var(--steel);
}

.magnet-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
  margin-bottom: 0.9rem;
}

.magnet-form input {
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid #c9cdd1;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--transition);
}

.magnet-form input:focus {
  border-color: var(--ink);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.magnet-form input[aria-invalid="true"] {
  border-color: var(--accent);
}

.magnet-error {
  margin: 0 0 0.75rem;
  color: var(--accent-text);
  font-size: 0.86rem;
}

@media (min-width: 700px) {
  .magnet-form {
    grid-template-columns: 1fr 1fr auto;
    align-items: stretch;
  }
}

/* Contact form */
fieldset {
  padding: 0;
  border: 0;
  margin: 0;
}

legend {
  padding: 0;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-success {
  display: none;
  padding: 1rem 1.2rem;
  border: 1px solid #2e7d46;
  border-left: 3px solid #2e7d46;
  color: #24603a;
  font-size: 0.95rem;
}

.form-success.is-visible {
  display: block;
}

.form-grid {
  display: grid;
  gap: 1.4rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field > label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid #c9cdd1;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--transition);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-field [aria-invalid="true"] {
  border-color: var(--accent);
}

.phone-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.6rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #c9cdd1;
  cursor: pointer;
  font-size: 0.92rem;
  transition: border-color var(--transition), background var(--transition);
}

.checkbox-grid label:hover {
  border-color: var(--ink);
}

.checkbox-grid input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
}

.checkbox-grid label:has(input:checked) {
  border-color: var(--ink);
  background: var(--panel);
}

.field-error {
  display: none;
  color: var(--accent-text);
  font-size: 0.84rem;
}

.form-field.is-invalid .field-error {
  display: block;
}

.form-error-summary {
  display: none;
  padding: 1rem 1.2rem;
  border: 1px solid var(--accent);
  border-left: 3px solid var(--accent);
  color: var(--accent-text);
  font-size: 0.95rem;
}

.form-error-summary.is-visible {
  display: block;
}

.form-note {
  color: var(--steel);
  font-size: 0.86rem;
}

@media (min-width: 700px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid-2 > .form-span-2 {
    grid-column: 1 / -1;
  }
}

.guide-filter {
  display: grid;
  gap: 0.5rem;
  max-width: 560px;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.guide-filter label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-filter input {
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid #c9cdd1;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--transition);
}

.guide-filter input:focus {
  border-color: var(--ink);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.guide-filter-count {
  min-height: 1.2em;
  color: var(--steel);
  font-size: 0.86rem;
}

.guide-group {
  padding-top: 1.6rem;
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.guide-group > h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-group > h3::before {
  width: 1.6rem;
  height: 2px;
  background: var(--accent);
  content: "";
}

.guide-list {
  display: grid;
  gap: 0.15rem 2rem;
}

.guide-list a {
  position: relative;
  display: block;
  padding: 0.45rem 0 0.45rem 1.1rem;
  color: #2e3740;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition), padding-left 250ms var(--ease-out);
}

.guide-list a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  background: #c9cdd1;
  content: "";
  transform: translateY(-50%);
  transition: background var(--transition);
}

.guide-list a:hover {
  padding-left: 1.35rem;
  color: var(--accent);
}

.guide-list a:hover::before {
  background: var(--accent);
}

.site-footer {
  border-top: 0;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.72);
}

.footer-main {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(4rem, 8vw, 5.5rem);
}

.footer-wordmark {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  color: var(--paper);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.footer-wordmark img {
  width: 62px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 290px;
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 1rem;
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition), padding-left 250ms var(--ease-out);
}

.footer-links a:hover {
  padding-left: 0.4rem;
  color: var(--paper);
}

.footer-contact {
  font-style: normal;
}

.footer-contact p {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--paper);
}

.footer-iso {
  width: 68px;
  height: auto;
  padding: 4px;
  margin-top: 1.3rem;
  background: var(--paper);
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}

.error-page {
  background: var(--paper);
}

.error-code {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.error-copy {
  max-width: 760px;
}

.error-copy .button-group {
  margin-top: 2rem;
}

.js .reveal {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity var(--dur-reveal) var(--ease-out) var(--reveal-delay, 0ms),
    translate var(--dur-reveal) var(--ease-out) var(--reveal-delay, 0ms);
}

.js .reveal.in-view {
  opacity: 1;
  translate: 0 0;
}

.js .reveal-left {
  translate: -26px 0;
}

.js .reveal-left.in-view {
  translate: 0 0;
}

@media (min-width: 560px) {
  .cards-2,
  .cards-3,
  .cards-4,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .section-header {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
  }

  .section-header > :first-child { grid-column: span 7; }
  .section-header > :last-child { grid-column: 9 / -1; }
  .section-header > :first-child:last-child { grid-column: 1 / span 8; }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .stat-strip-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-inner {
    grid-template-columns: 240px 1fr;
  }

  .cta-band-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-copy,
  .split-media {
    grid-column: auto;
  }

  .split-reverse .split-copy { order: 2; }
  .split-reverse .split-media { order: 1; }
}

@media (min-width: 900px) {
  .nav-toggle-label {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    visibility: visible;
    overflow: visible;
    padding: 0;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.1rem;
  }

  .nav-list li {
    border: 0;
  }

  .nav-toggle:checked ~ .site-nav .nav-list > li {
    animation: none;
  }

  .nav-link {
    position: relative;
    padding: 1rem 0.62rem;
    color: var(--steel);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
  }

  .nav-link::after {
    position: absolute;
    right: 0.62rem;
    bottom: 0.62rem;
    left: 0.62rem;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 250ms var(--ease-out);
  }

  .nav-link:hover,
  .nav-link[aria-current="page"] {
    color: var(--ink);
    text-decoration: none;
  }

  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav-cta,
  .button.nav-cta {
    margin: 0 0 0 1.1rem;
    color: var(--ink);
    font-size: 0.9rem;
  }

  .nav-cta:hover,
  .button.nav-cta:hover {
    color: var(--accent);
  }

  .step-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .step {
    min-height: 250px;
    padding: 1.8rem 1.5rem 1.8rem 0;
    border-right: 0;
    border-bottom: 0;
  }

  .edge-contact { display: block; }
  .floating-whatsapp { display: none; }
  .hero-scroll-cue { display: block; }

  .footer-main {
    grid-template-columns: 1.35fr 0.8fr 0.9fr 1.1fr;
  }
}

@media (min-width: 1080px) {
  .nav-link {
    padding-inline: 0.8rem;
  }

  .nav-link::after {
    right: 0.8rem;
    left: 0.8rem;
  }
}

@media (max-width: 899px) {
  .utility-bar { display: none; }

  .site-header.is-scrolled .site-nav {
    inset-block-start: 66px;
  }

  .nav-cta,
  .button.nav-cta {
    align-self: start;
    color: var(--paper);
  }
}

@media (max-width: 559px) {
  .button-group .button { width: 100%; }
  .button { font-size: 0.76rem; letter-spacing: 0.08em; }
  .hero-kicker { display: grid; }
  .hero { min-height: 74svh; }
  .hero-inner { min-height: 74svh; }
  .hero-home .hero-media img { object-position: 58% center; }
  .step { padding: 1.25rem 0; }
  .footer-links { gap: 0.7rem; }
  .footer-bottom { padding-block: 1.25rem; }
  .hero-panel { padding: 1.6rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js .reveal-left {
    opacity: 1;
    translate: 0 0;
  }

  .hero-copy > *,
  .hero-panel {
    animation: none;
  }

  .hero-scroll-cue {
    display: none !important;
  }
}

@media print {
  .utility-bar,
  .site-header,
  .site-footer,
  .button-group,
  .cta-band,
  .edge-contact,
  .floating-whatsapp,
  .progress-bar,
  .hero-scroll-cue,
  .filter-bar {
    display: none;
  }

  body {
    color: #000000;
    font-size: 11pt;
  }

  .section { padding-block: 1.5rem; }
  .card, .key-answer { break-inside: avoid; }
  .js .reveal { opacity: 1; translate: 0 0; }
}
