:root {
  --navy-950: #071726;
  --navy-900: #0b2033;
  --navy-800: #153047;
  --slate-700: #344b5e;
  --slate-600: #526779;
  --slate-500: #5f7384;
  --slate-300: #c5cfd6;
  --slate-200: #dce3e7;
  --slate-100: #edf1f3;
  --surface: #f7f8f7;
  --surface-warm: #f1f0ed;
  --white: #ffffff;
  --red: #e3222d;
  --red-soft: #fbeaec;
  --green: #61b63f;
  --blue: #087bbb;
  --on-dark: #f4f7f9;
  --on-dark-muted: #c8d3da;
  --on-dark-subtle: #b3c1cb;
  --accent-on-dark: #ffb8bd;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.06rem + 0.28vw, 1.3125rem);
  --text-xl: clamp(1.35rem, 1.2rem + 0.65vw, 1.75rem);
  --text-2xl: clamp(1.8rem, 1.55rem + 1.05vw, 2.5rem);
  --text-3xl: clamp(2.45rem, 1.95rem + 2.15vw, 4rem);
  --text-display: clamp(2.8rem, 2.05rem + 3.2vw, 5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(4rem, 6vw, 5.5rem);
  --module-gap: clamp(2rem, 3vw, 3rem);
  --radius-sm: 0.75rem;
  --radius-md: 1.125rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.25rem;
  --shadow-sm: 0 1px 2px rgb(7 23 38 / 5%), 0 8px 30px rgb(7 23 38 / 5%);
  --shadow-md: 0 20px 50px rgb(7 23 38 / 10%);
  --header-height: 104px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --scroll-progress: 0;
  --media-ratio: 16 / 10;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 4rem);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--navy-950);
  font-family: Inter, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-locked {
  overflow: hidden;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

small {
  font-size: var(--text-sm);
}

::selection {
  background: var(--red);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid rgb(227 34 45 / 35%);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--navy-950);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.section {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
  padding-block: var(--section-y);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  color: var(--red);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: var(--accent-on-dark);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.82rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms var(--ease), box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgb(227 34 45 / 20%);
}

.button-primary:hover {
  background: var(--red);
  box-shadow: 0 14px 30px rgb(227 34 45 / 25%);
}

.button-light {
  border-color: rgb(255 255 255 / 32%);
  background: var(--white);
  color: var(--navy-950);
}

.button-light:hover {
  background: var(--red);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 1px solid var(--slate-300);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: border-color 180ms ease, color 180ms ease;
}

.text-link:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Header */

akulab-header {
  display: contents;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgb(247 248 247 / 92%);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--slate-200);
  background: rgb(255 255 255 / 95%);
  box-shadow: 0 10px 35px rgb(7 23 38 / 7%);
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  overflow: hidden;
}

.scroll-progress span {
  display: block;
  width: calc(var(--scroll-progress) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--red) 0 33.333%, var(--green) 33.333% 66.666%, var(--blue) 66.666%);
  transform-origin: left;
}

.header-shell {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.8rem;
  height: 100%;
  padding-block: 1.25rem;
}

.brand img {
  width: auto;
  height: auto;
  max-width: 104px;
  max-height: 64px;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 2rem;
  background: var(--slate-300);
}

.brand-unit {
  color: var(--slate-600);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-unit strong {
  color: var(--red);
}

.primary-navigation {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-self: end;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.primary-navigation a {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 0;
  border-radius: 0;
  color: var(--slate-700);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease);
}

.primary-navigation a:hover,
.primary-navigation a[aria-current="page"] {
  background: transparent;
  color: var(--navy-950);
  box-shadow: none;
}

.primary-navigation a:hover::after,
.primary-navigation a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-2);
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  background: var(--red);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms var(--ease);
}

.header-cta:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate-200);
  border-radius: 0.65rem;
  background: var(--white);
  cursor: pointer;
}

