/* Running Order Garage Doors — Cardiff NSW.
   The fitter's log-book: engineer's blue applied like marking pigment on a
   machined-steel page. Ledger rules do the texture work; brass obeys a gauge
   budget; --oxide appears at most once per view (the stamp). Tokens from
   brand-kit/brand-kit.md verbatim — all colour decisions route through them. */

:root {
  --ink:          oklch(20.7% 0.012 254);  /* #14181d  soot/boiler black */
  --ink-soft:     oklch(43.4% 0.020 251);  /* #49525c  machined steel */
  --paper:        oklch(97.2% 0.003 248);  /* #f4f6f8  the log-book leaf */
  --paper-shade:  oklch(93.8% 0.007 248);  /* #e7ebef  card/panel ground */
  --primary:      oklch(39.2% 0.139 263);  /* #1a3f8f  engineer's blue */
  --primary-deep: oklch(22.1% 0.053 261);  /* #0c1a33  boiler blue-black */
  --accent:       oklch(67.0% 0.108 86);   /* #b3903f  gauge brass */
  --accent-ink:   oklch(49.9% 0.087 89);   /* #77601f  brass as text on light */
  --oxide:        oklch(47.8% 0.117 34);   /* #93402e  red-oxide stamp — trace only */
  --hairline:     oklch(86.6% 0.013 244);  /* #ccd4db  ledger rules */

  --font-display: "Libre Franklin", "Franklin Gothic Medium", "Arial", sans-serif;
  --font-body: "Fira Sans", "Helvetica Neue", sans-serif;
  --wrap: 1120px;
  --pad: clamp(1rem, 4vw, 1.75rem);
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
::placeholder { color: color-mix(in oklab, var(--ink-soft) 35%, transparent); }
::selection { background: var(--primary); color: var(--paper); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
small { font-size: 0.85em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 780px; margin-inline: auto; padding-inline: var(--pad); }

/* Field label — the log-book grammar (DATE IN · INSPECTED · PASSED) */
.label, .eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.eyebrow { display: block; margin: 0 0 0.9rem; }
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--accent);
  vertical-align: 0.28em;
  margin-right: 0.6rem;
}
.on-dark .eyebrow { color: color-mix(in oklab, var(--paper) 78%, transparent); }

.lede { font-size: 1.17rem; line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.on-dark .lede { color: color-mix(in oklab, var(--paper) 84%, transparent); }

/* The site's <hr> is the eyelet-and-string divider */
hr {
  border: 0;
  height: 14px;
  margin: 3rem auto;
  background: url(/assets/micro/divider.svg) center / 280px auto no-repeat;
}
.on-dark hr, .band-deep hr { background-image: url(/assets/micro/divider-dark.svg); }

/* Lists take the tag's brass eyelet */
ul.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.ticks li { padding-left: 1.5em; position: relative; margin-bottom: 0.55em; }
ul.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 0.42em;
  width: 0.72em; height: 0.72em;
  background: url(/assets/micro/bullet.svg) center / contain no-repeat;
}
.on-dark ul.ticks li::before { background-image: url(/assets/micro/bullet-dark.svg); }

blockquote {
  margin: 2rem 0; padding: 0.25rem 0 0.25rem 1.4rem;
  border-left: 3px solid var(--accent);
  font-size: 1.12rem; color: var(--ink-soft);
}
blockquote::before {
  content: "";
  display: block; width: 34px; height: 26px; margin-bottom: 0.5rem;
  background: url(/assets/micro/blockquote-mark.svg) left / contain no-repeat;
}

/* ── Ledger rows — the typographic signature ─────────────────────────── */
.ledger { margin: 1.4rem 0; }
.ledger > div {
  display: grid;
  grid-template-columns: minmax(8.5em, 12em) 1fr;
  gap: 1rem;
  padding: 0.55em 0.15em;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.ledger > div:first-child { border-top: 1px solid var(--hairline); }
.ledger dt, .ledger .l-key {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft); margin: 0;
}
.ledger dd, .ledger .l-val { margin: 0; font-variant-numeric: tabular-nums; }
.ledger-tight > div { grid-template-columns: minmax(5.5em, 7em) 1fr; }
/* Phones: the full-width label column starves the value into 1-2 words a line
   (worst on the duty-cycle card and the glossary). Let labels wrap instead. */
