/* Techkrates redesign mockup, 3 Nov 2026. Brand fonts served locally, as on techkrates.com. */
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap; src: url("fonts/manrope-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap; src: url("fonts/manrope-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212; }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-display: swap; src: url("fonts/source-serif-4-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-display: swap; src: url("fonts/source-serif-4-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212; }

/* Paper and ink: an engineering office. Gold is the brand accent, green only means "passed". */
:root {
  --paper: #f5f4ef;
  --sheet: #fcfbf8;
  --raise: #ffffff;
  --ink: #14202e;
  --muted: #59636f;
  --line: rgba(20, 32, 46, .13);
  --line-strong: rgba(20, 32, 46, .28);
  --grid: rgba(20, 32, 46, .05);
  --gold: #a8873f;
  --gold-ink: #7a6125;
  --gold-soft: rgba(168, 135, 63, .12);
  --on-gold: #17130a;
  --ok: #2b7a4b;
  --wa: #1f9d55;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 1200px;
  --radius: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #08101c; --sheet: #0c1626; --raise: #101b2d; --ink: #eef1f5; --muted: #929cab;
    --line: rgba(233, 237, 243, .13); --line-strong: rgba(233, 237, 243, .3); --grid: rgba(233, 237, 243, .045);
    --gold: #caa85f; --gold-ink: #d6b56c; --gold-soft: rgba(202, 168, 95, .12); --ok: #63c58e; --wa: #3ccf7a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #08101c; --sheet: #0c1626; --raise: #101b2d; --ink: #eef1f5; --muted: #929cab;
  --line: rgba(233, 237, 243, .13); --line-strong: rgba(233, 237, 243, .3); --grid: rgba(233, 237, 243, .045);
  --gold: #caa85f; --gold-ink: #d6b56c; --gold-soft: rgba(202, 168, 95, .12); --ok: #63c58e; --wa: #3ccf7a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
h3 { text-wrap: balance; }
.label { font: 500 12px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--raise); padding: 8px 12px; }

.proposal { font: 500 12px/1.5 var(--font-mono); color: var(--muted); background: var(--sheet); border-bottom: 1px solid var(--line); }
.proposal .wrap { padding-block: 6px; display: flex; justify-content: space-between; gap: 12px; }
.proposal a { color: var(--muted); }
.vswitch a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; background: var(--gold-soft); padding: 1px 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.exploded .x-top { animation: x-top 6s ease-in-out infinite; }
.exploded .x-bot { animation: x-bot 6s ease-in-out infinite; }
@keyframes x-top { 0%, 100% { transform: translateY(0); } 45%, 60% { transform: translateY(46px); } }
@keyframes x-bot { 0%, 100% { transform: translateY(0); } 45%, 60% { transform: translateY(-36px); } }
@media (prefers-reduced-motion: reduce) { .exploded .x-top, .exploded .x-bot { animation: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent;
  font: 700 15px/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--gold); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(1.05); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.quiet { font-weight: 600; font-size: 15px; text-underline-offset: 5px; text-decoration-color: var(--gold); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--paper); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 30px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 21px/1 var(--font-display); }
