/* BAH Oil LLC public site.
   Tokens: tier 1 primitives (OKLCH, hue 250 slate-navy + one ochre accent from the logo),
   tier 2 roles. Components use only role tokens. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
/* Metric-adjusted fallbacks keep layout steady while the web fonts load. */
@font-face {
  font-family: "Archivo fallback";
  src: local("Arial");
  size-adjust: 96%;
  ascent-override: 92%;
}
@font-face {
  font-family: "Source Serif fallback";
  src: local("Georgia");
  size-adjust: 97%;
  ascent-override: 98%;
}

:root {
  /* Tier 1: primitives */
  --slate-985: oklch(98.2% 0.005 250);
  --slate-95: oklch(95% 0.009 250);
  --slate-78: oklch(78% 0.015 250);
  --slate-50: oklch(50% 0.02 250);
  --slate-42: oklch(42% 0.025 252);
  --slate-30: oklch(30% 0.06 255);
  --slate-21: oklch(21% 0.035 255);
  --slate-20: oklch(20% 0.035 255);
  --ochre-76: oklch(76% 0.13 75);
  --ochre-47: oklch(47% 0.09 65);
  --ochre-94: oklch(94% 0.035 80);
  --white: oklch(100% 0 0);

  /* Tier 2: roles */
  --bg: var(--slate-985);
  --bg-subtle: var(--slate-95);
  --bg-field: var(--white);
  --fg: var(--slate-20);
  --fg-muted: var(--slate-42);
  --fg-subtle: var(--slate-50);
  --border: oklch(from var(--slate-20) l c h / 0.14);
  --border-strong: oklch(from var(--slate-20) l c h / 0.4);
  --primary: var(--slate-30);
  --primary-hover: oklch(from var(--slate-30) calc(l + 0.08) c h);
  --on-primary: var(--slate-985);
  --accent: var(--ochre-76);
  --accent-ink: var(--ochre-47);
  --accent-tint: var(--ochre-94);
  --link: var(--slate-30);
  --focus: var(--ochre-47);

  /* Knockout band (dark panel inside a light page; not a dark theme) */
  --ko-bg: var(--slate-21);
  --ko-fg: oklch(95% 0.008 250);
  --ko-fg-muted: var(--slate-78);
  --ko-line: oklch(from var(--slate-78) l c h / 0.55);
  --ko-border: oklch(from var(--slate-985) l c h / 0.14);
  --ko-accent: var(--ochre-76);
  --ko-accent-wash: oklch(from var(--ochre-76) l c h / 0.16);
  --ko-focus: var(--ochre-76);

  /* Type */
  --font-display: "Archivo", "Archivo fallback", system-ui, sans-serif;
  --font-body: "Source Serif 4", "Source Serif fallback", Georgia, serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem);

  /* Space, 4 px grid */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.25rem;
  --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem;
  --section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --gutter: clamp(1.25rem, 0.75rem + 2.5vw, 3rem);
  --max: 76rem;
  --measure: 64ch;

  --radius-s: 3px;
  --radius-m: 4px;

  color-scheme: light;
  accent-color: var(--primary);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-optical-sizing: auto;
  touch-action: manipulation;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

::selection { background: var(--accent-tint); color: var(--fg); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); font-weight: 640; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.01em; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--s-4); }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  inset-inline-start: var(--s-4);
  top: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-display);
  transform: translateY(-200%);
  z-index: 10;
}
.skip:focus { transform: none; }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav login";
  align-items: center;
  column-gap: var(--s-8);
  min-height: 4.5rem;
}
.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 44px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-display);
  font-stretch: 80%;
  font-weight: 700;
  font-size: 1.3125rem;
  letter-spacing: -0.01em;
}
.brand svg { width: 2rem; height: 2rem; flex: none; }
.mark-bg { fill: var(--primary); }
.mark-line { fill: none; stroke: var(--on-primary); stroke-width: 1.6; }
.mark-ground { fill: none; stroke: var(--accent); stroke-width: 2; }

.site-nav { grid-area: nav; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--s-3);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; }
.site-nav a[aria-current="page"] {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.45em;
}
.login { grid-area: login; }

