/* Self-hosted brand faces — generated by build/fetch-fonts.mjs.
   Lexend (headings) and Source Sans 3 (body), latin + latin-ext only.
   Both are licensed under the SIL Open Font License 1.1. */

/* latin-ext */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/Lexend-400-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/Lexend-400-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/SourceSans3-400i-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/SourceSans3-400i-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/SourceSans3-400-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/SourceSans3-400-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@charset "UTF-8";
/* ==========================================================================
   buildingconditionassessment.ca — design system
   Concept: "engineering report" minimalism. Hairlines instead of shadows,
   numbered sections, generous whitespace, one restrained accent.
   Light + dark, WCAG AA, reduced-motion safe.
   ========================================================================== */

/* --------------------------------------------------------------- 1. tokens */
:root {
  color-scheme: light dark;

  --font-head: "Lexend", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* spacing — spacious 4/8 rhythm */
  --s1: 4px;  --s2: 8px;   --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px;  --s8: 64px; --s9: 96px; --s10: 128px;

  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(56px, 7vw, 112px);
  --maxw: 1200px;
  --measure: 68ch;

  --r1: 3px; --r2: 6px; --r3: 10px;

  --dur: 320ms;
  --dur-fast: 180ms;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* light */
  --bg: #fbfbfc;
  --surface: #ffffff;
  --surface-2: #f4f6f8;
  --ink: #0c1116;
  --body: #39424d;
  --muted: #66717f;
  --line: #e4e8ed;
  --line-2: #ccd4dd;
  --accent: #0b5c8a;
  --accent-2: #094c73;
  --accent-soft: #edf3f8;
  --band-bg: #0c1116;
  --band-ink: #ffffff;
  --band-body: #a9b4c0;
  --band-line: #242c35;
  --band-btn-bg: #ffffff;
  --band-btn-ink: #0c1116;
  --shadow-hdr: 0 1px 0 rgb(12 17 22 / 6%), 0 8px 24px -16px rgb(12 17 22 / 22%);
  --hdr-bg: rgb(255 255 255 / 82%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d10;
    --surface: #101419;
    --surface-2: #161b21;
    --ink: #eef2f6;
    --body: #b9c3cd;
    --muted: #8a94a2;
    --line: #1f262e;
    --line-2: #2d3640;
    --accent: #74b8e2;
    --accent-2: #96cdee;
    --accent-soft: #10202b;
    --band-bg: #161b21;
    --band-ink: #eef2f6;
    --band-body: #9aa5b2;
    --band-line: #2d3640;
    --band-btn-bg: #eef2f6;
    --band-btn-ink: #0c1116;
    --shadow-hdr: 0 1px 0 rgb(0 0 0 / 40%), 0 8px 24px -16px rgb(0 0 0 / 60%);
    --hdr-bg: rgb(10 13 16 / 82%);
  }
}

/* ---------------------------------------------------------------- 2. reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:where(a) { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(a):hover { color: var(--accent-2); }

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

::selection { background: var(--accent); color: #fff; }

/* ------------------------------------------------------------ 3. typography */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 1.35rem + 3.1vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.032em;
}
h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.0625rem); letter-spacing: -.026em; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.35; }
h4 { font-size: .9375rem; font-weight: 600; }

strong, b { font-weight: 600; color: var(--ink); }
em { font-style: italic; }
small { font-size: .875rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede {
  font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
}

.mono { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .04em; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; color: var(--muted); }

/* ---------------------------------------------------------------- 4. layout */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: var(--s4); top: var(--s4); z-index: 100;
  transform: translateY(-200%);
  padding: var(--s3) var(--s5);
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r2);
  font-weight: 600; text-decoration: none;
}
.skip:focus { transform: translateY(0); }