@media (max-width: 520px) {
  .ledger > div { grid-template-columns: minmax(5.5em, 6.5em) 1fr; }
}
.ledger .l-num { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.on-dark .ledger > div { border-color: color-mix(in oklab, var(--paper) 22%, transparent); }
.on-dark .ledger dt, .on-dark .ledger .l-key { color: color-mix(in oklab, var(--paper) 70%, transparent); }

/* ── The record card (the master motif) ──────────────────────────────── */
.record {
  position: relative;
  background: #fdfdfe;
  border: 1px solid var(--hairline);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  padding: 1.6rem 1.7rem 1.5rem 2.6rem;
  box-shadow: 0 1px 0 var(--hairline);
}
.record::before { /* the tag's eyelet */
  content: "";
  position: absolute; left: 0.9rem; top: 1.45rem;
  width: 15px; height: 15px;
  background: url(/assets/micro/bullet.svg) center / contain no-repeat;
}
.record-plain { padding-left: 1.7rem; }
.record-plain::before { display: none; }
/* On narrow phones the eyelet's 2.6rem left inset overruns the column; trim it so
   the card's min-content fits (paired with the grid's minmax(0,1fr) mobile track). */
@media (max-width: 600px) {
  .record { padding-left: 1.6rem; padding-right: 1.3rem; }
  .record::before { left: 0.5rem; }
}

/* Stamped word — --oxide's ONLY appearance, max once per view */
.stamp {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--oxide);
  border: 2px solid var(--oxide);
  border-radius: 2px;
  padding: 0.18em 0.6em;
  transform: rotate(-1.6deg);
}
.stamp-pass { color: var(--primary); border-color: var(--primary); }

/* ── Buttons — the two paths ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  padding: 0.78em 1.5em;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-repair { background: var(--primary); color: var(--paper); border-color: var(--primary); }
.btn-repair:hover { background: color-mix(in oklab, var(--primary) 84%, var(--primary-deep)); }
.on-dark .btn-repair { border-color: color-mix(in oklab, var(--paper) 45%, transparent); }
.on-dark .btn-repair:hover { border-color: var(--paper); }
.btn-quote { background: transparent; color: var(--primary-deep); border-color: var(--primary-deep); }
.btn-quote:hover { background: color-mix(in oklab, var(--primary-deep) 8%, transparent); }
.on-dark .btn-quote { color: var(--paper); border-color: color-mix(in oklab, var(--paper) 72%, transparent); }
.on-dark .btn-quote:hover { background: color-mix(in oklab, var(--paper) 10%, transparent); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* ── Masthead ────────────────────────────────────────────────────────── */
.binding {
  margin: 0;
  background: var(--primary-deep);
  color: color-mix(in oklab, var(--paper) 82%, transparent);
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.42rem var(--pad);
}
.binding span:last-child { text-align: right; }

.masthead-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.masthead-inner {
  max-width: var(--wrap); margin-inline: auto; padding: 0.7rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
}
.brand { display: block; line-height: 0; }
.brand img { height: 50px; width: auto; }

.nav-check { position: absolute; opacity: 0; }
.nav-burger { display: none; }

.tabs { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.6rem); }
.tabs a:not(.nav-cta) {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink); text-decoration: none;
  padding: 0.35em 0.05em;
  border-bottom: 3px solid transparent;
}
.tabs a:not(.nav-cta):hover { color: var(--primary); }
.tabs .nav-cta {
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem;
  color: var(--paper); background: var(--primary);
  text-decoration: none; padding: 0.55em 1.1em; border-radius: 3px;
}
.tabs .nav-cta:hover { background: color-mix(in oklab, var(--primary) 84%, var(--primary-deep)); }

/* active tab gets the brass tick — driven by <body data-page> */
body[data-page="services"] .tabs a[data-nav="services"],
body[data-page="areas"]    .tabs a[data-nav="areas"],
body[data-page="guides"]   .tabs a[data-nav="guides"],
body[data-page="card"]     .tabs a[data-nav="card"],
body[data-page="about"]    .tabs a[data-nav="about"] {
  border-bottom-color: var(--accent);
  color: var(--primary);
}

@media (max-width: 860px) {
  .brand img { height: 42px; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    border: 1px solid var(--hairline); border-radius: 3px; cursor: pointer;
  }
  .nav-burger span { display: block; height: 2px; background: var(--ink); }
  .nav-check:focus-visible + .nav-burger { outline: 2px solid var(--primary); outline-offset: 2px; }
  .tabs {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 2px solid var(--primary-deep);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.4rem var(--pad) 1rem;
    box-shadow: 0 12px 24px rgb(12 26 51 / 0.12);
  }
  .nav-check:checked ~ .tabs { display: flex; }
  .tabs a:not(.nav-cta) {
    font-size: 0.95rem; padding: 0.85em 0.2em;
    border-bottom: 1px solid var(--hairline);
  }
  .tabs .nav-cta { margin-top: 0.9rem; text-align: center; }
}

