/* ============================================================
   Spike Security website, brand v3.0
   Tokens and rules come from DESIGN.md. Archivo for words at three
   widths, Martian Mono for the numbers people dial, check or copy,
   obsidian and bone, one orange signal, hairlines, square corners,
   no shadows, no icon font.
   ============================================================ */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
/* Martian Mono for the record: numbers, times and references. The file is fixed at the
   brand's 87.5% width (only the weight axis is kept), Latin only, 24 KB. */
@font-face {
  font-family: 'Martian Mono';
  src: url('/assets/fonts/martian-mono-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
/* Size-adjusted stand-ins so numbers keep Martian Mono's width (0.65em per figure) while it loads */
@font-face {
  font-family: 'Martian Mono Consolas';
  src: local('Consolas');
  size-adjust: 118%; ascent-override: 85%; descent-override: 17%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Martian Mono Fallback';
  src: local('Menlo'), local('DejaVu Sans Mono'), local('Courier New'), local('Droid Sans Mono');
  size-adjust: 108%; ascent-override: 93%; descent-override: 18.5%; line-gap-override: 0%;
}
/* Metric-matched fallback so the page does not jump when Archivo arrives */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial');
  size-adjust: 104%;
  ascent-override: 88%;
  descent-override: 21%;
}

:root {
  color-scheme: dark;
  --obsidian: #0B0C0E; --obsidian-2: #131417; --graphite: #1C1E23; --line: #2A2B2D; --line-strong: #46474A;
  --ash: #A39E94; --bone: #EEEAE0; --bone-2: #E4DFD2; --line-light: #CECBC3; --line-strong-light: #9B978E; --stone: #5E5A52;
  --placeholder: #88837A;
  --orange: #FF5B1A; --ember: #B33A06; --line-on-orange: #C94A17;
  --font: 'Archivo', 'Archivo Fallback', 'Arial Narrow', Arial, sans-serif;
  --mono: 'Martian Mono', 'Martian Mono Consolas', 'Martian Mono Fallback', ui-monospace, monospace;
  --condensed: 62%; --semi: 87%; --expanded: 125%;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: clamp(16px, 4vw, 48px); --max: 1320px; --bar-h: 60px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1); --fast: 160ms; --mid: 320ms;
  --title: clamp(2.25rem, 5.4vw, 4.75rem);
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--obsidian); color: var(--bone);
  font-family: var(--font); font-size: 1.0625rem; font-weight: 400; font-stretch: 100%;
  line-height: 1.7; letter-spacing: 0.005em; font-kerning: normal;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a, button, input, select, textarea, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(255, 91, 26, 0.2); }