.menu-button i {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--navy-950);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button i:nth-of-type(1) { transform: translateY(-6px); }
.menu-button i:nth-of-type(3) { transform: translateY(6px); }
.menu-open .menu-button i:nth-of-type(1) { transform: rotate(45deg); }
.menu-open .menu-button i:nth-of-type(2) { opacity: 0; }
.menu-open .menu-button i:nth-of-type(3) { transform: rotate(-45deg); }

/* Homepage hero */

.home-hero {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  min-height: clamp(34rem, 45vw, 38rem);
  margin: clamp(1.5rem, 4vw, 3.5rem) auto 0;
  padding: clamp(2.5rem, 4vw, 3rem);
  overflow: hidden;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr;
  border-radius: var(--radius-xl);
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 49rem;
  padding: 0;
  color: var(--white);
}

.hero-copy .eyebrow {
  color: var(--accent-on-dark);
}

.hero-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 5vw, 4.25rem);
}

.hero-copy h1 span {
  color: var(--red);
}

.hero-lead {
  max-width: 62ch;
  margin: var(--space-5) 0 0;
  color: var(--on-dark-muted);
  font-size: var(--text-lg);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.hero-copy .text-link {
  border-color: rgb(255 255 255 / 36%);
  color: var(--white);
}

.hero-copy .text-link:hover {
  border-color: var(--white);
  color: var(--white);
}

.hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  object-position: 60% center;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(7 23 38 / 96%) 0%, rgb(7 23 38 / 86%) 42%, rgb(7 23 38 / 32%) 72%, rgb(7 23 38 / 18%) 100%),
    linear-gradient(0deg, rgb(7 23 38 / 44%) 0%, transparent 42%);
  content: "";
}

.hero-caption {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-5);
  left: auto;
  z-index: 2;
  width: min(25rem, calc(100% - (2 * var(--space-5))));
  display: none;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-4) var(--space-5);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: var(--radius-md);
  background: rgb(7 23 38 / 80%);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.hero-caption span {
  color: var(--on-dark-muted);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-caption p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.45;
}

.trust-strip {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
  margin-top: clamp(1.5rem, 2vw, 2rem);
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  border-block: 1px solid var(--slate-200);
  color: var(--slate-600);
  font-size: var(--text-sm);
}

.trust-strip p {
  margin: 0 auto 0 0;
  color: var(--navy-950);
  font-weight: 700;
}

.trust-strip i {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--red);
}

/* Homepage sections */

.section-intro {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: end;
}

.section-heading h2,
.reference-heading h2,
.process-copy h2,
.equipment-copy h2,
.partners-section h2,
.related-section h2 {
  font-size: var(--text-3xl);
}

.section-lead {
  display: grid;
  gap: var(--space-4);
  max-width: 66ch;
  color: var(--slate-600);
}

.section-lead p {
  margin: 0;
}

.expertise-grid {
  padding-top: 0;
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.expertise-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-rows: auto auto 1fr;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease);
}

.expertise-card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.card-visual {
  overflow: hidden;
  aspect-ratio: var(--media-ratio);
  background: var(--slate-100);
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}

.expertise-card:hover .card-visual img {
  transform: scale(1.035);
}

.card-index {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  min-width: 2.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  background: rgb(7 23 38 / 82%);
  color: var(--white);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(10px);
}

.card-copy {
  padding: var(--space-5) 4rem var(--space-6) var(--space-5);
}

.card-copy p {
  margin-bottom: var(--space-3);
  color: var(--red);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: uppercase;
}

.card-copy h3 {
  min-height: 2.4em;
  font-size: var(--text-xl);
}

.card-copy span {
  display: block;
  margin-top: var(--space-4);
  color: var(--slate-600);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.expertise-card > b {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-5);
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--navy-950);
  font-size: var(--text-sm);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms var(--ease);
}

.expertise-card:hover > b {
  background: var(--red);
  color: var(--white);
  opacity: 1;
  transform: translate(0, 0);
}

.decision-section.section {
  padding: clamp(3rem, 6vw, 5rem);
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  border-radius: var(--radius-xl);
  background: var(--navy-950);
  color: var(--white);
}

