/* ==========================================================================
   Site theme: "systems blueprint". Cool paper, indigo ink, cobalt signal.
   ========================================================================== */
:root {
  --accent: #2A4BFF;
  --paper: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: #EEF1F7;
  --ink: #10162B;
  --muted: #556079;
  --line: #DCE1EA;
  --line-strong: #C3CADA;
  --signal: #F2A93B;
  --ok: #138A5B;
  --err: #C23A3A;
  --accent-ink: var(--accent);
  --accent-soft: color-mix(in oklab, var(--accent) 9%, transparent);
  --on-accent: #fff;
  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 20px;
  --sec: clamp(64px, 9vw, 120px);
  --shadow: 0 1px 0 rgba(16, 22, 43, .04), 0 12px 32px -18px rgba(16, 22, 43, .28);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D1226; --surface: #141B34; --surface-2: #1A2242; --ink: #E7EBF5; --muted: #9AA4BE;
    --line: #262F4D; --line-strong: #36406A;
    --accent-ink: color-mix(in oklab, var(--accent) 62%, white);
    --accent-soft: color-mix(in oklab, var(--accent) 22%, transparent);
    --shadow: 0 1px 0 rgba(0,0,0,.2), 0 18px 40px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0D1226; --surface: #141B34; --surface-2: #1A2242; --ink: #E7EBF5; --muted: #9AA4BE;
  --line: #262F4D; --line-strong: #36406A;
  --accent-ink: color-mix(in oklab, var(--accent) 62%, white);
  --accent-soft: color-mix(in oklab, var(--accent) 22%, transparent);
  --shadow: 0 1px 0 rgba(0,0,0,.2), 0 18px 40px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--font-body); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.022em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-md); z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons and links ---------- */
.btn {
  --b: var(--accent); display: inline-flex; align-items: center; gap: .55em; padding: .82em 1.3em;
  border-radius: var(--r-md); border: 1.5px solid var(--b); font: 600 .95rem/1.1 var(--font-body);
  text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn .ic { transition: transform .2s ease; }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in oklab, var(--accent) 86%, black); }