.sec { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.sec:first-of-type { border-top: 0; }
.sec--tint { background: var(--surface-2); }
.sec--flush { padding-block: 0; border-top: 0; }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose ul:not([class]) { list-style: disc; padding-left: 1.2em; }
.prose ul:not([class]) li + li { margin-top: .35em; }
.prose a { font-weight: 500; }

.stack-4 > * + * { margin-top: var(--s4); }
.stack-6 > * + * { margin-top: var(--s6); }

.rule { border: 0; border-top: 1px solid var(--line); }

/* Numbered sections read like a report: an editorial left rail carries the
   section number and heading, content fills the measure beside it. The
   counter is CSS-driven so renumbering never means editing markup. */
main { counter-reset: sec; }
.sec__head { max-width: var(--measure); margin-bottom: var(--s6); }
.sec--num { counter-increment: sec; }

.sec__grid {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.sec__grid > .sec__head { margin-bottom: 0; max-width: none; }
.sec--split .sec__head h2 {
  font-size: clamp(1.375rem, 1.15rem + .8vw, 1.8125rem);
  /* `balance` evens out line lengths, which tempts the browser into breaking
     standard names at their hyphen ("ASTM E2018-" / "24"). Greedy wrapping
     keeps the token whole. */
  text-wrap: pretty;
}

.sec--num .sec__head h2::before {
  content: counter(sec, decimal-leading-zero);
  display: block;
  margin-bottom: .95em;
  padding-bottom: .95em;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--accent);
}

/* --------------------------------------------------------------- 5. header */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: var(--hdr-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-fast) linear, border-color var(--dur-fast) linear;
}
.hdr[data-stuck="true"] { box-shadow: var(--shadow-hdr); border-bottom-color: transparent; }

