/* ================================================================
   M Adler D — design system
   ================================================================ */

:root {
  /* Tone — overridden via Tweaks */
  --bg-h: 250;
  --bg-c: 0.005;
  --bg-l: 0.14;
  --surface-l: 0.18;
  --surface-2-l: 0.22;
  --border-l: 0.30;

  --bg: oklch(var(--bg-l) var(--bg-c) var(--bg-h));
  --surface: oklch(var(--surface-l) var(--bg-c) var(--bg-h));
  --surface-2: oklch(var(--surface-2-l) var(--bg-c) var(--bg-h));
  --border: oklch(var(--border-l) var(--bg-c) var(--bg-h) / 0.7);
  --border-strong: oklch(var(--border-l) var(--bg-c) var(--bg-h));
  --text: oklch(0.95 0.003 80);
  --text-muted: oklch(0.62 0.005 var(--bg-h));
  --text-dim: oklch(0.45 0.005 var(--bg-h));

  /* Accent — brand red #AB0101 */
  --accent: #AB0101;
  --accent-hover: #C81616;
  --accent-dim: rgba(171, 1, 1, 0.15);

  /* Density */
  --density: 1;
  --pad-section: calc(96px * var(--density));
  --pad-section-sm: calc(56px * var(--density));
  --gap: calc(24px * var(--density));
  --gap-sm: calc(12px * var(--density));
  --gap-lg: calc(48px * var(--density));

  /* Type */
  --font-sans: 'Archivo', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ----- Typography utilities ----- */
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.label::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 1px;
}
.label--plain::before { display: none; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
.h3 { font-size: 18px; font-weight: 500; }
.h4 { font-size: 15px; font-weight: 500; }

.lede {
  font-size: 16px;
  line-height: 1.7;
  color: oklch(0.82 0.003 80);
  max-width: 62ch;
}
.lede--wide { max-width: 80ch; }

.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }

.divider {
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin: 20px 0;
  border: 0;
}

/* ----- Layout ----- */
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--pad-section) 0; border-top: 1px solid var(--border); }
.section:first-of-type { border-top: 0; }
.section.section--with-border { border-top: 1px solid var(--border); }
.section-sm { padding: var(--pad-section-sm) 0; }

.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--gap-lg);
  margin-bottom: var(--gap-lg);
}
.section-head .label { padding-top: 4px; }
/* Drop trailing margin when the section-head is the only child of its shell —
   keeps top/bottom section padding balanced for "header-only" sections like
   Expanding programme. */
.shell > .section-head:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: var(--gap); }
}

/* ----- Header / nav ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(var(--bg-l) var(--bg-c) var(--bg-h) / 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand__logo {
  height: 42px;
  width: auto;
  display: block;
}
.brand__mark {
  width: 28px; height: 28px;
  background: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  color: white;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 500; font-size: 14px; letter-spacing: 0.02em; }
.brand__tagline { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: 0.05em; }

.nav { display: flex; align-items: center; gap: 12px; }
.nav__link {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  transition: color 0.15s;
}
.nav__link:hover { color: var(--text); }
.nav__link--active { color: var(--text); }
.nav__link--active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: -4px;
  height: 2px;
  background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.lang-toggle button {
  padding: 6px 10px;
  color: var(--text-muted);
  transition: all 0.15s;
}
.lang-toggle button.active {
  color: var(--accent);
}
.lang-toggle button:not(.active):hover { color: var(--text); }

.mobile-toggle { display: none; }
@media (max-width: 880px) {
  .nav { display: none; }
  .nav.open { display: flex; }
  .nav.open {
    position: absolute;
    top: 80px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px var(--pad-x);
    gap: 0;
    align-items: stretch;
  }
  .nav.open .nav__link { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav.open .nav__link--active::after { display: none; }
  .nav.open .nav__link--active { color: var(--accent); }
  .mobile-toggle {
    display: inline-flex;
    width: 36px; height: 36px;
    align-items: center; justify-content: center;
    border: 1px solid var(--border-strong);
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: all 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: white;
}
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--text); background: var(--surface); }
.btn .arrow { transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ----- Cards ----- */
.card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.15s, background 0.15s;
}
.card:hover { border-color: var(--border-strong); }

.card-link {
  display: block;
  cursor: pointer;
}
.card-link:hover { background: var(--surface-2); }

/* ----- Stats grid ----- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.stats--2 { grid-template-columns: repeat(2, 1fr); }
.stat {
  padding: 24px 22px;
  border-right: 0.5px solid var(--border);
}
.stat:last-child { border-right: 0; }
.stat__value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 0.5px solid var(--border); }
  .stat:nth-child(odd) { border-right: 0.5px solid var(--border); }
  .stat:nth-child(even) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ----- Pills ----- */