.brand img { width: 34px; height: 34px; border-radius: 3px; }
.nav { display: flex; gap: 24px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang a { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; text-decoration: none; font: 500 12px/1 var(--font-mono); color: var(--muted); }
.lang a img { width: 18px; height: 12px; border-radius: 2px; }
.lang a[aria-current] { background: var(--gold-soft); color: var(--ink); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: none; color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.icon-btn .moon { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon-btn .sun { display: none; } :root:not([data-theme="light"]) .icon-btn .moon { display: block; } }
.menu-btn { display: none; }
.mobile-nav { display: none; }

/* hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 52px; align-items: center; padding-block: 60px 56px; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(2.1rem, 3.5vw, 3.1rem); line-height: 1.08; }
.hero h1 span { color: var(--muted); }
.hero .sub { font-size: 1.12rem; line-height: 1.55; color: var(--muted); max-width: 32em; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.proof { display: grid; gap: 8px; margin: 4px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.proof b { color: var(--ink); font-weight: 700; }
.proof-k { font: 500 11px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* drawing sheet */
.sheet { position: relative; margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background-color: var(--sheet); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 16px 16px; padding: 10px; }
.sheet-in { border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.drawing { display: block; width: 100%; height: auto; padding: 10px 6px 0; align-self: center; }
.drawing path, .drawing polyline { fill: none; stroke: var(--ink); stroke-width: 1.05; stroke-linejoin: round; stroke-linecap: round; transition: stroke .25s, opacity .25s, stroke-width .25s; }
.drawing .dut path { stroke: var(--gold); stroke-width: 1.5; }
.drawing .thin { stroke-width: .7; opacity: .7; }
.drawing .band { fill: var(--ok); fill-opacity: .14; stroke: none; }
.drawing .curve { stroke: var(--ok); stroke-width: 1.4; }
.drawing text { font: 500 10px var(--font-mono); fill: var(--muted); }
.drawing .bubble circle { fill: var(--sheet); stroke: var(--ink); stroke-width: .8; }
.drawing .bubble text { fill: var(--ink); font-size: 9.5px; text-anchor: middle; dominant-baseline: central; }
.drawing .pass { fill: var(--ok); }
.drawing .fade { opacity: 0; transition: opacity .5s ease; }
.drawing .fade.on { opacity: 1; }
.drawing .hit { fill: transparent; stroke: none; cursor: pointer; }
.drawing.focus .part path { opacity: .28; }
.drawing.focus .part.hi path { opacity: 1; stroke: var(--gold); stroke-width: 1.8; }
.bom { border-left: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.bom-head, .tblock { font: 500 11px/1.4 var(--font-mono); color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.bom-head { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); padding: 9px 12px; border-bottom: 1px solid var(--line); }
.bom ol { list-style: none; margin: 0; padding: 0; }
.bom li { border-bottom: 1px solid var(--line); }
.bom button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); padding: 8px 12px; color: var(--muted); cursor: pointer; transition: color .3s, background .3s; }
.bom button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.bom .n { font: 500 12px/1.5 var(--font-mono); }
.bom b { display: block; font-weight: 700; font-size: 14px; line-height: 1.35; }
.bom small { display: block; font-size: 12.5px; line-height: 1.4; }
.bom li.on button { color: var(--ink); }
.bom li.on .n { color: var(--gold-ink); }
.bom li.on button:hover, .bom li.hi button { background: var(--gold-soft); }
.bom li.pass.on button { background: color-mix(in srgb, var(--ok) 9%, transparent); }
.bom li.pass.on .n { color: var(--ok); }
.tblock { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.tblock > * { padding: 6px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.tblock > :nth-child(2n) { border-right: 0; }
.tblock > :nth-last-child(-n+2) { border-bottom: 0; }
.tblock b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.tblock button { all: unset; cursor: pointer; color: var(--gold-ink); }
.tblock button:focus-visible { outline: 2px solid var(--gold); }

/* datasheet strip */
.datasheet { border-block: 1px solid var(--line); background: var(--sheet); }
.datasheet dl { margin: 0; display: grid; grid-template-columns: auto auto auto minmax(0, 1.6fr); }
.datasheet div { padding: 18px 24px; border-right: 1px solid var(--line); min-width: 0; }
.datasheet div:first-child { padding-left: 0; }
.datasheet div:last-child { border-right: 0; padding-right: 0; }
.datasheet dt { font: 500 11px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.datasheet dd { margin: 0; font-weight: 600; font-size: 14.5px; line-height: 1.5; }
.datasheet .tags { font: 400 12.5px/1.75 var(--font-mono); font-weight: 400; color: var(--ink); }

/* sections */
section.block { padding-block: 88px; }
section.block + section.block { border-top: 1px solid var(--line); }
section.tint { background: var(--sheet); border-block: 1px solid var(--line); }
.head { display: grid; gap: 12px; margin-bottom: 38px; max-width: 46rem; }
.head h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); line-height: 1.12; }
.head p { color: var(--muted); font-size: 1.05rem; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.head-row .head { margin-bottom: 0; }

/* service cards */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 10px; padding: 0 0 22px; min-width: 0; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raise); overflow: hidden; transition: border-color .2s, transform .2s; }
.svc:hover { border-color: color-mix(in srgb, var(--gold) 70%, var(--line)); transform: translateY(-2px); }
.svc-fig { background-color: var(--sheet); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 12px 12px; border-bottom: 1px solid var(--line); padding: 18px 34px 12px; }
.svc .code, .svc h3, .svc p, .svc .more { margin-inline: 22px; }
.svc .code { font: 500 12px var(--font-mono); color: var(--gold-ink); margin-top: 8px; }
.svc h3 { font: 700 1.1rem/1.3 var(--font-body); }
.svc p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.svc .more { font-size: 14px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.svc .more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc:hover .more svg { transform: translateX(3px); }

/* line illustrations, same drawing language as today's site */
.ill { display: block; width: 100%; height: auto; overflow: visible; }
.ill .s, .ill .l, .ill .a, .ill .h { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ill .s { stroke: var(--ink); stroke-width: 1.8; }
.ill .l { stroke: var(--muted); stroke-width: 1.5; }
.ill .a { stroke: var(--gold); stroke-width: 1.8; }
.ill .ok { stroke: var(--ok); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ill .h { stroke: var(--muted); stroke-width: 1.5; opacity: .45; }
.ill .af { fill: var(--gold); stroke: none; }
.ill .band { fill: var(--ok); fill-opacity: .14; stroke: none; }
.ill .t { font: 500 8.5px var(--font-mono); letter-spacing: .1em; fill: var(--muted); }

/* entry prices */
.entries { margin-top: 40px; display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 24px; align-items: start; }
.entries h3 { padding-top: 10px; }
.entries table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entries th, .entries td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.entries th { font-weight: 600; padding-right: 16px; }
.entries td { color: var(--muted); padding-right: 16px; white-space: nowrap; }
.entries td:last-child { text-align: right; padding-right: 0; color: var(--ink); font: 500 14px var(--font-mono); font-variant-numeric: tabular-nums; }

/* work */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); min-width: 0; }
.case .tag { font: 500 12px var(--font-mono); color: var(--muted); }
.case h3 { font: 600 1.35rem/1.25 var(--font-display); }
.case dl { margin: 4px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; font-size: 14px; }
.case dt { font: 500 12px/1.65 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.case dd { margin: 0; }
.case .read { font-size: 14px; font-weight: 700; margin-top: 4px; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.note { margin-top: 26px; font-size: 14px; color: var(--muted); }

/* insights */
.insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.insight { display: grid; gap: 8px; align-content: start; padding: 20px 22px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; min-width: 0; }
.insight:not(:nth-child(3n+1)) { padding-left: 22px; border-left: 1px solid var(--line); }
.insight .topic { font: 500 11px/1.4 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--gold-ink); }
.insight h3 { font: 600 1.12rem/1.32 var(--font-display); }
.insight p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.insight:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.person { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raise); }
.person img, .person .mono-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.mono-avatar { display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); font: 600 26px var(--font-display); }
.person .role { font: 500 12px var(--font-mono); color: var(--gold-ink); text-transform: uppercase; letter-spacing: .06em; }
.person h3 { font: 600 1.3rem/1.25 var(--font-display); margin: 4px 0 8px; }
.person p { color: var(--muted); font-size: 15px; }
.person ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; }
.person li::before { content: "— "; color: var(--gold); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact-grid .lead { color: var(--muted); font-size: 1.05rem; margin-top: 12px; }
.channels { display: grid; gap: 12px; }
.ch { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raise); }
.ch .k { font: 500 11px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ch .v { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.ch .info { display: grid; gap: 2px; min-width: 0; }
.ch.wa { border-color: color-mix(in srgb, var(--wa) 45%, var(--line)); }
.ch.wa .k { color: var(--wa); }
.ch.book { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.copy { font: 500 12px var(--font-mono); color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 3px; padding: 7px 11px; cursor: pointer; }
.copy:hover { color: var(--ink); border-color: var(--gold); }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--sheet); font-size: 14px; color: var(--muted); }
footer .wrap { padding-block: 44px; display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; }
footer h4 { margin: 0 0 10px; font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--ink); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
.dock { display: none; }

/* ---------- service page ---------- */
.crumb { font-size: 14px; color: var(--muted); padding-top: 26px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.svc-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 52px; align-items: center; padding-block: 26px 64px; }
.svc-hero h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.1; }
.svc-hero .sub { color: var(--muted); font-size: 1.1rem; max-width: 34em; }
.svc-hero .hero-copy { gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { font: 500 12.5px/1 var(--font-mono); padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--raise); }
.fig-sheet { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background-color: var(--sheet); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 16px 16px; padding: 28px 30px 16px; }
.fig-sheet figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; font: 500 11px/1.4 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; border-top: 1px solid var(--line); padding-top: 10px; }

.tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.task { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raise); min-width: 0; }
.task .ico { width: 52px; height: 52px; border-radius: var(--radius); background: var(--gold-soft); display: grid; place-items: center; }
.task .ico svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.task h3 { font: 700 1.08rem/1.35 var(--font-body); margin-bottom: 6px; }
.task p { color: var(--muted); font-size: 15px; }
.task .get { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.task .get span { font: 500 11.5px/1 var(--font-mono); padding: 6px 8px; border-radius: 3px; background: var(--sheet); border: 1px solid var(--line); color: var(--ink); }

.steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 18px 0 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold); background: var(--paper); font: 500 13px var(--font-mono); color: var(--gold-ink); position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 1.5px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px); }
.steps li:last-child::after { display: none; }
.steps h3 { font: 700 1rem/1.35 var(--font-body); margin-top: 2px; }
.steps .when { font: 500 12px/1.4 var(--font-mono); color: var(--gold-ink); margin-top: 8px; }
.steps p { font-size: 14px; color: var(--muted); }
.steps .out { font: 500 11.5px/1.45 var(--font-mono); color: var(--ink); border-left: 2px solid var(--gold); padding-left: 8px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raise); display: grid; gap: 12px; align-content: start; }
.panel h3 { font: 600 1.3rem/1.25 var(--font-display); }
.panel p { color: var(--muted); font-size: 15px; }
.std { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 4px 0 0; font-size: 14.5px; }
.std dt { font: 500 12.5px/1.6 var(--font-mono); color: var(--gold-ink); }
.std dd { margin: 0; color: var(--muted); }
.quote { border-left: 2px solid var(--gold); padding-left: 16px; font: 500 1.15rem/1.45 var(--font-display); }