.hdr__inner { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink); }
.brand__mark { flex: none; width: 34px; height: 34px; color: var(--ink); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt b { font-family: var(--font-head); font-size: .9375rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.brand__txt span { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: var(--s6); margin-left: auto; }
.nav a {
  position: relative;
  font-size: .9375rem; font-weight: 500;
  color: var(--body); text-decoration: none;
  padding-block: var(--s2);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.hdr__cta { display: flex; align-items: center; gap: var(--s5); }
/* inline-flex + min-height keeps the hit area at/above the 24px WCAG 2.5.8
   minimum; 13px mono text alone only measures ~22px tall. */
.tel {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 500;
  letter-spacing: .02em; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.tel:hover { color: var(--accent); }

.burger {
  display: none;
  width: 44px; height: 44px; margin-left: auto; margin-right: calc(var(--s3) * -1);
  place-items: center; color: var(--ink);
}
.burger svg { width: 22px; height: 22px; }
.burger__x { display: none; }
.burger[aria-expanded="true"] .burger__x { display: block; }
.burger[aria-expanded="true"] .burger__m { display: none; }

/* mobile panel */
.mobile {
  position: fixed; inset: 72px 0 0; z-index: 39;
  display: none; flex-direction: column;
  padding: var(--s6) var(--gutter) var(--s8);
  background: var(--bg);
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.mobile[data-open="true"] { display: flex; }
.mobile a.mobile__link {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s5) 0;
  font-family: var(--font-head); font-size: 1.375rem; font-weight: 500;
  letter-spacing: -.02em; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile a.mobile__link::after { content: "\2192"; color: var(--muted); font-size: 1rem; }
.mobile__foot { margin-top: var(--s7); display: grid; gap: var(--s4); }
body[data-lock="true"] { overflow: hidden; }

/* -------------------------------------------------------------- 6. buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-ink: var(--bg);
  --btn-line: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  min-height: 46px; padding: var(--s3) var(--s5);
  font-family: var(--font-body); font-size: .9375rem; font-weight: 600; letter-spacing: .005em;
  color: var(--btn-ink); background: var(--btn-bg);
  border: 1px solid var(--btn-line); border-radius: var(--r2);
  text-decoration: none; white-space: nowrap; max-width: 100%;
  transition: background var(--dur-fast) linear, color var(--dur-fast) linear,
              border-color var(--dur-fast) linear, transform var(--dur-fast) var(--ease);
}
.btn:hover { --btn-bg: var(--accent); --btn-line: var(--accent); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 15px; height: 15px; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost { --btn-bg: transparent; --btn-ink: var(--ink); --btn-line: var(--line-2); }
.btn--ghost:hover { --btn-bg: transparent; --btn-line: var(--ink); color: var(--ink); }

.btn--inv { --btn-bg: var(--band-btn-bg); --btn-ink: var(--band-btn-ink); --btn-line: var(--band-btn-bg); }
.btn--inv:hover { --btn-bg: transparent; --btn-line: var(--band-btn-bg); color: var(--band-btn-bg); }

.btn--wide { width: 100%; }

/* Labels that are themselves data — an email address, a long URL — can be
   wider than a narrow viewport, so they wrap instead of overflowing. */
.btn--text { white-space: normal; overflow-wrap: anywhere; text-align: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: .9375rem; font-weight: 600; text-decoration: none; color: var(--accent);
}
.arrow-link svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ----------------------------------------------------------------- 7. hero */
.hero { padding-block: clamp(48px, 6.5vw, 104px) clamp(40px, 5vw, 72px); }
.hero__grid {
  display: grid; gap: clamp(40px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
}
.hero__copy > * + * { margin-top: var(--s5); }
.hero h1 { margin-top: var(--s3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); padding-top: var(--s2); }

/* spec panel — the "cover sheet" of the report */
.spec {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: var(--s6) var(--s6) var(--s5);
}
.spec__cap {
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding-bottom: var(--s4); border-bottom: 1px solid var(--line);
}
.spec__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4);
  padding-block: var(--s4); border-bottom: 1px solid var(--line);
}
.spec__row:last-child { border-bottom: 0; padding-bottom: 0; }
.spec__k { font-size: .9375rem; color: var(--muted); }
.spec__v {
  font-family: var(--font-head); font-size: .9375rem; font-weight: 600;
  color: var(--ink); text-align: right; letter-spacing: -.01em;
}

/* credential strip */
.strip {
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s7);
  padding-top: var(--s5); margin-top: var(--s6);
  border-top: 1px solid var(--line);
}
.strip li {
  display: flex; align-items: baseline; gap: var(--s3);
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.strip li::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--accent); }

/* ------------------------------------------------------------- 8. services */
.svcs { display: grid; gap: var(--s5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc {
  display: flex; flex-direction: column; gap: var(--s3);
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r3);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.svc:hover { border-color: var(--line-2); transform: translateY(-2px); }
.svc__n { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; color: var(--accent); }
/* Card titles are <h2> so the document outline doesn't skip from h1 to h3;
   they keep card-scale typography rather than section-scale. */
.svc h2 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.35; color: var(--ink); }
.svc p { color: var(--muted); font-size: .9375rem; flex: 1; }
.svc .arrow-link { margin-top: var(--s3); }

/* ------------------------------------------------------ 9. content modules */
.checks { display: grid; gap: var(--s3) var(--s6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checks li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 1rem; }
.checks li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: .34em;
  background: var(--accent);
  -webkit-mask: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  mask: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
}

/* facility condition index scale */
.fci { margin-top: var(--s6); }
.fci__bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; gap: 2px; }
.fci__seg { flex: 1; background: var(--accent); }
.fci__seg:nth-child(1) { opacity: 1; }
.fci__seg:nth-child(2) { opacity: .72; }
.fci__seg:nth-child(3) { opacity: .46; }
.fci__seg:nth-child(4) { opacity: .24; }
.fci__legend {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4); margin-top: var(--s4);
}
.fci__legend div { border-top: 1px solid var(--line); padding-top: var(--s3); }
.fci__legend dt { font-family: var(--font-head); font-size: .9375rem; font-weight: 600; color: var(--ink); }
.fci__legend dd { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; color: var(--muted); margin: 2px 0 0; }

/* key/value spec list (timeline & cost, contact details) */
.kv { display: grid; gap: 0; }
.kv > div {
  display: grid; grid-template-columns: minmax(140px, 30%) 1fr; gap: var(--s4);
  padding-block: var(--s4); border-top: 1px solid var(--line);
}
.kv > div:last-child { border-bottom: 1px solid var(--line); }
.kv dt { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .3em; }
.kv dd { margin: 0; color: var(--body); }
.kv dd strong { font-family: var(--font-head); font-weight: 600; }
/* Phone / email / region links in these rows are destinations in their own
   right, so they get a full-size target instead of prose-link treatment. */
.kv dd > a { display: inline-flex; align-items: center; min-height: 26px; }

/* callout */
.note {
  display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start;
  margin-top: var(--s7);
  padding: var(--s6);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r2);
}
.note h3 { color: var(--ink); }
.note p { color: var(--muted); font-size: .9375rem; max-width: 56ch; }
.note .btn { margin-top: var(--s2); }

