/* ==========================================================================
   KSMM Pty Ltd — ksmmtec.site
   Art direction: "Survey datum". Patinated petrol-steel + WA brass on
   concrete-stone neutrals. Sharp shape language: 2px radii, hairline rules,
   notched plates. Condensed display face (site signage / tender documents);
   monospace reserved for registry identifiers, which are literally codes.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* Brand — patinated petrol steel */
  --brand: #16333b;
  --brand-deep: #0c2026;
  --brand-soft: #23505c;

  /* Accent — WA brass, used sparingly */
  --accent: #c9a227;
  --accent-ink: #7a5f10;    /* accent text on light surfaces (AA on white) */
  --accent-bright: #e0b845; /* accent on dark surfaces */

  /* Neutral ramp — cool stone */
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-2: #edebe6;
  --border: #d8d5cd;
  --border-strong: #b6b2a8;

  /* Text */
  --text-dark: #14191b;
  --text-mid: #4a5457;
  --text-light: #eef1ef;
  --text-dim: #a9b7b9;

  /* Lines on dark */
  --line-dark: rgba(238, 241, 239, 0.18);

  /* Spacing scale */
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 6rem;
  --section-y: clamp(3rem, 7.5vw, 6rem);
  --gutter: 1.5rem;
  --container: 1140px;

  /* Shape */
  --radius: 2px;
  --radius-lg: 3px;
  --hairline: 1px solid var(--border);
  --notch: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(12, 32, 38, 0.05);
  --shadow-2: 0 1px 2px rgba(12, 32, 38, 0.04), 0 10px 28px rgba(12, 32, 38, 0.08);

  /* Type */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Arial Narrow", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "SF Mono", Menlo, monospace;

  --step-hero: clamp(2.4rem, 5.4vw, 4.1rem);
  --step-h2: clamp(1.7rem, 3.2vw, 2.5rem);
  --step-h3: clamp(1.15rem, 1.6vw, 1.3rem);
  --step-lead: clamp(1.02rem, 1.5vw, 1.18rem);
  --step-body: 1.0625rem;
  --step-small: 0.85rem;
  --step-micro: 0.76rem;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --speed: 180ms;
}

/* ----------------------------------------------------------------- 2. Base */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--s3);
  color: var(--text-dark);
}

h1 { font-size: var(--step-hero); }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); letter-spacing: -0.01em; }
h4 { font-size: 1.02rem; letter-spacing: 0; }

p { margin: 0 0 var(--s3); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand); }

ul, ol { margin: 0 0 var(--s3); padding-left: 1.15rem; max-width: 68ch; }
li { margin-bottom: var(--s1); }
li:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-deep);
  color: var(--text-light);
  padding: var(--s2) var(--s3);
  font-size: var(--step-small);
}
.skip-link:focus { left: var(--s3); top: var(--s3); color: var(--text-light); }

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

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 var(--s2);
  font-weight: 700;
}

.mono { font-family: var(--font-mono); font-size: var(--step-small); letter-spacing: 0.02em; }