.pill {
  display: inline-block;
  padding: 4px 10px;
  border: 0.5px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.15s;
  white-space: nowrap;
}
.pill:hover { border-color: var(--accent); color: var(--text); }
.pill--accent { color: var(--accent); border-color: var(--accent); }
.pill--filled {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
}

/* ----- Spec tables ----- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.spec-table tr { border-bottom: 0.5px solid var(--border); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th, .spec-table td {
  padding: 10px 0;
  text-align: left;
  font-weight: 400;
  vertical-align: top;
}
.spec-table th {
  width: 50%;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
  padding-right: 12px;
}
.spec-table td {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.spec-group__head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--border);
}

.spec-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 800px) {
  .spec-grid-2 { grid-template-columns: 1fr; gap: 32px; }
}

/* ----- Image / placeholder ----- */
.media {
  position: relative;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.7) brightness(0.85);
}
.media--placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      var(--surface) 0px,
      var(--surface) 14px,
      var(--surface-2) 14px,
      var(--surface-2) 28px
    );
  display: grid;
  place-items: center;
}
.media--placeholder .media__placeholder-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: oklch(var(--bg-l) var(--bg-c) var(--bg-h) / 0.85);
  padding: 8px 14px;
  border: 0.5px solid var(--border-strong);
  border-radius: 4px;
  text-align: center;
}
.media__caption {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.55);
  padding: 6px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand nav"
    "copy  copy";
  column-gap: 32px;
  row-gap: 24px;
  align-items: center;
}
.site-footer__brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 38ch;
}
.site-footer__brand-logo { height: 42px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.site-footer__nav {
  grid-area: nav;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-footer__nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-footer__nav a:hover { color: var(--text); }
.site-footer__copy {
  grid-area: copy;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
}
.site-footer__copy a {
  color: inherit;
  text-decoration: none;
}
.site-footer__copy a:hover { color: var(--text-muted); }
@media (max-width: 800px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "copy";
    align-items: start;
    justify-items: center;
  }
  .site-footer__brand { align-items: center; text-align: center; }
  .site-footer__nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
  .site-footer__nav a { padding: 6px 0; }
}

/* ----- Forms ----- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  border: 0.5px solid var(--border-strong);
  border-radius: 6px;
  padding: 12px 14px;
  outline: 0;
  transition: border-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
}
.field--error input, .field--error select, .field--error textarea {
  border-color: var(--accent);
}
.field__error {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ----- Misc ----- */
.kv-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--gap-lg);
  padding: 24px 0;
  border-bottom: 0.5px solid var(--border);
}
.kv-row:last-child { border-bottom: 0; }
.kv-row__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); padding-top: 4px; }
@media (max-width: 720px) {
  .kv-row { grid-template-columns: 1fr; gap: 12px; }
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.cta-band {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 40px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--gap);
  align-items: center;
}
@media (max-width: 800px) {
  .cta-band { grid-template-columns: 1fr; padding: 28px 32px; }
}

/* Page transitions */
.page-enter { animation: fadeIn 0.25s ease-out; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* Anchor reset */
[role="button"] { cursor: pointer; }

/* Tables responsive */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 14px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  z-index: 100;
  animation: toastIn 0.25s ease-out;
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ================================================================
   Layout supplements for static implementation
   ================================================================ */

.split-2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split-2--start { align-items: start; }
@media (max-width: 880px) {
  .split-2 { grid-template-columns: 1fr; gap: 32px; }
}

.split-mech { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.split-mech--single { grid-template-columns: 1fr; }
@media (max-width: 720px) {
  .split-mech { grid-template-columns: 1fr; gap: 32px; }
}

.section--head-pad { padding-top: 80px; }
.section--top-32 { padding-top: 32px; }
.section--no-top { padding-top: 0; }
.section--bottom-pad { padding-bottom: var(--pad-section); }

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: repeating-linear-gradient(
    135deg,
    oklch(calc(var(--bg-l) + 0.02) var(--bg-c) var(--bg-h)) 0px,
    oklch(calc(var(--bg-l) + 0.02) var(--bg-c) var(--bg-h)) 20px,
    oklch(calc(var(--bg-l) + 0.04) var(--bg-c) var(--bg-h)) 20px,
    oklch(calc(var(--bg-l) + 0.04) var(--bg-c) var(--bg-h)) 40px
  );
}
.hero-bg__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    oklch(var(--bg-l) var(--bg-c) var(--bg-h) / 0.4) 0%,
    oklch(var(--bg-l) var(--bg-c) var(--bg-h) / 0.95) 100%);
}
.hero-bg__tag {
  position: absolute; top: 24px; left: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim);
}