.decision-heading {
  align-self: start;
}

.decision-heading h2,
.evidence-copy h2,
.contact-intro h2,
.map-section-heading h2,
.feature-band-copy h2,
.split-proof-copy h2,
.industrial-heading h2,
.measurement-copy h2,
.metric-section > div:first-child h2 {
  font-size: var(--text-3xl);
}

.decision-heading > p:last-child,
.evidence-copy > p:not(.eyebrow) {
  max-width: 48ch;
  margin: var(--space-5) 0 0;
  color: var(--on-dark-muted);
}

.decision-list {
  display: grid;
  gap: var(--space-3);
}

.decision-list a {
  min-height: 84px;
  padding: var(--space-4) var(--space-5);
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  gap: var(--space-2) var(--space-4);
  align-items: center;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 5%);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms var(--ease);
}

.decision-list a:hover {
  border-color: rgb(255 255 255 / 30%);
  background: rgb(255 255 255 / 9%);
  transform: translateX(4px);
}

.decision-list span {
  grid-row: 1 / span 2;
  color: var(--accent-on-dark);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
}

.decision-list strong {
  font-size: var(--text-base);
  line-height: 1.35;
}

.decision-list small {
  color: var(--on-dark-subtle);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.decision-list b {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--on-dark-muted);
}

.process-section {
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.process-copy {
  align-self: start;
}

.process-copy > p:not(.eyebrow) {
  margin: var(--space-5) 0 0;
  color: var(--slate-600);
}

.process-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.process-steps li {
  min-width: 0;
  padding: var(--space-6);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.process-steps li > span {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  margin-bottom: var(--space-6);
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
  font-weight: 600;
}

.process-steps h3 {
  font-size: var(--text-xl);
}

.process-steps p {
  margin: var(--space-3) 0 0;
  color: var(--slate-600);
  font-size: var(--text-sm);
}

.evidence-section {
  background: var(--surface-warm);
}

.evidence-section .eyebrow.light,
.detail-map-section .eyebrow.light {
  color: var(--red);
}

.evidence-copy {
  padding-bottom: var(--space-8);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
  gap: var(--space-5) var(--space-8);
  align-items: end;
}

.evidence-copy .eyebrow,
.evidence-copy h2 {
  grid-column: 1;
}

.evidence-copy > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--slate-600);
}

.evidence-copy .button {
  grid-column: 2;
  justify-self: start;
}

.evidence-section .button-light {
  border-color: var(--slate-300);
  background: transparent;
}

.map-pair {
  padding-top: 0;
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.map-pair figure,
.reference-gallery figure {
  min-width: 0;
  margin: 0;
}

.image-button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  display: block;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  cursor: zoom-in;
}

.image-button img {
  width: 100%;
  transition: transform 550ms var(--ease);
}

.image-button:hover img {
  transform: scale(1.025);
}

.map-pair .image-button img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.map-pair figcaption,
.reference-gallery figcaption {
  padding-top: var(--space-4);
  color: var(--slate-600);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.map-pair figcaption span {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--navy-950);
  font-weight: 700;
}

.map-pair figcaption p {
  margin: 0;
}

.reference-section {
  margin-top: var(--module-gap);
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  gap: var(--space-8);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.reference-heading {
  display: grid;
  gap: var(--space-5) var(--space-8);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
  align-items: end;
}

.reference-heading .eyebrow,
.reference-heading h2 {
  grid-column: 1;
}

.reference-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--slate-600);
}