button, input, select, textarea { font: inherit; color: inherit; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
/* Reflow safety at large text sizes (WCAG 1.4.4, 1.4.10): one-column grids may never grow past the
   viewport. Declared early so the multi-column layouts below still override it. */
.cover-grid, .record, .area, .contact, .careers, .split, .inc-grid, .sec-head, .page-head-grid, .finale, .finale-row,
.sitemap-grid, .steps, .line-list, .inc, .form, .form fieldset, .field, .field-row, .facts-list > div, .map, .doc-fig, .contact-info, .ci-block { grid-template-columns: minmax(0, 1fr); }
.sec-lede, .page-lede, .form-intro, .form-note, .split-body p, .facts li, .role-m, .role-s { overflow-wrap: anywhere; }
::selection { background: var(--orange); color: var(--obsidian); }
[hidden] { display: none !important; }
html:not(.js) .js-only { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 50; background: var(--orange); color: var(--obsidian); padding: var(--s3) var(--s4); font-weight: 700; text-decoration: none; }
.skip:focus { top: var(--s3); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.nb { white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
/* The Record Rule: Martian Mono sets the numbers people dial, check or copy (phone and company numbers,
   times, references, licence numbers), never headlines, labels, body text or decoration.
   0.9em matches its tall capitals to Archivo's, so a number sits level with the words around it. */
.data, .tel-n, .ci-tel, .foot-big, .finale-tel, .steps li::before {
  font-family: var(--mono); font-stretch: normal; letter-spacing: 0; font-variant-numeric: normal; font-feature-settings: normal;
}
.data { font-weight: 400; font-size: 0.9em; }
.muted { color: var(--ash); }

.label {
  display: block; font-size: 0.875rem; font-weight: 600; font-stretch: 100%;
  letter-spacing: 0; line-height: 1.4; color: var(--ash);
}
.link {
  color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em;
  text-decoration-color: var(--orange); overflow-wrap: anywhere; transition: color var(--fast) var(--ease);
}
.link:hover { color: var(--orange); }
.link--solo {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; text-decoration: none;
  font-weight: 600; font-size: 1rem; letter-spacing: 0;
}
.link--solo .arrow { width: 18px; height: 18px; transition: transform var(--mid) var(--ease), color var(--fast) var(--ease); }
.link--solo:hover .arrow { transform: translateX(3px); }

/* ── Buttons: two kinds, square, 48px minimum ─────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 0;
  font-size: 1rem; font-weight: 700; font-stretch: 100%; letter-spacing: 0;
  line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.btn--primary { background: var(--orange); color: var(--obsidian); }
.btn--primary:hover { background: var(--bone); }
.btn--ghost { background: transparent; color: var(--bone); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--bone); background: var(--graphite); }
.btn--dark { background: var(--obsidian); color: var(--bone); }
.btn--dark:hover { background: var(--bone); color: var(--obsidian); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 0.9375rem; }
.btn--lg { min-height: 60px; padding: 16px 28px; font-size: 1.0625rem; }
.btn:active { transform: translateY(1px); }
.arrow { width: 20px; height: 20px; flex: none; }

/* ── Bar ──────────────────────────────────────────────────── */
.bar { position: sticky; top: 0; z-index: 30; background: var(--obsidian); border-bottom: 1px solid var(--line); }
.bar-in { height: var(--bar-h); display: flex; align-items: center; gap: var(--s5); }
.brand { display: flex; align-items: center; min-height: 44px; flex: 0 1 auto; min-width: 0; color: var(--bone); }
.brand svg { height: 28px; width: auto; max-width: 100%; }
.nav { flex: 1; display: flex; justify-content: center; align-self: stretch; }
.nav ul { display: flex; gap: var(--s1); height: 100%; }
.nav a {
  position: relative; display: flex; align-items: center; height: 100%; padding: 0 12px;
  color: var(--ash); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
  letter-spacing: 0; white-space: nowrap; transition: color var(--fast) var(--ease);
}
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform var(--mid) var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.bar-actions { display: flex; align-items: center; gap: var(--s5); }
.bar-tel {
  display: flex; align-items: center; gap: var(--s2); min-height: 44px;
  color: var(--bone); text-decoration: none; font-weight: 700; font-size: 0.9375rem; white-space: nowrap;
  transition: color var(--fast) var(--ease);
}
.bar-tel span:first-child { font-size: 0.8125rem; font-weight: 600; color: var(--ash); }
.bar-tel .data { font-size: 0.875rem; font-weight: 500; }
.bar-tel:hover { color: var(--orange); }
.bar-call, .menu-btn { display: none; }
@media (max-width: 1099px) {
  .nav { display: none; }
  .bar-actions { margin-left: auto; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 0 0 12px;
    background: transparent; border: 0; color: var(--bone); cursor: pointer;
    font-size: 0.9375rem; font-weight: 600;
  }
}
@media (max-width: 699px) {
  .bar-tel, .bar-quote { display: none; }
  .bar-in { gap: var(--s3); }
  .brand svg { height: 26px; }
  .bar-actions { gap: var(--s2); }
  .bar-call {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px;
    border: 1px solid var(--line-strong); color: var(--bone); text-decoration: none;
    font-size: 0.9375rem; font-weight: 600;
  }
}

/* Menu panel (tablets and phones) */
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--obsidian); border-bottom: 1px solid var(--line); max-height: calc(100dvh - var(--bar-h)); overflow-y: auto; overscroll-behavior: contain; }
.menu nav { padding: var(--s4) 0 var(--s6); display: grid; gap: var(--s5); }
.menu-list { border-top: 1px solid var(--line); }
.menu-list li { border-bottom: 1px solid var(--line); }
.menu-list a {
  display: flex; align-items: center; min-height: 56px; color: var(--bone); text-decoration: none;
  font-size: 1.75rem; font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase; letter-spacing: 0.01em;
}
.menu-list a[aria-current="page"] { color: var(--orange); }
.menu-tel { display: grid; gap: 2px; color: var(--bone); text-decoration: none; min-height: 48px; }
.menu-tel .data { font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.menu-quote { width: 100%; }
@media (min-width: 1100px) { .menu { display: none !important; } }

/* ── Cover (home) ─────────────────────────────────────────── */
.cover { position: relative; padding-top: clamp(28px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 88px); }
.cover-grid { display: grid; gap: var(--s7); grid-template-columns: minmax(0, 1fr); align-items: end; }
.cover-h1 { display: block; font-weight: inherit; }
/* "ON RECORD." is 4.40em wide in Archivo 62%/800; dividing the column by 4.45 keeps every line whole */
.display {
  display: block; font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase;
  letter-spacing: 0.005em; line-height: 0.86;
  font-size: min(calc((100vw - 2 * var(--gutter)) / 4.45), 10rem);
}
.dl { display: block; }
.dl--o { color: var(--orange); }
.lede { display: block; margin-top: var(--s6); max-width: 34ch; font-size: clamp(1.1875rem, 1.7vw, 1.5rem); font-weight: 400; line-height: 1.45; color: var(--bone); }
.cover-actions, .page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5) var(--s6); margin-top: var(--s6); }
.tel { display: grid; gap: 2px; color: var(--bone); text-decoration: none; min-height: 48px; align-content: center; }
.tel-l { font-size: 0.875rem; font-weight: 600; color: var(--ash); }
.tel-n {
  font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.15;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em;
  text-decoration-color: var(--line-strong); transition: text-decoration-color var(--fast) var(--ease);
}
.tel:hover .tel-n { text-decoration-color: var(--orange); }