/* pills (region links) */
.pills { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pill {
  display: inline-flex; align-items: center; min-height: 38px;
  padding: 0 var(--s4);
  font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  transition: border-color var(--dur-fast) linear, background var(--dur-fast) linear;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill--plain { color: var(--muted); font-weight: 400; border-style: dashed; }

/* region index */
.regions { display: grid; gap: var(--s7); }
.region { border-top: 1px solid var(--line); padding-top: var(--s5); }
.region h2 { margin-bottom: var(--s2); }
.region h2 a { text-decoration: none; color: var(--ink); }
.region h2 a:hover { color: var(--accent); }
.region p { color: var(--muted); font-size: .9375rem; margin-bottom: var(--s4); max-width: 62ch; }

/* breadcrumbs */
.crumbs { padding-top: var(--s5); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s2); }
.crumbs li { display: flex; align-items: center; gap: var(--s2); font-size: .8125rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
/* Breadcrumb links are standalone controls, not prose, so they need the
   24px minimum target height rather than the 22px the text alone gives. */
.crumbs a, .crumbs [aria-current="page"] {
  display: inline-flex; align-items: center; min-height: 26px;
  color: var(--muted); text-decoration: none;
}
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ------------------------------------------------------------------ 10. faq */
.faq { max-width: var(--measure); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s5);
  padding-block: var(--s5);
  font-family: var(--font-head); font-size: 1.0625rem; font-weight: 500;
  letter-spacing: -.012em; color: var(--ink); cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: .34em;
  background: var(--muted);
  transition: transform var(--dur) var(--ease), background var(--dur-fast) linear;
  -webkit-mask: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' d='M7 1v12M1 7h12'/%3E%3C/svg%3E");
  mask: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' d='M7 1v12M1 7h12'/%3E%3C/svg%3E");
}
.faq summary:hover { color: var(--accent); }
.faq summary:hover::after { background: var(--accent); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__body { overflow: hidden; }
.faq__body p { padding-bottom: var(--s5); color: var(--muted); max-width: 62ch; }

/* --------------------------------------------------------------- 11. bands */
.band { background: var(--band-bg); color: var(--band-body); border-top: 1px solid var(--band-line); }
.band .wrap { padding-block: clamp(56px, 7vw, 104px); }
.band__grid {
  display: grid; gap: var(--s6) var(--s8);
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
}
.band h2 { color: var(--band-ink); }
.band p { color: var(--band-body); max-width: 52ch; margin-top: var(--s4); }
.band .eyebrow { color: var(--band-body); }
.band__actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: flex-start; }
.band__actions .btn--ghost { --btn-ink: var(--band-ink); --btn-line: var(--band-line); }
.band__actions .btn--ghost:hover { --btn-line: var(--band-ink); color: var(--band-ink); }

/* ----------------------------------------------------------------- 12. form */
.form { display: grid; gap: var(--s5); max-width: 44rem; }
.form__row { display: grid; gap: var(--s5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: var(--s2); }
.field > span {
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.field > span i { font-style: normal; color: var(--accent); }
.input, .textarea {
  width: 100%; min-height: 46px; padding: var(--s3) var(--s4);
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--r2);
  transition: border-color var(--dur-fast) linear;
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .7; }
.input:hover, .textarea:hover { border-color: var(--muted); }
.form__note { font-size: .8125rem; color: var(--muted); }

/* Consent checkbox — deliberately not a .field, which is a stacked label. */
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); align-items: start; }
/* 24px is the WCAG 2.5.8 minimum target — the label is clickable too, but the
   box itself has to clear the bar on its own. */
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--accent); flex: none; }
.check span { font-size: .875rem; line-height: 1.55; color: var(--muted); }
.check span i { font-style: normal; color: var(--accent); }