/* --------------------------------------------------------- 3. Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: var(--hairline);
}

.navbar { display: block; }

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  color: var(--text-dark);
}

.mark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 38px;
  height: 38px;
  background: var(--brand);
  border-radius: var(--radius);
  overflow: hidden;
  flex: 0 0 auto;
}
.mark-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-light);
  border-right: 1px solid rgba(238, 241, 239, 0.22);
  border-bottom: 1px solid rgba(238, 241, 239, 0.22);
}
.mark-grid span:nth-child(2n) { border-right: 0; }
.mark-grid span:nth-child(n + 3) { border-bottom: 0; }
.mark-grid span:first-child { background: var(--accent); color: var(--brand-deep); }

.wordmark-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}
.wordmark-suffix {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--text-mid);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.nav-link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: var(--s1) 0;
  transition: color var(--speed) var(--ease);
}
.nav-link:hover { color: var(--brand); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--brand-deep); }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--brand);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-2); }

/* -------------------------------------------------------------- 4. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--speed) var(--ease), background-color var(--speed) var(--ease),
    color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--brand-deep);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover {
  background: var(--accent-bright);
  color: var(--brand-deep);
  box-shadow: var(--shadow-2);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--brand); background: var(--surface); color: var(--brand); }

.btn-invert {
  background: transparent;
  color: var(--text-light);
  border-color: var(--line-dark);
}
.btn-invert:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  background: rgba(238, 241, 239, 0.06);
}

.btn-sm { padding: var(--s1) var(--s3); font-size: 0.86rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.textlink:hover { color: var(--brand); border-color: var(--brand); }

/* ------------------------------------------------------------------ 5. Hero */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--text-light);
  background-color: var(--brand-deep);
  background-image:
    radial-gradient(1100px 520px at 80% -15%, rgba(201, 162, 39, 0.18), transparent 62%),
    radial-gradient(760px 460px at 2% 112%, rgba(35, 80, 92, 0.6), transparent 66%),
    repeating-linear-gradient(90deg, rgba(238, 241, 239, 0.045) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(238, 241, 239, 0.035) 0 1px, transparent 1px 64px),
    linear-gradient(158deg, var(--brand-deep) 0%, var(--brand) 62%, var(--brand-soft) 100%);
  padding: calc(var(--section-y) + var(--s5)) 0 calc(var(--section-y) + var(--s6));
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(30px, 5vw, 70px);
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 0, 100% 101%, 0 101%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1, .hero h2 { color: var(--text-light); }
.hero .eyebrow { color: var(--accent-bright); }
.hero :focus-visible { outline-color: var(--accent-bright); }

.hero--compact { padding: calc(var(--section-y) - var(--s1)) 0 calc(var(--section-y) + var(--s4)); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: var(--s6);
  align-items: center;
}

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

.hero-title { margin-bottom: var(--s4); }
.hero-title em {
  font-style: normal;
  color: var(--accent-bright);
}

.hero-lead {
  font-size: var(--step-lead);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 56ch;
  margin-bottom: var(--s5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s5);
}

.hero-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  min-width: 0;
}

.hero-figure {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(12, 32, 38, 0.4);
  padding: var(--s3);
}
.hero-figure svg { display: block; width: 100%; height: auto; }

/* Benchmark plate — the registry facts, set as a survey plate */
.plate {
  background: rgba(238, 241, 239, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  clip-path: var(--notch);
  padding: var(--s3) var(--s4);
  margin: 0;
}
.plate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s3);
  padding: var(--s1) 0;
  border-bottom: 1px solid var(--line-dark);
}
.plate-row:last-child { border-bottom: 0; }
.plate dt {
  font-family: var(--font-display);
  font-size: var(--step-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.plate dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step-small);
  color: var(--text-light);
  text-align: right;
}

/* Signature: the datum line */
.datum {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s5);
}
.datum-tick {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--accent);
  transform: rotate(45deg);
}
.datum-rule {
  flex: 1 1 auto;
  height: 1px;
  background: var(--border);
}
.datum-label {
  font-family: var(--font-mono);
  font-size: var(--step-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  white-space: nowrap;
}
.hero .datum-rule,
.section--dark .datum-rule,
.cta-band .datum-rule { background: var(--line-dark); }
.hero .datum-label,
.section--dark .datum-label,
.cta-band .datum-label { color: var(--text-dim); }

/* -------------------------------------------------------------- 6. Sections */
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--surface-2); }
.section--tight { padding: var(--s6) 0; }

.section--dark {
  background-color: var(--brand-deep);
  background-image:
    radial-gradient(820px 420px at 88% 4%, rgba(35, 80, 92, 0.65), transparent 64%),
    repeating-linear-gradient(90deg, rgba(238, 241, 239, 0.04) 0 1px, transparent 1px 64px);
  color: var(--text-light);
}
.section--dark h2, .section--dark h3 { color: var(--text-light); }
.section--dark p { color: var(--text-dim); }
.section--dark .eyebrow { color: var(--accent-bright); }
.section--dark :focus-visible { outline-color: var(--accent-bright); }