/* The shield in Signal mode: until the commissioned photographs arrive, the cover carries the mark */
.cover-art { position: relative; overflow: hidden; background: var(--obsidian-2); border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.cover-sg { position: absolute; height: 175%; width: auto; left: 22%; top: -38%; --shield: var(--orange); }
@media (min-width: 900px) {
  .cover-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .display {
    font-size: max(4.5rem, min(
      calc((min(100vw - 2 * var(--gutter), var(--max)) - var(--s7)) * 7 / 12 / 4.45),
      calc((100svh - 470px) / 2.58)
    ));
  }
  .cover-art { aspect-ratio: auto; align-self: stretch; min-height: 480px; }
  .cover-sg { height: 150%; left: 26%; top: -26%; }
}

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.facts li { padding: var(--s4) var(--s4) var(--s4) 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.5; color: var(--ash); }
.facts b { display: block; color: var(--bone); font-weight: 700; font-size: 1rem; }
.facts a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; }
.facts a:hover { color: var(--bone); text-decoration-color: var(--orange); }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts li { border-bottom: 0; padding: var(--s5) var(--s5) 0 0; }
  .facts li + li { padding-left: var(--s5); border-left: 1px solid var(--line); }
}

/* ── Inner page opening ───────────────────────────────────── */
.page-head { padding-top: clamp(40px, 7vw, 112px); padding-bottom: clamp(48px, 7vw, 104px); }
.page-head-grid { display: grid; gap: var(--s6); }
.page-title {
  font-size: clamp(2.75rem, 7.4vw, 6.5rem); font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase;
  letter-spacing: 0.005em; line-height: 0.88; max-width: 14ch; overflow-wrap: anywhere; hyphens: auto;
}
.page-lede { max-width: 46ch; font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.5; }
.page-actions { margin-top: 0; }
@media (min-width: 1000px) {
  .page-head-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); align-items: end; }
  .page-title { grid-column: 1 / span 8; }
  .page-lede { grid-column: 9 / span 4; padding-bottom: 0.4em; }
  .page-actions { grid-column: 1 / -1; }
}

/* ── Sections ─────────────────────────────────────────────── */
.sec { position: relative; padding-top: clamp(72px, 10vw, 144px); padding-bottom: clamp(72px, 10vw, 144px); border-top: 1px solid var(--line); }
.sec--flush { padding-top: 0; border-top: 0; }
.sec-head { display: grid; gap: var(--s5); margin-bottom: clamp(40px, 6vw, 88px); }
.sec-title {
  font-size: var(--title); font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase;
  letter-spacing: 0.005em; line-height: 0.88; max-width: 16ch; overflow-wrap: anywhere; hyphens: auto;
}
.sec-lede { max-width: 48ch; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.6; color: var(--ash); }
.sec-lede strong { color: var(--bone); font-weight: 600; }
.sub-title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; font-stretch: var(--semi); line-height: 1.15; letter-spacing: -0.005em; }
/* Desktop: one 12-column grid shared by section heads and the rows beneath them */
@media (min-width: 1000px) {
  .sec-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); align-items: end; }
  .sec-title { grid-column: 1 / span 7; }
  .sec-lede { grid-column: 9 / span 4; padding-bottom: 0.3em; }
}

/* Split: statement on the left, body on the right */
.split { display: grid; gap: var(--s6); }
.split .sec-head { margin-bottom: 0; }
.split-body { display: grid; gap: var(--s4); align-content: start; max-width: 60ch; }
.split-body p { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.65; }
.split-body .link--solo { margin-top: var(--s2); justify-self: start; }
@media (min-width: 1000px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); }
  .split .sec-head { grid-column: 1 / span 6; display: block; }
  .split .sec-title { max-width: 13ch; }
  .split > :last-child { grid-column: 8 / span 5; }
}

/* Service rows, not cards */
.svc { border-top: 1px solid var(--line-strong); }
.svc li { border-bottom: 1px solid var(--line); }
.svc a {
  display: grid; grid-template-columns: minmax(0, 1fr) 24px; column-gap: var(--s4); row-gap: var(--s2);
  align-items: baseline; padding: var(--s5) 0; color: var(--bone); text-decoration: none;
  transition: background-color var(--fast) var(--ease);
}
.svc-name { font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase; line-height: 0.95; letter-spacing: 0.005em; }
.svc-desc { grid-column: 1; color: var(--ash); max-width: 52ch; line-height: 1.6; }
.svc-for { grid-column: 1; font-size: 0.9375rem; font-weight: 500; color: var(--bone); }
.svc .arrow { grid-column: 2; grid-row: 1; align-self: center; color: var(--ash); transition: color var(--fast) var(--ease), transform var(--mid) var(--ease); }
.svc a:hover { background: var(--obsidian-2); }
.svc a:hover .arrow { color: var(--orange); transform: translateX(4px); }
@media (min-width: 1000px) {
  /* the row bleeds 16px each side so the hover fill has room, while its grid stays on the page grid */
  .svc a { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); align-items: center; margin: 0 calc(-1 * var(--s4)); padding: var(--s6) var(--s4); }
  .svc-name { grid-column: 1 / span 4; }
  .svc-desc { grid-column: 5 / span 4; }
  .svc-for { grid-column: 9 / span 3; color: var(--ash); font-weight: 400; }
  .svc .arrow { grid-column: 12; grid-row: auto; justify-self: end; margin-right: var(--s2); }
}