.btn-ghost { background: transparent; color: var(--ink); --b: var(--line-strong); }
.btn-ghost:hover { --b: var(--ink); }
.btn-light { background: #fff; color: #10162B; --b: #fff; }
.btn-light:hover { background: #EEF1FF; }
.btn-outline-light { background: transparent; color: #fff; --b: rgba(255,255,255,.55); }
.btn-outline-light:hover { --b: #fff; }
.btn-wa { background: #1FA855; --b: #1FA855; color: #fff; }
.btn-sm { padding: .55em .95em; font-size: .85rem; }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .ic { transition: transform .2s ease; }
.text-link:hover .ic { transform: translateX(3px); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--line-strong); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.12rem/1 var(--font-display); letter-spacing: -.01em; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--ink); color: var(--paper); font: 700 .85rem/1 var(--font-display); letter-spacing: .02em; position: relative; }
.brand-mark::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--paper); }
.brand-mark.big { width: 72px; height: 72px; font-size: 1.6rem; border-radius: 16px; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
:root[data-theme="dark"] .has-alt { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-dark { display: block; }
  :root:not([data-theme="light"]) .has-alt { display: none; }
}
@media (max-width: 420px) { .logo-img { height: 34px; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .15s ease, background .15s ease; }
.nav a:not(.btn):hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle .ic:last-child { display: none; }
:root[data-theme="dark"] .theme-toggle .ic:first-child { display: none; }
:root[data-theme="dark"] .theme-toggle .ic:last-child { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-toggle .ic:first-child, :root[data-theme=""] .theme-toggle .ic:first-child { display: none; } :root:not([data-theme]) .theme-toggle .ic:last-child, :root[data-theme=""] .theme-toggle .ic:last-child { display: block; } }
.menu-toggle { display: none; }
.menu-toggle .ic:last-child { display: none; }
.read-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.layout-landing .nav ul { display: none; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .menu-toggle { display: inline-grid; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; max-height: calc(100vh - 72px); overflow: auto; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { font-size: 1.1rem; padding: 12px 8px; color: var(--ink); }
  .nav-cta { display: inline-flex; justify-content: center; }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .menu-open .menu-toggle .ic:first-child { display: none; }
  .menu-open .menu-toggle .ic:last-child { display: block; }
}

/* ---------- Section rhythm ---------- */
.sec { padding: var(--sec) 0; }
.sec + .sec { padding-top: 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-ink); font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.sec-title { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
.sec-lead { color: var(--muted); font-size: 1.12rem; max-width: 62ch; }
.sec-foot { margin-top: 40px; }
.body-lg { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .86rem; font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { color: var(--accent-ink); margin-top: .25em; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); position: relative; }
.hero + .sec { padding-top: clamp(40px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-title { font-size: clamp(2.2rem, 4.3vw, 3.75rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin-bottom: .5em; max-width: 19ch; }
.hero-text { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(44px, 6vw, 72px) 0 0; border-top: 1px solid var(--line); }
.proof > div { padding: 22px 20px 0 0; }
.proof > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.proof dt { font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--font-display); letter-spacing: -.03em; }
.proof dd { margin: 8px 0 0; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.hero-in { opacity: 0; transform: translateY(14px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* system map */
.hero-visual { position: relative; }
.sysmap { width: 100%; max-width: 560px; margin-left: auto; overflow: visible; }
.sysmap .grid-line { stroke: var(--line); stroke-width: 1; }
.sysmap .orbit { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 7; transform-origin: 260px 260px; animation: spin 90s linear infinite; }
.sysmap .orbit-2 { animation-direction: reverse; animation-duration: 60s; opacity: .7; }
.sysmap .link { fill: none; stroke: var(--line-strong); stroke-width: 1.4; transition: stroke .25s ease, stroke-width .25s ease; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s cubic-bezier(.4,0,.2,1) forwards; animation-delay: .5s; }
.sysmap .link.on { stroke: var(--accent-ink); stroke-width: 2.2; }
.sysmap .packet { fill: var(--accent-ink); }
.sysmap .node { cursor: default; opacity: 0; animation: pop .5s cubic-bezier(.2,.8,.2,1.2) forwards; animation-delay: calc(700ms + var(--d)); transform-box: fill-box; transform-origin: center; }
.sysmap .node rect { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.2; transition: stroke .2s ease, fill .2s ease; filter: drop-shadow(0 6px 12px rgba(16,22,43,.08)); }
.sysmap .node .dot { fill: var(--signal); }
.sysmap .node text { fill: var(--ink); font: 600 13px var(--font-body); }
.sysmap .node:hover rect, .sysmap .node:focus rect, .sysmap .node.on rect { stroke: var(--accent-ink); fill: var(--accent-soft); }
.sysmap .node:focus { outline: none; }
.sysmap .core-ring { fill: none; stroke: var(--accent-ink); stroke-width: 1.2; opacity: .45; transform-origin: 260px 260px; animation: breathe 3.2s ease-in-out infinite; }
.sysmap .core-fill { fill: var(--ink); }
.sysmap .core text { fill: var(--paper); font: 700 16px var(--font-display); letter-spacing: -.01em; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .15; } }

/* ---------- Focus ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.focus-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.focus-item { padding: 24px 24px 26px 0; border-bottom: 1px solid var(--line); }
.focus-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.focus-item dt { color: var(--muted); font-size: .88rem; margin-bottom: 6px; }
.focus-item dd { margin: 0; }
.focus-item strong { display: block; font: 700 1.3rem/1.2 var(--font-display); letter-spacing: -.015em; margin-bottom: 8px; }
.focus-item span { color: var(--muted); font-size: .95rem; }

/* ---------- Ledger (stats) ---------- */
.sec-stats { padding-top: 0; }
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: var(--paper); border-radius: var(--r-lg); overflow: hidden; }
.ledger-item { padding: clamp(24px, 3vw, 36px); position: relative; }
.ledger-item + .ledger-item { border-left: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); }
.ledger-label { font-size: .88rem; opacity: .7; margin-bottom: 18px; }
.ledger-value { font: 800 clamp(1.9rem, 2.9vw, 2.5rem)/1 var(--font-display); letter-spacing: -.035em; margin-bottom: 14px; }
.ledger-value.word { font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.025em; line-height: 1.1; }
.ledger-value small { font-size: .45em; font-weight: 600; letter-spacing: 0; opacity: .8; }
.ledger-text { font-size: .92rem; opacity: .75; margin: 0; line-height: 1.5; }
.ledger-item:first-child .ledger-value { color: color-mix(in oklab, var(--accent) 55%, white); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.fit-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); position: sticky; top: 100px; }
.fit-kicker { color: var(--accent-ink); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.fit-panel h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 18px; }
.fit-panel ul { list-style: none; padding: 0; margin: 0; }
.fit-panel li { padding: 13px 0 13px 26px; border-top: 1px solid var(--line); position: relative; font-size: .97rem; }
.fit-panel li::before { content: ""; position: absolute; left: 2px; top: 1.25em; width: 10px; height: 10px; border: 2px solid var(--accent-ink); border-radius: 50%; }

/* ---------- Solutions index ---------- */
.sol-index { border-top: 1px solid var(--ink); }
.sol { border-bottom: 1px solid var(--line); }
.sol summary { list-style: none; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) 44px; gap: 24px; align-items: center; padding: 26px 0; cursor: pointer; }
.sol summary::-webkit-details-marker { display: none; }
.sol-title { font: 700 clamp(1.15rem, 1.9vw, 1.45rem)/1.2 var(--font-display); letter-spacing: -.015em; transition: color .2s ease; }
.sol-sum { color: var(--muted); font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sol-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .3s ease, background .2s ease, color .2s ease; }
.sol summary:hover .sol-title { color: var(--accent-ink); }
.sol[open] .sol-toggle { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.sol[open] .sol-sum { -webkit-line-clamp: unset; color: var(--ink); }
.sol-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) 44px; gap: 24px; padding: 0 0 30px; animation: open .35s ease; }
.sol-body > * { grid-column: 2; margin-top: 0; }
.sol-body > .text-link { justify-self: start; }
.sol-body p { color: var(--muted); }
.sol-body .chips { margin: 16px 0 20px; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Case studies ---------- */
.cases { display: grid; gap: 20px; }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 44px); padding: clamp(24px, 3.4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.case-sector { color: var(--accent-ink); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.case h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.stack { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stack li { font-size: .8rem; padding: 4px 9px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--muted); }
.case-story h4 { font: 600 .85rem/1 var(--font-body); color: var(--muted); letter-spacing: 0; margin-bottom: 8px; }
.case-story p { font-size: .97rem; }
.case-metrics { margin: 0; display: grid; gap: 0; align-content: start; border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 32px); }
.case-metrics div { padding: 12px 0; }
.case-metrics div + div { border-top: 1px dashed var(--line); }
.case-metrics dt { font: 800 clamp(1.9rem, 3vw, 2.5rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--accent-ink); }
.case-metrics dd { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: t; position: relative; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--accent) var(--tl, 0%), var(--line) var(--tl, 0%)); }
.timeline li { position: relative; padding-right: 28px; }
.tl-step { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent-ink); color: var(--accent-ink); font: 700 1.05rem/1 var(--font-display); margin-bottom: 22px; }
.tl-phase { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.timeline h3 { font-size: 1.28rem; }
.timeline p { color: var(--muted); }

/* ---------- Skills ---------- */
.skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.skill-group { padding: 26px 24px 26px 0; }
.skill-group + .skill-group { padding-left: 24px; border-left: 1px solid var(--line); }
.skill-group h3 { font-size: 1.1rem; margin-bottom: 16px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote blockquote { margin: 0; position: relative; }
.quote blockquote::before { content: "\201C"; display: block; font: 800 4rem/0.6 var(--font-display); color: var(--accent-ink); margin-bottom: 16px; height: 28px; }
.quote p { font: 500 1.08rem/1.55 var(--font-body); margin: 0; }
.quote figcaption { display: flex; flex-direction: column; font-size: .92rem; padding-top: 18px; border-top: 1px solid var(--line); }
.quote figcaption span { color: var(--muted); }

/* ---------- Markets ---------- */
.markets-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.regions li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 2.6s ease-out infinite; animation-delay: calc(var(--i) * .35s); }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.process-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; padding: 22px 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.steps span { font-size: .85rem; color: var(--accent-ink); font-weight: 600; }
.steps p { margin: 0; font: 600 1.12rem/1.35 var(--font-display); letter-spacing: -.01em; }

/* ---------- Publications ---------- */
.pubs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.pub { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.pub-year { font: 700 1.6rem/1 var(--font-display); color: var(--muted); letter-spacing: -.02em; }
.pub-type { font-size: .9rem; color: var(--accent-ink); font-weight: 600; margin-bottom: 8px; }
.pub-type cite { font-style: normal; color: var(--muted); font-weight: 500; }
.pub h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.25; max-width: 60ch; }
.pub h3 a { color: inherit; text-decoration: none; }
.pub h3 a:hover { color: var(--accent-ink); }
.pub-authors { color: var(--muted); font-size: .93rem; font-style: italic; }
.pub-body > p:not(.pub-type):not(.pub-authors):not(.pub-links) { max-width: 70ch; }
.pub-links { display: flex; gap: 22px; margin: 0; }

/* ---------- Leadership ---------- */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.role { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.role-title { color: var(--accent-ink); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.role h3 { font-size: 1.5rem; }
.role > p { color: var(--muted); }
.role-meta { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--muted); display: grid; gap: 4px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer; font: 600 1.1rem/1.35 var(--font-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .3s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq-a { padding: 0 52px 22px 0; color: var(--muted); animation: open .3s ease; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); background: var(--accent); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); color: #fff; margin-bottom: .3em; }
.cta-band p { opacity: .88; margin: 0; max-width: 52ch; font-size: 1.08rem; }
.cta-band .eyebrow { color: #fff; opacity: .85; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-email a { display: inline-flex; align-items: center; gap: 10px; font: 600 1.15rem/1.3 var(--font-display); color: var(--ink); text-decoration: none; }
.contact-email a:hover { color: var(--accent-ink); }
.include { margin-top: 32px; padding: 24px; border-radius: var(--r-md); background: var(--surface-2); }
.include h3 { font-size: 1.05rem; }
.include ul { margin: 0 0 16px; padding-left: 1.1em; color: var(--muted); }
.include-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; font-size: .93rem; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; font-weight: 600; font-size: .92rem; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field textarea, .search-big input, .footer-search input {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 13px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .search-big input:focus, .footer-search input:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { padding: 12px 16px; border-radius: var(--r-md); font-weight: 500; margin: 0; }
.form-note.ok, .form-status.ok { background: color-mix(in oklab, var(--ok) 12%, transparent); color: var(--ok); }
.form-note.err, .form-status.err { background: color-mix(in oklab, var(--err) 12%, transparent); color: var(--err); }
.form-status:empty { display: none; }
.form-status { padding: 12px 16px; border-radius: var(--r-md); margin: 0; font-weight: 500; }

/* ---------- Page hero and flow ---------- */
.page-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; max-width: 20ch; margin-bottom: .3em; }
.page-lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; margin: 0; }
.page-hero-img { margin-top: 36px; border-radius: var(--r-lg); width: 100%; max-height: 520px; object-fit: cover; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }
.draft-flag { display: inline-block; margin-top: 16px; padding: 6px 12px; border-radius: var(--r-sm); background: var(--signal); color: #10162B; font-size: .85rem; font-weight: 600; }
.page-flow > :not(.sec):not(section) { max-width: 760px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: content-box; }
.page-flow > :not(.sec):not(section):last-child { margin-bottom: var(--sec); }
.page-flow > .sec:first-child, .page-flow.starts-section > .sec:first-child { padding-top: 0; }
.page-flow > p:first-child { font-size: 1.15rem; }
.page-flow > :not(.sec) + .sec { padding-top: var(--sec); }
.page-flow h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.page-flow h3 { font-size: 1.3rem; margin-top: 1.4em; }
.page-flow ul, .prose ul { padding-left: 1.2em; }
.page-flow li, .prose li { margin-bottom: .45em; }
.page-flow img, .prose img { border-radius: var(--r-md); margin: 1.4em auto; }
.page-flow figure, .prose figure { margin: 1.6em 0; }
.page-flow figcaption, .prose figcaption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: -.6em; }
.page-flow table, .prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; display: block; overflow-x: auto; }
.page-flow td, .page-flow th, .prose td, .prose th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.page-flow blockquote, .prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font: 500 1.2rem/1.5 var(--font-display); }
.page-flow iframe, .prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-md); }
.page-flow pre, .prose pre { background: var(--ink); color: var(--paper); padding: 18px; border-radius: var(--r-md); overflow-x: auto; font-size: .9rem; }
.page-flow code, .prose code { font-size: .9em; background: var(--surface-2); padding: 2px 6px; border-radius: 4px; }
.page-flow pre code, .prose pre code { background: none; padding: 0; }
.alignleft { float: left; margin: .4em 1.4em 1em 0 !important; max-width: 45%; }
.alignright { float: right; margin: .4em 0 1em 1.4em !important; max-width: 45%; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }

/* ---------- Articles ---------- */
.narrow { max-width: calc(1032px + 2 * var(--gutter)); }
.article-head h1, .article-dek { max-width: 24ch; }
.article-dek { max-width: 62ch; }
.narrow-wide { max-width: calc(1032px + 2 * var(--gutter)); }
.article-head { padding: clamp(32px, 5vw, 64px) 0 0; }
.article-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; letter-spacing: -.033em; }
.article-dek { font-size: 1.22rem; color: var(--muted); }
.byline { font-size: .95rem; color: var(--muted); }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.article-img { width: 100%; border-radius: var(--r-lg); margin-top: 32px; max-height: 560px; object-fit: cover; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.post-meta a, .post-meta span:first-child { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 5vw, 72px); justify-content: center; padding-top: clamp(32px, 5vw, 56px); padding-bottom: var(--sec); }
.article-aside { position: sticky; top: 100px; align-self: start; font-size: .9rem; }
.toc p, .share p { font-weight: 700; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0 0 28px; padding: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 5px 0 5px 14px; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.35; }
.toc li.l3 a { padding-left: 26px; font-size: .85rem; }
.toc li a:hover, .toc li a.on { color: var(--ink); border-left-color: var(--accent); }
.share { display: flex; flex-direction: column; gap: 6px; }
.share a { color: var(--muted); text-decoration: none; }
.share a:hover { color: var(--accent-ink); }
.tldr { padding: 22px 24px; border-radius: var(--r-md); background: var(--accent-soft); border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent); margin-bottom: 36px; }
.tldr-title { font: 700 1rem/1 var(--font-display); color: var(--accent-ink); margin-bottom: 12px; }
.tldr ul { margin: 0; padding-left: 1.1em; }
.tldr li { margin-bottom: 6px; }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 2.5vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.28rem; margin-top: 1.5em; }
.prose > *:first-child { margin-top: 0; }
.article-faq { margin-top: 48px; }
.article-faq h2 { font-size: 1.6rem; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tags a { font-size: .9rem; text-decoration: none; }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 20px; margin-top: 48px; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.author-box img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }
.author-name { font: 700 1.15rem/1.2 var(--font-display); margin-bottom: 2px; }
.author-role { color: var(--accent-ink); font-size: .9rem; font-weight: 600; }
.author-box p { margin-bottom: .6em; font-size: .97rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.post-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 22px 24px 26px; }
.post-card h3 { font-size: 1.2rem; line-height: 1.25; }
.post-card-body > p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-filter a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500; }
.cat-filter a[aria-current="page"], .cat-filter a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: var(--r-md); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.empty { color: var(--muted); font-size: 1.1rem; }
.search-big { display: flex; gap: 10px; max-width: 620px; margin: 22px 0; }
.search-results { list-style: none; padding: 0; margin: 0; max-width: 820px; }
.search-results li { border-bottom: 1px solid var(--line); }
.search-results a { display: block; padding: 22px 0; color: inherit; text-decoration: none; }
.search-results h2 { font-size: 1.3rem; margin-bottom: 4px; }
.search-results a:hover h2 { color: var(--accent-ink); }
.search-url { font-size: .85rem; color: var(--ok); margin-bottom: 6px; }
.notfound { min-height: 56vh; }
.notfound h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.nf-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: color-mix(in oklab, var(--paper) 78%, transparent); padding: clamp(56px, 7vw, 88px) 0 28px; margin-top: 0; }
:root[data-theme="dark"] .site-footer { background: #090D1D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background: #090D1D; } }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: #fff; color: #10162B; }
.site-footer .brand-mark::after { border-color: var(--ink); }
.site-footer a { color: inherit; }
.site-footer .text-link { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { max-width: 38ch; font-size: .95rem; margin-top: 18px; }
.footer-col h2 { font: 600 .95rem/1 var(--font-body); color: #fff; letter-spacing: 0; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-search { display: flex; gap: 8px; }
.footer-search input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.footer-search input::placeholder { color: rgba(255,255,255,.5); }
.footer-search button { width: 48px; border-radius: var(--r-md); border: 0; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }
.footer-base p { margin: 0; display: flex; gap: 18px; }

/* ---------- Chat widget ---------- */
.chat-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font: 600 .95rem/1 var(--font-body); cursor: pointer; box-shadow: 0 12px 30px -10px rgba(16,22,43,.55); text-decoration: none; transition: transform .2s ease; }
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher .ic { width: 22px; height: 22px; }
.chat-launcher.wa-only { background: #1FA855; color: #fff; }
.chat-open .chat-launcher { transform: scale(0); pointer-events: none; }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 61; }
.chat-panel { width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 40px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(16,22,43,.45); overflow: hidden; transform-origin: bottom right; animation: chatin .28s cubic-bezier(.2,.8,.2,1); }
@keyframes chatin { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head p { margin: 0; font: 700 1rem/1.2 var(--font-display); }
.chat-head > div { flex: 1; }
.chat-status { font-size: .8rem; color: var(--muted); }
.chat-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #fff; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.5; word-wrap: break-word; }
.msg p { margin: 0 0 .5em; } .msg p:last-child { margin: 0; }
.msg.bot { background: var(--surface-2); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.me a { color: #fff; }
.msg.typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; } .msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.msg .wa-card { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 14px; border-radius: 999px; background: #1FA855; color: #fff; font-weight: 600; text-decoration: none; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chat-quick button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 500 .84rem/1.2 var(--font-body); cursor: pointer; }
.chat-quick button:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font: 400 .95rem/1.4 var(--font-body); background: var(--paper); color: var(--ink); max-height: 120px; }
.chat-form textarea:focus { outline: none; border-color: var(--accent-ink); }
.chat-form button { width: 46px; border-radius: 12px; border: 0; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-form button:disabled { opacity: .5; }
.chat-wa { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; font-size: .88rem; font-weight: 600; color: #128C46; text-decoration: none; border-top: 1px solid var(--line); }
.chat-wa:hover { background: color-mix(in oklab, #1FA855 8%, transparent); }

/* ---------- Consent ---------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 59; max-width: 440px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); font-size: .92rem; }
.consent p { margin-bottom: 14px; }
.consent div { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .narrow { max-width: calc(760px + 2 * var(--gutter)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-title { max-width: 18ch; }
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger-item:nth-child(3) { border-left: 0; }
  .ledger-item:nth-child(n+3) { border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); }
  .case { grid-template-columns: 1fr 1fr; }
  .case-metrics { grid-column: 1 / -1; border-left: 0; padding-left: 0; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 12px; }
  .case-metrics div + div { border-top: 0; border-left: 1px dashed var(--line); padding-left: 16px; }
  .skills { grid-template-columns: 1fr 1fr; }
  .skill-group:nth-child(3) { padding-left: 0; border-left: 0; }
  .skill-group:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; order: 2; }
  .toc { display: none; }
  .share { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof > div:nth-child(n+3) { margin-top: 20px; }
  .split, .about-grid, .markets-grid, .process-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .fit-panel { position: static; }
  .sol summary { grid-template-columns: 1fr 40px; gap: 6px 16px; }
  .sol-title { grid-column: 1; }
  .sol-sum { grid-column: 1; grid-row: 2; }
  .sol-toggle { grid-column: 2; grid-row: 1 / span 2; }
  .sol-body { display: block; padding: 0 0 26px; }
  .case { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent) var(--tl, 0%), var(--line) var(--tl, 0%)); }
  .timeline li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding-right: 0; }
  .tl-step { margin: 0; }
  .quotes, .roles, .post-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .pub { grid-template-columns: 1fr; gap: 6px; }
  .steps li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger-item + .ledger-item { border-left: 0; border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); }
  .focus-list { grid-template-columns: 1fr; }
  .focus-item:nth-child(even) { padding-left: 0; border-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
  .skill-group + .skill-group { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .case-metrics { grid-template-columns: 1fr; }
  .case-metrics div + div { border-left: 0; padding-left: 0; border-top: 1px dashed var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .chat-launcher span { display: none; }
  .chat-launcher { padding: 15px; }
  .chat { right: 12px; bottom: 12px; }
  .consent { left: 12px; right: 12px; bottom: 12px; }
  .search-big { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-in, .sysmap .node { opacity: 1; transform: none; }
  .sysmap .link { stroke-dashoffset: 0; }
  .sysmap .packet { display: none; }
}
@media print {
  .site-header, .site-footer, .chat, .chat-launcher, .consent, .article-aside, .sec-cta { display: none !important; }
  body { background: #fff; color: #000; }
}