.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 22px var(--font-mono); color: var(--gold-ink); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 40px 18px 0; color: var(--muted); }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rel { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--raise); }
.rel .k { font: 500 11px var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.rel b { font-size: 15.5px; }
.rel:hover { border-color: var(--gold); }

.cta-band { background: var(--ink); color: var(--paper); }
.cta-band .wrap { padding-block: 56px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--paper); max-width: 22em; }
.cta-band p { color: color-mix(in srgb, var(--paper) 72%, transparent); margin-top: 8px; }
.cta-band .btn-line { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 40%, transparent); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hero .wrap, .svc-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 40px 52px; }
  .datasheet dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .datasheet div:last-child { grid-column: 1 / -1; padding-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 0; }
  .steps li > * { grid-column: 2; }
  .steps li::before { grid-row: 1 / span 4; grid-column: 1; }
  .steps li::after { top: 40px; bottom: -18px; left: 19px; right: auto; width: 1.5px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 11px); }
  .steps h3 { margin-top: 8px; }
}
@media (max-width: 1080px) {
  .mobile-nav[data-open] { display: block; position: fixed; inset: calc(68px + env(safe-area-inset-top, 0px)) 0 0; z-index: 29; background: var(--paper); overflow-y: auto; padding: 18px max(24px, env(safe-area-inset-left, 0px)) 120px; }
  .mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 1.2rem var(--font-display); }
}
@media (max-width: 860px) {
  .services, .work, .insights, .related { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .insight:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .insight:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
  .about, .contact-grid, .split, .tasks { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contact-grid { gap: 28px; }
  .entries { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  footer .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .proposal .wrap span:last-child { display: none; }
  .top .wrap { height: 58px; gap: 8px; }
  .mobile-nav[data-open] { inset: calc(58px + env(safe-area-inset-top, 0px)) 0 0; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .brand { font-size: 19px; }
  .brand img { width: 30px; height: 30px; }
  .tools .btn { display: none; }
  .lang a { padding: 5px 7px; }
  .lang a span { display: none; }
  .hero .wrap { padding-block: 24px 40px; gap: 26px; }
  .hero-copy { gap: 18px; }
  .hero h1 { font-size: 1.95rem; }
  .hero .sub { font-size: 1.02rem; }
  .ctas .btn { flex: 1 1 100%; }
  .ctas .quiet { flex: 1 1 100%; text-align: center; }
  .sheet { padding: 6px; }
  .sheet-in { grid-template-columns: minmax(0, 1fr); }
  .bom { border-left: 0; border-top: 1px solid var(--line); }
  .bom ol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bom li:nth-child(odd) { border-right: 1px solid var(--line); }
  .bom button { padding: 8px 10px; grid-template-columns: 1.5rem minmax(0, 1fr); }
  .bom small, .bom-head { display: none; }
  .bom b { font-size: 13px; }
  .datasheet dl { grid-template-columns: minmax(0, 1fr); }
  .datasheet div, .datasheet div:first-child, .datasheet div:last-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); border-top: 0; grid-column: auto; }
  .datasheet div:last-child { border-bottom: 0; }
  section.block { padding-block: 56px; }
  .services, .work, .insights, .related { grid-template-columns: minmax(0, 1fr); }
  .insight, .insight:nth-child(2n) { padding: 18px 0; border-left: 0; }
  .entries td:nth-child(2) { display: none; }
  .person { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; gap: 14px; }
  .person img, .person .mono-avatar { width: 64px; height: 64px; }
  .ch { padding: 16px; }
  .task { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .fig-sheet { padding: 18px 16px 12px; }
  .cta-band .btn { flex: 1 1 100%; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); padding-bottom: 120px; }
  .dock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); background: color-mix(in srgb, var(--paper) 93%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .dock .btn { min-height: 46px; padding: 0 6px; font-size: 14px; gap: 6px; }
  .dock .btn svg { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .svc, .drawing .fade, .bom button { transition: none; }
}
.tblock > :nth-child(3), .tblock > :nth-child(4) { grid-column: 1 / -1; border-right: 0; }
.tblock > :nth-child(3) { border-bottom: 1px solid var(--line); }
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; line-height: 1.2; padding-block: 10px; }
  .hero h1, .head h2, .svc-hero h1 { overflow-wrap: break-word; hyphens: auto; }
}
@media (max-width: 400px) {
  .brand { gap: 8px; }
  .tools { gap: 6px; }
  .lang a { padding: 5px 6px; }
}
.insight .meta { font: 500 11.5px var(--font-mono); color: var(--muted); }

/* hero chain: what we do, in four verbs */
.chain { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.chain li { position: relative; display: grid; gap: 4px; padding: 14px 16px 0 0; min-width: 0; }
.chain li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.chain li:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: -7px; width: 11px; height: 11px; background: var(--paper); border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); z-index: 1; }
.chain b { font: 700 13px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.chain span { font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* track record in big numbers */
.stats { border-top: 1px solid var(--line); background: var(--paper); }
.stats dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats dl > div { padding: 30px 26px 26px 0; min-width: 0; }
.stats dl > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.stats dt { font: 600 clamp(2.2rem, 3.6vw, 3.1rem)/1 var(--font-display); letter-spacing: -.02em; }
.stats dd { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.stats .fine { font: 500 11px/1.4 var(--font-mono); color: var(--muted); letter-spacing: .04em; padding-bottom: 18px; }

/* team */
.about { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about .person { grid-template-columns: minmax(0, 1fr); align-content: start; }
.plinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.plinks a { font: 600 13px var(--font-body); padding: 7px 12px; border: 1px solid var(--line-strong); text-decoration: none; border-radius: var(--radius); }
.plinks a:hover { border-color: var(--gold); }
.std-line { margin-top: 26px; font-size: 14px; color: var(--muted); }
.std-line b { color: var(--ink); margin-right: 6px; }
.std-line a { margin-left: 6px; font-weight: 600; color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--gold); }

/* contact */
.direct { margin: 26px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.direct > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.direct dt { font: 500 11.5px var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.direct dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.direct a { text-underline-offset: 4px; text-decoration-color: var(--gold); }
.form { display: grid; gap: 6px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raise); }
.form h3 { font: 600 1.35rem/1.2 var(--font-display); margin-bottom: 8px; }
.form label { font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 8px; }
.form input, .form textarea { width: 100%; font: 400 16px var(--font-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 12px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.form .btn { margin-top: 14px; justify-self: start; }
.form .hp { position: absolute; left: -9999px; }
.form-status { font-size: 14px; color: var(--muted); min-height: 1.4em; }

@media (max-width: 1080px) {
  .stats dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats dl > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .chain { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .chain li:nth-child(3) { padding-left: 0; border-left: 0; }
  .chain li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 12px; }
  .chain li:nth-child(2)::after { display: none; }
  .stats dl > div { padding: 20px 14px 18px 0; }
  .stats dl > div + div { padding-left: 14px; }
  .stats dl > div:nth-child(3) { padding-left: 0; }
  .stats dt { font-size: 2rem; }
  .stats dd { font-size: 13px; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .direct > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .form { padding: 20px; }
  .form .btn { justify-self: stretch; }
}

/* hierarchy: numbers and links in the accent, titles bright, descriptions quiet */
.svc .more { color: var(--gold-ink); }
.stats dt { color: var(--gold-ink); }
.case .tag, .insight .topic { color: var(--gold-ink); }
.task .get span { color: var(--muted); }
.svc-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 14px; padding-bottom: 2px; }
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-tabs a { flex: none; font: 500 12.5px/1 var(--font-mono); padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--muted); white-space: nowrap; }
.svc-tabs a:hover { color: var(--ink); border-color: var(--gold); }
.svc-tabs a[aria-current] { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }
.blackout .svc-tabs a, .blackout .plinks a { border-radius: 0; }
.hero h1, .svc-hero h1, .head h2, .cta-band h2 { hyphens: auto; overflow-wrap: break-word; }
.std { grid-template-columns: minmax(0, auto) minmax(0, 1fr); }
.std dt { overflow-wrap: anywhere; }
.task h3, .svc h3, .case h3, .person h3 { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 640px) {
  .std { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .std dd { margin-bottom: 8px; }
}
@media (max-width: 640px) {
  .svc-hero h1, .hero h1 { overflow-wrap: anywhere; }
  .blackout .svc-hero h1, .blend .svc-hero h1 { font-stretch: 100%; font-size: 1.7rem; }
}
.stats dt { white-space: nowrap; }
.blend .stats dt, .blackout .stats dt { font-size: clamp(1.9rem, 2.9vw, 2.6rem); }

/* team cards: profile links sit on one line across all cards */
.about .person { display: flex; flex-direction: column; }
.about .person > div { display: flex; flex-direction: column; flex: 1; }
.about .person .plinks { margin-top: auto; padding-top: 16px; }

/* big numbers: strong ink on paper, gold on dark, a gold bar above each */
:root { --stat: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --stat: var(--gold); } }
:root[data-theme="dark"] { --stat: var(--gold); }
.stats dt { color: var(--stat); font-weight: 700; position: relative; padding-top: 18px; }
.stats dt::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 3px; background: var(--gold); }
.also { justify-self: start; font-weight: 600; font-size: 15px; text-underline-offset: 5px; text-decoration-color: var(--gold); }
.svc-tabs .tab-other { border-style: dashed; color: var(--ink); }
.tasks-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .tasks-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tasks-3 { grid-template-columns: minmax(0, 1fr); } }
.tasks-3 .task { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.tasks-3 .task h3 { hyphens: manual; }
@media (max-width: 640px) { .blend .stats dt, .blackout .stats dt { font-size: 1.5rem; font-stretch: 100%; } }

/* never scroll sideways, whatever a browser does with a long word */
html, body { overflow-x: clip; }

/* the four verbs: numbered, the verb in the strong accent, the rule and arrows in gold */
.chain { border-top-color: var(--gold); }
.chain li:not(:last-child)::after { border-color: var(--gold); }
.chain i { font: 500 11px/1 var(--font-mono); font-style: normal; color: var(--muted); letter-spacing: .08em; }
.chain b { color: var(--stat); font-size: 14px; }
.chain span { color: var(--muted); }
.ctas .btn-line svg { width: 16px; height: 16px; }

/* ---------- team, projects, legal, services index ---------- */
.page-hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 40px 52px; }
.page-hero .hero-copy { max-width: 50rem; }
.staffing { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 2px solid var(--gold); counter-reset: st; }
.staffing li { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; counter-increment: st; min-width: 0; }
.staffing li:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line); }
.staffing b::before { content: counter(st, decimal-leading-zero) "  "; font: 500 11px var(--font-mono); color: var(--muted); }
.staffing b { color: var(--stat); font: 700 14px/1.3 var(--font-body); }
.staffing span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.profiles { display: grid; gap: 20px; }
.profile { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raise); scroll-margin-top: 90px; }
.profile img, .profile .mono-avatar { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; font-size: 36px; }
.profile .role { font: 500 12px var(--font-mono); color: var(--gold-ink); text-transform: uppercase; letter-spacing: .06em; }
.profile h2 { font-size: 1.7rem; margin: 4px 0 10px; }
.profile .quote { font: 400 1.05rem/1.6 var(--font-body); color: var(--muted); border-left: 2px solid var(--gold); padding-left: 14px; margin-bottom: 14px; max-width: 46rem; }
.cols2 { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; font-size: 14.5px; }
.cols2 li { break-inside: avoid; padding: 4px 0 4px 16px; position: relative; }
.cols2 li::before { content: ""; position: absolute; left: 0; top: .9em; width: 8px; height: 1.5px; background: var(--gold); }
.std-grid { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--gold); }
.std-grid > div { padding: 16px 18px 16px 0; min-width: 0; }
.std-grid > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.std-grid dt { font: 700 14px var(--font-body); color: var(--stat); margin-bottom: 8px; }
.std-grid dd { margin: 0; font: 400 13px/1.8 var(--font-mono); color: var(--muted); }
.work-grid { gap: 22px; }
.work-grid .case { background: var(--raise); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 20px 20px 22px; scroll-margin-top: 90px; }
.work-grid .case dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.work-grid .case dd { margin-bottom: 8px; color: var(--muted); }
.case-steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.task .read { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--gold-ink); text-underline-offset: 4px; }
.legal .wrap { padding-block: 0; }
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.prose h2 { font: 700 1.15rem/1.35 var(--font-body); margin: 30px 0 8px; }
.prose h3 { font: 700 1rem/1.4 var(--font-body); margin: 20px 0 6px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 10px; }
.prose ul { padding-left: 20px; margin: 8px 0; }
.prose .lead { font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.prose .small { font-size: 14px; }
.prose a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--gold); }
@media (max-width: 1080px) {
  .std-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .std-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .std-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .case-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .staffing { grid-template-columns: minmax(0, 1fr); }
  .staffing li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .profile { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 16px; }
  .profile img, .profile .mono-avatar { width: 88px; height: 88px; }
  .cols2 { columns: 1; }
  .std-grid { grid-template-columns: minmax(0, 1fr); }
  .std-grid > div, .std-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* hero layout by area: copy and the four verbs on the left, drawing on the right; on phones the drawing follows the buttons */
.hero .wrap { grid-template-areas: "copy sheet" "more sheet"; grid-template-rows: auto auto; row-gap: 26px; align-items: start; }
.hero .hero-copy { grid-area: copy; align-self: end; }
.hero .sheet, .hero .gauges, .hero .wire { grid-area: sheet; align-self: center; }
.hero-more { grid-area: more; display: grid; gap: 18px; min-width: 0; }
.hero-more .chain { margin-top: 0; }
@media (max-width: 1080px) {
  .hero .wrap { grid-template-areas: "copy" "sheet" "more"; row-gap: 26px; }
}
@media (max-width: 640px) {
  .hero .wrap { padding-block: 20px 36px; row-gap: 20px; }
  .hero h1 { font-size: 1.8rem; line-height: 1.1; }
  .hero .sub { font-size: .98rem; line-height: 1.5; }
  .hero-copy { gap: 14px; }
  .hero .ctas { flex-wrap: nowrap; gap: 8px; }
  .hero .ctas .btn { flex: 1 1 0; min-height: 48px; padding: 8px 10px; font-size: 14px; gap: 6px; }
  .hero .ctas .btn svg { width: 16px; height: 16px; }
  .tblock > :nth-child(1), .tblock > :nth-child(2), .tblock > :nth-child(4) { display: none; }
  .tblock > :nth-child(3) { border-bottom: 0; }
  .hero-more { gap: 14px; }
}
.block.extra { padding-block: 0 0; margin-top: -40px; padding-bottom: 56px; }
.tint + .block.extra { margin-top: 0; padding-top: 40px; }
.extra-panel { grid-template-columns: 52px minmax(0, 1fr); display: grid; gap: 18px; align-items: start; }
.extra-panel .ico { width: 52px; height: 52px; border-radius: var(--radius); background: var(--gold-soft); display: grid; place-items: center; }
.extra-panel .ico svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.extra-panel .read { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--gold-ink); }

/* parts list as the lifecycle: numbers in the same circles as the drawing, joined by a gold line */
.bom-head { grid-template-columns: minmax(0, 1fr); color: var(--ink); }
.bom ol { position: relative; }
.bom ol::before { content: ""; position: absolute; left: 23px; top: 22px; bottom: 22px; width: 1.5px; background: var(--gold); opacity: .55; }
.bom button { grid-template-columns: 2.1rem minmax(0, 1fr); align-items: start; }
.bom .n { position: relative; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--sheet); font-size: 11px; line-height: 1; margin-top: 1px; }
.bom li.on .n { border-color: var(--gold); color: var(--gold-ink); }
.bom b { color: var(--muted); transition: color .3s; }
.bom li.on b { color: var(--stat); }
.bom li.pass.on .n { border-color: var(--ok); background: var(--ok); color: var(--sheet); }
.bom li.pass.on b { color: var(--ok); }
.bom li.pass.on b::after { content: " ✓"; }
@media (max-width: 640px) {
  .bom ol::before { display: none; }
  .bom button { grid-template-columns: 1.9rem minmax(0, 1fr); align-items: center; }
  .bom-head { display: block; padding: 8px 10px; }
}