/* Lists of things you get (unnumbered: no sequence) */
.inc-grid { display: grid; gap: var(--s7); }
.inc { display: grid; border-top: 1px solid var(--line-strong); }
.inc li { padding: var(--s5) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s1); }
.inc h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 700; font-stretch: var(--semi); line-height: 1.2; }
.inc p { color: var(--ash); max-width: 48ch; }
.good-for h3 { font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--ash); margin-bottom: var(--s3); }
.good-for ul { border-top: 1px solid var(--line-strong); }
.good-for li { padding: var(--s3) 0; border-bottom: 1px solid var(--line); font-weight: 600; }
@media (min-width: 800px) { .inc { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s6); } .inc--single { grid-template-columns: 1fr; } }
@media (min-width: 1000px) {
  .inc-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); }
  .inc-grid .inc { grid-column: 1 / span 8; }
  .inc-grid .good-for { grid-column: 10 / span 3; }
}

/* Steps: a real sequence, so these are numbered */
.steps { display: grid; counter-reset: step; border-top: 1px solid var(--line-strong); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: 1 / span 2; font-size: 1rem; font-weight: 500; line-height: 1.5; color: var(--ash); }
.steps h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 700; font-stretch: var(--semi); line-height: 1.2; }
.steps p { color: var(--ash); max-width: 44ch; margin-top: var(--s1); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--s6); border-top: 0; }
  .steps li { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--line-strong); padding-top: var(--s5); align-content: start; row-gap: var(--s3); }
  .steps li::before { grid-row: auto; }
}

/* FAQs */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 64px; padding: var(--s4) 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 700; font-stretch: var(--semi); line-height: 1.3; }
.faq-mark { position: relative; flex: none; width: 18px; height: 18px; }
.faq-mark::before, .faq-mark::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--ash); transition: transform var(--mid) var(--ease); }
.faq-mark::after { transform: rotate(90deg); }
.faq details[open] .faq-mark::after { transform: rotate(0deg); }
.faq summary:hover .faq-mark::before, .faq summary:hover .faq-mark::after { background: var(--orange); }
.faq details p { padding-bottom: var(--s5); color: var(--ash); max-width: 60ch; }
@media (min-width: 1000px) {
  .faq-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); }
  .faq-wrap .sec-head { grid-column: 1 / span 5; display: block; margin-bottom: 0; }
  .faq-wrap .sec-title { max-width: 11ch; }
  .faq-wrap .faq { grid-column: 7 / span 6; align-self: start; }
}

/* ── Paper sections (documents and proof) ─────────────────── */
.sec--paper {
  --ash: var(--stone); --line: var(--line-light); --line-strong: var(--line-strong-light);
  background: var(--bone); color: var(--obsidian); border-top-color: var(--bone);
}
.sec--paper :focus-visible { outline-color: var(--obsidian); }
.sec--paper ::selection { background: var(--obsidian); color: var(--bone); }
.sec--paper .link { text-decoration-color: var(--ember); }
.sec--paper .link:hover { color: var(--ember); }
.record { display: grid; gap: var(--s8); align-items: start; }
.record .sec-head { margin-bottom: var(--s7); }
.record .sec-title { max-width: 12ch; }
@media (min-width: 1000px) {
  .record { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); }
  .record > :first-child { grid-column: 1 / span 6; }
  .record > .doc-fig { grid-column: 7 / span 6; }
  .record .sec-head { display: block; }
}
.promises { border-top: 2px solid var(--obsidian); }
.promises li { padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.promises h3, .line-list h3 { font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--stone); margin-bottom: var(--s1); line-height: 1.4; }
.promises p { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; max-width: 40ch; }
.record-more { margin-top: var(--s5); }

.line-list { display: grid; border-top: 2px solid var(--obsidian); }
.line-list li { padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.line-list h3 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; font-stretch: var(--condensed); letter-spacing: 0.005em; line-height: 0.95; color: var(--obsidian); margin-bottom: var(--s3); }
.line-list p { max-width: 36ch; font-size: 1.0625rem; line-height: 1.55; }
@media (min-width: 800px) {
  .line-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .line-list li { border-bottom: 0; padding-right: var(--s6); }
  .line-list li + li { border-left: 1px solid var(--line); padding-left: var(--s6); }
}