.btn-row { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* Product card extras */
.pcard__head {
  display: flex; justify-content: space-between; margin-bottom: 16px;
}
.pcard__id {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
}
.pcard__summary {
  color: var(--text-muted); font-size: 13px; line-height: 1.6; margin-bottom: 18px;
}
.pcard__specs {
  border-top: 0.5px solid var(--border);
  padding-top: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.pcard__spec-l {
  font-family: var(--font-mono); font-size: 9.5px; color: var(--text-dim);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.pcard__spec-v {
  font-family: var(--font-mono); font-size: 12px; color: var(--text); margin-top: 2px;
}
.pcard__cta {
  margin-top: 18px;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--accent);
}

/* Why / capability card numbering */
.numcard__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
.numcard__num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); letter-spacing: 0.05em;
}
.numcard__body {
  color: var(--text-muted); font-size: 14px; line-height: 1.7;
}

/* Programme list (capabilities page) */
.prog-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.prog-row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; padding: 20px 24px;
  transition: background 0.15s; cursor: pointer;
  color: var(--text);
}
.prog-row:hover { background: var(--surface-2); }
.prog-row__cat {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--text-dim); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 4px;
}
.prog-row__txt { font-size: 14px; font-weight: 500; }
.prog-row__arrow { color: var(--accent); font-size: 14px; }
@media (max-width: 720px) {
  .prog-list { grid-template-columns: 1fr; }
}

/* Contact direct list */
.contact-list { padding: 0; }
.contact-list__row {
  padding: 16px 22px;
  border-bottom: 0.5px solid var(--border);
  display: grid; grid-template-columns: 110px 1fr;
  gap: 16px; align-items: baseline;
}
.contact-list__row:last-child { border-bottom: 0; }
.contact-list__label {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--text-muted); letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-list__value {
  font-family: var(--font-mono); font-size: 13px;
}
.contact-list__value--link { color: var(--accent); }

/* CTA band content */
.cta-band__h { margin-top: 12px; }
.cta-band__lede { margin-top: 8px; max-width: 80ch; }
.cta-band__meta {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-muted); margin-top: 18px;
  letter-spacing: 0.04em;
}
.cta-band__meta a {
  color: inherit;
  transition: color 0.15s;
}
.cta-band__meta a:hover { color: var(--text); }

/* Contact split */
.contact-split {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px;
}
@media (max-width: 880px) {
  .contact-split { grid-template-columns: 1fr; gap: 40px; }
}

/* Form structure */
.form { margin-top: 20px; display: flex; flex-direction: column; gap: 20px; transition: transform .45s ease, opacity .45s ease; }
.form.is-sent { transform: translateY(-32px); opacity: 0; pointer-events: none; }
.form-thanks { margin-top: 20px; opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.form-thanks[hidden] { display: none; }
.form-thanks.is-visible { opacity: 1; transform: none; }
.form-thanks .h3 { margin: 0 0 12px; }
.form-thanks .lede { margin: 0; }

/* Company body sticky media */
.company-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.company-split__media { position: sticky; top: 96px; }
@media (max-width: 880px) {
  .company-split { grid-template-columns: 1fr; gap: 40px; }
  .company-split__media { position: static; }
}

/* Hero V1 (full-bleed) */
.hero-v1 {
  position: relative; min-height: 78vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-v1__inner {
  position: relative; z-index: 1; width: 100%;
  padding-top: 96px; padding-bottom: 80px;
}

/* Hero V3 */
.hero-v3__head {
  font-size: clamp(36px, 7vw, 84px);
  font-weight: 500; line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: 28px; max-width: 14ch;
}
.hero-v3__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-top: 40px; align-items: end;
}
@media (max-width: 880px) {
  .hero-v3__grid { grid-template-columns: 1fr; }
}

/* Stats variations */
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stats--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) { .stats--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .stats--6 { grid-template-columns: repeat(2, 1fr); } }
.stats--6 .stat:nth-child(n) { border-right: 0.5px solid var(--border); }
.stats--6 .stat:last-child { border-right: 0; }

/* Spec wrapper */
.h1--mt { margin-top: 28px; }
.h1--narrow { max-width: 22ch; }
.h1--narrow-20 { max-width: 20ch; }
.h1--narrow-18 { max-width: 18ch; }

.lede--mt { margin-top: 24px; }
.lede--mt-16 { margin-top: 16px; }