.section-head { margin-bottom: var(--s5); max-width: 62ch; }
.section-head p { color: var(--text-mid); font-size: var(--step-lead); }
.section--dark .section-head p { color: var(--text-dim); }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ----------------------------------------------------------------- 7. Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s4);
}
.services-grid--two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.service-card {
  background: var(--surface);
  border: var(--hairline);
  border-radius: var(--radius);
  padding: var(--s4);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--border-strong);
}
.service-card h3 { margin-bottom: var(--s2); }
.service-card p { color: var(--text-mid); font-size: 0.98rem; margin-bottom: 0; }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--s3);
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--brand);
}
.service-icon svg { width: 24px; height: 24px; }

.service-meta {
  display: block;
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: var(--step-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s5);
}
.prop-card { border-top: 3px solid var(--brand); padding-top: var(--s3); min-width: 0; }
.prop-card .service-icon {
  background: transparent;
  border-color: transparent;
  margin-bottom: var(--s2);
  width: auto;
  height: auto;
}
.prop-card h3 { margin-bottom: var(--s2); }
.prop-card p { color: var(--text-mid); font-size: 0.98rem; }
.section--dark .prop-card { border-top-color: var(--accent); }
.section--dark .prop-card .service-icon { color: var(--accent-bright); }

/* ------------------------------------------------------- 8. Two-column band */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--s6);
  align-items: center;
}
.split--reverse .split-figure { order: -1; }

.split-copy { min-width: 0; }
.split-copy p { color: var(--text-mid); }
.section--dark .split-copy p { color: var(--text-dim); }

.split-figure {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: var(--s4);
  background: rgba(12, 32, 38, 0.35);
  min-width: 0;
}
.split-figure svg { display: block; width: 100%; height: auto; }

.check-list { list-style: none; padding: 0; margin: var(--s4) 0 0; }
.check-list li {
  position: relative;
  padding-left: var(--s4);
  margin-bottom: var(--s2);
  color: var(--text-mid);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}
.section--dark .check-list li { color: var(--text-dim); }

/* ----------------------------------------------------- 9. Credentials strip */
.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border: var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.cred-item { padding: var(--s4); border-right: var(--hairline); }
.cred-item:last-child { border-right: 0; }
.cred-label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: var(--s1);
}
.cred-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  color: var(--brand-deep);
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------------- 10. CTA band */
.cta-band {
  background-color: var(--brand);
  background-image:
    radial-gradient(700px 320px at 12% 0%, rgba(201, 162, 39, 0.16), transparent 60%),
    linear-gradient(120deg, var(--brand-deep), var(--brand));
  color: var(--text-light);
  padding: var(--section-y) 0;
}
.cta-band h2 { color: var(--text-light); }
.cta-band p { color: var(--text-dim); max-width: 52ch; }
.cta-band .eyebrow { color: var(--accent-bright); }
.cta-band :focus-visible { outline-color: var(--accent-bright); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* --------------------------------------------------------------- 11. Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: var(--hairline);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: var(--shadow-1);
  margin-top: var(--s4);
}

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: grid;
  gap: 2px;
  padding: var(--s3) 0;
  border-bottom: var(--hairline);
  margin: 0;
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-key {
  font-family: var(--font-display);
  font-size: var(--step-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.contact-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-dark);
  word-break: break-word;
}
.contact-value a { color: var(--accent-ink); }

.form { display: grid; gap: var(--s3); }
.field { display: grid; gap: var(--s1); }
.field label {
  font-family: var(--font-display);
  font-size: var(--step-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 700;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: var(--s2) var(--s3);
  width: 100%;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--brand-soft); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(35, 80, 92, 0.14);
  outline: none;
}
.form-note { font-size: var(--step-small); color: var(--text-mid); margin: 0; }

