/* Layout: an engineering drawing sheet. Hairline rules, mono tags, condensed titles; one live airflow drawing in the hero. */
:root {
  --bg: #eef2f3; --surface: #f9fbfb; --ink: #10242c; --muted: #4d626b; --line: #c7d3d7;
  --accent: #0a6470; --accent-ink: #ffffff; --warm: #a84f1c; --err: #a3271c;
  --deep: #0d2a33; --deep-ink: #e6eef0; --deep-muted: #a3b8be; --deep-line: #26495455; --deep-surface: #123641;
  --deep-accent: #62d1dc; --deep-accent-ink: #06262b;
  --flow-a: rgba(10,100,112,.8); --flow-b: rgba(168,79,28,.9);
  --f-display: 'Sofia Sans Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --wrap: 1180px; --gut: clamp(16px, 4vw, 40px); --sec: clamp(64px, 9vw, 112px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b181d; --surface: #11242b; --ink: #e4edef; --muted: #96abb2; --line: #25414b;
    --accent: #55c6d2; --accent-ink: #06262b; --warm: #e39258; --err: #ff9d8f;
    --deep: #071115; --deep-surface: #0e2027; --deep-line: #1f3a44;
    --flow-a: rgba(85,198,210,.6); --flow-b: rgba(227,146,88,.85);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b181d; --surface: #11242b; --ink: #e4edef; --muted: #96abb2; --line: #25414b;
  --accent: #55c6d2; --accent-ink: #06262b; --warm: #e39258; --err: #ff9d8f;
  --deep: #071115; --deep-surface: #0e2027; --deep-line: #1f3a44;
  --flow-a: rgba(85,198,210,.6); --flow-b: rgba(227,146,88,.85);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img, canvas { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); overflow-wrap: anywhere; hyphens: auto; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .94; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.tag { font: 500 .75rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sec-h { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.lead { color: var(--muted); font-size: 1.0625rem; max-width: 40rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html:not(.js) .js-only { display: none; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; z-index: 50; font-weight: 600; }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; cursor: pointer; border-radius: 2px; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: var(--accent-ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.mini { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; background: none; border: 1px solid var(--line); color: var(--muted); padding: 6px 8px; border-radius: 2px; cursor: pointer; }
.mini:hover { border-color: var(--accent); color: var(--accent); }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 60px; position: relative; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; margin-right: auto; }
.brand b { font: 800 1.7rem/1 var(--f-display); letter-spacing: .02em; }
.brand span { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.ctl { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 2px; }
.lang button { border: 0; background: none; padding: 8px 9px; font: 500 .75rem/1 var(--f-mono); color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.ico { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: none; border-radius: 2px; cursor: pointer; }
.ico:hover { border-color: var(--accent); color: var(--accent); }
.burger { display: none; }
.burger i, .burger i::before, .burger i::after { content: ""; display: block; width: 16px; height: 2px; background: currentColor; }
.burger i { position: relative; }
.burger i::before { position: absolute; top: -5px; }
.burger i::after { position: absolute; top: 5px; }
@media (max-width: 1180px) {
  .burger { display: inline-grid; }
  .nav { overflow-x: auto; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 6px var(--gut) 14px; }
  .js .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .brand { flex-direction: column; align-items: flex-start; gap: 3px; }
  .brand b { font-size: 1.45rem; }
  .brand span { font-size: .5625rem; }
}

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 72px) 0; }
.hero-g { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-t { display: grid; gap: 20px; min-width: 0; }
.hero-sub { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 500; max-width: 34rem; }
.hero-intro { color: var(--muted); max-width: 34rem; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.sites { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 400 .8125rem/1.4 var(--f-mono); }
.sites a { color: var(--muted); text-underline-offset: 3px; }
.sites a:hover { color: var(--accent); }
.sheet { position: relative; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.sheet::before, .sheet::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--warm); }
.sheet::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.sheet::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.sheet figcaption { border-top: 1px solid var(--line); padding: 10px 14px; font: 400 .75rem/1.4 var(--f-mono); color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.facts div { padding: 18px 16px 22px 0; display: grid; gap: 6px; align-content: start; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { font: 700 1.3rem/1.1 var(--f-display); }
@media (max-width: 860px) {
  .hero-g { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Tabs (solutions) and selector (industries) */
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 20px 12px 0; margin-right: 12px; font: 700 1.25rem/1.1 var(--f-display); color: var(--muted); cursor: pointer; text-align: left; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--warm); }
.panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 56px); }
.panel > div { display: grid; gap: 16px; align-content: start; min-width: 0; }
.panel p { color: var(--muted); max-width: 36rem; }
.js .panel-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html:not(.js) .panel { margin-bottom: 40px; }
.sub { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticks { display: grid; gap: 0; }
.ticks li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 10px; height: 2px; background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--warm); color: var(--warm); padding: 5px 10px; font: 500 .75rem/1.2 var(--f-mono); border-radius: 2px; }
.pick { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.pick-l { display: grid; border-top: 1px solid var(--line); }
.pick-l button { background: none; border: 0; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; padding: 14px 12px; text-align: left; font: 700 1.2rem/1.1 var(--f-display); color: var(--muted); cursor: pointer; }
.pick-l button:hover { color: var(--ink); }
.pick-l button[aria-selected="true"] { color: var(--ink); border-left-color: var(--warm); background: var(--surface); }
.pick-p { display: grid; gap: 18px; min-width: 0; }
.pick-p p { color: var(--muted); max-width: 38rem; font-size: 1.0625rem; }
.pick-p .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
html:not(.js) .pick-p { margin-bottom: 36px; }
@media (max-width: 760px) {
  .panel, .pick { grid-template-columns: 1fr; }
  .pick-l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick-p .ticks { grid-template-columns: 1fr; }
}

/* Calculator band */
.band { background: var(--deep); color: var(--deep-ink); --ink: var(--deep-ink); --muted: var(--deep-muted); --line: var(--deep-line); --surface: var(--deep-surface); --accent: var(--deep-accent); --accent-ink: var(--deep-accent-ink); --warm: #e39258; border-top: 0; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.calc form { display: grid; gap: 26px; min-width: 0; }
.ctrl { display: grid; gap: 10px; }
.ctrl-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ctrl label { font-weight: 500; }
.ctrl output { font: 700 1.5rem/1 var(--f-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.ctrl small { font: 400 .75rem/1 var(--f-mono); color: var(--muted); display: flex; justify-content: space-between; }
input[type="range"] { width: 100%; accent-color: var(--accent); margin: 0; }
.res { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; min-width: 0; }
.res-big { display: grid; gap: 6px; }
.res-big strong { font: 800 clamp(2.6rem, 6vw, 4.2rem)/1 var(--f-display); color: var(--accent); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bars { display: grid; gap: 12px; }
.bar-h { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 14px; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.bar i { display: block; height: 100%; background: var(--muted); transition: width .3s; }
.bar.after i { background: var(--accent); }
.note { font-size: .8125rem; color: var(--muted); }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

/* Technologies */
.tech { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 700 1.5rem/1.1 var(--f-display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.4rem/1 var(--f-mono); color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 0 20px; max-width: 38rem; }
.partners { display: grid; gap: 14px; }
.partners ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partners li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 12px; font: 500 .8125rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; overflow-wrap: anywhere; }
@media (max-width: 820px) { .tech { grid-template-columns: 1fr; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 18px 16px 0 0; display: grid; gap: 8px; align-content: start; position: relative; }
.steps li::before { content: "0" counter(s); font: 500 .75rem/1 var(--f-mono); color: var(--warm); letter-spacing: .1em; }
.steps li::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--warm); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); } .steps li { padding: 0 0 22px 20px; } .steps li::after { top: 2px; left: -6px; } }

/* Projects */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter button { border: 1px solid var(--line); background: none; padding: 9px 14px; font: 500 .8125rem/1 var(--f-mono); border-radius: 2px; cursor: pointer; color: var(--muted); }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.projs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.proj { border: 1px solid var(--line); background: var(--surface); padding: 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.proj-top { display: flex; justify-content: space-between; gap: 10px; font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; color: var(--muted); }
.proj-top b { color: var(--warm); font-weight: 500; }
.loc { color: var(--muted); font-size: .9375rem; }
.kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.kpi div { display: grid; gap: 4px; align-content: start; min-width: 0; }
.kpi strong { font: 800 1.45rem/1 var(--f-display); color: var(--accent); overflow-wrap: anywhere; }
.kpi span { font-size: .75rem; line-height: 1.3; color: var(--muted); }
.more { display: grid; gap: 12px; }
.more > p { color: var(--muted); }
.js .proj > .more { display: none; }
.open { justify-self: start; background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .projs { grid-template-columns: 1fr; } }
dialog { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0; width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border-radius: 2px; }
dialog::backdrop { background: rgba(5, 16, 20, .7); }
.dlg { padding: clamp(20px, 4vw, 32px); display: grid; gap: 16px; }
.dlg .open { display: none; }
.dlg-x { justify-self: end; }

/* Kyrgyzstan + standards */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); }
.two > div { display: grid; gap: 14px; align-content: start; min-width: 0; }
.std { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.std li { padding: 22px 20px 0 0; display: grid; gap: 6px; }
.std li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.std p { color: var(--muted); }
@media (max-width: 760px) { .two, .std { grid-template-columns: 1fr; } .std li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 20px; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.info { display: grid; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info dt { grid-column: 1 / -1; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info dd { font-weight: 500; font-size: 1.0625rem; overflow-wrap: anywhere; }
.info dd a { text-decoration: none; }
.info dd a:hover { color: var(--accent); }
.side { display: grid; gap: 20px; min-width: 0; }
form.msg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; background: var(--surface); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); min-width: 0; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld.wide, .msg-foot { grid-column: 1 / -1; }
.fld label { font-size: .875rem; font-weight: 600; }
.fld input, .fld select, .fld textarea, .ctrl input[type="number"] { width: 100%; min-height: 46px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 2px; }
.band .ctrl input[type="number"] { background: var(--deep-surface); font-variant-numeric: tabular-nums; }
.fld textarea { min-height: 130px; resize: vertical; }
.fld [aria-invalid="true"] { border-color: var(--err); }
.fld .e { color: var(--err); font-size: .8125rem; min-height: 0; }
.hp { position: absolute; left: -9999px; }
.msg-foot { display: grid; gap: 12px; }
.status { font-weight: 500; }
.status.bad { color: var(--err); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form.msg { grid-template-columns: 1fr; } }

footer { padding-block: 40px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.foot address { font-style: normal; display: grid; gap: 4px; }
.foot strong { font: 800 1.4rem/1 var(--f-display); letter-spacing: .02em; color: var(--ink); }
.foot p, .foot address { color: var(--muted); font-size: .9375rem; max-width: 30rem; }
.totop { position: fixed; right: 16px; bottom: 16px; z-index: 20; background: var(--surface); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ===== v2: premium landing additions ===== */
.top { transition: box-shadow .25s; }
.top.scrolled { box-shadow: 0 10px 28px -20px rgba(0, 0, 0, .55); }
.hdr-cta { min-height: 36px; padding: 0 14px; font-size: .875rem; white-space: nowrap; }
.lang button { padding: 8px 7px; }
@media (max-width: 640px) { .hdr-cta { display: none; } }
@media (max-width: 370px) { #theme { display: none; } .top-in { gap: 10px; } }

.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { top: -22%; right: -12%; width: min(62vw, 860px); aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 17%, transparent), transparent); }
.hero::after { bottom: -30%; left: -14%; width: min(48vw, 620px); aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in srgb, var(--warm) 13%, transparent), transparent); }
.hero .wrap { position: relative; z-index: 1; }
.sheet { background: color-mix(in srgb, var(--surface) 72%, transparent); backdrop-filter: blur(6px); will-change: transform; }

.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.nums li { padding: 24px 20px 0 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.nums li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.nums strong { font: 800 clamp(2.3rem, 5vw, 4.2rem)/1 var(--f-display); color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nums span { color: var(--muted); font-size: .9375rem; max-width: 18rem; }
@media (max-width: 860px) {
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums li:nth-child(3) { padding-left: 0; border-left: 0; }
  .nums li:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .nums { grid-template-columns: 1fr; } .nums li + li { padding-left: 0; border-left: 0; margin-top: 24px; border-top: 1px solid var(--line); } }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
.cell { grid-column: span 2; position: relative; display: grid; gap: 10px; align-content: end; min-height: 220px; padding: 24px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; overflow: hidden; transition: border-color .2s, transform .25s; min-width: 0; }
.cell.big { grid-column: span 4; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 13%, var(--surface)), var(--surface) 62%); }
.cell:hover { border-color: var(--accent); transform: translateY(-3px); }
.cell svg { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; color: var(--accent); transition: transform .45s; }
.cell:hover svg { transform: rotate(-10deg) scale(1.1); }
.cell h3 { font-size: 1.7rem; padding-right: 52px; }
.cell.big h3 { font-size: clamp(2rem, 3.8vw, 3rem); }
.cell p { color: var(--muted); max-width: 30rem; }
.cell em { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-style: normal; }
.cell em::after { content: " →"; }
@media (max-width: 860px) { .cell, .cell.big { grid-column: 1 / -1; min-height: 0; padding-top: 28px; } }

.why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.why-l { position: sticky; top: 92px; display: grid; gap: 14px; }
.why ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why li { padding: 24px 18px 24px 0; border-bottom: 1px solid var(--line); font: 700 1.35rem/1.15 var(--f-display); display: grid; gap: 14px; align-content: start; }
.why li::before { content: ""; width: 24px; height: 3px; background: var(--warm); }
.why li:nth-child(odd) { border-right: 1px solid var(--line); }
.why li:nth-child(even) { padding-left: 18px; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; } .why-l { position: static; } .why ul { grid-template-columns: 1fr; } .why li:nth-child(odd) { border-right: 0; } .why li:nth-child(even) { padding-left: 0; } }

.tst { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.tst blockquote { margin: 0; padding: 24px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; }
.tst blockquote p { font-size: 1.125rem; }
.tst cite { font-style: normal; color: var(--muted); font-size: .875rem; }

.cta { background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 62%, var(--warm))); color: var(--accent-ink); border-top: 0; }
.cta-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; }
.cta h2 { font-size: clamp(2rem, 6.4vw, 4.8rem); overflow-wrap: anywhere; font-weight: 800; text-transform: uppercase; line-height: .96; max-width: 16ch; }
.cta p { max-width: 36rem; font-size: 1.0625rem; }
.cta .btn { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.cta .btn.ghost { background: transparent; color: var(--accent-ink); }
.cta .btn.ghost:hover { background: var(--accent-ink); color: var(--accent); }
.cta :focus-visible { outline-color: var(--accent-ink); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.consent a { color: var(--accent); }
.msg-foot .e { color: var(--err); font-size: .8125rem; }

.priv { padding-block: 48px; }
.priv h2 { font-size: 1.6rem; margin-bottom: 16px; }
.priv-t { columns: 2 320px; column-gap: 40px; color: var(--muted); font-size: .875rem; }
.priv-t p { margin-bottom: 10px; break-inside: avoid; }
.foot-nav { display: grid; gap: 6px; align-content: start; }
.foot-nav a { color: var(--muted); text-decoration: none; font-size: .9375rem; }
.foot-nav a:hover { color: var(--accent); }
.foot-r { display: grid; gap: 10px; align-content: start; }

/* Motion: only when scripts run and the visitor has not asked for reduced motion */
.anim .rv { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.anim .rv.in { opacity: 1; transform: none; }
.anim .hero h1 .w { display: inline-block; animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-4%, 5%); } }
.anim .hero::before { animation: drift 16s ease-in-out infinite alternate; }
@media (min-width: 901px) {
  .anim .steps { border-top-color: transparent; position: relative; }
  .anim .steps::before { content: ""; position: absolute; top: -2px; left: 0; width: 100%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
  .anim .steps.in::before { transform: scaleX(1); }
}

.two .btn { justify-self: start; }

/* ===== Hero: schematic of a building HVAC system ===== */
.hv { --sup: var(--accent); --ret: var(--warm); --spd: 1.5s; }
.hv[data-mode="heat"] { --sup: var(--warm); --ret: var(--accent); }
.hv[data-mode="vent"] { --sup: var(--ink); --ret: var(--muted); }
.hv svg { display: block; width: 100%; height: auto; font-family: var(--f-mono); }
.hv .frame * { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.hv .zone rect { fill: color-mix(in srgb, var(--sup) 7%, transparent); stroke: none; transition: fill .3s; }
.hv .zone:hover rect { fill: color-mix(in srgb, var(--sup) 22%, transparent); }
.hv .zone text, .hv .lbl { fill: var(--muted); font-size: 10px; letter-spacing: .1em; }
.hv .zone:hover text { fill: var(--ink); }
.hv .ducts path { fill: none; stroke-width: 5; stroke-dasharray: 9 7; transition: stroke .3s; }
.hv .sup { stroke: var(--sup); }
.hv .ret { stroke: var(--ret); }
.hv .fresh { stroke: var(--muted); }
.hv .diff rect { fill: var(--ink); }
.hv .air path { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 7; opacity: .85; transition: stroke .3s; }
.hv .fan path { fill: var(--sup); transition: fill .3s; }
.hv .fan { transform-origin: 186px 66px; }
.hv figcaption { display: grid; gap: 12px; }
.hv-ctl { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.hv-mode { display: flex; border: 1px solid var(--line); border-radius: 2px; }
.hv-mode button { border: 0; background: none; padding: 9px 12px; font: 500 .75rem/1 var(--f-mono); color: var(--muted); cursor: pointer; }
.hv-mode button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.hv-flow { display: grid; grid-template-columns: auto auto; gap: 4px 10px; flex: 1 1 160px; align-items: baseline; }
.hv-flow output { justify-self: end; color: var(--ink); font-variant-numeric: tabular-nums; }
.hv-flow input { grid-column: 1 / -1; }
@keyframes hv-flow { to { stroke-dashoffset: -16; } }
@keyframes hv-air { to { stroke-dashoffset: -10; } }
@keyframes hv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .hv .ducts path { animation: hv-flow var(--spd) linear infinite; }
  .hv .air path { animation: hv-air calc(var(--spd) * .7) linear infinite; }
  .hv .fan { animation: hv-spin var(--spd) linear infinite; }
}

/* =====================================================================
   DARK TECH PREMIUM — design system layer
   Layout: deep navy ground, three surface levels, blue→cyan signal gradient,
   glass cards with a pointer-following glow, 3D facility model in the hero.
   ===================================================================== */
:root:root {
  --bg: #080D14; --bg2: #0E1622; --surface: #131F2E; --elev: #192838;
  --ink: #F5F8FC; --muted: #94A7BA; --line: rgba(148, 167, 186, .17);
  --accent: #36D9E9; --accent-ink: #04121A; --blue: #397BFF; --warm: #6FA0FF; --err: #FF9A9A;
  --grad: linear-gradient(100deg, #397BFF, #36D9E9);
  --deep: var(--bg2); --deep-ink: var(--ink); --deep-muted: var(--muted); --deep-line: var(--line); --deep-surface: var(--surface);
  --deep-accent: var(--accent); --deep-accent-ink: var(--accent-ink);
  --f-display: 'Space Grotesk', 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --r: 20px; color-scheme: dark;
}
:root:root[data-theme="light"] {
  --bg: #F3F6FA; --bg2: #E8EEF6; --surface: #FFFFFF; --elev: #FFFFFF;
  --ink: #0B1524; --muted: #4B5F75; --line: rgba(11, 21, 36, .13);
  --accent: #0A7F93; --accent-ink: #FFFFFF; --blue: #2A62E0; --warm: #2A62E0; --err: #B42318;
  --grad: linear-gradient(100deg, #2A62E0, #0FA8BF); color-scheme: light;
}
.band { --warm: var(--blue); }
body { font-weight: 500; }
h1 { font-size: clamp(2.5rem, 5.2vw, 5rem); line-height: 1.02; text-transform: none; letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; }
.facts dd { font-size: 1.1rem; line-height: 1.25; }
summary { font-size: 1.25rem; }
.steps h3 { font-size: 1.05rem; }
.kpi strong { font-size: 1.2rem; }
.ctrl output { font-size: 1.3rem; }
.brand b { font-size: 1.4rem; letter-spacing: -.01em; }
.foot strong { font-size: 1.15rem; }
.tag { display: flex; align-items: center; gap: 12px; }
.tag::before { content: ""; width: 28px; height: 1px; background: var(--grad); }
.lead { font-weight: 400; }

/* sections and dividers */
.sec { border-top: 0; position: relative; }
.sec::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent); }
.band { background: var(--bg2); }
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at 85% 0%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%); }
.band > .wrap { position: relative; z-index: 1; }

/* buttons and small controls */
.btn { border-radius: 12px; border: 0; background: var(--grad); color: #04121A; font-weight: 700; transition: transform .2s, box-shadow .25s, background .2s, color .2s; }
:root[data-theme="light"] .btn:not(.ghost) { color: #FFFFFF; }
.btn:hover { box-shadow: 0 12px 34px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn.ghost { background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.btn.ghost:hover { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.mini, .ico, .lang, .hv-mode, .filter button { border-radius: 10px; }
.lang, .hv-mode { overflow: hidden; }
.lang button[aria-pressed="true"], .hv-mode button[aria-pressed="true"], .filter button[aria-pressed="true"] { background: var(--grad); color: #04121A; border-color: transparent; }
:root[data-theme="light"] .lang button[aria-pressed="true"], :root[data-theme="light"] .hv-mode button[aria-pressed="true"], :root[data-theme="light"] .filter button[aria-pressed="true"] { color: #FFFFFF; }

/* header */
.top { background: color-mix(in srgb, var(--bg) 68%, transparent); backdrop-filter: blur(16px) saturate(1.3); }
.nav a:hover, .nav a[aria-current="true"] { border-bottom-color: var(--accent); }

/* cards: one recipe, three surface levels */
.cell, .proj, .res, form.msg, .pick-l button, .pick-p, .tst blockquote, .sheet {
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--bg2) 88%, transparent));
  backdrop-filter: blur(10px);
}
.cell, .proj, .pick-l button { position: relative; transition: border-color .25s, transform .25s, box-shadow .25s; }
.cell::after, .proj::after, .pick-l button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.cell:hover::after, .proj:hover::after, .pick-l button:hover::after { opacity: 1; }
.cell:hover, .proj:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--accent) 70%, transparent); transform: translateY(-3px); }
.sheet::before, .sheet::after { display: none; }
.fld input, .fld select, .fld textarea, .ctrl input[type="number"], .band .ctrl input[type="number"] { border-radius: 12px; background: color-mix(in srgb, var(--bg) 70%, transparent); border-color: var(--line); min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .ctrl input[type="number"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }

/* hero */
.hero { padding-block: clamp(40px, 7vw, 96px) 0; }
.hero::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 22%, transparent), transparent); }
.hero::after { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 12%, transparent), transparent); }
.hero-g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-sub { font-weight: 600; }
.viz { position: relative; min-width: 0; will-change: transform; }
#viz { display: block; width: 100%; aspect-ratio: 1 / .92; max-height: 620px; }
.viz figcaption { font: 400 .75rem/1.4 var(--f-mono); color: var(--muted); text-align: center; }
.anim .viz { animation: viz-in 1.4s cubic-bezier(.2, .7, .2, 1) both .2s; }
@keyframes viz-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.facts { border-top: 0; gap: 12px; }
.facts div, .facts div + div, .facts div:nth-child(n) { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: color-mix(in srgb, var(--surface) 55%, transparent); backdrop-filter: blur(8px); }
@media (max-width: 860px) { .hero-g { grid-template-columns: minmax(0, 1fr); } #viz { aspect-ratio: 1 / .8; } }

/* numbers */
.nums { border-top: 0; gap: 12px; }
.nums li, .nums li + li, .nums li:nth-child(n) { border: 0; margin: 0; padding: 22px 16px 0 0; border-top: 1px solid var(--line); }
.nums strong, .res-big strong, .donut-c strong { font-size: clamp(2.2rem, 4.4vw, 3.6rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.res-big strong { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }

/* bento */
.cell { min-height: 250px; padding: 26px; }
.cell.big { min-height: 300px; background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 22%, var(--surface)), color-mix(in srgb, var(--bg2) 90%, transparent) 62%); }
.cell h3 { font-size: 1.35rem; padding-right: 0; }
.cell.big h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.cell svg { position: absolute; top: 22px; right: 22px; }
.cell .gfx { width: 150px; height: auto; top: 20px; right: 20px; fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cell.big .gfx { width: min(46%, 260px); }
.cell:hover .gfx { transform: none; }
.gfx .f { fill: var(--accent); stroke: none; }
.gfx .flow, .proj-vis .flow { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 8; }
.gfx .pulse, .proj-vis .pulse { fill: var(--accent); stroke: none; }
.gfx .bar { fill: color-mix(in srgb, var(--blue) 35%, transparent); stroke: var(--blue); }
.gfx .bar.f { fill: var(--accent); stroke: none; }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: no-preference) {
  .gfx .flow, .proj-vis .flow { animation: dash 1.6s linear infinite; }
  .gfx .spin { animation: spin 6s linear infinite; }
  .cell:hover .gfx .spin { animation-duration: 1.2s; }
  .gfx .pulse, .proj-vis .pulse { animation: pulse 1.6s ease-in-out infinite; }
}
@media (max-width: 860px) { .cell, .cell.big { min-height: 210px; } .cell.big .gfx { width: 150px; } }
.tabs { border-bottom: 0; gap: 8px; }
.tabs button { padding: 11px 18px; margin: 0; border: 1px solid var(--line); border-radius: 12px; font-size: 1rem; }
.tabs button[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 14%, transparent); border-color: var(--accent); color: var(--ink); }
.chips li { border-radius: 999px; border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--accent); }
.ticks li::before { background: var(--grad); height: 2px; }

/* calculator */
.res { padding: clamp(22px, 3vw, 36px); box-shadow: 0 40px 90px -60px var(--blue); }
.res-top { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.donut { position: relative; width: 148px; flex: none; }
.donut svg { display: block; width: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 9; stroke-linecap: butt; transition: stroke-dasharray .45s cubic-bezier(.2, .7, .2, 1); }
.d-bg { stroke: color-mix(in srgb, var(--muted) 22%, transparent); }
.d-hvac { stroke: var(--blue); }
.d-save { stroke: var(--accent); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 70%, transparent)); }
.donut-c { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px; }
.donut-c strong { font: 700 1.5rem/1 var(--f-display); }
.donut-c span { font-size: .625rem; line-height: 1.2; color: var(--muted); max-width: 84px; }
.bar { height: 10px; border-radius: 99px; overflow: hidden; }
.bar i { border-radius: 99px; background: color-mix(in srgb, var(--muted) 60%, transparent); }
.bar.after i { background: var(--grad); }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 22px; background: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--accent)) 0 / var(--p, 50%) 100% no-repeat, color-mix(in srgb, var(--muted) 26%, transparent); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--accent)) 0 / var(--p, 50%) 100% no-repeat, color-mix(in srgb, var(--muted) 26%, transparent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: var(--ink); border: 4px solid var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 4px solid var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); }
.ctrl output { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* industries as cards */
.pick { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.pick-l { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 0; }
.pick-l button { display: grid; gap: 16px; justify-items: start; align-content: space-between; min-height: 132px; padding: 20px; font-size: 1.1rem; color: var(--ink); text-align: left; }
.pick-l button svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.pick-l button[aria-selected="true"] { border-color: var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--bg2)); box-shadow: 0 24px 50px -36px var(--accent); }
.pick-p { padding: clamp(20px, 3vw, 32px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(20px, 4vw, 48px); align-items: start; }
.pick-p h3 { font-size: 1.5rem; } .pick-p h3, .pick-p p { grid-column: 1; }
.pick-p .ticks { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .pick-l { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pick-l button { min-height: 0; } .pick-p { grid-template-columns: minmax(0, 1fr); } .pick-p .ticks { grid-column: 1; grid-row: auto; } }

/* technologies */
.tech { align-items: center; }
details { border-color: var(--line); }
summary::after { color: var(--accent); }
.sheet { box-shadow: 0 40px 90px -60px var(--accent); overflow: hidden; }
.hv { --ret: var(--blue); }
.hv[data-mode="heat"] { --sup: #FFB36B; --ret: var(--accent); }
.partners.wide { margin-top: clamp(32px, 5vw, 56px); grid-template-columns: minmax(0, 1fr); }
.partners.wide ul { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border: 0; gap: 10px; }
.partners.wide li { border: 1px solid var(--line); border-radius: 12px; text-align: center; color: var(--muted); transition: color .2s, border-color .2s; }
.partners.wide li:hover { color: var(--ink); border-color: var(--accent); }

/* why, process */
.why li::before { background: var(--grad); }
.steps { border-top: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--grad); }
.steps li::before { color: var(--accent); }
.steps li::after { width: 12px; height: 12px; top: -6px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }
@media (min-width: 901px) { .anim .steps::before { top: -1px; background: var(--grad); } }
@media (max-width: 900px) { .steps { border-left: 0; } .steps::before { top: 0; left: -1px; width: 2px; height: 100%; background: linear-gradient(180deg, #397BFF, #36D9E9); } .steps li::after { top: 2px; left: -7px; } }

/* projects */
.proj { padding: 0 0 22px; overflow: hidden; }
.proj > :not(.proj-vis) { margin-inline: 22px; }
.proj-vis { background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 20%, transparent), transparent); border-bottom: 1px solid var(--line); padding: 14px 18px 6px; }
.proj-vis svg { display: block; width: 100%; height: auto; fill: none; stroke: var(--muted); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.proj-vis .f { fill: var(--accent); stroke: none; }
.proj-top b { color: var(--accent); }
.kpi strong { color: var(--ink); }
.dlg .proj-vis { margin: 0; border: 1px solid var(--line); border-radius: 14px; }
.dlg > .more > :not(.proj-vis) { margin-inline: 0; }
dialog { border-radius: var(--r); background: var(--surface); border-color: var(--line); }
dialog::backdrop { background: rgba(4, 8, 14, .78); backdrop-filter: blur(6px); }

/* standards, CTA, footer */
.std { border-top: 0; gap: 12px; }
.std li, .std li + li { border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 0; background: color-mix(in srgb, var(--surface) 55%, transparent); }
.cta { background: none; color: var(--ink); }
.cta-in { position: relative; overflow: hidden; width: calc(100% - 2 * var(--gut)); max-width: calc(var(--wrap) - 2 * var(--gut)); padding: clamp(28px, 6vw, 80px); border-radius: 28px; background: linear-gradient(120deg, #1B3FA8, #0E7C91); color: #F5F8FC; border: 1px solid rgba(255, 255, 255, .14); }
.cta-in::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(54, 217, 233, .45), transparent); pointer-events: none; }
.cta-in > * { position: relative; }
.cta h2 { font-size: clamp(2rem, 5vw, 4rem); text-transform: none; line-height: 1.02; }
.cta .btn { background: #F5F8FC; color: #0B1524; box-shadow: none; }
.cta .btn.ghost { background: rgba(255, 255, 255, .08); color: #F5F8FC; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.cta .btn.ghost:hover { background: #F5F8FC; color: #0B1524; }
.cta :focus-visible { outline-color: #F5F8FC; }
.info, .info > div { border-color: var(--line); }
footer.band { background: var(--bg); }