/* The sample report: greyscale, with the shield in one-colour obsidian */
.doc-fig { display: grid; gap: var(--s3); }
.doc { background: var(--bone-2); border: 1px solid var(--line-strong-light); color: var(--obsidian); font-size: 0.9375rem; line-height: 1.5; }
.doc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); padding: var(--s5); border-bottom: 2px solid var(--obsidian); }
.doc-id { display: flex; align-items: center; gap: var(--s3); }
.doc-id svg { width: 22px; height: auto; --shield: var(--obsidian); }
.doc-id b { font-size: 1.375rem; font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; }
.doc-ref { font-size: 0.8125rem; font-weight: 600; color: var(--stone); text-align: right; }
.doc-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line-light); }
.doc-meta div { padding: var(--s3) var(--s5); border-bottom: 1px solid var(--line-light); }
.doc-meta div:nth-child(odd) { border-right: 1px solid var(--line-light); }
.doc-meta div:nth-last-child(-n+2) { border-bottom: 0; }
.doc-meta dt { font-size: 0.75rem; font-weight: 600; color: var(--stone); }
.doc-meta dd { font-weight: 600; }
.doc-meta dd.data, .doc-meta .data { font-weight: 500; }
.doc-log { width: 100%; border-collapse: collapse; }
.doc-log caption { text-align: left; padding: var(--s4) var(--s5) var(--s2); font-size: 0.75rem; font-weight: 600; color: var(--stone); }
.doc-log th, .doc-log td { text-align: left; vertical-align: top; padding: var(--s3) var(--s5); border-top: 1px solid var(--line-light); }
.doc-log th { width: 5.5rem; font-size: 0.875rem; font-weight: 500; line-height: 1.6; }
.doc-foot { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding: var(--s4) var(--s5); border-top: 2px solid var(--obsidian); font-size: 0.8125rem; color: var(--stone); }
.doc-fig figcaption { font-size: 0.875rem; color: var(--stone); }
@media (max-width: 479px) {
  .doc-head, .doc-meta div, .doc-log th, .doc-log td, .doc-foot { padding-left: var(--s4); padding-right: var(--s4); }
  .doc-log th { width: 4.25rem; }
}

/* ── Area: a real map, behind the cookie prompt ─────────── */
.area { display: block; }
@media (min-width: 1000px) { [data-map="area"] .map-frame { aspect-ratio: 21 / 9; } }
/* While maps are off, the frame is a compact strip instead of an empty map-sized box */
.map:not(.is-on) .map-frame { aspect-ratio: auto; }
@media (min-width: 800px) {
  .map:not(.is-on) .map-gate { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: var(--s6); row-gap: var(--s2); align-items: center; }
  .map:not(.is-on) .map-gate-pin { grid-row: 1 / span 2; margin: 0; padding: 0; }
  .map:not(.is-on) .map-gate-title { grid-column: 2; }
  .map:not(.is-on) .map-gate-text { grid-column: 2; }
  .map:not(.is-on) .map-gate .btn { grid-column: 3; grid-row: 1; margin: 0; justify-self: end; }
  .map:not(.is-on) .map-gate-note { grid-column: 3; grid-row: 2; max-width: 30ch; text-align: right; }
  .contact-info .map:not(.is-on) .map-gate { display: flex; align-items: flex-start; }
  .contact-info .map:not(.is-on) .map-gate-note { text-align: left; }
}
.map { display: grid; gap: var(--s3); }
.map-frame { position: relative; display: grid; aspect-ratio: 4 / 3; background: var(--obsidian-2); border: 1px solid var(--line); }
/* no overflow: hidden here, or the aspect ratio stops growing to fit the gate text (Leaflet clips its own canvas) */
.map-canvas { overflow: hidden; }
[data-map="office"] .map-frame { aspect-ratio: 1 / 1; }
.map-canvas { position: absolute; inset: 0; background: #0E0F11; }
/* the gate sits in the flow, so the frame grows if its text needs more room than the aspect ratio gives */
.map-canvas:focus { outline: none; }
.map-gate {
  position: relative; grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--s3);
  padding: clamp(20px, 4vw, 40px);
  background: var(--obsidian-2);
}
.map-gate-pin { width: 30px; height: auto; margin-bottom: auto; padding-bottom: var(--s5); box-sizing: content-box; }
.map-gate-title { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase; line-height: 0.95; }
.map-gate-text { color: var(--ash); max-width: 40ch; line-height: 1.55; }
.map-gate .btn { margin-top: var(--s2); }
.map-gate-note { font-size: 0.8125rem; color: var(--ash); max-width: 44ch; line-height: 1.5; }
.map.is-on .map-gate { display: none; }
.map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s5); font-size: 0.8125rem; color: var(--ash); line-height: 1.5; }
.map figcaption button { background: none; border: 0; padding: 0; color: var(--bone); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; cursor: pointer; font-size: inherit; }
.map figcaption button:hover { text-decoration-color: var(--orange); }
.map-credit a { color: var(--ash); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; }
.map-directions { color: var(--bone); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 0.2em; }
/* Leaflet, restyled to the brand */
.map .leaflet-container { background: #0E0F11; font-family: var(--font); }
/* OpenStreetMap's light tiles, turned into a dark map in the brand's warm greys */
.map .leaflet-tile-pane { filter: grayscale(1) invert(1) sepia(0.12) brightness(0.82) contrast(1.18); }
.map .leaflet-control-attribution { display: none; }
.map .leaflet-control-zoom { border: 0 !important; box-shadow: none !important; }
.map .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; background: var(--obsidian); color: var(--bone); border: 1px solid var(--line-strong) !important; border-radius: 0 !important; font: 700 1.25rem/42px var(--font); }
.map .leaflet-control-zoom a:hover { background: var(--graphite); color: var(--orange); }
.map-pin svg { width: 30px; height: auto; display: block; }
.map-plate { overflow: visible; }
/* "Our office" on a small obsidian plate beside the pin (wide maps only) */
.map-label {
  position: absolute; left: 0; top: 0; transform: translate(22px, -33px); white-space: nowrap;
  padding: 4px 8px; background: var(--obsidian); border: 1px solid var(--line-strong); color: var(--bone);
  font-family: var(--font); font-size: 13px; font-weight: 600; line-height: 1.2;
}