/* ── Bands (section grounds) ─────────────────────────────────────────── */
.band { padding: clamp(3rem, 7vw, 5rem) 0; }
.band-shade {
  background: var(--paper-shade) url(/assets/textures/pattern-record-card.webp) repeat;
  background-size: 320px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.band-deep {
  background: var(--primary-deep) url(/assets/textures/pattern-track-channel.webp) repeat;
  background-size: 224px;
  color: var(--paper);
}
.band-deep a { color: var(--paper); }
.band-deep h2, .band-deep h3 { color: var(--paper); }

/* ── Photo frames — mounted record photos ────────────────────────────── */
.photo {
  background: #fdfdfe;
  border: 1px solid var(--hairline);
  padding: 10px 10px 0;
  margin: 0;
  box-shadow: 0 1px 3px rgb(12 26 51 / 0.08);
}
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption {
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft);
  padding: 0.6rem 0.2rem;
}
.photo figcaption .fig-no { color: var(--accent-ink); white-space: nowrap; }

/* ── Overhaul Card (signature tool) ──────────────────────────────────── */
.oc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
@media (max-width: 900px) { .oc { grid-template-columns: 1fr; } }

.oc-step {
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft);
  margin: 1.5rem 0 0.55rem;
  display: flex; align-items: baseline; gap: 0.55rem;
}
.oc-step:first-child { margin-top: 0; }
.oc-num {
  font-variant-numeric: tabular-nums;
  color: var(--accent-ink); font-size: 0.85rem;
}
.oc-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.oc-chips button {
  font-family: var(--font-body); font-weight: 500; font-size: 0.94rem;
  background: #fdfdfe; color: var(--ink);
  border: 1px solid var(--hairline); border-radius: 3px;
  padding: 0.42em 0.85em; cursor: pointer;
  transition: background-color 0.12s, color 0.12s, border-color 0.12s;
}
.oc-chips button:hover { border-color: var(--primary); color: var(--primary); }
.oc-chips button[aria-pressed="true"] {
  background: var(--primary); color: var(--paper); border-color: var(--primary);
  font-weight: 600;
}

.oc-card {
  background: #fdfdfe url(/assets/textures/watermark.webp) no-repeat right -40px bottom -40px / 300px;
  border: 1px solid var(--hairline);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  padding: 1.5rem 1.6rem 1.5rem 2.6rem;
  position: relative;
  box-shadow: 0 2px 8px rgb(12 26 51 / 0.07);
}
.oc-card::before {
  content: "";
  position: absolute; left: 0.85rem; top: 1.5rem;
  width: 16px; height: 16px;
  background: url(/assets/micro/bullet.svg) center / contain no-repeat;
}
.oc-title {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--primary); margin: 0 0 0.3rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.oc-title .oc-serial { color: var(--ink-soft); font-size: 0.68rem; letter-spacing: 0.1em; }
.oc-card .ledger { margin-top: 0.8rem; }
.oc-card .ledger dd { min-height: 1.4em; }
.oc-empty { color: color-mix(in oklab, var(--ink-soft) 55%, transparent); }
.oc-finding dd { font-weight: 500; }
.oc-safety dt { color: var(--oxide); }
.oc-safety dd { color: var(--ink); }
.oc-verdict { margin: 1.2rem 0 0.4rem; }
.oc-rail {
  font-size: 0.83rem; color: var(--ink-soft);
  border-top: 1px solid var(--hairline);
  margin-top: 1.1rem; padding-top: 0.75rem;
}
.oc-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.4rem; }
.oc-ctas .btn { font-size: 0.95rem; }
.oc-ctas .btn[data-oc-primary="false"] { opacity: 0.9; }
.oc-noscript { margin-top: 1.2rem; }

