/* ───────── Pastras Co — site styles ─────────
   Shares the visual system of DPD Advisory (dpd-advisory.com):
   white paper, hairline rules, brown controls, one blue technical accent.
   Change colours and fonts once, here in :root. */

:root {
  --paper: #ffffff;
  --surface: #f4f4f2;      /* alternate section background */
  --surface-2: #eeece5;
  --ink: #13100f;          /* body text */
  --heading: #202122;
  --muted: #53565a;        /* secondary text */
  --soft: #8a7d71;         /* accent words in headings */
  --line: #d9dad8;         /* hairlines */
  --line-strong: #bdbbb5;
  --brown: #3b2300;        /* buttons, brand */
  --brown-hover: #594021;
  --tech: #245dde;         /* technical accent: numbers, active lines */
  --gold: #d4a72c;
  --font: "Noto Sans", "Noto Sans Variable", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1200px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.68 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--tech); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }
.ico { display: inline-block; flex: none; vertical-align: -2px; }

/* ── Type ── */
.eyebrow {
  display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--heading); margin-bottom: 20px;
}
.display, .h2, .h3, .h4 { color: var(--heading); font-weight: 500; text-wrap: balance; }
.display { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 24px; }
.display.xl { font-size: clamp(40px, 5.4vw, 60px); }
.h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.18; letter-spacing: -.035em; margin-bottom: 20px; }
.h3 { font-size: 18px; line-height: 1.45; letter-spacing: -.02em; font-weight: 600; margin-bottom: 8px; }
.h4 { font-size: 16px; line-height: 1.45; font-weight: 600; margin-bottom: 4px; }
.display em, .h2 em, .h3 em { font-style: normal; color: var(--soft); }
.lede { font-size: 17px; color: var(--muted); max-width: 36em; margin-bottom: 32px; }
.muted { color: var(--muted); }
.body-lg { font-size: 16.5px; margin-bottom: 28px; }
.small { font-size: 13px; }
.prose p + p { margin-top: 1em; }
.note { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.num {
  display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em;
  color: var(--muted); margin-bottom: 14px; font-variant-numeric: tabular-nums;
}

/* ── Buttons & links ── */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 13px 20px;
  font: 500 14.5px/1 var(--font); text-decoration: none; border-radius: var(--radius);
  border: 1px solid var(--ink); cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--brown); border-color: var(--brown); color: #fff; }
.btn-primary:hover { background: var(--brown-hover); border-color: var(--brown-hover); }
.btn-outline { background: var(--paper); color: var(--heading); }
.btn-outline:hover { background: var(--heading); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500;
  color: var(--heading); text-decoration: none; padding: 4px 0;
}
.text-link .ico { transition: transform .15s; }
.text-link:hover { color: var(--tech); }
.text-link:hover .ico { transform: translateX(3px); }
.link-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

/* ── Header ── */
.num-card[id] { scroll-margin-top: 140px; }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brown); }
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; padding-left: 12px; border-left: 1px solid var(--line-strong); }
.brand-mark { font-size: 22px; font-weight: 650; letter-spacing: -.045em; line-height: 1.05; color: var(--brown); }
.brand-text small { font-size: 8.5px; font-weight: 600; letter-spacing: .12em; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; align-items: center; gap: 18px; }
.site-nav ul a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-color: var(--ink); }
.nav-external { color: var(--brown); }
.lang-switch { color: var(--muted); text-decoration: underline !important; text-underline-offset: 3px; }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; }

/* Practice switcher (Pastras Co ↔ DPD Advisory) */
.practice-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.practice-inner { display: flex; gap: 0; min-height: 36px; align-items: stretch; overflow-x: auto; }
.practice {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; font-size: 12.5px; font-weight: 500;
  color: var(--muted); text-decoration: none; white-space: nowrap; border-right: 1px solid var(--line);
}
.practice:first-child { padding-left: 0; }
.practice.is-current { color: var(--heading); box-shadow: inset 0 -2px 0 var(--tech); }
.practice:first-child.is-current { padding-left: 0; }
.practice:not(.is-current):hover { color: var(--tech); }