/* ----------------------------------------------------------------- 12. Legal */
.legal { max-width: 76ch; }
.legal h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: var(--hairline);
}
.legal h2:first-of-type { margin-top: var(--s5); }
.legal h3 { margin-top: var(--s4); font-size: 1.08rem; }
.legal p, .legal ul { color: var(--text-mid); }
.legal-meta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--step-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s1) var(--s3);
  margin-bottom: var(--s5);
}
.callout {
  background: var(--surface);
  border: var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--s4);
  margin: var(--s4) 0 0;
}
.callout p { color: var(--text-dark); }

/* ----------------------------------------------------------------- 13. About */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s4);
  margin: 0;
}
.fact { border-left: 2px solid var(--border-strong); padding-left: var(--s3); min-width: 0; }
.fact dt {
  font-family: var(--font-display);
  font-size: var(--step-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: var(--s1);
}
.fact dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.98rem;
  color: var(--text-dark);
  word-break: break-word;
}

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; max-width: none; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: var(--s6);
  padding-bottom: var(--s5);
  border-left: 1px solid var(--border);
  margin-left: 14px;
  margin-bottom: 0;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -15px;
  top: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  border-radius: var(--radius);
}
.steps h3 { margin-bottom: var(--s1); }
.steps p { color: var(--text-mid); font-size: 0.98rem; }

/* ---------------------------------------------------------------- 14. Footer */
.footer {
  background: var(--brand-deep);
  color: var(--text-dim);
  border-top: 3px solid var(--accent);
  padding-top: var(--s6);
  font-size: 0.96rem;
}
.footer :focus-visible { outline-color: var(--accent-bright); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--s5);
  padding-bottom: var(--s6);
}

.footer-col { min-width: 0; }

.footer .wordmark { color: var(--text-light); margin-bottom: var(--s3); }
.footer .wordmark-suffix { color: var(--text-dim); }
.footer-blurb { color: var(--text-dim); font-size: 0.93rem; max-width: 42ch; margin-bottom: var(--s3); }

.footer-title {
  font-family: var(--font-display);
  font-size: var(--step-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 var(--s3);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--line-dark);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: var(--s2); }
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}
.footer-links a:hover { color: var(--accent-bright); text-decoration: underline; }

.reg-plate { margin: 0; border-top: 1px solid var(--line-dark); }
.reg-row {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s1) 0;
  border-bottom: 1px solid var(--line-dark);
}
.reg-row dt {
  font-family: var(--font-display);
  font-size: var(--step-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.reg-row dd { margin: 0; font-family: var(--font-mono); font-size: var(--step-small); color: var(--text-light); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  background: rgba(238, 241, 239, 0.03);
  padding: var(--s3) 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
.footer-bottom p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step-micro);
  letter-spacing: 0.04em;
  color: var(--text-dim);
  max-width: none;
}
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s3); margin: 0; padding: 0; }
.footer-legal li { margin: 0; }
.footer-legal a {
  font-family: var(--font-display);
  font-size: var(--step-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--accent-bright); }

/* ------------------------------------------------------------ 15. Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-aside { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .split--reverse .split-figure { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .cred-item { border-right: 0; border-bottom: var(--hairline); }
  .cred-item:last-child { border-bottom: 0; }
}

@media (max-width: 768px) {
  :root { --gutter: 1.25rem; }

  .nav-toggle { display: inline-flex; }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s2) 0 var(--s4);
    background: var(--bg);
    border-bottom: var(--hairline);
    box-shadow: var(--shadow-2);
  }
  .nav-menu.is-open { display: flex; }
  .nav-link { padding: var(--s3) 0; border-bottom: var(--hairline); }
  .nav-link::after { display: none; }
  .nav-link.is-active {
    color: var(--brand);
    border-left: 3px solid var(--accent);
    padding-left: var(--s2);
  }
  .nav-cta { margin-top: var(--s3); }

  .hero { padding: var(--s6) 0 calc(var(--s6) + var(--s4)); }
  .hero--compact { padding: var(--s5) 0 var(--s6); }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .contact-card { padding: var(--s4); }
  .steps li { padding-left: var(--s5); }
  .plate { padding: var(--s3); }
}

@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;
  }
  .btn:hover, .service-card:hover { transform: none; }
}