@media (max-width: 52rem) {
  .bar {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand login" "nav nav";
    padding-block: var(--s-2);
  }
  .site-nav { margin-inline: calc(var(--s-1) * -1); }
  .site-nav ul { column-gap: var(--s-1); }
  .site-nav a { padding-inline: var(--s-1); font-size: 0.875rem; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0 var(--s-5);
  border: 1px solid transparent;
  border-radius: var(--radius-m);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, transform 120ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 0.875rem; height: 0.875rem; flex: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-subtle); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ---------- Page heads and sections ---------- */

.page-head { padding-block: var(--section) calc(var(--section) * 0.6); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-top: var(--s-6); }

.lede {
  max-width: 54ch;
  font-size: clamp(var(--step-0), 1rem + 0.5vw, var(--step-1));
  line-height: 1.55;
  color: var(--fg-muted);
}

.kicker {
  display: block;
  margin-bottom: var(--s-4);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--accent-ink);
}

.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--border); }
.section-subtle { background: var(--bg-subtle); }

.prose { max-width: var(--measure); }
.prose h3 { margin-top: var(--s-10); margin-bottom: var(--s-3); }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-inline-start: 1.25em; margin: var(--s-4) 0 0; }
.prose li + li { margin-top: var(--s-2); }
.prose > p + .note, .prose > .note + *, .prose > .facts + p, .prose > p + .actions { margin-top: var(--s-6); }

/* Heading on the left, content on the right; stacks in narrow containers. */
.split-wrap { container-type: inline-size; }
.split { display: grid; gap: var(--s-8); }
@container (min-width: 50rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-16); }
}
.split > :first-child > p { margin-top: var(--s-4); color: var(--fg-muted); max-width: 40ch; }

/* ---------- Home hero ---------- */

.hero { padding-block: clamp(3rem, 2rem + 5vw, 7rem) var(--s-12); container-type: inline-size; }
.hero-grid { display: grid; gap: var(--s-6); }
.hero h1 { max-width: 16ch; }
.hero .lede { max-width: 60ch; }
@container (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-16); align-items: end; }
  .hero .lede { font-size: var(--step-0); line-height: 1.65; }
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-6);
  margin-top: var(--s-8);
}

/* Project 1 notice under the hero */
.notice-wrap { container-type: inline-size; padding-bottom: var(--section); }
.notice {
  display: grid;
  gap: var(--s-3) var(--s-8);
  padding: var(--s-6) 0;
  border-top: 2px solid var(--fg);
  border-bottom: 1px solid var(--border);
}
@container (min-width: 46rem) {
  .notice { grid-template-columns: 10rem minmax(0, 1fr) auto; align-items: baseline; }
}
.notice-label {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--step-0);
}
.notice p { max-width: 62ch; }
.notice .text-link { margin-top: var(--s-1); }
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.status.is-quiet::before { background: transparent; border: 2px solid var(--fg-subtle); box-shadow: none; }

/* ---------- Drawing panel (the one standout moment) ---------- */

.drawing {
  background: var(--ko-bg);
  color: var(--ko-fg);
  padding-block: var(--section);
}
.drawing a { color: var(--ko-fg); }
.drawing :focus-visible { outline-color: var(--ko-focus); }
.drawing h2 { max-width: 22ch; }
.drawing .lede { color: var(--ko-fg-muted); margin-top: var(--s-5); }
.drawing-body { container-type: inline-size; margin-top: var(--s-12); }
.drawing-grid { display: grid; gap: var(--s-10); }
@container (min-width: 56rem) {
  .drawing-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s-12); align-items: start; }
}
.drawing figure { margin: 0; }
.drawing svg { width: 100%; height: auto; }
@container (max-width: 40rem) {
  .drawing svg { width: calc(100% + 2 * var(--gutter)); max-width: none; margin-inline: calc(-1 * var(--gutter)); }
}
.drawing figcaption {
  margin-top: var(--s-3);
  font-family: var(--font-display);
  font-size: var(--step--1);
  color: var(--ko-fg-muted);
}
.legend { margin: 0; padding: 0; list-style: none; counter-reset: callout; }
.legend li {
  counter-increment: callout;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: var(--s-4);
  padding-block: var(--s-4);
  border-top: 1px solid var(--ko-border);
}
.legend li:last-child { border-bottom: 1px solid var(--ko-border); }
.legend li::before {
  content: counter(callout);
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1.5px solid var(--ko-fg-muted);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.legend p { margin: 0; }
.legend b { display: block; font-family: var(--font-display); font-weight: 600; }
.legend span { display: block; margin-top: var(--s-1); color: var(--ko-fg-muted); }
.key {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-6);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step--1);
  color: var(--ko-fg-muted);
}
.key li { display: inline-flex; align-items: center; gap: var(--s-2); }
.key li::before { content: ""; width: 1.5rem; height: 3px; background: var(--ko-accent); }
.key li.existing::before { background: var(--ko-fg); height: 2px; }
.key li.absent::before { height: 0; border-top: 2px dashed var(--ko-fg-muted); background: none; }