.sectors h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 700; font-stretch: var(--semi); line-height: 1.15; margin-bottom: var(--s4); }
.sectors .sub-title { margin-bottom: var(--s4); }
.sectors ul { border-top: 1px solid var(--line-strong); }
.sectors li { border-bottom: 1px solid var(--line); }
.sectors a { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 52px; color: var(--bone); text-decoration: none; font-size: 1.0625rem; }
.sectors a .arrow { width: 18px; height: 18px; color: var(--ash); transition: color var(--fast) var(--ease), transform var(--mid) var(--ease); }
.sectors a:hover .arrow { color: var(--orange); transform: translateX(3px); }
.sectors > p { margin-top: var(--s5); color: var(--ash); max-width: 40ch; }
.sectors--narrow { max-width: 560px; }
.sitemap-grid { display: grid; gap: var(--s7); }
@media (min-width: 800px) { .sitemap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s6); } }

/* ── Careers ──────────────────────────────────────────────── */
.careers { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 1000px) { .careers { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); } .careers-copy { grid-column: 1 / span 5; } .careers .roles { grid-column: 7 / span 6; } }
.careers-copy p { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 40ch; }
.careers-copy p + p { margin-top: var(--s4); color: var(--ash); font-size: 1rem; }
.careers-copy .btn { margin-top: var(--s6); }
.roles { border-top: 1px solid var(--line-strong); }
.roles li { border-bottom: 1px solid var(--line); }
.roles a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s1) var(--s4); align-items: center; padding: var(--s5) 0; color: var(--bone); text-decoration: none; }
.role-t { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; font-stretch: var(--semi); line-height: 1.2; }
.role-m, .role-s { grid-column: 1; font-size: 0.9375rem; color: var(--ash); }
.role-s { color: var(--bone); max-width: 56ch; }
.role-go { grid-row: 1 / span 3; grid-column: 2; display: flex; align-items: center; gap: var(--s2); font-size: 0.9375rem; font-weight: 600; }
.role-go .arrow { width: 18px; height: 18px; transition: transform var(--mid) var(--ease), color var(--fast) var(--ease); }
.roles a:hover .role-go .arrow { color: var(--orange); transform: translateX(3px); }
.after-list { margin-top: var(--s5); color: var(--ash); }