/* ── Forms — write in the line (the job card being opened) ───────────── */
.field { margin-bottom: 1.35rem; }
.field label {
  display: block;
  font-family: var(--font-display); font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft); margin-bottom: 0.3rem;
}
.field label .opt { text-transform: none; letter-spacing: 0.02em; color: color-mix(in oklab, var(--ink-soft) 70%, transparent); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field select, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1.05rem; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1.5px solid var(--ink-soft);
  border-radius: 0;
  padding: 0.35em 0.1em;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2349525c' stroke-width='1.6'/%3E%3C/svg%3E") right 0.3em center no-repeat; padding-right: 1.6em; }
.field textarea { min-height: 6.5em; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--primary); box-shadow: 0 1.5px 0 var(--primary);
}
.field input[type="file"] { font-size: 0.92rem; color: var(--ink-soft); }
.field-hint { font-size: 0.83rem; color: var(--ink-soft); margin: 0.3rem 0 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.8rem; }
.form-grid .field-wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-result { margin-top: 1.4rem; }
.form-result[data-lead-success] { text-align: center; padding: 1.4rem 1rem 0.6rem; }
.form-result[data-lead-success] img { width: 190px; margin-bottom: 0.8rem; }
.form-result[data-lead-error] {
  color: var(--oxide); border: 1px solid var(--oxide); border-radius: 3px;
  padding: 0.7rem 1rem;
}
form[data-sent] .form-fields { display: none; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.foot {
  background: var(--primary-deep) url(/assets/textures/pattern-track-channel.webp) repeat;
  background-size: 224px;
  color: var(--paper);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}
.foot a { color: var(--paper); text-decoration-color: color-mix(in oklab, var(--paper) 45%, transparent); }
.foot a:hover { text-decoration-color: var(--accent); }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 22%, transparent);
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { height: 76px; width: auto; margin-bottom: 1rem; }
.foot-brand p { font-size: 0.95rem; color: color-mix(in oklab, var(--paper) 84%, transparent); max-width: 34ch; }
.foot h4 {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: color-mix(in oklab, var(--paper) 72%, transparent);
  margin-bottom: 0.9rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 0.5em; font-size: 0.95rem; }
.foot-meta {
  padding-top: 1.6rem;
  font-size: 0.83rem;
  color: color-mix(in oklab, var(--paper) 72%, transparent);
}
.foot-meta p { margin-bottom: 0.55em; }
.foot-meta .foot-area { font-variant-numeric: tabular-nums; }

/* ── Page furniture ──────────────────────────────────────────────────── */
/* padding-block only: the horizontal gutter comes from .wrap's padding-inline —
   a `padding` shorthand here would reset it to 0 and the content hits the edge
   at all widths below the max-width. */
.page-head { padding-block: clamp(2.4rem, 5.5vw, 4rem) clamp(1.2rem, 3vw, 2rem); }
.crumbs {
  font-family: var(--font-display); font-weight: 600; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); margin-bottom: 1.4rem;
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.crumbs span { color: var(--accent-ink); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 900px) and (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }

.svc-icon { width: 58px; height: 58px; object-fit: contain; }

/* citation footnotes */
.refs { font-size: 0.9rem; color: var(--ink-soft); }
.refs ol { padding-left: 1.2rem; margin: 0.5rem 0 0; }
.refs li { margin-bottom: 0.6em; }

/* print: keep it readable, drop chrome */
@media print {
  .masthead-bar, .binding, .foot, .tabs, .oc-intake, .btn { display: none !important; }
}

/* ── MOTION LAYER — the stamp press (see MOTION.md) ──────────────────────
   One curve, one register: a stamp coming down on the log-book page. Firm
   decelerate, quick (120–160ms), transform/colour only. Nothing floats,
   nothing bounces — a fitter's hand doesn't hover over the PASSED stamp. */
:root {
  --ease-stamp: cubic-bezier(0.2, 0.65, 0.25, 1);
}

/* Hovers ease instead of snapping — same properties as before, now on the curve */
a { transition: color 0.14s var(--ease-stamp), text-decoration-color 0.14s var(--ease-stamp); }
.tabs a:not(.nav-cta) { transition: color 0.14s var(--ease-stamp), border-bottom-color 0.14s var(--ease-stamp); }

/* The signature: buttons and chips are stamps. They rise a hair when the hand
   hovers, and PRESS into the page on the click itself. */
.btn, .oc-chips button, .tabs .nav-cta {
  transition: background-color 0.15s var(--ease-stamp), color 0.15s var(--ease-stamp),
              border-color 0.15s var(--ease-stamp), transform 0.12s var(--ease-stamp),
              box-shadow 0.12s var(--ease-stamp);
}
.btn:hover, .tabs .nav-cta:hover { transform: translateY(-1px); }
.btn:active, .tabs .nav-cta:active, .oc-chips button:active { transform: translateY(1px); transition-duration: 0.06s; }
.btn-repair:active { box-shadow: inset 0 2px 4px rgb(12 26 51 / 0.28); }

/* Guide-index ledger rows: the brass eyelet leans toward an entry under the hand */
.ledger a { text-decoration-color: color-mix(in oklab, var(--primary) 35%, transparent); }
.ledger a:hover { text-decoration-color: var(--accent); }

/* ── REDUCED-MOTION FLOOR — keep this block ──────────────────────────────
   A visitor who asks for reduced motion gets the resting design, whole and
   still: every transition collapses to instant, smooth scrolling turns off.
   Nothing on this site hides content behind motion, so nothing is lost. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .tabs .nav-cta:hover,
  .btn:active, .tabs .nav-cta:active, .oc-chips button:active { transform: none; }
}