/* SVG roles */
.svg-ground { stroke: var(--ko-fg-muted); }
.svg-line { stroke: var(--ko-line); }
.svg-new { stroke: var(--ko-accent); }
.svg-existing { stroke: var(--ko-fg); }
.svg-ghost { stroke: var(--ko-fg-muted); }
.svg-fill-ko { fill: var(--ko-bg); }
.svg-dot { fill: var(--ko-accent); }
.svg-fill-sand { fill: var(--ko-accent-wash); }
.svg-text { fill: var(--ko-fg-muted); font-family: var(--font-display); }
.svg-callout circle { fill: var(--ko-bg); stroke: var(--ko-fg); }
.svg-callout text { fill: var(--ko-fg); font-family: var(--font-display); font-weight: 600; }

/* ---------- Lists of work (services, approach steps) ---------- */

.rows { margin: 0; padding: 0; list-style: none; }
.rows > li { padding-block: var(--s-6); border-top: 1px solid var(--border); }
.rows > li:first-child { border-top: 0; padding-top: 0; }
.rows h3 { margin-bottom: var(--s-2); }
.rows p { color: var(--fg-muted); max-width: var(--measure); }

ol.steps { counter-reset: step; }
ol.steps > li { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: var(--s-4); }
ol.steps > li::before {
  content: counter(step);
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 650;
  line-height: 1.25;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- Entity structure ---------- */

.entities { margin: 0; padding: 0; list-style: none; }
.entities li {
  position: relative;
  padding: 0 0 var(--s-8) var(--s-8);
  border-inline-start: 2px solid var(--border-strong);
}
.entities li:last-child { padding-bottom: 0; border-inline-start-color: transparent; }
.entities li::before {
  content: "";
  position: absolute;
  inset-inline-start: -8px;
  top: 0.3em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--fg);
}
.section-subtle .entities li::before { background: var(--bg-subtle); }
.entities li.is-operator::before { background: var(--accent); border-color: var(--fg); }
.entities h3 { font-size: var(--step-1); }
.entities .role { margin-top: var(--s-1); font-family: var(--font-display); font-size: var(--step--1); font-weight: 600; color: var(--accent-ink); }
.entities p:not(.role) { margin-top: var(--s-2); color: var(--fg-muted); max-width: 58ch; }

/* ---------- Facts (definition list) ---------- */

.facts { margin: 0; display: grid; grid-template-columns: minmax(7.5rem, max-content) minmax(0, 1fr); }
.facts dt, .facts dd { margin: 0; padding-block: var(--s-3); border-top: 1px solid var(--border); }
.facts dt { padding-inline-end: var(--s-6); font-family: var(--font-display); font-size: var(--step--1); font-weight: 600; color: var(--fg-muted); padding-top: calc(var(--s-3) + 0.2em); }
.facts dd { font-variant-numeric: tabular-nums; }
.prose > p + .facts, .prose > .table-wrap + .source-note { margin-top: var(--s-6); }

/* ---------- Record tables (track record, partner estimates) ---------- */