/* ── Forms ────────────────────────────────────────────────── */
.contact { display: grid; gap: var(--s8); align-items: start; }
@media (min-width: 1000px) {
  .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); }
  .contact-form { grid-column: 1 / span 7; }
  .contact-info { grid-column: 9 / span 4; position: sticky; top: calc(var(--bar-h) + 24px); }
}
.form-intro { margin: var(--s3) 0 var(--s6); color: var(--ash); max-width: 56ch; }
.form-wrap > .form { max-width: 760px; }
.form { display: grid; gap: var(--s6); }
.form fieldset { border: 0; padding: 0; min-width: 0; display: grid; gap: var(--s5); }
.form > fieldset { border-top: 1px solid var(--line-strong); padding-top: var(--s5); }
.form legend { padding: 0; margin-bottom: var(--s4); font-size: 1.125rem; font-weight: 700; font-stretch: var(--semi); color: var(--bone); }
.field { display: grid; gap: var(--s2); min-width: 0; }
.field--short { max-width: 12rem; }
.field-row { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label, .choices > legend { font-weight: 600; font-size: 1rem; line-height: 1.4; color: var(--bone); letter-spacing: 0; text-transform: none; font-stretch: 100%; }
.opt { font-weight: 400; color: var(--ash); font-size: 0.875rem; margin-left: var(--s1); }
.hint { font-size: 0.875rem; color: var(--ash); line-height: 1.4; margin-top: -4px; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea, .copy-text {
  width: 100%; min-height: 48px; padding: 10px 14px; background: var(--obsidian-2); color: var(--bone);
  border: 1px solid var(--line-strong); border-radius: 0; font-size: 1rem; line-height: 1.5;
  transition: border-color var(--fast) var(--ease);
}
.form textarea, .copy-text { min-height: 120px; resize: vertical; }
.form select { appearance: none; -webkit-appearance: none; background-color: var(--obsidian-2); color: var(--bone);
  background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.form select option { background: var(--obsidian-2); color: var(--bone); }
.form ::placeholder { color: var(--placeholder); opacity: 1; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--ash); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.choices { display: flex !important; flex-wrap: wrap; gap: var(--s2) !important; }
.choices > legend { width: 100%; margin-bottom: var(--s3); }
.choice { position: relative; display: inline-flex; align-items: center; min-height: 48px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 10px 16px; border: 1px solid var(--line-strong); font-weight: 600; transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.choice:hover span { border-color: var(--ash); }
.choice input:checked + span { background: var(--bone); color: var(--obsidian); border-color: var(--bone); }
.choice input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.field-error { display: flex; gap: var(--s2); align-items: baseline; color: var(--orange); font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.field-error::before { content: '!'; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; background: var(--orange); color: var(--obsidian); font-weight: 800; font-size: 0.75rem; transform: translateY(2px); }
[aria-invalid="true"] { border-color: var(--orange) !important; }
.form-actions { display: grid; gap: var(--s3); justify-items: start; }
.form-note { color: var(--ash); font-size: 0.9375rem; }
.form-status { border: 1px solid var(--line-strong); background: var(--obsidian-2); padding: clamp(20px, 4vw, 32px); display: grid; gap: var(--s4); }
.form-status:focus { outline: none; }
.form-status > div { display: grid; gap: var(--s3); }
.form-status-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase; line-height: 0.95; }
.form-status p { color: var(--ash); max-width: 56ch; }
.form-status-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.copy-text { font-family: var(--mono); font-size: 0.875rem; line-height: 1.6; color: var(--bone); white-space: pre-wrap; }

.contact-info { display: grid; gap: var(--s6); }
.ci-block { display: grid; gap: var(--s2); padding-top: var(--s5); border-top: 1px solid var(--line-strong); }
.foot-h { font-size: 0.875rem; font-weight: 600; color: var(--ash); line-height: 1.4; margin: 0; }
.ci-tel { color: var(--bone); text-decoration: none; font-size: clamp(1.5rem, 2.3vw, 1.875rem); font-weight: 600; line-height: 1.15; justify-self: start; }
.ci-tel:hover { color: var(--orange); }
.ci-block p, .ci-block address { color: var(--bone); font-style: normal; line-height: 1.6; }
.ci-block p.muted { color: var(--ash); }

/* ── Prose (legal pages) ──────────────────────────────────── */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 700; font-stretch: var(--semi); line-height: 1.2; margin: var(--s7) 0 var(--s3); padding-top: var(--s5); border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: var(--s4); }
.prose ul { display: grid; gap: var(--s3); padding-left: 0; }
.prose li { position: relative; padding-left: var(--s5); }
.prose li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--ash); }
.prose a { color: inherit; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 0.22em; overflow-wrap: anywhere; }
.prose a:hover { color: var(--orange); }
.prose strong { font-weight: 700; }
.prose code { font-family: var(--mono); font-size: 0.875em; font-weight: 400; background: var(--obsidian-2); padding: 1px 6px; border: 1px solid var(--line); }
.ticks { display: grid; gap: var(--s2); }
.ticks li { position: relative; padding-left: var(--s6); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 2px solid var(--bone); border-bottom: 2px solid var(--bone); transform: rotate(-45deg); }

.facts-list { border-top: 1px solid var(--line-strong); }
.facts-list > div { display: grid; gap: var(--s1); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.facts-list dt { font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--ash); }
.facts-list dd { font-size: 1.0625rem; }
@media (min-width: 640px) { .facts-list > div { grid-template-columns: 12rem minmax(0, 1fr); column-gap: var(--s5); align-items: baseline; } }

/* ── Finale: the page ends on the brand colour ────────────── */
.sec--signal { --ash: var(--obsidian); --line: var(--line-on-orange); background: var(--orange); color: var(--obsidian); border-top-color: var(--orange); overflow: hidden; }
.sec--signal :focus-visible { outline-color: var(--obsidian); }
.sec--signal ::selection { background: var(--obsidian); color: var(--orange); }
.finale { display: grid; gap: var(--s6); }
.finale-tel {
  display: inline-block; color: var(--obsidian); text-decoration: none;
  /* thirteen characters at 0.65em each, so 8.5em fills the column without breaking */
  font-size: min(calc((min(100vw, var(--max) + 2 * var(--gutter)) - 2 * var(--gutter)) / 8.5), 10rem);
  font-weight: 700; line-height: 1; white-space: nowrap; min-height: 44px;
}
.finale-tel:hover { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.08em; }
.finale-row { display: grid; gap: var(--s5); padding-top: var(--s5); border-top: 2px solid var(--obsidian); align-items: end; }
.finale-row p { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; max-width: 44ch; }
.finale-row p b { font-weight: 700; }
.finale-lockup { height: 64px; width: auto; --shield: var(--obsidian); --word: var(--obsidian); }
@media (min-width: 900px) { .finale-row { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) auto; column-gap: var(--s7); } .finale-row .btn { justify-self: start; } }
@media (max-width: 599px) { .finale-row .btn { width: 100%; } .finale-lockup { height: 52px; } }