.breadcrumb {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted);
  padding: 32px 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb__sep { margin: 0 8px; color: var(--text-dim); }
.breadcrumb__current { color: var(--text); }

/* Product header */
.product-head {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: start;
}
@media (max-width: 880px) {
  .product-head { grid-template-columns: 1fr; gap: 40px; }
}
.product-head__lede {
  font-size: 17px; color: var(--text-muted);
  max-width: 40ch; line-height: 1.5;
}
.product-head__pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;
}

/* Durability heading red */
.dura-card__h { margin-bottom: 8px; color: var(--accent); }
.dura-card__b { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Ammo block */
.ammo-block { margin-top: 64px; }
.ammo-block__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }


/* ================================================================
   Scroll-triggered entrance animations
   Driven by [data-animate] (or .fade-in / .slide-up / .slide-left / .slide-right
   utility classes). JS toggles .is-visible when the element enters the viewport.
   ================================================================ */

[data-animate],
.fade-in, .slide-up, .slide-left, .slide-right {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate="slide-up"],   .slide-up    { transform: translateY(28px); }
[data-animate="slide-left"], .slide-left  { transform: translateX(-28px); }
[data-animate="slide-right"],.slide-right { transform: translateX(28px); }
/* fade-in needs no transform — opacity only */

[data-animate].is-visible,
.fade-in.is-visible, .slide-up.is-visible,
.slide-left.is-visible, .slide-right.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-animate],
  .fade-in, .slide-up, .slide-left, .slide-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ================================================================
   Lightbox (image enlarge overlay)
   ================================================================ */

.media--clickable { cursor: zoom-in; }
.media--clickable .media__zoom {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,0.55);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  pointer-events: none;
  transition: background 0.15s, transform 0.15s;
}
.media--clickable:hover .media__zoom {
  background: rgba(0,0,0,0.75);
  transform: scale(1.05);
}