.section-lede { margin-top: var(--s-4); }
.table-wrap { margin-top: var(--s-8); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .table-wrap { margin-top: var(--s-4); }
.project-grid > * { min-width: 0; }
.record { width: 100%; min-width: 44rem; border-collapse: collapse; font-size: var(--step-0); line-height: 1.5; }
.record.compact { min-width: 0; font-size: var(--step--1); }
.record th, .record td { padding: var(--s-4) var(--s-4) var(--s-4) 0; border-top: 1px solid var(--border); text-align: start; vertical-align: top; }
.record thead th { padding-block: var(--s-2); border-top: 0; border-bottom: 2px solid var(--fg); font-family: var(--font-display); font-size: var(--step--1); font-weight: 600; color: var(--fg-muted); }
.record tbody th { font-family: var(--font-display); font-weight: 600; min-width: 10rem; }
.record td { color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.source-note { margin-top: var(--s-6); max-width: var(--measure); font-family: var(--font-display); font-size: var(--step--1); color: var(--fg-subtle); }

/* ---------- Projects ---------- */

.project { padding-block: var(--section); }
.project + .project { border-top: 1px solid var(--border); }
.project-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-3) var(--s-8); }
.project-head h2 { max-width: 22ch; }
.project-body { container-type: inline-size; margin-top: var(--s-10); }
.project-grid { display: grid; gap: var(--s-10); }
@container (min-width: 50rem) {
  .project-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-16); }
}
.project-grid h3 { margin-top: var(--s-8); margin-bottom: var(--s-2); }
.project.is-secondary { background: var(--bg-subtle); }
.project.is-secondary h2 { font-size: var(--step-2); }
.project.is-secondary .prose { margin-top: var(--s-6); }

/* ---------- People ---------- */

.people { margin: 0; padding: 0; list-style: none; }
.people li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-2) var(--s-6); padding-block: var(--s-5); border-top: 1px solid var(--border); }
.people li:last-child { border-bottom: 1px solid var(--border); }
.people .name { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); }
.people .title { color: var(--fg-subtle); font-family: var(--font-display); }
.people .bio { flex-basis: 100%; margin: 0; max-width: var(--measure); color: var(--fg-muted); }

/* ---------- Note ---------- */

.note {
  padding: var(--s-5) var(--s-6);
  background: var(--accent-tint);
  border-inline-start: 3px solid var(--accent);
  max-width: var(--measure);
}

/* ---------- Contact ---------- */

.contact-wrap { container-type: inline-size; }
.contact-grid { display: grid; gap: var(--s-12); }
@container (min-width: 52rem) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-16); }
}
.contact-direct > * + * { margin-top: var(--s-8); }
.contact-direct h2 { font-size: var(--step-1); margin-bottom: var(--s-2); }
.contact-direct p { color: var(--fg-muted); }
.big-link { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }

.form { display: grid; gap: var(--s-6); max-width: 40rem; }
.form > h2 { font-size: var(--step-2); }
.field { display: grid; gap: var(--s-2); }
.field label, .form legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
}
.optional { font-weight: 400; color: var(--fg-muted); }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  background: var(--bg-field);
  color: var(--fg);
  font: inherit;
  font-size: max(16px, 1rem);
  caret-color: var(--accent-ink);
}
.form textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.form input:focus-visible, .form textarea:focus-visible { outline-offset: 1px; border-color: var(--fg); }
.form fieldset { margin: 0; padding: 0; border: 0; display: grid; }
.form legend { padding: 0; margin-bottom: var(--s-2); }
.radio { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; cursor: pointer; }
.radio input { width: 1.25rem; height: 1.25rem; margin: 0; flex: none; }
.form-foot { display: grid; gap: var(--s-3); justify-items: start; }
.form-foot p { font-family: var(--font-display); font-size: var(--step--1); color: var(--fg-muted); }

/* ---------- Contact band on home ---------- */

.cta-band h2 { font-size: var(--step-2); max-width: 28ch; }
.cta-band p { margin-top: var(--s-4); max-width: 56ch; color: var(--fg-muted); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ko-bg);
  color: var(--ko-fg-muted);
  font-family: var(--font-display);
  font-size: var(--step--1);
  padding-block: var(--s-12) var(--s-10);
}
.site-footer a { color: var(--ko-fg); }
.site-footer :focus-visible { outline-color: var(--ko-focus); }
.footer-grid { display: grid; gap: var(--s-8); }
@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-grid h2 { font-size: var(--step-0); color: var(--ko-fg); font-weight: 600; letter-spacing: 0; margin-bottom: var(--s-3); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-grid p + p { margin-top: var(--s-2); }
.footer-legal { margin-top: var(--s-10); padding-top: var(--s-6); border-top: 1px solid var(--ko-border); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .btn:active { transform: none; }
}