/* ── Footer: three calm rows ─────────────────────────────── */
.foot { padding-top: clamp(48px, 6vw, 80px); padding-bottom: var(--s6); background: var(--obsidian); border-top: 1px solid var(--line); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4) var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid var(--line); }
.foot-brand { display: inline-flex; min-height: 44px; align-items: center; }
.foot-brand svg { height: 40px; width: auto; }
.foot-nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bone); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.foot-nav a:hover { color: var(--orange); }
.foot-contact { display: grid; gap: var(--s5); padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
.foot-contact p { display: grid; gap: var(--s1); align-content: start; font-size: 0.9375rem; line-height: 1.5; }
.foot-contact a { color: var(--bone); text-decoration: none; overflow-wrap: anywhere; justify-self: start; }
.foot-contact a:hover { color: var(--orange); }
.foot-contact .muted { color: var(--ash); }
.foot-big { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
@media (min-width: 800px) { .foot-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s6); } }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2) var(--s6); padding-top: var(--s4); font-size: 0.8125rem; color: var(--ash); line-height: 1.6; }
.foot-legal p { max-width: 72ch; }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.foot-legal a, .foot-cookies {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  color: var(--ash); font-size: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em;
}
.foot-legal a:hover, .foot-cookies:hover { color: var(--bone); }
@media (pointer: coarse) {
  .ci-block a, .map-directions, .map figcaption button { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .map-gate .btn, .btn--sm { min-height: 44px; }
  .faq summary { min-height: 64px; }
}
/* Phones: the menu already lists every page, so the footer keeps only what you act on */
@media (max-width: 699px) { .foot-nav { display: none; } }

/* ── Cookie prompt: not a wall. Two equal choices, and the page stays usable ── */
.consent {
  position: fixed; z-index: 40; left: var(--gutter); bottom: var(--gutter); width: min(440px, calc(100vw - 2 * var(--gutter)));
  display: grid; gap: var(--s3); padding: var(--s5); background: var(--obsidian-2); border: 1px solid var(--line-strong);
}
.consent-title { font-size: 1.25rem; font-weight: 700; font-stretch: var(--semi); line-height: 1.2; }
.consent p { color: var(--ash); font-size: 0.9375rem; line-height: 1.55; }
.consent-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); }
.consent-actions .btn { flex: 1 1 0; }
@media (max-width: 699px) {
  .consent { left: 0; right: 0; bottom: 0; width: auto; gap: var(--s2); border-width: 1px 0 0; padding: var(--s4) var(--gutter) calc(var(--s4) + env(safe-area-inset-bottom)); }
  .consent-title { font-size: 1.0625rem; }
  .consent p { font-size: 0.875rem; line-height: 1.5; }
  .consent-open .dock { display: none; }
}

/* ── Phone dock: appears once the page's own actions scroll away ── */
.dock { display: none; }
@media (max-width: 699px) {
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s2);
    padding: var(--s2) var(--gutter) calc(var(--s2) + env(safe-area-inset-bottom));
    background: var(--obsidian); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform var(--mid) var(--ease);
  }
  .dock.on { transform: none; }
  .dock .btn { min-height: 52px; padding: 0 8px; }
  .cover-actions .btn, .page-actions .btn { flex: 1 1 100%; }
  .foot { padding-bottom: calc(var(--s6) + 72px); }
  /* keep keyboard focus and anchor jumps clear of the dock */
  html { scroll-padding-bottom: 88px; }
}

/* ── Motion: one entrance, nothing else moves on load ─────── */
@media (prefers-reduced-motion: no-preference) {
  .js .dl, .js .lede, .js .cover-actions, .js .page-title, .js .page-lede, .js .page-actions { animation: rise 700ms var(--ease) both; }
  .js .dl:nth-child(1), .js .page-title { animation-delay: 60ms; }
  .js .dl:nth-child(2) { animation-delay: 130ms; }
  .js .dl:nth-child(3), .js .page-lede { animation-delay: 200ms; }
  .js .lede, .js .page-actions { animation-delay: 300ms; }
  .js .cover-actions { animation-delay: 360ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media print {
  .bar, .dock, .map, .skip { display: none !important; }
  body { background: #fff; color: #000; }
}