body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  background: oklch(var(--bg-l) var(--bg-c) var(--bg-h) / 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: clamp(20px, 5vw, 56px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  max-width: 1200px;
}

.lightbox__main {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 0.5px solid var(--border-strong);
  transform: scale(0.96);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: oklch(var(--surface-l) var(--bg-c) var(--bg-h) / 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  z-index: 1;
}
.lightbox__nav:hover {
  background: var(--surface-2);
  border-color: var(--text);
}
.lightbox__nav:active { transform: translateY(-50%) scale(0.95); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

.lightbox__thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  flex: 0 0 auto;
}
.lightbox__thumbs[hidden] { display: none; }

.lightbox__thumb {
  width: 76px; height: 76px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  opacity: 0.55;
  transition: opacity 0.15s, border-color 0.15s, transform 0.15s;
}
.lightbox__thumb:hover { opacity: 1; }
.lightbox__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.lightbox__thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
}

.lightbox__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  background: oklch(var(--surface-l) var(--bg-c) var(--bg-h) / 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s;
  z-index: 2;
}
.lightbox__close:hover {
  background: var(--surface-2);
  border-color: var(--text);
}

@media (max-width: 600px) {
  .lightbox__nav { width: 38px; height: 38px; font-size: 18px; }
  .lightbox__thumb { width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__img, .lightbox__nav, .lightbox__thumb { transition: none; }
}

/* ================================================================
   Product variants — tabs + panels
   ================================================================ */

.var-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.var-tab {
  padding: 14px 22px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.var-tab:hover { color: var(--text); }
.var-tab.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.var-panel { display: none; }
.var-panel.is-active { display: block; }
.var-panel .table-scroll { margin-top: 40px; }

/* Pending-data CTA card */
.data-pending {
  margin-top: 32px;
  border-style: dashed;
  text-align: center;
  padding: 32px 28px;
}
.data-pending .label { display: inline-flex; }
.data-pending .lede {
  margin-left: auto;
  margin-right: auto;
  max-width: 60ch;
}

/* ================================================================
   Splide slider — brand-aligned overrides
   ================================================================ */

.splide.products-slider { padding: 0 4px; }
.splide.products-slider .splide__slide { height: auto; display: flex; }
.splide.products-slider .splide__slide > .card { width: 100%; }

.splide.products-slider .splide__arrow {
  background: oklch(var(--surface-l) var(--bg-c) var(--bg-h) / 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  opacity: 1;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.splide.products-slider .splide__arrow:hover:not(:disabled) {
  background: var(--surface-2);
  border-color: var(--text);
}
.splide.products-slider .splide__arrow svg { fill: var(--text); width: 14px; height: 14px; }
.splide.products-slider .splide__arrow:disabled { opacity: 0.3; cursor: default; }
.splide.products-slider .splide__arrow--prev { left: -8px; }
.splide.products-slider .splide__arrow--next { right: -8px; }

@media (max-width: 600px) {
  .splide.products-slider .splide__arrow { width: 36px; height: 36px; }
  .splide.products-slider .splide__arrow--prev { left: 0; }
  .splide.products-slider .splide__arrow--next { right: 0; }
}

/* ================================================================
   Mobile spacing optimisation
   Scale the spacing tokens at smaller viewports so the whole layout
   rhythm contracts uniformly. Avoids targeting individual sections.
   ================================================================ */

@media (max-width: 880px) {
  :root {
    --pad-section: 72px;
    --pad-section-sm: 48px;
    --gap-lg: 36px;
  }
  .section--head-pad { padding-top: 64px; }
}

@media (max-width: 600px) {
  :root {
    --pad-section: 56px;
    --pad-section-sm: 40px;
    --gap-lg: 32px;
    --gap: 20px;
  }
  .section--head-pad { padding-top: 48px; }
  .section--top-32 { padding-top: 24px; }
  .breadcrumb { padding: 24px 0; }
}

/* ================================================================
   Contact form — honeypot (visually hidden, accessible-name removed)
   ================================================================ */
.form__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ================================================================
   Prose blocks (cookie notice, future legal pages)
   ================================================================ */
.prose {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 14px;
}
.prose h2 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 8px;
  text-transform: none;
}
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover { color: var(--accent-hover); }
.prose strong { color: var(--text); font-weight: 500; }
.prose .cookie-entry {
  margin: 10px 0 18px;
  padding: 12px 0 12px 16px;
  border-left: 2px solid var(--border-strong);
}
.prose .cookie-entry p { margin-bottom: 4px; }

/* ================================================================
   Cookie banner + settings modal — dark theme, brand-accent toggles
   ================================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--surface);
  border-top: 1px solid var(--border-strong);
  padding: 16px var(--pad-x);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }

.cookie-banner__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.cookie-banner__message {
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}
.cookie-banner__message p { margin: 0; }
.cookie-banner__message strong { color: var(--text); font-weight: 500; }
.cookie-banner__message a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__message a:hover { color: var(--accent-hover); }

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__btn { padding: 10px 18px; font-size: 12px; }

@media (max-width: 720px) {
  .cookie-banner { padding: 14px var(--pad-x); }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

/* ── Modal ────────────────────────────────────────────────────────── */

body.cookie-modal-open { overflow: hidden; }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1010;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 32px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.cookie-modal.is-visible { opacity: 1; }

.cookie-modal__panel {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cookie-modal__header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}
.cookie-modal__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.cookie-modal__body {
  padding: 22px 26px;
  overflow-y: auto;
  flex: 1;
}
.cookie-modal__intro {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.cookie-modal__intro p { margin-bottom: 8px; }
.cookie-modal__intro p:last-child { margin-bottom: 0; }
.cookie-modal__intro a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-modal__section { border-top: 1px solid var(--border); }
.cookie-modal__section:last-of-type { border-bottom: 1px solid var(--border); }
.cookie-modal__section[open] + .cookie-modal__section { /* keep border crisp */ }

.cookie-modal__section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}
.cookie-modal__section-head::-webkit-details-marker { display: none; }
.cookie-modal__section-head::marker { display: none; }
.cookie-modal__section-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.cookie-modal__chevron {
  display: inline-flex;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.cookie-modal__section[open] .cookie-modal__chevron { transform: rotate(180deg); }

.cookie-modal__section-body {
  padding: 0 0 16px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}
.cookie-modal__section-desc { margin-bottom: 12px; }

.cookie-modal__category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: var(--surface-2);
  border-radius: 8px;
  margin-top: 10px;
}
.cookie-modal__category-text { flex: 1; }
.cookie-modal__category-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}
.cookie-modal__category-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-modal__footer-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-muted);
}
.cookie-modal__footer-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-modal__actions {
  padding: 18px 26px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .cookie-modal__actions { flex-direction: column-reverse; }
  .cookie-modal__actions .btn { justify-content: center; }
}

/* ── Toggle switch ──────────────────────────────────────────────── */

.cookie-toggle {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 22px;
  background: var(--border-strong);
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.15s ease;
}
.cookie-toggle.is-on { background: var(--accent); }
.cookie-toggle.is-on::before { transform: translateX(18px); }
.cookie-toggle.is-disabled { cursor: default; opacity: 0.45; }
.cookie-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner, .cookie-modal, .cookie-toggle,
  .cookie-toggle::before, .cookie-modal__chevron { transition: none; }
}