/* Submit result. Hidden until the script has something to report — the
   [hidden] guard is explicit because display:grid would otherwise win. */
.form__status[hidden] { display: none; }
.form__status {
  display: block; margin-top: var(--s4); padding: var(--s3) var(--s4);
  font-size: .875rem; line-height: 1.55;
  border: 1px solid var(--line-2); border-left-width: 3px; border-radius: var(--r2);
  background: var(--surface);
}
.form__status[data-state="ok"] { border-left-color: var(--accent); }
.form__status[data-state="err"] { border-left-color: #c0392b; }
.form__status a { color: var(--accent); }

/* Honeypot. display:none, not clipped: a clipped input is still a rendered,
   focusable field, so browser autofill and password managers filled it for
   real visitors. Formspree judges _gotcha server-side, where a false positive
   costs a filtered message rather than a silently discarded enquiry — worth
   more than the few extra bots a visible-to-the-DOM field would have caught. */
.hp { display: none; }

/* --------------------------------------------------------------- 13. footer */
.ftr { border-top: 1px solid var(--line); background: var(--surface); }
.ftr__grid {
  display: grid; gap: var(--s7) var(--s6);
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  padding-block: var(--s8) var(--s7);
}
.ftr__brand p { color: var(--muted); font-size: .9375rem; margin-top: var(--s4); max-width: 34ch; }
/* <h3> for a correct outline, but styled as a small mono label. */
.ftr__col h3 {
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: var(--s4);
}
.ftr__col a {
  display: block; padding-block: var(--s2);
  font-size: .9375rem; color: var(--body); text-decoration: none;
}
.ftr__col a:hover { color: var(--accent); text-decoration: underline; }
/* <address> is italic by default in every browser; the column is not. */
.ftr__col address {
  margin-top: var(--s4); font-style: normal;
  font-size: .9375rem; line-height: 1.5; color: var(--muted);
}
.ftr__legal {
  border-top: 1px solid var(--line);
  padding-block: var(--s5) var(--s6);
  display: grid; gap: var(--s3);
}
.ftr__legal p { font-size: .8125rem; color: var(--muted); max-width: 92ch; }

/* --------------------------------------------------------------- 14. motion */
/* Content is visible by default. The hidden state applies only once JS has
   confirmed it can animate, so no-JS users and crawlers always see content. */
html.js-motion [data-reveal] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html.js-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------------------------------------------------------- 15. responsive */
/* Note on `minmax(0, 1fr)` below: a bare `1fr` is `minmax(auto, 1fr)`, so a
   single wide child (a nowrap button, a long place name) can push the track
   past the viewport. Pinning the minimum to 0 lets content shrink instead. */

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .spec { max-width: 32rem; }
  .band__grid { grid-template-columns: minmax(0, 1fr); }
  .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .sec__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .sec--num .sec__head h2::before { margin-bottom: .7em; padding-bottom: .7em; }
}

@media (max-width: 860px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: grid; }
  .svcs { grid-template-columns: minmax(0, 1fr); }
  .fci__legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .kv > div { grid-template-columns: minmax(0, 1fr); gap: var(--s1); }
  .spec { padding: var(--s5); }
  .note { padding: var(--s5); }
  .strip { gap: var(--s3) var(--s5); }

  /* Full-width stacked CTAs. Region names make some labels long enough to
     overflow a 360px screen, so let them wrap rather than force the track. */
  .hero__actions .btn,
  .band__actions .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
}

@media (max-width: 440px) {
  .ftr__grid { grid-template-columns: minmax(0, 1fr); }
  .fci__legend { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------- 16. print */
@media print {
  .hdr, .mobile, .band, .burger, .skip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .sec { padding-block: 18pt; }
  a { text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
