/* iHectar — design system
   Brand: forest #12372A, lime #94C11F, cream #F3EFE4, sage #7C9A82 (ihectar/brand/README.md)
   Type: Geologica (headings with the SHRP axis for cut corners, body), JetBrains Mono (data, labels)
   Rules: no decorative dots, no small eyebrow labels above headings, no emoji — custom animated icons only. */

:root {
  --night: #0b1f17;
  --night-2: #0f2a20;
  --night-3: #143428;
  --forest: #12372a;
  --forest-7: #1c4a39;
  --forest-6: #2a604b;
  --sage: #7c9a82;
  --sage-3: #a9bfae;
  --sage-1: #dfe7df;
  --lime: #94c11f;
  --lime-3: #c2dd6c;
  --lime-7: #5c7d0e;
  --cream: #f3efe4;
  --paper: #f8f6ef;
  --stone: #e8e2d4;
  --frost: #9cc7e0;
  --frost-7: #3d7ca8;
  --amber: #f2b33d;
  --ember: #e36f2c;
  --heat: #c7442e;

  --ink: var(--forest);
  --ink-2: #3f5c4f;
  --ink-3: #6b8276;
  --line: rgba(18, 55, 42, .14);
  --line-2: rgba(18, 55, 42, .08);
  --bg: var(--paper);

  --f-sans: 'Geologica', ui-sans-serif, system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --w: 1280px;
  --gut: clamp(18px, 3.4vw, 40px);
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 24px 60px -30px rgba(8, 23, 17, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.58 var(--f-sans); font-variation-settings: "SHRP" 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--forest); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; font-variation-settings: "SHRP" 60; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 96px); }
h2 { font-size: clamp(32px, 4.3vw, 62px); }
h3 { font-size: clamp(21px, 1.9vw, 27px); letter-spacing: -.02em; line-height: 1.15; }
h4 { font-size: 18px; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: normal; color: var(--lime-7); }
.dark em, .sec--dark em { color: var(--lime); }
strong { font-weight: 600; }
small, .small { font-size: 14px; line-height: 1.5; }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .01em; }
.muted { color: var(--ink-3); }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--lime); color: var(--forest); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); position: relative; }
.rails { position: relative; }
.rails::before, .rails::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none; }
.rails::before { left: max(0px, calc((100% - var(--w)) / 2)); }
.rails::after { right: max(0px, calc((100% - var(--w)) / 2)); }
.sec { position: relative; padding: clamp(72px, 9vw, 132px) 0; border-top: 1px solid var(--line); }
.sec--tight { padding: clamp(48px, 6vw, 84px) 0; }
.sec--flush { padding-bottom: 0; }
.sec--light { background: var(--paper); }
.sec--cream { background: var(--cream); }
.sec--dark, .dark {
  --ink: var(--cream); --ink-2: rgba(243, 239, 228, .78); --ink-3: rgba(243, 239, 228, .56);
  --line: rgba(243, 239, 228, .12); --line-2: rgba(243, 239, 228, .07);
  color: var(--ink);
}
.sec--dark {
  background-color: var(--night);
  background-image: linear-gradient(rgba(243, 239, 228, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 239, 228, .035) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
}
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--stack { grid-template-columns: 1fr; max-width: 900px; }
.sec-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head .lead { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.stack > * + * { margin-top: 20px; }
.sticky { position: sticky; top: 104px; }

/* ---------------------------------------------------------------- buttons, chips */
.btn {
  --b-bg: var(--forest); --b-fg: var(--cream); --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font-weight: 500; font-size: 16px; letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -14px rgba(8, 23, 17, .6); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 20px; height: 20px; }
.btn--lime { --b-bg: var(--lime); --b-fg: var(--forest); }
.btn--light { --b-bg: var(--cream); --b-fg: var(--forest); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line); }
.btn--ghost:hover { --b-bd: currentColor; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }
.dark .btn:not(.btn--lime):not(.btn--ghost), .sec--dark .btn:not(.btn--lime):not(.btn--ghost) { --b-bg: var(--cream); --b-fg: var(--forest); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover .ico { transform: translateX(3px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 7px; border: 1px solid var(--line);
  background: rgba(18, 55, 42, .035); font: 500 12.5px/1.25 var(--f-mono); letter-spacing: .01em; color: var(--ink-2); white-space: nowrap;
}
.dark .chip, .sec--dark .chip { background: rgba(243, 239, 228, .05); }
.chip--lime { border-color: rgba(148, 193, 31, .55); color: var(--lime-7); background: rgba(148, 193, 31, .1); }
.dark .chip--lime, .sec--dark .chip--lime { color: var(--lime-3); }
.chip--warn { border-color: rgba(227, 111, 44, .45); color: #a9471a; background: rgba(227, 111, 44, .08); }
.dark .chip--warn, .sec--dark .chip--warn { color: #f0a274; }
.chip--frost { border-color: rgba(61, 124, 168, .4); color: var(--frost-7); background: rgba(156, 199, 224, .16); }
.dark .chip--frost, .sec--dark .chip--frost { color: var(--frost); }
.src { font: 500 12px/1.4 var(--f-mono); color: var(--ink-3); }
.src a { color: inherit; }
.ev { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--f-mono); color: var(--ink-2); }
.ev i { display: inline-flex; gap: 3px; }
.ev i b { width: 14px; height: 6px; border-radius: 2px; background: var(--line); }
.ev[data-l="3"] i b, .ev[data-l="2"] i b:nth-child(-n+2), .ev[data-l="1"] i b:first-child { background: var(--lime); }

/* ---------------------------------------------------------------- icons */
.ico { flex: none; overflow: visible; }
.ico .acc { fill: var(--lime); stroke: none; }
.ico .acc-stroke { stroke: var(--lime); }
.ico [class*="a-"] { animation-play-state: paused; }
.in .ico [class*="a-"], .ico:hover [class*="a-"], a:hover .ico [class*="a-"], button:hover .ico [class*="a-"], .ico.live [class*="a-"] { animation-play-state: running; }
.a-spin { animation: spin 1.6s linear infinite; transform-box: view-box; }
.a-spin.slow { animation-duration: 9s; }
.a-flicker { animation: flicker 1.3s ease-in-out infinite; transform-box: view-box; }
.a-wave { animation: wave 1.8s ease-in-out infinite; }
.a-wave.d2 { animation-delay: .3s; }
.a-wave.d3 { animation-delay: .6s; }
.a-drip { animation: drip 2.4s cubic-bezier(.5, 0, .7, .4) infinite; }
.a-swing { animation: swing 3.2s ease-in-out infinite; transform-box: view-box; }
.a-rise { animation: rise 3s ease-in-out infinite; transform-box: view-box; }
.a-flow { animation: flow 2.2s ease-in-out infinite; }
.a-dash { stroke-dasharray: 4 3; animation: dash 1.4s linear infinite; }
.a-dash.d2 { animation-duration: 1.9s; }
.a-dash.d3 { animation-duration: 1.1s; }
.a-ping { animation: ping 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.a-ring { animation: ring 3.4s ease-in-out infinite; transform-box: view-box; }
.a-draw { stroke-dasharray: 24; animation: draw 2.8s ease-in-out infinite; }
.a-pulse { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(.92, 1.08); } 60% { transform: scale(1.05, .94); } }
@keyframes wave { 0%, 100% { opacity: .25; transform: translateY(-1px); } 50% { opacity: 1; transform: translateY(1px); } }
@keyframes drip { 0% { transform: translateY(-3px); opacity: 0; } 20% { opacity: 1; } 80% { transform: translateY(5px); opacity: 1; } 100% { transform: translateY(7px); opacity: 0; } }
@keyframes swing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg); } }
@keyframes rise { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes flow { 0%, 100% { transform: translateY(-2px); opacity: .6; } 50% { transform: translateY(3px); opacity: 1; } }
@keyframes dash { to { stroke-dashoffset: -14; } }
@keyframes ping { 0% { transform: scale(1); } 60% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(12deg); } 74% { transform: rotate(-10deg); } 82% { transform: rotate(6deg); } }
@keyframes draw { 0% { stroke-dashoffset: 24; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { opacity: .65; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
.ibox { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: rgba(18, 55, 42, .03); }
.dark .ibox, .sec--dark .ibox { background: rgba(243, 239, 228, .04); }
.ibox .ico { width: 30px; height: 30px; }

/* ---------------------------------------------------------------- navigation */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 90; pointer-events: none; }
.nav__bar {
  pointer-events: auto; margin: 0 auto; width: max-content; max-width: calc(100% - 24px);
  display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 16px; border-radius: 999px;
  background: rgba(248, 246, 239, .72); border: 1px solid rgba(18, 55, 42, .1);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.nav.is-dark .nav__bar, .nav.is-scrolled .nav__bar { background: rgba(11, 31, 23, .82); border-color: rgba(243, 239, 228, .1); color: var(--cream); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6); }
.nav__logo { display: flex; align-items: center; padding-right: 10px; margin-right: 4px; border-right: 1px solid var(--line); }
.nav.is-dark .nav__logo, .nav.is-scrolled .nav__logo { border-color: rgba(243, 239, 228, .14); }
.nav__logo svg { height: 22px; width: auto; }
.nav__logo .l-ink { fill: var(--forest); transition: fill .3s; }
.nav.is-dark .l-ink, .nav.is-scrolled .l-ink { fill: var(--cream); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__a {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 999px; border: 0; background: none;
  font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; color: inherit; white-space: nowrap;
}
.nav__a:hover, .nav__a[aria-expanded="true"], .nav__a[aria-current="page"] { background: rgba(18, 55, 42, .07); }
.nav.is-dark .nav__a:hover, .nav.is-scrolled .nav__a:hover, .nav.is-dark .nav__a[aria-expanded="true"], .nav.is-scrolled .nav__a[aria-expanded="true"],
.nav.is-dark .nav__a[aria-current="page"], .nav.is-scrolled .nav__a[aria-current="page"] { background: rgba(243, 239, 228, .09); }
.nav__a .ico { width: 16px; height: 16px; transition: transform .25s; }
.nav__a[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__drop {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 6px); width: 560px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 20px; background: var(--night); color: var(--cream);
  border: 1px solid rgba(243, 239, 228, .1); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav__drop.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__drop a { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; text-decoration: none; }
.nav__drop a:hover { background: rgba(243, 239, 228, .06); }
.nav__drop .ibox { width: 44px; height: 44px; border-radius: 12px; }
.nav__drop .ibox .ico { width: 26px; height: 26px; }
.nav__drop b { display: block; font-weight: 500; font-size: 15px; }
.nav__drop span { display: block; font-size: 13px; color: rgba(243, 239, 228, .6); line-height: 1.35; }
.nav__drop a.wide { grid-column: 1 / -1; grid-template-columns: 44px 1fr auto; border-top: 1px solid rgba(243, 239, 228, .08); border-radius: 0 0 14px 14px; margin-top: 4px; }
.nav__cta { margin-left: 6px; }
.nav__cta.btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 999px; border: 0; background: none; place-items: center; cursor: pointer; }
.nav__call { display: none; }
.mnav {
  position: fixed; inset: 0; z-index: 95; background: var(--night); color: var(--cream); padding: 88px var(--gut) 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(243, 239, 228, .2); background: none; color: inherit; display: grid; place-items: center; }
.mnav nav a { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(243, 239, 228, .1); text-decoration: none; font-size: 20px; font-weight: 500; }
.mnav nav a .ico { width: 26px; height: 26px; }
.mnav .btns { margin-top: 24px; }

/* ---------------------------------------------------------------- hero (home) */
.hero { position: relative; overflow: hidden; padding: 150px 0 0; background: linear-gradient(180deg, #e9eef0 0%, #e4e9e8 34%, #ede9df 58%, #e5e7da 100%); border-top: 0; }
.hero__inner { position: relative; z-index: 3; text-align: center; display: grid; justify-items: center; gap: 26px; }
.hero h1 { max-width: 13.5em; }
.hero .lead { margin: 0 auto; text-align: center; color: #3c5a4b; }
.hero__art { position: relative; margin-top: clamp(28px, 4vw, 48px); height: clamp(300px, 40vw, 560px); }
.hero__img { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; object-fit: cover; object-position: center 68%; image-rendering: pixelated; }
.hero__fade { position: absolute; inset: 0 0 auto 0; height: 42%; background: linear-gradient(180deg, #ebe9e0 0%, rgba(235, 233, 224, 0) 100%); z-index: 1; }
.hero__chart { position: absolute; left: 0; right: 0; top: 4%; height: 64%; z-index: 2; }
.hero__chart svg { width: 100%; height: 100%; overflow: visible; }
.hero__note { position: absolute; right: var(--gut); bottom: 14px; z-index: 3; font: 500 11.5px var(--f-mono); color: rgba(18, 55, 42, .7); background: rgba(248, 246, 239, .7); padding: 4px 8px; border-radius: 6px; }
.tchart svg { position: absolute; inset: 0; }
.tchart .ln { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.tchart .ln--cold { stroke: #2f6f99; }
.tchart .ln--safe { stroke: var(--forest); stroke-width: 3; }
.tchart .zero { stroke: rgba(18, 55, 42, .32); stroke-dasharray: 2 6; stroke-width: 1; }
.tchart .thr { stroke: var(--heat); stroke-dasharray: 7 6; stroke-width: 1.2; opacity: .75; }
.tchart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.tchart.on .draw { animation: drawline 3.4s var(--ease) forwards; }
.tchart.on .ln--safe.draw { animation-delay: .5s; }
@keyframes drawline { to { stroke-dashoffset: 0; } }
.tc-tick, .tc-zero, .tc-thr, .tc-mk b, .tc-legend { font: 500 11.5px/1.2 var(--f-mono); color: rgba(18, 55, 42, .78); }
.tc-tick { position: absolute; bottom: -2px; transform: translateX(-50%); color: rgba(18, 55, 42, .62); }
.tc-tick.first { transform: translateX(4px); }
.tc-tick.last { transform: translateX(calc(-100% - 4px)); }
.tc-zero { position: absolute; left: 6px; transform: translateY(-120%); }
.tc-thr { position: absolute; left: 6px; transform: translateY(6px); color: #a8341f; background: rgba(248, 246, 239, .78); padding: 3px 7px; border-radius: 6px; }
.tc-mk { position: absolute; width: 0; height: 0; }
.tc-mk i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--forest); }
.tc-mk b { position: absolute; left: 14px; top: -11px; white-space: nowrap; background: rgba(248, 246, 239, .86); padding: 4px 8px; border-radius: 6px; color: var(--forest); }
.tc-mk.up b { top: -46px; left: -6px; }
.tc-mk.up::before { content: ""; position: absolute; left: 0; top: -22px; height: 16px; border-left: 1px dashed rgba(18, 55, 42, .55); }
.tc-mk b.safe { background: var(--forest); color: var(--cream); }
.tc-legend { position: absolute; right: 0; top: 0; display: flex; gap: 16px; background: rgba(248, 246, 239, .7); padding: 6px 10px; border-radius: 8px; }
.tc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.tc-legend i { width: 22px; height: 0; border-top: 2.4px solid var(--forest); }
.tc-legend i.l-cold { border-top-color: #2f6f99; }
.tchart .mk { opacity: 0; transition: opacity .6s .2s; }
.tchart.on .mk { opacity: 1; }
.tchart.on .mk.m1 { transition-delay: 1.4s; }
.tchart.on .mk.m2 { transition-delay: 2.6s; }
.tchart.on .mk.m3 { transition-delay: 3.4s; }

/* ---------------------------------------------------------------- page hero (inner pages) */
.phero { padding: 148px 0 clamp(56px, 7vw, 96px); border-top: 0; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.phero__grid--text { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.phero h1 { font-size: clamp(40px, 5.4vw, 82px); }
.phero .lead { margin: 22px 0 0; }
.phero .btns { margin-top: 32px; }
.phero .chips { margin-top: 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 26px; font: 500 12.5px var(--f-mono); color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ico { width: 12px; height: 12px; transform: rotate(-90deg); }
.media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--night-2); border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.media video, .media img { width: 100%; height: 100%; object-fit: cover; }
.media__tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; font: 500 11.5px var(--f-mono); color: var(--cream); background: rgba(11, 31, 23, .62); padding: 4px 8px; border-radius: 6px; backdrop-filter: blur(6px); }
.media__ctl { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(243, 239, 228, .3); background: rgba(11, 31, 23, .5); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.media__ctl .ico { width: 16px; height: 16px; }
.media__ctl .i-pause { display: none; }
.media.is-playing .media__ctl .i-pause { display: block; }
.media.is-playing .media__ctl .i-play { display: none; }
.media video { opacity: 1; transition: opacity .5s; }
.media video.fade { opacity: 0; }

/* ---------------------------------------------------------------- cards */
.card { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 32px); background: rgba(255, 255, 255, .35); }
.sec--dark .card, .dark .card { background: rgba(243, 239, 228, .03); }
.card h3 + p, .card h3 + .muted { margin-top: 10px; }
.card .ibox { margin-bottom: 22px; }
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cards > * { background: var(--paper); padding: clamp(22px, 2.6vw, 34px); }
.sec--dark .cards > *, .dark .cards > * { background: var(--night); }
.sec--cream .cards > * { background: var(--cream); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tcards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tcard { grid-column: span 2; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); text-decoration: none; background: rgba(243, 239, 228, .03); transition: border-color .25s, background .25s, transform .3s var(--ease); min-height: 320px; }
.tcard:nth-child(4), .tcard:nth-child(5) { grid-column: span 3; }
.tcard:hover { border-color: rgba(148, 193, 31, .5); background: rgba(243, 239, 228, .05); transform: translateY(-3px); }
.tcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tcard h3 { margin-top: 4px; }
.tcard p { color: var(--ink-2); font-size: 15.5px; margin: 0; flex-grow: 1; }
.tcard .go { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .25s, color .25s; }
.tcard .go .ico { width: 18px; height: 18px; }
.tcard:hover .go { background: var(--lime); color: var(--forest); border-color: var(--lime); }
.tcard__media { margin: -26px -26px 4px; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tcard:hover .tcard__media img { transform: scale(1.04); }
.sec--light .tcard, .sec--cream .tcard { background: #fffdf8; box-shadow: 0 1px 0 rgba(18, 55, 42, .04); }
.sec--light .tcard:hover, .sec--cream .tcard:hover { background: #fff; border-color: rgba(18, 55, 42, .28); box-shadow: 0 18px 40px -22px rgba(18, 55, 42, .35); }

/* ---------------------------------------------------------------- accordion + diagram */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink-3); transition: color .2s; }
.acc__btn h3 { font-size: clamp(19px, 1.6vw, 23px); }
.acc__btn .ico { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.acc__item.is-open .acc__btn { color: var(--ink); }
.acc__item.is-open .acc__btn .ico { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { color: var(--ink-2); padding-bottom: 20px; margin: 0; max-width: 58ch; }
.acc__panel .chips { padding-bottom: 22px; }
.diagram { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: #0d241b; overflow: hidden; aspect-ratio: 1 / 1; color: var(--cream); }
.diagram::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(243, 239, 228, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 239, 228, .05) 1px, transparent 1px); background-size: 40px 40px; }
.diagram svg { position: relative; width: 100%; height: 100%; }
.diagram [data-step] { opacity: .18; transition: opacity .5s; }
.diagram [data-step] .dg-txt { opacity: 0; transition: opacity .35s; }
.diagram[data-active="0"] [data-step~="0"] .dg-txt, .diagram[data-active="1"] [data-step~="1"] .dg-txt, .diagram[data-active="2"] [data-step~="2"] .dg-txt, .diagram[data-active="3"] [data-step~="3"] .dg-txt { opacity: 1; }
.diagram[data-active="0"] [data-step~="0"], .diagram[data-active="1"] [data-step~="1"], .diagram[data-active="2"] [data-step~="2"], .diagram[data-active="3"] [data-step~="3"] { opacity: 1; }
.dg-txt { font: 500 12px var(--f-mono); fill: rgba(243, 239, 228, .78); letter-spacing: .03em; }
.dg-txt.big { font-size: 15px; fill: var(--cream); }
.dg-lime { fill: var(--lime); }
.dg-line { stroke: rgba(243, 239, 228, .55); fill: none; stroke-width: 1.3; }
.dg-dash { stroke-dasharray: 4 5; }
.dg-flow { stroke-dasharray: 7 9; animation: dash 1.2s linear infinite; }
.dg-flow.slow { animation-duration: 2.4s; }
.dg-spin { animation: spin 1.1s linear infinite; transform-box: fill-box; transform-origin: center; }

/* ---------------------------------------------------------------- frost types */
.ftypes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ftype { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.ftype__art { aspect-ratio: 16 / 9; background: #0d241b; position: relative; border-bottom: 1px solid var(--line); }
.ftype__art svg { width: 100%; height: 100%; }
.ftype__body { padding: 26px; display: grid; gap: 14px; }
.ftype__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); }
.ftype__body li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ftype__body li .ico { width: 20px; height: 20px; margin-top: 2px; }

/* ---------------------------------------------------------------- tables & specs */
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tbl th, .tbl td { text-align: left; padding: 15px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font: 500 12.5px var(--f-mono); color: var(--ink-3); letter-spacing: .02em; text-transform: uppercase; }
.tbl td:first-child, .tbl th:first-child { padding-left: 0; }
.tbl td:last-child, .tbl th:last-child { padding-right: 0; }
.tbl tr:hover td { background: rgba(18, 55, 42, .025); }
.sec--dark .tbl tr:hover td { background: rgba(243, 239, 228, .025); }
.tbl .num { font-family: var(--f-mono); font-size: 14.5px; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.spec { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec b { font-weight: 500; }
.spec .val { font: 500 16px var(--f-mono); text-align: right; }
.spec .src { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- lists */
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.ticks li .ico { width: 22px; height: 22px; color: var(--lime-7); margin-top: 1px; }
.sec--dark .ticks li .ico { color: var(--lime); }
.ticks--no li .ico { color: var(--ember); }
.sec--dark .ticks--no li .ico { color: #f0a274; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: st; }
.step { padding: 28px 22px 8px 0; border-right: 1px solid var(--line); counter-increment: st; }
.step + .step { padding-left: 22px; }
.step:last-child { border-right: 0; }
.step::before { content: counter(st, decimal-leading-zero); display: block; font: 500 13px var(--f-mono); color: var(--lime-7); margin-bottom: 18px; }
.sec--dark .step::before { color: var(--lime); }
.step h4 { margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--ink-2); }

/* ---------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 26px 22px 6px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 22px; }
.stat:last-child { border-right: 0; }
.stat__v { font: 600 clamp(36px, 3.6vw, 54px)/1 var(--f-sans); letter-spacing: -.04em; font-variation-settings: "SHRP" 60; }
.stat__v small { font-size: .45em; letter-spacing: -.01em; font-weight: 500; margin-left: 4px; }
.stat__l { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.stat .src { margin-top: 10px; display: block; }

/* ---------------------------------------------------------------- heat map */
.hm { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #0d241b; }
.hm__view { display: flex; flex-direction: column; min-width: 0; }
.hm__stage { position: relative; min-height: 300px; }
.hm__stage canvas { width: 100%; height: 100%; display: block; }
.hm__tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); font: 500 12px var(--f-mono); background: rgba(8, 23, 17, .9); color: var(--cream); padding: 5px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; transition: opacity .15s; }
.hm__panel { border-left: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 20px; background: var(--night); }
.hm__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.hm__tab { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 14px; text-align: left; color: var(--ink-2); }
.hm__tab .ico { width: 20px; height: 20px; }
.hm__tab[aria-pressed="true"] { border-color: var(--lime); color: var(--cream); background: rgba(148, 193, 31, .1); }
.hm__ctl { display: grid; gap: 8px; }
.hm__ctl label { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); }
.hm__ctl output { font: 500 13px var(--f-mono); color: var(--cream); }
.hm__ctl select { width: 100%; }
.hm__read { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.hm__read div { background: #0d241b; padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.hm__read b { display: block; font: 600 24px var(--f-sans); letter-spacing: -.02em; color: var(--cream); font-variation-settings: "SHRP" 60; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm__read span { font-size: 12.5px; color: var(--ink-3); }
.hm__legend { display: grid; gap: 6px; margin-top: auto; }
.hm__ramp { height: 10px; border-radius: 6px; background: linear-gradient(90deg, #2c5d7c, #6e9fb9, #d7d9c9, #f2c14e, #e8743b, #c8432b); }
.hm__ticks { display: flex; justify-content: space-between; font: 500 11.5px var(--f-mono); color: var(--ink-3); }
.hm__note { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.hm__warn { display: none; font-size: 13.5px; color: #f0a274; border: 1px solid rgba(227, 111, 44, .4); background: rgba(227, 111, 44, .08); border-radius: 10px; padding: 10px 12px; }
.hm__warn.on { display: block; }

/* ---------------------------------------------------------------- risk map */
.rm { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.rm__stage { position: relative; background: var(--paper); padding: 18px; min-height: 360px; }
.sec--dark .rm__stage { background: #0d241b; }
.sec--cream .rm { background: var(--paper); }
.rm__stage svg { width: 100%; height: auto; }
.rm path { stroke: var(--paper); stroke-width: .7; cursor: pointer; transition: opacity .2s, filter .2s; }
.sec--dark .rm path { stroke: #0d241b; }
.rm path[data-level="high"] { fill: #c8432b; }
.rm path[data-level="doc"] { fill: #f2a23d; }
.rm path[data-level="nodata"] { fill: #e9d9a7; }
.rm path[data-level="na"] { fill: #d6d9cf; cursor: default; }
.sec--dark .rm path[data-level="na"] { fill: #2a4339; }
.rm path.is-hover, .rm path.is-active { filter: brightness(1.12) saturate(1.1); stroke: var(--forest); stroke-width: 1.4; }
.sec--dark .rm path.is-hover, .sec--dark .rm path.is-active { stroke: var(--cream); }
.rm .lbl { font: 600 11px var(--f-mono); fill: var(--forest); pointer-events: none; letter-spacing: .04em; paint-order: stroke; stroke: var(--paper); stroke-width: 3.5px; stroke-linejoin: round; }
.sec--dark .rm .lbl { fill: var(--cream); stroke: #0d241b; }
.rm__panel { border-left: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.rm__legend { display: grid; gap: 8px; }
.rm__legend span { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.rm__legend i { width: 18px; height: 12px; border-radius: 3px; }
.rm__info h3 { font-size: 22px; }
.rm__info .sub { font: 500 12.5px var(--f-mono); color: var(--ink-3); margin: 6px 0 14px; }
.rm__info dl { margin: 0; display: grid; gap: 12px; }
.rm__info dt { font: 500 12px var(--f-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .03em; }
.rm__info dd { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }

/* ---------------------------------------------------------------- forms */
.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 14px; color: var(--ink-2); }
.field > span b { color: var(--heat); font-weight: 500; }
.input, select, textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .7);
  font-size: 16px; color: var(--forest); transition: border-color .2s, box-shadow .2s;
}
.sec--dark .input, .sec--dark select, .sec--dark textarea, .dark .input, .dark select, .dark textarea { background: rgba(243, 239, 228, .05); color: var(--cream); }
.sec--dark select option, .dark select option { color: var(--forest); }
textarea { min-height: 110px; resize: vertical; }
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(148, 193, 31, .18); }
.input[aria-invalid="true"] { border-color: var(--heat); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 32 32' fill='none' stroke='%237c9a82' stroke-width='2.4'%3E%3Cpath d='M9 12.5l7 7 7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--lime); }
.form__note { font-size: 13px; color: var(--ink-3); }
.form__msg { display: none; padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.form__msg.is-ok { display: block; background: rgba(148, 193, 31, .14); border: 1px solid rgba(148, 193, 31, .5); }
.form__msg.is-err { display: block; background: rgba(227, 111, 44, .1); border: 1px solid rgba(227, 111, 44, .45); }
.form__fallback { display: none; gap: 8px; flex-wrap: wrap; }
.form__fallback.on { display: flex; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.rc { position: relative; }
.rc input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.rc span { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 15px; transition: border-color .2s, background .2s; }
.rc span .ico { width: 22px; height: 22px; }
.rc input:checked + span { border-color: var(--lime); background: rgba(148, 193, 31, .12); }
.rc input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }

/* ---------------------------------------------------------------- lead block */
.leadbox { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.leadbox__side { padding: clamp(26px, 3vw, 40px); background: var(--night); color: var(--cream); display: flex; flex-direction: column; gap: 22px; --ink: var(--cream); --ink-2: rgba(243, 239, 228, .78); --ink-3: rgba(243, 239, 228, .56); --line: rgba(243, 239, 228, .12); }
.leadbox__main { padding: clamp(26px, 3vw, 40px); background: rgba(255, 255, 255, .4); }
.sec--dark .leadbox__main { background: rgba(243, 239, 228, .03); }
.contact-lines { display: grid; gap: 10px; }
.contact-lines a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 16px; }
.contact-lines a .ico { width: 22px; height: 22px; color: var(--lime); }
.contact-lines a:hover span { text-decoration: underline; }

/* ---------------------------------------------------------------- calculator & quiz */
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.calc__in { padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 16px; align-content: start; }
.calc__out { padding: clamp(22px, 2.6vw, 34px); background: var(--night); color: var(--cream); display: flex; flex-direction: column; gap: 20px; --ink-2: rgba(243, 239, 228, .78); --ink-3: rgba(243, 239, 228, .56); --line: rgba(243, 239, 228, .12); }
.calc__big { font: 600 clamp(40px, 4.6vw, 68px)/1 var(--f-sans); letter-spacing: -.045em; font-variation-settings: "SHRP" 60; color: var(--lime); }
.calc__big small { font-size: .38em; color: var(--cream); letter-spacing: -.01em; margin-left: 6px; }
.calc__line { font-size: 17px; color: var(--ink-2); }
.calc__scen { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.calc__tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.calc__tbl thead th { font: 500 11.5px var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); text-align: right; padding: 13px 16px 11px; white-space: nowrap; }
.calc__tbl th[scope="row"] { font-weight: 400; color: var(--ink-3); text-align: left; padding: 10px 16px; line-height: 1.3; }
.calc__tbl td { font: 500 13.5px var(--f-mono); color: var(--cream); text-align: right; padding: 10px 16px; white-space: nowrap; }
.calc__tbl td:last-child { color: var(--ink-2); }
.calc__tbl tbody tr { border-top: 1px solid var(--line); }
.calc__tbl tr.key th, .calc__tbl tr.key td { color: var(--cream); font-weight: 600; }
.calc__tbl tr.key td:nth-child(2) { color: var(--lime); }
.calc__bar { height: 8px; border-radius: 6px; background: rgba(243, 239, 228, .1); overflow: hidden; }
.calc__bar i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 6px; transition: width .6s var(--ease); }
.calc__warn { font-size: 14px; color: #f0a274; display: none; }
.calc__warn.on { display: block; }
.seg { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 8px 12px; border-radius: 9px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--forest); color: var(--cream); }
.range { display: grid; gap: 8px; }
.range label { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.range output { font: 500 14px var(--f-mono); color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 999px; background: var(--lime); border: 3px solid var(--forest); }
.sec--dark input[type="range"]::-webkit-slider-thumb, .dark input[type="range"]::-webkit-slider-thumb { border-color: var(--night); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 999px; background: var(--lime); border: 3px solid var(--forest); }

.quiz { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.quiz__main { padding: clamp(24px, 3vw, 40px); min-height: 460px; display: flex; flex-direction: column; gap: 22px; }
.quiz__side { background: var(--night); color: var(--cream); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; --ink-2: rgba(243, 239, 228, .78); --ink-3: rgba(243, 239, 228, .56); --line: rgba(243, 239, 228, .12); }
.quiz__prog { display: flex; gap: 4px; }
.quiz__prog i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.quiz__prog i.on { background: var(--lime); }
.quiz__q { display: none; flex-direction: column; gap: 18px; }
.quiz__q.is-on { display: flex; animation: fadeup .45s var(--ease); }
.quiz__q h3 { font-size: clamp(22px, 2.2vw, 30px); }
.quiz__nav { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; }
.quiz__res { display: none; flex-direction: column; gap: 18px; }
.quiz__res.is-on { display: flex; animation: fadeup .45s var(--ease); }
.reco { border: 1px solid rgba(148, 193, 31, .5); background: rgba(148, 193, 31, .08); border-radius: var(--r); padding: 18px; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.reco h4 { margin-bottom: 6px; }
.reco p { color: var(--ink-2); font-size: 15px; margin: 0; }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- projects */
.proj { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.proj + .proj { margin-top: 16px; }
.proj__media { position: relative; min-height: 280px; background: var(--night-2); }
.proj__media img, .proj__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj__body { padding: clamp(24px, 3vw, 38px); display: grid; gap: 16px; align-content: start; }
.proj__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.proj__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.proj__facts div { background: var(--paper); padding: 14px; }
.sec--dark .proj__facts div { background: var(--night); }
.proj__facts b { display: block; font: 600 24px var(--f-sans); letter-spacing: -.03em; }
.proj__facts span { font-size: 13px; color: var(--ink-3); line-height: 1.35; display: block; margin-top: 4px; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--f-mono); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.status .ico { width: 15px; height: 15px; }
.status--ok { color: var(--lime-7); border-color: rgba(148, 193, 31, .5); }
.sec--dark .status--ok { color: var(--lime-3); }
.status--wait { color: #a9471a; border-color: rgba(227, 111, 44, .4); }
.sec--dark .status--wait { color: #f0a274; }
.vfacade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--night-2) center / cover no-repeat; cursor: pointer; padding: 0; color: var(--cream); text-align: left; }
.vfacade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 23, 17, .1), rgba(8, 23, 17, .78)); }
.vfacade .ico { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 64px; height: 64px; z-index: 2; color: var(--cream); }
.vfacade span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; font-weight: 500; font-size: 15px; line-height: 1.35; }
.vfacade small { display: block; font: 500 11.5px var(--f-mono); opacity: .75; margin-top: 4px; }
.vfacade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

.proj__big { position: absolute; inset: 0; display: grid; align-content: end; gap: 10px; padding: 28px; background: var(--night); color: var(--cream);
  background-image: linear-gradient(rgba(243, 239, 228, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 239, 228, .05) 1px, transparent 1px); background-size: 40px 40px; }
.proj__big .big-num { color: var(--lime); }
.proj__big span:last-child { font: 500 13px var(--f-mono); color: rgba(243, 239, 228, .7); text-transform: uppercase; letter-spacing: .04em; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--stone); border: 1px solid var(--line); }
.gallery--2 figure { aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.dg-flick { animation: flicker 1.1s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
.diagram svg, .ftype__art svg { animation-play-state: running; }
.mt { margin-top: 24px; }

/* ---------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; cursor: pointer; font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 22px; height: 22px; flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); max-width: 75ch; }

/* ---------------------------------------------------------------- CTA + footer */
.cta { text-align: center; display: grid; justify-items: center; gap: 22px; }
.cta h2 { max-width: 15em; }
.cta .lead { text-align: center; }
.foot { background: var(--night); color: var(--cream); position: relative; overflow: hidden; border-top: 1px solid rgba(243, 239, 228, .1); --ink: var(--cream); --ink-2: rgba(243, 239, 228, .78); --ink-3: rgba(243, 239, 228, .52); --line: rgba(243, 239, 228, .12); }
.foot__top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 32px; padding: 72px 0 48px; }
.foot h4 { font: 600 16px var(--f-sans); letter-spacing: -.01em; color: var(--cream); margin-bottom: 16px; font-variation-settings: "SHRP" 60; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.foot a:hover { color: var(--cream); }
.foot ul .ico { display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -2px; opacity: .6; }
.foot__card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; align-content: start; }
.foot__card p { color: var(--ink-3); font-size: 14px; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.foot__mark { position: relative; height: clamp(120px, 20vw, 290px); margin-top: 8px; }
.foot__mark svg { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); width: min(1180px, 94%); height: auto; }
.foot__mark .l-ink { fill: url(#scan); }
.foot__mark .l-acc { fill: var(--lime); opacity: .8; }
.foot__strip { height: 84px; background: url(../img/hero-dither.png) center 70% / cover; image-rendering: pixelated; opacity: .9; }

/* ---------------------------------------------------------------- mobile bar, consent, misc */
.mbar { display: none; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 560px; margin-left: auto; background: var(--night); color: var(--cream); border: 1px solid rgba(243, 239, 228, .14); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); display: none; gap: 14px; }
.consent.on { display: grid; }
.consent p { font-size: 14px; color: rgba(243, 239, 228, .75); margin: 0; }
.consent a { color: var(--lime); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 48px 0 16px; }
.prose h3 { margin: 32px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.notice { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: grid; grid-template-columns: 26px 1fr; gap: 14px; color: var(--ink-2); font-size: 15px; }
.notice .ico { width: 24px; height: 24px; color: var(--ink); }
.big-num { font: 600 clamp(64px, 9vw, 140px)/.9 var(--f-sans); letter-spacing: -.06em; font-variation-settings: "SHRP" 70; }

@media (max-width: 1080px) {
  .nav__links .nav__a.opt { display: none; }
  .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tcard, .tcard:nth-child(4), .tcard:nth-child(5) { grid-column: span 1; }
  .tcard:nth-child(5) { grid-column: 1 / -1; }
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__card { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step, .step + .step { padding: 24px 18px 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat + .stat { padding: 22px 16px 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav { top: 10px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger, .nav__call { display: grid; }
  .nav__call { width: 40px; height: 40px; border-radius: 999px; place-items: center; background: var(--lime); color: var(--forest); }
  .nav__call .ico { width: 20px; height: 20px; }
  .nav__bar { width: calc(100% - 20px); justify-content: space-between; padding: 6px 6px 6px 16px; }
  .nav__logo { border: 0; margin-right: auto; }
  .sec-head, .split, .split--rev, .split--even, .phero__grid, .hm, .rm, .calc, .quiz, .leadbox, .proj, .grid-2, .grid-3, .cards--3, .cards--2, .ftypes, .specs { grid-template-columns: minmax(0, 1fr); }
  .hm__panel, .rm__panel { border-left: 0; border-top: 1px solid var(--line); }
  .hm__stage { min-height: 0; }
  .hm__read { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm__read b { font-size: 20px; }
  .sticky { position: static; }
  .hero { padding-top: 112px; }
  .phero { padding-top: 112px; }
  .proj__media { min-height: 220px; aspect-ratio: 16 / 9; }
  .mbar {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(11, 31, 23, .94); color: var(--cream); border-top: 1px solid rgba(243, 239, 228, .12); backdrop-filter: blur(12px);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  }
  .mbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; text-decoration: none; font-size: 11.5px; border-radius: 12px; }
  .mbar a .ico { width: 22px; height: 22px; }
  .mbar a.main { background: var(--lime); color: var(--forest); font-weight: 500; }
  body { padding-bottom: 72px; }
  .consent { bottom: 84px; }
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .tcards { grid-template-columns: 1fr; }
  .tcard:nth-child(5) { grid-column: auto; }
  .steps, .stats, .cards--4 { grid-template-columns: 1fr; }
  .proj__facts { grid-template-columns: 1fr 1fr; }
  .calc__tbl th[scope="row"], .calc__tbl td, .calc__tbl thead th { padding-left: 10px; padding-right: 10px; }
  .calc__tbl td { font-size: 12.5px; }
  .calc__tbl thead th { white-space: normal; font-size: 10.5px; vertical-align: bottom; }
  .tc-tick, .tc-zero, .tc-thr, .tc-mk b, .tc-legend { font-size: 10.5px; }
  .tc-tick.minor, .tc-long, .tc-mk.m2 b { display: none; }
  .tc-mk.right b { left: auto; right: 12px; }
  .tc-mk.right.up b { right: -6px; }
  .tc-legend { gap: 10px; }
  .hero__note { left: var(--gut); right: auto; }
  .btn { min-height: 48px; white-space: normal; text-align: center; max-width: 100%; }
  .spec { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .spec .val { text-align: left; }
  .tbl-wrap { overflow: visible; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tbl td, .tbl td:first-child, .tbl td:last-child { border: 0; padding: 3px 0; }
  .tbl td::before { content: attr(data-label); display: block; font: 500 11px var(--f-mono); color: var(--ink-3); letter-spacing: .02em; margin-bottom: 1px; }
  .tbl td:first-child { font-weight: 600; font-size: 16px; padding-bottom: 6px; }
  .tbl td:first-child::before { display: none; }
  .tbl td:empty, .tbl td.empty { display: none; }
  .tbl tr:hover td { background: none; }
  .tbl .num { white-space: normal; }
  .btns .btn { flex: 1 1 auto; }
  .foot__top { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
}
/* ================================================================ v2: client corrections and materials (11.2026) */

/* ---------- home hero: solutions, pitch, one field with five technologies */
.hero { padding-top: 136px; }
.hero__inner { gap: 24px; }
.sol { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1040px; }
.sol__a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 18px 6px 7px; border-radius: 999px;
  border: 1px solid rgba(18, 55, 42, .12); background: rgba(255, 255, 255, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  text-decoration: none; font-weight: 500; font-size: 15.5px; letter-spacing: -.005em;
  transition: border-color .2s, background .2s, transform .3s var(--ease), box-shadow .3s;
}
.sol__a .ico { width: 34px; height: 34px; padding: 5px; border-radius: 999px; background: rgba(148, 193, 31, .16); }
.sol__a:hover { border-color: rgba(148, 193, 31, .85); background: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(8, 23, 17, .5); }
.pitch {
  position: relative; overflow: hidden; width: min(100%, 1040px); margin-top: 4px; padding: 26px 26px 22px 34px; border-radius: 30px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; text-align: left;
  background: var(--night); color: var(--cream); box-shadow: 0 34px 70px -40px rgba(8, 23, 17, .8);
  --ink: var(--cream); --ink-2: rgba(243, 239, 228, .78); --ink-3: rgba(243, 239, 228, .56); --line: rgba(243, 239, 228, .14);
}
.pitch::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(243, 239, 228, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 239, 228, .04) 1px, transparent 1px); background-size: 32px 32px; }
.pitch > * { position: relative; }
.pitch__t { flex: 1 1 100%; margin: 0; font: 600 clamp(22px, 2.2vw, 31px)/1.2 var(--f-sans); letter-spacing: -.025em; font-variation-settings: "SHRP" 60; text-wrap: balance; }
.pitch__t em { color: var(--lime); }
.pitch .btns { flex: 0 1 auto; flex-wrap: nowrap; }
.pitch .btn--ghost { --b-fg: var(--cream); --b-bd: rgba(243, 239, 228, .28); }
.pitch__count { flex: 1 1 260px; margin: 0; padding-left: 22px; border-left: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font: 500 13px/1.45 var(--f-mono); color: var(--ink-2); }
.pitch__count .ico { width: 18px; height: 18px; flex: none; color: var(--lime); }
.pitch__count b { color: var(--lime); font-weight: 700; font-size: 15px; }

.scene { position: relative; margin-top: clamp(30px, 4vw, 54px); }
.scene__scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scene__scroll::-webkit-scrollbar { display: none; }
.scene__inner { position: relative; min-width: 980px; aspect-ratio: 1440 / 520; }
.scene__inner > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fs-lbl { font: 600 13px var(--f-mono); letter-spacing: .06em; }
.fs-lbl--warm { fill: #a8661b; }
.fs-lbl--cold { fill: rgba(243, 239, 228, .82); }
.fs-lead { fill: none; stroke: rgba(18, 55, 42, .5); stroke-width: 1.2; stroke-dasharray: 3 4; }
.fs-mark { fill: var(--lime); stroke: var(--forest); stroke-width: 1.4; }
.fs-rotor { transform-box: view-box; transform-origin: 232px 165px; animation: spin 2.4s linear infinite; }
.fs-flow { stroke-dasharray: 7 9; animation: dash 1.3s linear infinite; }
.fs-glow { animation: glow 2.8s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.fs-puff { animation: wave 1.9s ease-in-out infinite; }
.fs-flame { transform-box: fill-box; transform-origin: center bottom; animation: flicker 1.2s ease-in-out infinite; }
.fs-drift { animation: drift 11s ease-in-out infinite alternate; }
.fs-drift--slow { animation-duration: 15s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(16px); } }
.fs-fan { transform-box: fill-box; transform-origin: center; animation: spin 1s linear infinite; }
.fs-robot { animation: rover 16s ease-in-out infinite; }
@keyframes rover { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(60px); } }
.fs-arm { transform-box: view-box; transform-origin: 1156px 380px; animation: arm 3.4s ease-in-out infinite; }
@keyframes arm { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(9deg); } }
.fs-mist { animation: flow 2.2s ease-in-out infinite; }
.spot {
  position: absolute; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px;
  border-radius: 999px; background: rgba(251, 250, 245, .95); border: 1px solid rgba(18, 55, 42, .14); box-shadow: 0 14px 30px -20px rgba(8, 23, 17, .55);
  text-decoration: none; white-space: nowrap; transition: border-color .2s, transform .3s var(--ease), background .2s;
}
.spot--end { transform: translateX(calc(-100% + 24px)); }
.spot .ibox { width: 36px; height: 36px; border-radius: 999px; border: 0; background: rgba(148, 193, 31, .18); }
.spot .ibox .ico { width: 22px; height: 22px; }
.spot b { display: block; font: 600 14.5px/1.15 var(--f-sans); letter-spacing: -.01em; }
.spot small { display: block; margin-top: 2px; font: 500 11.5px/1.2 var(--f-mono); color: var(--ink-3); }
.spot:hover, .spot:focus-visible { border-color: var(--lime); background: #fff; transform: translate(-50%, -2px); }
.spot--end:hover, .spot--end:focus-visible { transform: translate(calc(-100% + 24px), -2px); }
.scene__note { position: absolute; right: var(--gut); bottom: 12px; z-index: 3; margin: 0; font: 500 11.5px var(--f-mono); color: rgba(243, 239, 228, .82); }

/* ---------- night chart (moved from the hero to the turbine page) */
.nchart { position: relative; aspect-ratio: 1440 / 380; }
.nchart .tchart { position: absolute; inset: 0; }
.nchart .tc-mk.right b { left: auto; right: 14px; }
.nchart .tc-mk.right.up b { right: -6px; }

/* ---------- photo and video strip */
.mstrip { --h: clamp(300px, 32vw, 460px); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; outline: none; }
.mstrip__item { flex: none; margin: 0; width: calc(var(--h) * var(--ar)); scroll-snap-align: start; display: grid; gap: 10px; align-content: start; }
.mstrip__media { position: relative; height: var(--h); border-radius: var(--r-lg); overflow: hidden; background: var(--night-2); border: 1px solid var(--line); }
.mstrip__media.media { aspect-ratio: auto; }
.mstrip__media img, .mstrip__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mstrip__item--contain .mstrip__media { background: #fff; }
.mstrip__item--contain img { object-fit: contain; padding: 18px; }
.mstrip figcaption { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.mstrip__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; }
.mstrip__nav { display: flex; gap: 8px; margin-left: auto; }
.mstrip__btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: none; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: border-color .2s; }
.mstrip__btn .ico { width: 20px; height: 20px; }
.mstrip__btn:first-child .ico { transform: rotate(180deg); }
.mstrip__btn:hover { border-color: var(--ink); }

/* ---------- product models */
.models { display: grid; gap: 24px; }
.models__group { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); background: rgba(255, 255, 255, .4); }
.models__head { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 22px; }
.models__head h3 { margin-bottom: 6px; }
.models__head p { margin: 0; max-width: 72ch; font-size: 15.5px; }
.models__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.models__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.models__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.model { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fffdf8; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.model:hover { border-color: rgba(148, 193, 31, .75); transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(18, 55, 42, .4); }
.model__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.model__name { font: 600 19px/1.1 var(--f-sans); letter-spacing: -.02em; font-variation-settings: "SHRP" 60; }
.model__big { margin: 0; font: 600 clamp(28px, 2.6vw, 38px)/1 var(--f-sans); letter-spacing: -.04em; color: var(--lime-7); font-variation-settings: "SHRP" 60; }
.model__specs { margin: 4px 0 0; display: grid; }
.model__specs div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.model__specs dt { padding-top: 1px; font: 500 12px/1.4 var(--f-mono); color: var(--ink-3); }
.model__specs dd { margin: 0; color: var(--ink-2); }

/* ---------- placement plan */
.plan { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.plan__map { position: relative; margin: 0; aspect-ratio: var(--ar); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #1b2a22; }
.plan__map img, .plan__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan__map img { object-fit: cover; }
.plan__zone { fill: rgba(148, 193, 31, .24); stroke: var(--lime); stroke-width: 4; animation: zone 3.4s ease-in-out infinite; }
@keyframes zone { 0%, 100% { fill-opacity: .5; } 50% { fill-opacity: 1; } }
.plan__axis { stroke: rgba(243, 239, 228, .85); stroke-width: 2.5; stroke-dasharray: 10 8; }
.plan__mark path { fill: var(--lime); stroke: var(--night); stroke-width: 3; }
.plan__ring { fill: none; stroke: var(--cream); stroke-width: 2.5; stroke-opacity: .9; }
.plan__side h2 { font-size: clamp(32px, 3.4vw, 50px); }
.plan__side .lead { margin: 18px 0 24px; }
.plan__side .ticks { margin-bottom: 22px; }
.plan__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 24px; font: 500 12.5px var(--f-mono); color: var(--ink-2); }
.plan__legend span { display: inline-flex; align-items: center; gap: 8px; }
.plan__legend i { display: inline-block; }
.plan__legend .z { width: 22px; height: 12px; border-radius: 6px; background: rgba(148, 193, 31, .35); border: 2px solid var(--lime); }
.plan__legend .m { width: 10px; height: 10px; transform: rotate(45deg); background: var(--lime); }
.plan__legend .a { width: 22px; border-top: 2px dashed rgba(243, 239, 228, .85); }

/* ---------- technical data: the name above the value */
.specs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; margin: 0; }
.spec { display: block; padding: 18px 0 20px; }
.spec dt { margin-bottom: 6px; font: 500 12.5px/1.4 var(--f-mono); letter-spacing: .02em; color: var(--ink-3); }
.spec dd { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }

/* ---------- forms: interest, infrared data, location */
.form [hidden] { display: none !important; }
.fset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.fset > legend, .fset__l { padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--ink-2); }
.radio-cards--sm { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 6px; }
.radio-cards--sm .rc span { min-height: 44px; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; }
.radio-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.radio-cards .rc { display: flex; }
.radio-cards .rc > span { flex: 1; }
.irbox { min-width: 0; margin: 0; padding: 16px; display: grid; gap: 14px; border: 1px solid rgba(148, 193, 31, .55); border-radius: var(--r); background: rgba(148, 193, 31, .06); }
.irbox > legend { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 15px; font-weight: 600; }
.irbox > legend .ico { width: 22px; height: 22px; }
.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.irbox__gen { margin: 0; display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 14px; color: var(--ink-2); }
.irbox__gen .ico { width: 18px; height: 18px; margin-top: 2px; }
.irbox__est { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(18, 55, 42, .06); color: var(--ink-3); font: 500 13.5px/1.5 var(--f-mono); }
.irbox__est.on { background: var(--night); color: var(--cream); }
.geo { display: flex; gap: 8px; }
.geo .input { flex: 1; min-width: 0; }
.geo .btn { flex: none; min-height: 52px; }
.field__hint { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.field__hint.ok { color: var(--lime-7); }
.sec--dark .field__hint.ok, .leadbox__side .field__hint.ok { color: var(--lime); }

/* ---------- alerts: coming soon */
.alerts__top { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(148, 193, 31, .6); background: rgba(148, 193, 31, .1); color: var(--lime-3); font: 600 12.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- projects: video with sound, played on demand */
.proj__media--video { background: var(--night); }
.proj__media--video video { object-fit: contain; }

/* ---------- heat map: infrared tube mounting */
.hm__lab { font-size: 14px; color: var(--ink-2); }
.seg--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.hm .seg button { color: var(--ink-2); }
.hm .seg button[aria-pressed="true"] { background: var(--lime); color: var(--forest); font-weight: 500; }
.hm__tube { margin: 6px 0 0; padding: 8px 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #0d241b; }
.hm__tube svg { width: 100%; height: auto; }
.hm__tv { display: none; }
.hm__tube[data-v="drept"] .hm__tv[data-v="drept"], .hm__tube[data-v="zig_m"] .hm__tv[data-v="zig_m"], .hm__tube[data-v="zig_l"] .hm__tv[data-v="zig_l"] { display: inline; }
.hm__tt { font: 500 11px var(--f-mono); fill: rgba(243, 239, 228, .7); }
.hm__tube figcaption { padding: 6px 4px 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
.hm__tube figcaption b { color: var(--cream); font-weight: 600; }

/* ---------- calculator: the loss slider follows the crop */
.range__hint { margin: -2px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.range output { transition: color .3s; }
.range.is-auto output { color: var(--lime-7); }
.range.is-auto input[type="range"]::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(148, 193, 31, .3); }

@media (max-width: 1100px) {
  .pitch__count { flex-basis: 100%; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 1080px) {
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models__grid, .models__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { padding-top: 104px; }
  .pitch { padding: 22px 20px 18px; }
  .pitch__count { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .pitch .btns { flex-wrap: wrap; }
  .plan { grid-template-columns: minmax(0, 1fr); }
  .nchart { aspect-ratio: auto; height: 300px; }
  .scene__note { left: var(--gut); right: auto; }
}
@media (max-width: 600px) {
  .sol { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .sol__a { font-size: 14px; padding-right: 12px; min-width: 0; white-space: normal; line-height: 1.2; text-align: left; }
  .sol__a:last-child { grid-column: 1 / -1; justify-self: center; }
  .pitch__t { font-size: 20px; }
  .specs, .models__grid, .models__grid--2, .models__grid--4, .form__row--3 { grid-template-columns: minmax(0, 1fr); }
  .model__specs div { grid-template-columns: 84px minmax(0, 1fr); }
  .geo { flex-wrap: wrap; }
  .geo .btn { width: 100%; }
  .mstrip { --h: 300px; }
  .scene__inner { min-width: 900px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
