/* ==========================================================================
   Aber Systems — engineering blueprint / terminal (light theme)
   White and pale blue-grey sheets, cobalt blueprint sections, 1px rules.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --white: #ffffff;
  --pale: #f3f6fb;
  --cobalt: #1447e6;
  --ink: #0b1020;
  --muted: #465068;
  --green: #16c47f;
  --err: #b42318;
  --line: #cdd6e6;
  /* contextual tokens: redefined inside blueprint sections and terminal cards */
  --tone: var(--muted);
  --accent: var(--cobalt);
  --rule: var(--line);
  --surface: var(--white);
  --f-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  --edge: clamp(10px, 2.5vw, 32px);  /* space outside the sheet frame */
  --pad: clamp(16px, 3.5vw, 44px);   /* padding inside the sheet frame */
  --sec: clamp(56px, 8vw, 104px);
  --r: 3px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.05rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.45rem); }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
svg { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 14px; background: var(--ink); color: #fff; font: 500 0.8rem/1 var(--f-mono); }
.skip:focus { top: 12px; }

/* ---------- 3. Sheet frame + header ---------- */
.wrap {
  position: relative;
  width: min(100% - 2 * var(--edge), 1200px);
  margin-inline: auto;
  padding-inline: var(--pad);
  border-inline: 1px solid var(--rule);
}
.site-head { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--ink); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 600 1.12rem/1 var(--f-head); letter-spacing: -0.01em; text-decoration: none; }
.brand svg { flex: none; }
.nav ul { display: flex; gap: clamp(14px, 2.4vw, 30px); }
.nav a { display: inline-flex; align-items: center; padding: 8px 0; color: var(--ink); font: 500 0.82rem/1 var(--f-mono); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--cobalt); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--cobalt); }
.nav a[aria-current="page"]::after {
  content: "";
  width: 0.6em;
  height: 1.15em;
  margin-left: 0.3em;
  background: var(--cobalt);
  animation: blink 1.1s steps(1, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.nav-toggle {
  display: none;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  background: var(--white);
  color: var(--ink);
  font: 500 0.8rem/1 var(--f-mono);
  cursor: pointer;
}

/* ---------- 4. Sections ---------- */
.sec { border-top: 1px solid var(--rule); }
.sec > .wrap { padding-block: var(--sec); }
.sec--pale { background: var(--pale); }
.sec--blue {
  --tone: rgba(255, 255, 255, 0.9);
  --accent: #ffffff;
  --rule: rgba(255, 255, 255, 0.34);
  --surface: var(--cobalt);
  color: #fff;
  background-color: var(--cobalt);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: 50% 0;
}
/* registration marks on the frame of blueprint sections */
.sec--blue > .wrap::before,
.sec--blue > .wrap::after { content: "+"; position: absolute; color: #fff; font: 400 15px/1 var(--f-mono); }
.sec--blue > .wrap::before { left: -5px; top: 10px; }
.sec--blue > .wrap::after { right: -5px; bottom: 10px; }
/* inner-page header: pale drafting paper with a faint cobalt grid */
.sheet {
  border-top: 0;
  background-color: var(--pale);
  background-image:
    linear-gradient(rgba(20, 71, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 71, 230, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 50% 0;
}
.sheet > .wrap { padding-block: clamp(52px, 7vw, 88px); }
.split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.split > * { min-width: 0; }
.mt { margin-top: clamp(32px, 5vw, 60px); }

/* ---------- 5. Type helpers + annotations ---------- */
.sec-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.split > .sec-head { margin-bottom: 0; }
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font: 500 0.74rem/1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.label b { padding: 4px 6px; border: 1px solid currentColor; border-radius: 2px; font-weight: 500; }
.lede { max-width: 62ch; color: var(--tone); font-size: 1.1rem; }
.crumb { margin-bottom: 22px; color: var(--muted); font: 500 0.8rem/1 var(--f-mono); }
.coord {
  position: absolute;
  top: 14px;
  right: var(--pad);
  color: var(--tone);
  font: 400 0.66rem/1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* dimension line: |———— label ————| */
.dim {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: clamp(36px, 5vw, 56px) 0 0;
  color: var(--tone);
  font: 400 0.66rem/1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dim::before,
.dim::after { content: ""; flex: 1; height: 9px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }
.dim::before { border-left: 1px solid currentColor; }
.dim::after { border-right: 1px solid currentColor; }
.mark { display: inline-block; margin: 0.24em 0 0 -0.1em; padding: 0 0.1em 0.04em; outline: 1px dashed rgba(255, 255, 255, 0.85); white-space: nowrap; }
.dot { display: inline-block; width: 0.62em; height: 0.62em; margin-right: 0.7em; border-radius: 50%; background: var(--green); }
.ticks li { position: relative; margin-bottom: 0.5em; padding-left: 1.7em; }
.ticks li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-family: var(--f-mono); }

/* ---------- 6. Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 14px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--r);
  background: var(--accent);
  color: var(--surface);
  font: 500 0.86rem/1.2 var(--f-mono);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent); color: var(--surface); }

/* ---------- 7. Hero ---------- */
.hero { border-top: 0; }
.hero > .wrap { padding-block: clamp(56px, 8vw, 104px) clamp(36px, 5vw, 56px); }
.ruler {
  height: 12px;
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(90deg, #fff 1px, transparent 1px) 0 0 / 40px 12px repeat-x,
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px) 0 0 / 8px 6px repeat-x;
}
.hero__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__lede { max-width: 56ch; margin-bottom: 30px; color: var(--tone); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.status-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font: 400 0.76rem/1.2 var(--f-mono); }
/* dashed "projection" outline behind the hero terminal */
.offset { position: relative; }
.offset::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border: 1px dashed rgba(255, 255, 255, 0.75); border-radius: 4px; }
.offset > .term { position: relative; }

/* ---------- 8. Table-like cell grid ---------- */
.cells {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--rule);
}
.cell { min-width: 0; padding: clamp(20px, 2.6vw, 32px); background: var(--surface); }
.cell p, .cell li { color: var(--tone); }
.cell > :last-child { margin-bottom: 0; }
.cell__tag {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--accent) !important;
  font: 500 0.72rem/1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cell__link { display: inline-block; margin-top: 18px; font: 500 0.84rem/1.2 var(--f-mono); }
.steps { counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: "STEP " counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font: 500 0.72rem/1 var(--f-mono);
  letter-spacing: 0.08em;
}
.step__get { margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed var(--rule); font: 400 0.78rem/1.6 var(--f-mono); }
.step__get b { display: block; color: var(--accent); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- 9. Spec lists, company rows, FAQ ---------- */
.spec { margin: 0; border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr); gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--accent); font: 500 0.76rem/1.6 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.spec dd { margin: 0; color: var(--tone); }
.spec--box { padding: 4px 20px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--white); }
.spec--box > div:last-child { border-bottom: 0; }
.company-list li { padding: 11px 0; border-bottom: 1px solid var(--rule); font: 400 0.84rem/1.5 var(--f-mono); overflow-wrap: anywhere; }
.company-list li:first-child { border-top: 1px solid var(--ink); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  font: 600 1.08rem/1.35 var(--f-head);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "[+]"; flex: none; color: var(--cobalt); font: 500 0.82rem/1 var(--f-mono); }
.faq details[open] summary::after { content: "[-]"; }
.faq summary:hover { color: var(--cobalt); }
.faq details > p { max-width: 70ch; margin: 0; padding: 0 0 20px; color: var(--muted); }

/* ---------- 10. Terminal window cards ---------- */
.term {
  --tone: var(--muted);
  --accent: var(--cobalt);
  --rule: var(--line);
  --surface: var(--white);
  min-width: 0;
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
.term__bar, .tabs__bar { display: flex; border-bottom: 1px solid var(--ink); border-radius: 3px 3px 0 0; background: var(--pale); }
.term__bar { align-items: center; gap: 12px; padding: 11px 14px; }
.term__dots { display: inline-flex; flex: none; gap: 6px; }
.term__dots i { width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; }
.term__title { overflow: hidden; color: var(--muted); font: 400 0.72rem/1.2 var(--f-mono); text-overflow: ellipsis; white-space: nowrap; }
.term__body { padding: 18px 18px 20px; font: 400 0.82rem/1.75 var(--f-mono); overflow-wrap: anywhere; }
.term__body p { margin: 0; white-space: pre-wrap; }
.term__cap { padding: 10px 18px; border-top: 1px dashed var(--line); color: var(--muted); font: 400 0.7rem/1.5 var(--f-mono); }
.t-cmd { min-height: 1.75em; font-weight: 500; }
.t-cmd:not(:first-child) { margin-top: 0.7em !important; }
.t-cmd::before { content: "$ "; color: var(--cobalt); font-weight: 700; }
.t-com { color: var(--muted); }
.t-out { padding-left: 4ch; color: #2a3348; text-indent: -2ch; }
.t-out .dot { margin-right: calc(2ch - 0.62em); }
.t-kv { display: grid; grid-template-columns: 15ch minmax(0, 1fr); column-gap: 1ch; padding-left: 2ch; color: #2a3348; }
.t-kv > :first-child { color: var(--cobalt); }
.t-cursor { display: inline-block; width: 0.6em; height: 1.1em; margin-left: 1px; background: var(--ink); vertical-align: text-bottom; animation: blink 1s steps(1, end) infinite; }
/* typing terminal: the ghost layer holds the full text and reserves the height */
.typer { display: grid; }
.typer > * { grid-area: 1 / 1; min-width: 0; }
.typer.is-live .typer__ghost { opacity: 0; pointer-events: none; user-select: none; }

/* ---------- 11. Tabs (terminal panel) ---------- */
.tabs__bar .term__dots { align-self: center; padding: 0 14px; }
.tabs__list { display: flex; min-width: 0; overflow-x: auto; border-left: 1px solid var(--line); }
.tab {
  padding: 12px 16px 13px;
  border: 0;
  border-top: 2px solid transparent;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: 500 0.78rem/1 var(--f-mono);
  white-space: nowrap;
  cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { border-top-color: var(--cobalt); background: var(--white); color: var(--cobalt); }
.tab:focus-visible, .tabs__panel:focus-visible { outline-offset: -4px; }
.tabs__panel + .tabs__panel { border-top: 1px dashed var(--line); }
.js .tabs__panels { display: grid; }
.js .tabs__panel { grid-area: 1 / 1; min-width: 0; border-top: 0; visibility: hidden; }
.js .tabs__panel.is-active { visibility: visible; animation: panel-in 0.3s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(5px); } }

/* ---------- 12. Diagrams ---------- */
.diagram { margin: 0 0 clamp(28px, 4vw, 44px); }
.diagram__scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r); }
.diagram svg { display: block; width: 100%; min-width: 720px; height: auto; }
.diagram text { fill: #fff; font-family: var(--f-mono); font-size: 13px; }
.diagram .d-sub { fill: rgba(255, 255, 255, 0.88); font-size: 10.5px; }
.diagram .d-small { fill: rgba(255, 255, 255, 0.88); font-size: 10.5px; letter-spacing: 0.08em; }
.d-box { fill: var(--cobalt); stroke: #fff; stroke-width: 1.5; }
.d-band { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-dasharray: 5 5; }
.d-line { fill: none; stroke: #fff; stroke-width: 1.5; }
.d-dash { stroke-dasharray: 4 4; }
.diagram figcaption { margin-top: 12px; color: var(--tone); font: 400 0.72rem/1.6 var(--f-mono); }
.diagram__hint { display: none; }

/* ---------- 13. Request flow + maintenance table ---------- */
.flow { counter-reset: flow; padding: 0 20px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); }
.flow li { counter-increment: flow; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0 12px; padding: 20px 0; }
.flow li + li { border-top: 1px solid var(--rule); }
.flow li::before { content: counter(flow, decimal-leading-zero); font: 500 0.8rem/1.9 var(--f-mono); }
.flow h3 { margin-bottom: 4px; font-size: 1.1rem; }
.flow p { margin: 0; color: var(--tone); }
.grid-table { width: 100%; border: 1px solid var(--line); border-collapse: collapse; background: var(--white); }
.grid-table th, .grid-table td { padding: 16px 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.grid-table thead th { background: var(--pale); color: var(--cobalt); font: 500 0.72rem/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.grid-table tbody th { width: 22%; font: 600 1.02rem/1.3 var(--f-head); }
.grid-table td { color: var(--muted); }

/* ---------- 14. Contact form ---------- */
.form { display: grid; gap: 20px; padding: clamp(18px, 3vw, 28px); }
.form__row { display: grid; gap: 20px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 8px; font: 500 0.74rem/1.2 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  background: var(--pale);
  color: var(--ink);
  font: 400 1rem/1.5 var(--f-body);
}
.field textarea { min-height: 170px; resize: vertical; }
.field :focus-visible { outline-offset: 2px; background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: none; outline-color: var(--err); border-width: 2px; padding: 11px 13px; }
.field__err { margin: 8px 0 0; color: var(--err); font: 500 0.78rem/1.4 var(--f-mono); }
.form__note { margin: 0; color: var(--muted); font-size: 0.92rem; }
.form .btn { justify-self: start; }
.form__status { margin: 0; padding: 12px 14px; border-left: 3px solid var(--cobalt); background: var(--pale); font: 500 0.82rem/1.6 var(--f-mono); }
.form__status:empty { display: none; }
.form__status.is-error { border-color: var(--err); color: var(--err); }
.details h2 { font-size: 1.3rem; }
.details h2:not(:first-child) { margin-top: 36px; }
.details .ticks { color: var(--muted); }

/* ---------- 15. Footer (drawing title block) ---------- */
.site-foot { border-top: 1px solid var(--ink); }
.site-foot .wrap { padding-block: clamp(36px, 5vw, 56px) 26px; }
.tblock { font-size: 0.94rem; }
.tblock__k { margin-bottom: 16px; color: var(--cobalt) !important; font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.tblock__brand { margin-bottom: 8px; color: var(--ink) !important; font: 600 1.5rem/1.1 var(--f-head); letter-spacing: -0.02em; }
.tblock__sheet { margin-bottom: 4px; color: var(--ink) !important; font: 500 1.5rem/1.1 var(--f-mono); }
.foot-nav li { margin-bottom: 8px; }
.foot-nav a { font: 500 0.82rem/1.3 var(--f-mono); }
.tblock .company-list li { padding: 0 0 8px; border: 0; }
.foot-legal { margin: 22px 0 0; color: var(--muted); font: 400 0.72rem/1.6 var(--f-mono); }

/* ---------- 16. Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 17. Breakpoints ---------- */
@media (min-width: 620px) {
  .cells--2, .cells--4, .cells--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .cells--3, .cells--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cells--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .tblock { grid-template-columns: 1.5fr 1fr 1.5fr 0.8fr; }
}
@media (max-width: 800px) {
  .js .nav-toggle { display: inline-block; }
  .nav { width: 100%; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav li { border-top: 1px solid var(--line); }
  .nav a { display: flex; padding: 15px 0; font-size: 0.9rem; }
  .diagram__hint { display: inline; }
}
@media (max-width: 720px) {
  /* maintenance table becomes stacked records */
  .grid-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .grid-table, .grid-table tbody, .grid-table tr, .grid-table th, .grid-table td { display: block; width: auto; }
  .grid-table { border-width: 1px 1px 0; }
  .grid-table tr { border-bottom: 1px solid var(--line); padding: 16px 0; }
  .grid-table th, .grid-table td { padding: 4px 16px; border: 0; }
  .grid-table td::before {
    content: attr(data-label);
    display: block;
    margin-top: 8px;
    color: var(--cobalt);
    font: 500 0.68rem/1.6 var(--f-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}
@media (max-width: 560px) {
  .spec > div { grid-template-columns: minmax(0, 1fr); }
  .t-kv { grid-template-columns: minmax(0, 1fr); }
  .t-kv > :last-child { padding-left: 2ch; }
  .coord { right: auto; left: var(--pad); }
}

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