/* ── Homepage hero ── */
.home-hero { padding: 64px 0 88px; border-bottom: 1px solid var(--line); }
.home-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.motto { display: flex; align-items: center; gap: 16px; margin-top: 56px; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.rule { display: inline-block; width: 40px; height: 1px; background: var(--tech); }
.home-hero-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.hero-frame { position: relative; }
.blueprint { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.blueprint path, .blueprint circle { fill: none; stroke: rgba(255, 255, 255, .78); stroke-width: 1; vector-effect: non-scaling-stroke; }
.blueprint .bp-grid path { stroke-dasharray: 6 5; stroke: rgba(255, 255, 255, .55); }
.blueprint .bp-bubbles circle { fill: rgba(19, 16, 15, .35); }
.blueprint text { font: 500 10px var(--mono); fill: #fff; text-anchor: middle; }
.blueprint .bp-dim path { stroke: var(--tech); }
.blueprint .bp-acc path, .blueprint .bp-acc circle { stroke: #fff; stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .blueprint .bp-dim path, .blueprint .bp-corners path, .blueprint .bp-acc path, .blueprint .bp-acc circle {
    stroke-dasharray: 1; stroke-dashoffset: 1; animation: bp-draw 1.4s cubic-bezier(.4, 0, .2, 1) .3s forwards;
  }
  .blueprint .bp-grid, .blueprint .bp-bubbles { opacity: 0; animation: bp-fade .8s ease .2s forwards; }
  .blueprint .bp-acc path, .blueprint .bp-acc circle { animation-delay: 1.2s; }
}
@keyframes bp-draw { to { stroke-dashoffset: 0; } }
@keyframes bp-fade { to { opacity: 1; } }
.home-hero-img figcaption { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--heading); }
.home-hero-img figcaption .eyebrow { display: inline; margin: 0 8px 0 0; color: var(--tech); }

/* Figures band */
.figures { border-bottom: 1px solid var(--line); }
.figures-inner { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: start; padding-top: 32px; padding-bottom: 32px; }
.figures .eyebrow { margin: 6px 0 0; color: var(--muted); }
.figures-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.figures-list > div { padding: 0 20px; border-left: 1px solid var(--line); min-width: 0; }
.figures-list dt { font: 500 32px/1 var(--font); letter-spacing: -.04em; color: var(--heading); font-variant-numeric: tabular-nums; }
.figures-list dd { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.figures-list > div:first-child dt { color: var(--tech); }

/* Numbered figure captions: Fig. 01, Fig. 02 … per page */
main { counter-reset: fig; }
.fig { counter-increment: fig; }
.fig figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.fig figcaption::before { content: "Fig. " counter(fig, decimal-leading-zero) " · "; font: 500 11px var(--mono); letter-spacing: .04em; color: var(--tech); }
.home-hero-img.fig figcaption .eyebrow { font-family: var(--mono); }

/* ── Inner page hero ── */
.page-hero { padding: 64px 0; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
.page-hero.has-image .page-hero-grid { grid-template-columns: 1.25fr 1fr; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .center .lede { margin: 0 auto 32px; }
.page-hero .center .btn-row { justify-content: center; }
.page-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ── Sections ── */
.section { padding: 88px 0; }
.section + .section:not(.sand):not(.dark) { border-top: 1px solid var(--line); }
.sand, .dark { background: var(--surface); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 48px; }
.split-head.align-start { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.panel { background: var(--paper); padding: 36px; border: 1px solid var(--line); }
.panel .prose { margin-bottom: 24px; }

/* Service cards with line drawings */
.card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.num-card { position: relative; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.num-card::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--tech); transition: width .3s; }
.num-card:hover::before { width: 100%; }
.num-card p { margin-bottom: 16px; font-size: 15px; }
.num-card .text-link { margin-top: auto; }
.num-card.plain { padding-top: 20px; }
.illus { width: 100%; height: auto; max-height: 130px; margin-bottom: 18px; }
.illus .ln { stroke: #9a9b98; stroke-width: 1.2; }
.illus .dim { stroke: #c4c2ba; stroke-width: 1; }
.illus .acc { stroke: var(--tech); stroke-width: 2; }
.illus .acc-dot { fill: var(--tech); }

.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Process steps: a line with nodes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; position: relative; }
.steps li { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--paper); border: 2px solid var(--tech); }
.steps p { color: var(--muted); font-size: 15px; }

.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta .h2 { margin: 0; }

/* Services */
.service-list { border-top: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: 72px 1fr 1.2fr; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-list .num, .service-list .h3 { margin: 0; }
.service-list .num { color: var(--tech); }
.mini-list { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.mini-list li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini-list .num { margin: 3px 0 0; color: var(--tech); }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* Interactive simulation */
.sim { margin: 6px 0 22px; padding: 22px; background: var(--paper); border: 1px solid var(--line-strong); }
.sim-head { margin-bottom: 16px; }
.sim-tag { display: inline-block; font: 500 10.5px var(--mono); letter-spacing: .08em; color: var(--tech); border: 1px solid var(--tech); padding: 2px 6px; margin-bottom: 10px; }
.sim .sim-head p { font-size: 14px; margin: 4px 0 0 !important; }
.sim-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 8px; }
.sim-ctl { display: flex; flex-direction: column; gap: 6px; }
.sim-ctl-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 500; color: var(--heading); }
.sim-ctl output { font: 500 13px var(--mono); color: var(--tech); }
.sim input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
.sim input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--line-strong); }
.sim input[type=range]::-moz-range-track { height: 2px; background: var(--line-strong); }
.sim input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -6px; background: var(--paper); border: 2px solid var(--tech); border-radius: 0; }
.sim input[type=range]::-moz-range-thumb { width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--tech); border-radius: 0; }
.sim input[type=range]:focus-visible { outline: 2px solid var(--tech); outline-offset: 2px; }
.sim-chart { width: 100%; height: auto; display: block; margin: 4px 0 8px; }
.sim-chart .g { stroke: var(--line); stroke-width: 1; }
.sim-chart .a { stroke: #9a9b98; stroke-width: 1; fill: none; }
.sim-chart .c { stroke: var(--heading); stroke-width: 1.6; fill: none; }
.sim-chart .p { fill: var(--paper); stroke: var(--heading); stroke-width: 1; }
.sim-chart .best { fill: var(--tech); }
.sim-chart .cur { fill: none; stroke: var(--brown); stroke-width: 2; }
.sim-chart .guide { stroke: var(--tech); stroke-width: 1; stroke-dasharray: 3 3; }
.sim-chart .t { font: 500 11px var(--mono); fill: var(--muted); }
.sim-chart .ty { text-anchor: end; }
.sim-chart .tx { text-anchor: middle; }
.sim-chart .tx-end { text-anchor: end; font-family: var(--font); }
.sim-chart .ty-start { text-anchor: start; font-family: var(--font); }
.sim-chart .tbest { text-anchor: middle; fill: var(--tech); font-family: var(--font); font-weight: 600; }
.sim-readout { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.sim-readout > div { padding: 10px 14px; border-right: 1px solid var(--line); min-width: 0; }
.sim-readout > div:last-child { border-right: 0; }
.sim-readout dt { font-size: 11.5px; color: var(--muted); }
.sim-readout dd { font: 500 18px var(--mono); color: var(--heading); margin-top: 2px; font-variant-numeric: tabular-nums; }
.sim-readout .is-best dd { color: var(--tech); }
.sim .sim-note { font-size: 12px; color: var(--muted); margin: 10px 0 0 !important; }
.sim-readout .sim-save { font: 400 12px var(--font); color: var(--muted); margin-top: 2px; }
@media (max-width: 560px) { .sim-chart .t { font-size: 14px; } .sim-chart .p { r: 3; } .sim { padding: 16px; } .sim-controls, .sim-readout { grid-template-columns: 1fr; } .sim-readout > div { border-right: 0; border-bottom: 1px solid var(--line); } .sim-readout > div:last-child { border-bottom: 0; } }

/* Analysis examples (operational consulting) */
.examples { display: grid; gap: 0; margin: 4px 0 18px; border-top: 1px solid var(--line); }
.examples li { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.examples .h4 { font-size: 15px; margin-bottom: 2px; }
.examples p { font-size: 14px; margin: 0 !important; }
.anv { width: 150px; height: auto; background: var(--paper); border: 1px solid var(--line); }
.anv .ax { stroke: #9a9b98; stroke-width: 1; }
.anv .grid { stroke: #c4c2ba; stroke-width: 1; }
.anv .bar-a rect { fill: #c9c7c0; }
.anv .bar-b rect { fill: var(--tech); }
.anv .key .ka { fill: #c9c7c0; } .anv .key .kb { fill: var(--tech); }
.anv text { font: 500 7px var(--font); fill: var(--muted); }
.anv .lbl text { text-anchor: end; }
.anv .key text { text-anchor: start; }
.anv .lbl .best-lbl { text-anchor: middle; fill: var(--tech); font-weight: 600; }
.anv .curve { stroke: var(--heading); stroke-width: 1.4; }
.anv .pts circle { fill: var(--paper); stroke: var(--heading); stroke-width: 1; }
.anv .best { fill: var(--tech); }
.anv .guide { stroke: var(--tech); stroke-width: 1; stroke-dasharray: 2 2; }
@media (max-width: 560px) { .examples li { grid-template-columns: 1fr; gap: 10px; } .anv { width: 100%; max-width: 260px; } }

/* Credentials strip (operational consulting) */
.cred { margin: 0 0 18px; }
.cred-lead { font-size: 14px; font-weight: 500; color: var(--heading); margin-bottom: 12px; }
.cred-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.cred-stats > div { padding: 12px 16px; border-right: 1px solid var(--line); min-width: 0; }
.cred-stats > div:last-child { border-right: 0; }
.cred-stats dt { font-size: 24px; font-weight: 500; letter-spacing: -.03em; color: var(--tech); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cred-stats dd { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 4px; }
@media (max-width: 560px) { .cred-stats { grid-template-columns: 1fr; } .cred-stats > div { border-right: 0; border-bottom: 1px solid var(--line); } .cred-stats > div:last-child { border-bottom: 0; } }

/* About stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stats div { padding: 24px 24px 32px; border-bottom: 1px solid var(--line); }
.stats div:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.stats dt { font-size: 40px; font-weight: 500; letter-spacing: -.04em; color: var(--heading); line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stats dd { font-size: 14px; color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px 32px; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item.fig figcaption { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--heading); }

/* Contact */
.contact-list { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.contact-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list dd { font-size: 17px; color: var(--heading); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--tech); }

/* Legal */
.legal .h3 { margin-top: 36px; }
.legal .h3:first-child { margin-top: 0; }

/* ── Form ── */
.form-card { background: var(--paper); border: 1px solid var(--line); padding: 36px; }
.sand .form-card { border-color: var(--line-strong); }
.form-card .h2 { font-size: 26px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--heading); }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 13px; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--tech); box-shadow: 0 0 0 1px var(--tech); }
.field textarea { resize: vertical; min-height: 130px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }

/* ── Footer ── */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 18px; max-width: 30em; }
.footer-brand .footer-note { margin-top: 8px; font-size: 13px; opacity: .8; }
.footer-contact a { text-decoration: none; color: var(--heading); }
.footer-title { font: 600 11px/1 var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--heading); margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a, .footer-links a { text-decoration: none; }
.site-footer a:hover { color: var(--tech); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── Tablet & phone ── */
@media (max-width: 1240px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; font: 500 15px var(--font); background: none; border: 0;
    color: var(--heading); padding: 8px 0; cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 8px 32px 24px; flex-direction: column; align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a { display: flex; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .header-cta { justify-content: center; margin-top: 16px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
}
@media (max-width: 860px) {
  .figures-inner { grid-template-columns: 1fr; gap: 16px; }
  .figures-list { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .figures-list > div:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 20px; }
  .site-nav { padding: 8px 20px 24px; }
  .section { padding: 64px 0; }
  .home-hero { padding: 40px 0 64px; }
  .home-hero-grid, .page-hero.has-image .page-hero-grid, .split-head, .two-col, .media-split, .form-split, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .media-split.reverse > :first-child { order: 2; }
  .page-hero { padding: 44px 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .service-list li { grid-template-columns: 1fr; gap: 4px; }
  .panel, .form-card { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .figures-list { grid-template-columns: 1fr 1fr; }
  .figures-list > div { border-left: 0; padding: 0; }
  .figures-list dt { font-size: 26px; }
  .card-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .brand-mark { font-size: 24px; }
  .stats dt { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