.reference-gallery {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-gallery .reference-main {
  grid-row: auto;
}

.reference-gallery .image-button img {
  width: 100%;
  aspect-ratio: var(--media-ratio);
  object-fit: cover;
}

.reference-gallery > figure:not(.reference-main) .image-button img {
  aspect-ratio: var(--media-ratio);
}

.equipment-section {
  margin-top: var(--module-gap);
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.equipment-image img {
  width: 100%;
  aspect-ratio: var(--media-ratio);
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.equipment-copy > p:not(.eyebrow) {
  margin: var(--space-5) 0 0;
  color: var(--slate-600);
}

.clean-list {
  margin: var(--space-6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--slate-700);
  font-size: var(--text-sm);
}

.clean-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--red);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.partners-section {
  padding-top: var(--space-8);
  border-top: 1px solid var(--slate-200);
  display: grid;
  gap: var(--space-8);
}

.partners-section > div:first-child {
  display: grid;
  gap: var(--space-5) var(--space-8);
  grid-template-columns: 0.6fr 1.4fr;
  align-items: end;
}

.partners-section .eyebrow {
  margin: 0;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-block: 1px solid var(--slate-200);
}

.logo-grid img {
  width: 100%;
  height: 6.5rem;
  padding: var(--space-5);
  border-right: 1px solid var(--slate-200);
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.64;
  transition: filter 180ms ease, opacity 180ms ease;
}

.logo-grid img:last-child {
  border-right: 0;
}

.logo-grid img:hover {
  filter: none;
  opacity: 1;
}

/* Contact and footer */

.contact-section {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin: var(--section-y) auto;
  padding: clamp(2.5rem, 5vw, 5rem);
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  border-radius: var(--radius-xl);
  background: var(--navy-950);
  color: var(--white);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 49ch;
  margin: var(--space-5) 0 0;
  color: var(--on-dark-muted);
}

.contact-direct {
  margin-top: var(--space-8);
  display: grid;
  gap: var(--space-3);
}

.contact-direct a {
  padding: var(--space-4) 0;
  display: grid;
  gap: var(--space-1);
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.contact-direct a:hover strong {
  color: var(--white);
}

.contact-direct small,
.contact-direct strong {
  display: block;
}

.contact-direct small {
  color: var(--on-dark-subtle);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-direct strong {
  font-size: var(--text-lg);
  transition: color 180ms ease;
}

.contact-form {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--navy-950);
  box-shadow: 0 24px 60px rgb(0 0 0 / 18%);
}

.form-heading,
.form-wide {
  grid-column: 1 / -1;
}

.form-heading {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--slate-200);
}

.form-heading span {
  font-weight: 700;
}

.form-heading small {
  color: var(--slate-500);
}

.contact-form label {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.contact-form label > span {
  color: var(--slate-700);
  font-size: var(--text-sm);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--slate-300);
  border-radius: 0.65rem;
  background: var(--surface);
  color: var(--navy-950);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-form input,
.contact-form select {
  padding: 0.7rem 0.85rem;
}

.contact-form textarea {
  min-height: 8rem;
  padding: 0.8rem 0.85rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgb(227 34 45 / 10%);
}

.contact-form ::placeholder {
  color: var(--slate-500);
}

.contact-form .button {
  background: var(--red);
  color: var(--white);
}

.contact-form .button:hover {
  background: var(--red);
}

.site-footer {
  padding: var(--space-9) var(--gutter) var(--space-5);
  background: var(--navy-950);
  color: var(--white);
}

.footer-top,
.footer-bottom {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.footer-top {
  padding-bottom: var(--space-8);
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1.5fr 1fr 0.75fr 1fr;
}

.footer-brand img {
  width: 156px;
  height: auto;
}

.footer-brand p {
  max-width: 32ch;
  margin: var(--space-5) 0 0;
  color: var(--on-dark-subtle);
  font-size: var(--text-sm);
}

.footer-top nav,
.footer-addresses {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.footer-top strong {
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.footer-top nav a {
  min-height: 32px;
  color: var(--on-dark-subtle);
  font-size: var(--text-sm);
  transition: color 180ms ease;
}

.footer-top nav a:hover {
  color: var(--white);
}

.footer-addresses p {
  margin: 0 0 var(--space-2);
  color: var(--on-dark-subtle);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.footer-bottom {
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: var(--on-dark-subtle);
  font-size: var(--text-sm);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Detail pages */

.detail-hero {
  --tone: var(--red);
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin: clamp(1.5rem, 4vw, 3rem) auto 0;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.tone-blue,
.tone-green,
.tone-violet,
.tone-orange,
.tone-cyan {
  --tone: var(--red);
}

.detail-hero-copy {
  min-width: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-7);
  color: var(--slate-500);
  font-size: var(--text-sm);
}

.breadcrumb a:hover {
  color: var(--red);
}

.detail-number {
  margin-bottom: var(--space-4);
  color: var(--tone);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.detail-hero h1 {
  max-width: 13ch;
  font-size: var(--text-3xl);
}

.detail-lead {
  max-width: 50ch;
  margin: var(--space-5) 0 0;
  color: var(--slate-600);
  font-size: var(--text-lg);
  line-height: 1.55;
}

.detail-tags {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.detail-tags span {
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--slate-200);
  border-radius: 99px;
  background: var(--surface);
  color: var(--slate-700);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
  font-weight: 600;
}

.detail-hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
}

.detail-hero-media::after {
  position: absolute;
  inset: auto -0.75rem -0.75rem auto;
  z-index: -1;
  width: 40%;
  height: 42%;
  border-radius: var(--radius-md);
  background: var(--red-soft);
  content: "";
}

.detail-hero-media img {
  width: 100%;
  aspect-ratio: var(--media-ratio);
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.detail-hero-media figcaption {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  left: var(--space-4);
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: rgb(7 23 38 / 78%);
  color: var(--white);
  font-size: var(--text-xs);
  line-height: 1.45;
  backdrop-filter: blur(10px);
}

.detail-subnav {
  position: sticky;
  z-index: 80;
  top: calc(var(--header-height) + 0.75rem);
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin: var(--space-5) auto 0;
  padding: 0.45rem;
  overflow-x: auto;
  display: flex;
  gap: var(--space-1);
  border: 1px solid var(--slate-200);
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 94%);
  box-shadow: var(--shadow-sm);
  scrollbar-width: none;
  backdrop-filter: blur(16px);
}

.detail-subnav::-webkit-scrollbar {
  display: none;
}

.detail-subnav a {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0.65rem 0.85rem;
  display: inline-flex;
  align-items: center;
  border-radius: 0.55rem;
  color: var(--slate-600);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease;
}

.detail-subnav a:first-child {
  margin-right: auto;
  color: var(--navy-950);
}

.detail-subnav a:hover {
  background: var(--slate-100);
  color: var(--red);
}

.detail-layout {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.detail-page-body main > .detail-layout.section,
.detail-page-body main > .feature-band.section,
.detail-page-body main > .split-proof.section,
.detail-page-body main > .industrial-solutions.section,
.detail-page-body main > .measurement-flow.section,
.detail-page-body main > .metric-section.section,
.detail-page-body main > .related-section.section {
  margin-block: var(--module-gap);
}

.detail-aside {
  position: sticky;
  top: calc(var(--header-height) + 6.5rem);
}

.detail-aside h2 {
  font-size: var(--text-2xl);
}

.output-note {
  margin-top: var(--space-7);
  padding: var(--space-5);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--red-soft);
}

.output-note small,
.output-note strong {
  display: block;
}

.output-note small {
  margin-bottom: var(--space-2);
  color: var(--red);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.output-note strong {
  font-size: var(--text-sm);
  line-height: 1.5;
}

.prose {
  max-width: 760px;
  color: var(--slate-700);
}

.prose > p {
  margin-bottom: var(--space-5);
}

.prose .lead-paragraph {
  margin-bottom: var(--space-6);
  color: var(--navy-950);
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.62;
}

.inline-media {
  margin: var(--space-8) 0 0;
}

.inline-media img {
  width: 100%;
  aspect-ratio: var(--media-ratio);
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.inline-media-product img {
  object-position: center 55%;
}

.inline-media figcaption {
  padding-top: var(--space-3);
  color: var(--slate-600);
  font-size: var(--text-sm);
}

/* Detail feature modules */

.detail-map-section {
  background: var(--surface-warm);
}

.map-section-heading {
  padding-bottom: var(--space-8);
  display: grid;
  gap: var(--space-5) var(--space-8);
  grid-template-columns: 1.1fr 0.7fr;
  align-items: end;
}

.map-section-heading .eyebrow,
.map-section-heading h2 {
  grid-column: 1;
}

.map-section-heading > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--slate-600);
}

.feature-band,
.split-proof,
.industrial-solutions,
.measurement-flow,
.metric-section {
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius-xl);
  background: var(--navy-950);
  color: var(--white);
}

.feature-band,
.split-proof,
.measurement-flow {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.feature-band-copy > p:not(.eyebrow),
.split-proof-copy > p:not(.eyebrow),
.industrial-heading > p:not(.eyebrow),
.measurement-copy > p:not(.eyebrow) {
  margin: var(--space-5) 0 0;
  color: var(--on-dark-muted);
}

.feature-band-visual {
  position: relative;
}

.feature-band-visual > img {
  width: 100%;
  aspect-ratio: var(--media-ratio);
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.data-overlay {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  left: var(--space-4);
  height: 6.5rem;
  padding: var(--space-4);
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius-md);
  background: rgb(7 23 38 / 78%);
  backdrop-filter: blur(12px);
}

.data-overlay span {
  align-self: flex-start;
  margin-right: auto;
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
}

.data-overlay i {
  width: 0.5rem;
  height: var(--h);
  border-radius: 0.3rem 0.3rem 0 0;
  background: var(--red);
}

.data-overlay small {
  align-self: flex-end;
  color: var(--on-dark-muted);
  font-size: var(--text-xs);
}

.split-proof-meter {
  position: relative;
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-proof-meter > div {
  min-height: 13rem;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 6%);
}

.split-proof-meter strong {
  font-size: clamp(3.5rem, 7vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.split-proof-meter strong::after {
  color: var(--accent-on-dark);
  content: "%";
  font-size: 0.3em;
  vertical-align: top;
}

.split-proof-meter span {
  color: var(--on-dark-muted);
  font-size: var(--text-sm);
}

.split-proof-meter p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--on-dark-muted);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
  text-align: center;
  text-transform: uppercase;
}

.metric-section > div:first-child,
.industrial-heading {
  max-width: 800px;
}

.metric-grid,
.solution-grid {
  margin-top: var(--space-8);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-grid article,
.solution-grid article {
  padding: var(--space-6);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 6%);
}

.metric-grid article > span {
  display: block;
  margin-bottom: var(--space-7);
  color: var(--accent-on-dark);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-2xl);
  font-weight: 600;
}

.metric-grid h3,
.solution-grid h3 {
  font-size: var(--text-xl);
}

.metric-grid p,
.solution-grid p {
  margin: var(--space-3) 0 0;
  color: var(--on-dark-muted);
  font-size: var(--text-sm);
}

.solution-grid article > span {
  display: inline-grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  margin-bottom: var(--space-7);
  border-radius: 50%;
  background: rgb(227 34 45 / 18%);
  color: var(--white);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
}

.measurement-flow {
  align-items: stretch;
}

.wave-visual {
  padding: var(--space-6);
  display: grid;
  gap: var(--space-5);
  align-content: center;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 5%);
}

.wave-visual > span {
  color: var(--on-dark-muted);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
  text-transform: uppercase;
}

.wave-visual > div {
  height: 3.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.wave-visual i {
  width: 0.35rem;
  height: 18%;
  border-radius: 1rem;
  background: var(--red);
}

.wave-visual i:nth-child(2n) { height: 48%; }
.wave-visual i:nth-child(3n) { height: 78%; }
.wave-visual i:nth-child(5n) { height: 100%; }

.related-section {
  padding-top: var(--space-8);
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 0.8fr 1.2fr;
  border-top: 1px solid var(--slate-200);
}

.related-links {
  display: grid;
  gap: var(--space-3);
}

.related-links a {
  min-height: 70px;
  padding: var(--space-4) var(--space-5);
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: center;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}

.related-links a:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.related-links span {
  color: var(--red);
  font-family: "Roboto Mono", monospace;
  font-size: var(--text-xs);
}

.related-links strong {
  line-height: 1.35;
}

.related-links b {
  color: var(--red);
}

/* Lightbox and motion */

.media-dialog {
  width: min(92vw, 1200px);
  max-height: 92vh;
  padding: var(--space-5);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--navy-950);
  box-shadow: 0 32px 100px rgb(0 0 0 / 35%);
}

.media-dialog::backdrop {
  background: rgb(7 23 38 / 80%);
  backdrop-filter: blur(8px);
}

.media-dialog button {
  position: absolute;
  z-index: 2;
  top: var(--space-3);
  right: var(--space-3);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgb(7 23 38 / 85%);
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
}

.media-dialog img {
  width: 100%;
  max-height: calc(92vh - 7rem);
  border-radius: var(--radius-md);
  object-fit: contain;
}

.media-dialog p {
  margin: var(--space-4) 0 0;
  color: var(--slate-600);
  font-size: var(--text-sm);
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1120px) {
  :root {
    --gutter: clamp(1.25rem, 3.5vw, 2.5rem);
  }

  .header-shell {
    gap: var(--space-4);
  }

  .brand img {
    max-width: 100px;
  }

  .brand-unit {
    font-size: 0.84rem;
  }

  .primary-navigation {
    gap: var(--space-5);
  }

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

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

  .logo-grid img:nth-child(4n) {
    border-right: 0;
  }

  .logo-grid img:nth-child(-n + 4) {
    border-bottom: 1px solid var(--slate-200);
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-addresses {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-addresses strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-height: 80px;
    --section-y: clamp(3.5rem, 9vw, 5rem);
  }

  .header-shell {
    display: flex;
  }

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

  .brand img {
    max-width: 86px;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    position: relative;
    display: inline-flex;
    margin-left: auto;
  }

  .primary-navigation {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100vh - var(--header-height));
    margin: 0;
    padding: var(--space-4) var(--gutter) var(--space-6);
    overflow-y: auto;
    display: grid;
    gap: 0;
    background: var(--white);
    justify-self: stretch;
    border: 0;
    border-bottom: 1px solid var(--slate-200);
    border-radius: 0;
    box-shadow: 0 24px 40px rgb(7 23 38 / 12%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition: opacity 180ms ease, transform 180ms var(--ease);
  }

  .primary-navigation a {
    min-height: 56px;
    border-bottom: 1px solid var(--slate-200);
    font-size: var(--text-base);
  }

  .primary-navigation a::after {
    display: none;
  }

  .menu-open .primary-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .home-hero,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .home-hero {
    gap: var(--space-7);
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-copy h1 {
    max-width: 15ch;
  }

  .hero-lead {
    max-width: 66ch;
  }

  .hero-visual > img {
    aspect-ratio: var(--media-ratio);
  }

  .hero-caption {
    display: none;
  }

  .section-intro,
  .decision-section.section,
  .process-section,
  .equipment-section,
  .contact-section,
  .detail-layout,
  .related-section {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .process-section,
  .equipment-section,
  .detail-layout,
  .related-section {
    gap: var(--space-7);
  }

  .reference-heading,
  .evidence-copy,
  .map-section-heading {
    display: block;
  }

  .reference-heading > p:last-child,
  .evidence-copy > p:not(.eyebrow),
  .map-section-heading > p:not(.eyebrow) {
    margin-top: var(--space-5);
  }

  .evidence-copy .button {
    margin-top: var(--space-6);
  }

  .detail-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.55fr);
    gap: var(--space-6);
    align-items: end;
  }

  .detail-aside .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .output-note {
    margin-top: 0;
  }

  .feature-band,
  .split-proof,
  .measurement-flow {
    grid-template-columns: 1fr;
  }

  .contact-form {
    align-self: start;
  }

  .detail-subnav a:first-child {
    margin-right: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 76px;
    --gutter: 1.125rem;
    --radius-xl: 1.5rem;
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 3rem);
  }

  .brand img {
    max-width: 82px;
  }

  .brand-divider,
  .brand-unit {
    display: none;
  }

  .home-hero,
  .detail-hero {
    margin-top: var(--space-4);
  }

  .home-hero {
    min-height: auto;
    padding: var(--space-6) 1.375rem;
  }

  .hero-copy {
    padding-block: var(--space-4) 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 10.5vw, 2.75rem);
  }

  .hero-lead {
    margin-top: var(--space-5);
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: var(--space-6);
    gap: var(--space-4);
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .hero-visual > img {
    aspect-ratio: var(--media-ratio);
    border-radius: 0;
  }

  .hero-caption {
    right: var(--space-3);
    bottom: var(--space-3);
    left: var(--space-3);
    grid-template-columns: 1fr;
    gap: var(--space-1);
    padding: var(--space-3);
  }

  .trust-strip {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
  }

  .trust-strip p {
    width: 100%;
  }

  .trust-strip i {
    align-self: center;
  }

  .expertise-grid,
  .process-steps,
  .map-pair,
  .reference-gallery,
  .metric-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .reference-gallery .reference-main {
    grid-row: auto;
  }

  .reference-gallery > figure:not(.reference-main) .image-button img {
    aspect-ratio: var(--media-ratio);
  }

  .card-copy h3 {
    min-height: 0;
  }

  .expertise-card > b {
    opacity: 1;
    transform: none;
  }

  .decision-section.section,
  .contact-section,
  .detail-hero,
  .feature-band,
  .split-proof,
  .industrial-solutions,
  .measurement-flow,
  .metric-section {
    padding: var(--space-6);
  }

  .decision-list a {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    padding: var(--space-4);
  }

  .decision-list small {
    grid-column: 2 / -1;
  }

  .process-steps li,
  .metric-grid article,
  .solution-grid article {
    padding: var(--space-5);
  }

  .partners-section > div:first-child {
    display: block;
  }

  .partners-section h2 {
    margin-top: var(--space-5);
  }

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

  .logo-grid img,
  .logo-grid img:nth-child(4n) {
    border-right: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
  }

  .logo-grid img:nth-child(2n) {
    border-right: 0;
  }

  .logo-grid img:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form > * {
    grid-column: 1;
  }

  .form-heading {
    display: grid;
    gap: var(--space-1);
  }

  .contact-direct {
    margin-top: var(--space-6);
  }

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

  .footer-brand,
  .footer-addresses {
    grid-column: 1 / -1;
  }

  .footer-addresses {
    grid-template-columns: 1fr;
  }

  .footer-addresses strong {
    grid-column: 1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .detail-hero {
    gap: var(--space-7);
  }

  .breadcrumb {
    margin-bottom: var(--space-5);
  }

  .detail-hero-media::after {
    display: none;
  }

  .detail-hero-media img {
    aspect-ratio: var(--media-ratio);
    border-radius: var(--radius-md);
  }

  .detail-subnav {
    top: calc(var(--header-height) + 0.4rem);
    margin-top: var(--space-3);
  }

  .detail-aside {
    display: block;
  }

  .detail-aside h2 {
    font-size: var(--text-2xl);
  }

  .output-note {
    margin-top: var(--space-5);
  }

  .split-proof-meter > div {
    min-height: 10rem;
    padding: var(--space-4);
  }

  .split-proof-meter strong {
    font-size: 3.25rem;
  }

  .wave-visual {
    padding: var(--space-4);
  }

  .related-links a {
    padding-inline: var(--space-4);
  }
}

@media (max-width: 420px) {
  .trust-strip i,
  .trust-strip span:not(:first-of-type) {
    display: none;
  }

  .trust-strip span {
    width: 100%;
  }

  .detail-tags span {
    width: 100%;
    text-align: center;
  }

  .split-proof-meter {
    grid-template-columns: 1fr;
  }

  .split-proof-meter p {
    grid-column: 1;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

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

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

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
