/* SublimLab — шаблон сайта лаборатории сублимационной сушки (tpl_sublimlab) */

:root {
  --bg: #edece8;
  --paper: #f6f5f2;
  --ink: #121211;
  --ink-2: #4b4a46;
  --muted: #8b8a84;
  --line: #d3d1ca;
  --line-2: #bebcb4;
  --accent: #f2491b;
  --accent-2: #d93c10;
  --accent-soft: #fbd9cd;
  --dark: #161615;
  --dark-2: #22221f;
  --on-dark: #edece8;
  --ice: #dfe6ea;

  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1360px;
  --gut: clamp(16px, 3.2vw, 40px);
  --sec: clamp(72px, 9vw, 136px);
  --header: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
[hidden] { display: none !important; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-size: 11px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; font-weight: 400; }
.i { flex: none; }

/* ---------- Type ---------- */
.h2, .h3, .hero__title, .page-hero__title, .cta__title, .statement__big {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .98;
}
.h2 { font-size: clamp(30px, 4.2vw, 58px); }
.h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.02; }
.st-grey { color: var(--muted); }
.st-dark { color: var(--ink); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.tag { display: inline-flex; gap: 10px; align-items: center; font: 400 11px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 20px; }
.tag__num { display: inline-grid; place-items: center; min-width: 28px; height: 20px; padding: 0 6px; background: var(--ink); color: var(--bg); }
.tag--light { color: var(--on-dark); }
.tag--light .tag__num { background: var(--accent); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 18px;
  border: 1px solid transparent; border-radius: 0;
  font: 500 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 12px; }
.btn--lg { --h: 54px; padding: 0 24px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--ink); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--accent); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font: 500 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link-arrow:hover { color: var(--accent); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled, .header.is-open { border-color: var(--line); }
.header__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: var(--header); display: flex; align-items: center; gap: 24px; }
.header__logo { text-decoration: none; flex: none; }
.header__nav { display: flex; margin-left: auto; border-left: 1px solid var(--line); }
.header__nav a { padding: 8px 14px; border-right: 1px solid var(--line); font: 400 11.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.header__nav a:hover, .header__nav a[aria-current] { color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.header__phone:hover { color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--ink); background: none; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); max-height: calc(100dvh - var(--header)); overflow-y: auto; padding: 8px var(--gut) 28px; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: -.02em; text-decoration: none; }
.mobile-menu nav a .mono { color: var(--muted); }
.mobile-menu nav a[aria-current] { color: var(--accent); }
.mobile-menu__foot { display: grid; gap: 12px; padding-top: 22px; }
.mobile-menu__phone { font-weight: 600; font-size: 24px; text-decoration: none; }

/* Logo */
.logo-mark { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark__icon { color: var(--ink); }
.logo-mark__dot { fill: var(--accent); }
.logo-mark__text { font-weight: 700; font-size: 19px; letter-spacing: -.02em; text-transform: uppercase; }
.logo-mark__text b { font-weight: 700; color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: var(--sec) 0 0; }
.shead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); padding-top: 22px; border-top: 1px solid var(--line-2); }
.shead__aside { color: var(--ink-2); max-width: 520px; justify-self: end; }
.shead .rail-nav { justify-self: end; }

/* ---------- Hero ---------- */
.hero { padding-top: 18px; }
.hero__frame { position: relative; aspect-ratio: 16 / 7.2; min-height: 360px; overflow: hidden; background: var(--dark); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.14) 1px, transparent 1px); background-size: calc(100% / 8) calc(100% / 4); pointer-events: none; mix-blend-mode: overlay; }
.hero__coords { position: absolute; top: 16px; left: 18px; color: #fff; opacity: .85; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero__label { position: absolute; display: grid; gap: 6px; width: min(270px, 40%); padding: 14px 16px 16px; background: var(--accent); color: #fff; }
.hero__label b { font-weight: 600; font-size: 15px; line-height: 1.2; }
.hero__label .mono { opacity: .85; font-size: 10px; }
.hero__label--a { left: 7%; bottom: 12%; }
.hero__label--b { right: 22%; top: 18%; background: var(--ink); }
.hero__toggle { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.25); color: #fff; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; padding: 32px 0 0; border-bottom: 1px solid var(--line-2); padding-bottom: 36px; }
.hero__title { font-size: clamp(32px, 4vw, 58px); }
.hero__list { display: grid; border-top: 1px solid var(--line-2); }
.hero__list li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.hero__list .mono { color: var(--accent); padding-top: 3px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 22px; }
.hero__phone { display: grid; gap: 2px; font-weight: 600; font-size: 20px; text-decoration: none; }
.hero__phone .mono { color: var(--muted); font-size: 10px; }
.hero__phone:hover { color: var(--accent); }

/* ---------- Blueprint drawing ---------- */
.bp { width: 100%; height: auto; color: var(--ink); overflow: visible; }
.bp__sun { fill: var(--accent); }
.bp__line { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.bp__fill { fill: var(--bg); }
.bp__thin { fill: none; stroke: currentColor; stroke-width: .8; }
.bp__line .bp__thin { stroke-width: .7; }
.bp__dash { fill: none; stroke-dasharray: 4 4; stroke-width: .9; }
.bp__tray { fill: var(--accent); stroke: none; }
.bp__dim { fill: none; stroke: var(--muted); stroke-width: .8; }
.bp__dim text { fill: var(--muted); stroke: none; font: 500 13px var(--mono); }
.bp__leader { stroke: var(--ink); stroke-width: .8; fill: none; }
.bp__target { fill: var(--ink); }
.bp__call circle { fill: var(--ink); stroke: var(--bg); stroke-width: 2; transition: fill .2s; }
.bp__call text { fill: var(--bg); font: 600 13px var(--mono); text-anchor: middle; }
.bp__call--btn { cursor: pointer; outline: none; }
.bp__call--btn:hover circle, .bp__call--btn:focus-visible circle, .bp__call--btn.is-active circle { fill: var(--accent); }
.bp__call--btn.is-active circle { stroke: var(--accent-soft); stroke-width: 5; }

/* ---------- Statement ---------- */
.statement__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.statement__big { font-size: clamp(26px, 3.1vw, 44px); line-height: 1.02; margin-bottom: 28px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.fact { padding: 18px 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.fact dt { color: var(--muted); }
.fact dd { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.fact dd b { font-weight: 600; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.03em; line-height: 1; }
.fact dd > span { font-weight: 600; font-size: 20px; }
.fact p { color: var(--ink-2); font-size: 14px; line-height: 1.4; }

/* Marquee */
.marquee { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.marquee__label { color: var(--muted); }
.marquee__track { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.marquee__row { display: flex; width: max-content; animation: marquee 190s linear infinite; }
.marquee__row span { display: inline-flex; align-items: baseline; gap: 10px; padding: 0 28px; border-left: 1px solid var(--line); font-weight: 600; font-size: 17px; white-space: nowrap; text-transform: uppercase; letter-spacing: -.01em; }
.marquee__row i { font-style: normal; color: var(--muted); }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Directions ---------- */
.dirs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.dir { padding: 18px 22px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: background .3s; }
.dir:hover { background: var(--paper); }
.dir__label { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.dir__dot { width: 7px; height: 7px; background: var(--accent); }
.dir__icon { height: 150px; display: grid; place-items: center; }
.iso { width: 150px; height: auto; color: var(--ink); }
.iso path { stroke: currentColor; stroke-width: 1; stroke-linejoin: round; }
.iso__f0 { fill: var(--paper); }
.iso__f1 { fill: #e2e0da; }
.iso__f2 { fill: #fbfaf8; }
.iso .is-accent.iso__f0 { fill: var(--accent); }
.iso .is-accent.iso__f1 { fill: var(--accent-2); }
.iso .is-accent.iso__f2 { fill: #ff8a63; }
.iso__ring path { fill: none; }
.dir:hover .iso { transform: translateY(-4px); }
.iso { transition: transform .5s var(--ease); }
.dir__title { font-weight: 600; font-size: 21px; line-height: 1.05; text-transform: uppercase; letter-spacing: -.02em; }
.dir__text { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

/* ---------- Process + phase diagram ---------- */
.process__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: start; }
.process__steps { display: grid; border-top: 1px solid var(--line-2); }
.pstep { display: grid; grid-template-columns: 44px 1fr; gap: 12px; text-align: left; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); background: none; position: relative; }
.pstep::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.pstep[aria-selected="true"]::before { width: 100%; }
.pstep__num { color: var(--muted); padding-top: 4px; }
.pstep[aria-selected="true"] .pstep__num { color: var(--accent); }
.pstep__title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; letter-spacing: -.02em; }
.pstep__text { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.pstep[aria-selected="true"] .pstep__text { max-height: 200px; opacity: 1; margin-top: 10px; }
.pstep:not([aria-selected="true"]):hover .pstep__title { color: var(--accent); }
.process__chart { background: var(--paper); border: 1px solid var(--line); padding: clamp(12px, 2vw, 24px); }
.process__chart figcaption { color: var(--muted); margin-top: 12px; }
.phase { width: 100%; height: auto; }
.phase__ice { fill: var(--ice); }
.phase__grid path { stroke: var(--line); stroke-width: 1; }
.phase__ticks text { font: 400 10.5px var(--mono); fill: var(--muted); }
.phase__atm { stroke: var(--ink-2); stroke-dasharray: 3 4; }
.phase__note { font: 400 10.5px var(--mono); fill: var(--ink-2); }
.phase__curve { fill: none; stroke: var(--ink); stroke-width: 2; }
.phase__region { font: 600 20px var(--font); letter-spacing: .02em; fill: var(--ink); opacity: .75; }
.phase__tp { fill: var(--ink); }
.phase__path path { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 5 5; transition: stroke .4s; }
.phase__path path.is-done { stroke: var(--ink); stroke-dasharray: none; }
.phase__path path.is-active { stroke: var(--accent); stroke-width: 3; stroke-dasharray: none; }
.phase__pts circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.phase__dot { fill: var(--accent); stroke: #fff; stroke-width: 3; transition: cx .9s var(--ease), cy .9s var(--ease); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 64px; align-items: start; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.chip-label { position: absolute; left: 16px; bottom: 16px; display: grid; gap: 4px; padding: 12px 14px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; }
.chip-label .mono { font-size: 10px; opacity: .85; }
.about__text { display: grid; gap: 18px; color: var(--ink-2); }
.about__text .lead { color: var(--ink); }
.about__text b { color: var(--ink); font-weight: 600; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); margin-top: 8px; }
.person { display: grid; gap: 6px; align-content: start; padding: 14px 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.35; }
.person b { font-size: 16px; line-height: 1.2; }
.person__role { color: var(--accent); }

/* Tone: equipment/people photos in monochrome, colour on hover */
.tone { transition: transform .8s var(--ease); }

/* ---------- Rail (places) ---------- */
.rail-nav { display: flex; gap: 8px; }
.rail-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--ink); background: none; transition: background .2s, color .2s; }
.rail-btn:hover { background: var(--ink); color: var(--bg); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 36px) / 3.2)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.place { scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.place__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--dark); }
.place__media img { width: 100%; height: 100%; object-fit: cover; }
.place__media:hover img { transform: scale(1.03); }
.place__zoom { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--bg); color: var(--ink); opacity: 0; transition: opacity .3s; }
.place__media:hover .place__zoom, .place__media:focus-visible .place__zoom { opacity: 1; }
.place figcaption { display: grid; gap: 6px; font-size: 15px; line-height: 1.35; font-weight: 500; }
.place figcaption .mono { color: var(--muted); }

/* ---------- Tabs / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); margin-bottom: 24px; }
.chip { display: inline-flex; align-items: flex-start; gap: 4px; padding: 14px 18px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: none; font: 500 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); transition: background .2s, color .2s; }
.chip sup { font-size: 9px; color: var(--muted); }
.chip:hover { color: var(--accent); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chip[aria-selected="true"] sup, .chip[aria-pressed="true"] sup { color: var(--accent); }

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pgrid:not([hidden]) { animation: fadeUp .5s var(--ease); }
.pcard { display: grid; gap: 8px; align-content: start; text-decoration: none; }
.pcard__media { display: block; overflow: hidden; aspect-ratio: 1; background: var(--dark); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__name { font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: -.01em; }
.pcard__note { color: var(--accent); font-size: 10.5px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Compare ---------- */
.ctable { border-top: 1px solid var(--line-2); }
.ctable__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.ctable__row > span { padding: 14px 16px; display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.35; }
.ctable__row > span:first-child { padding-left: 0; font-weight: 500; }
.ctable__row--head > span { font: 500 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ctable__us { background: var(--ink); color: var(--bg); }
.ctable__row--head .ctable__us { background: var(--accent); color: #fff; }
.ctable__us .i { color: var(--accent); }
.ctable__them { color: var(--ink-2); }
.props { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 32px 56px; margin-top: clamp(56px, 7vw, 96px); }
.props__head { display: grid; gap: 16px; align-content: start; position: sticky; top: calc(var(--header) + 24px); }
.props__head p { color: var(--ink-2); }
.props__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.prop { display: grid; gap: 10px; align-content: start; padding: 16px 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.prop:hover { background: var(--paper); }
.prop__num { color: var(--accent); }
.prop__title { font-weight: 600; font-size: 17px; line-height: 1.25; }
.prop__use { display: grid; gap: 4px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.prop__use .mono { color: var(--muted); font-size: 10px; }

/* ---------- Audience ---------- */
.audience__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px 64px; align-items: stretch; }
.audience__media { position: relative; min-height: 520px; overflow: hidden; }
.audience__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.audience__bar { position: absolute; z-index: 1; left: 12%; top: 0; width: 22%; height: 58%; background: var(--accent); mix-blend-mode: multiply; }
.audience__body .h2 { margin-bottom: 28px; }
.alist { border-top: 1px solid var(--line-2); }
.alist__btn { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; text-align: left; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: none; }
.alist__who { font-weight: 600; font-size: clamp(18px, 1.7vw, 22px); text-transform: uppercase; letter-spacing: -.015em; transition: color .2s, transform .3s var(--ease); }
.alist__what { grid-column: 1; color: var(--ink-2); font-size: 14.5px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s; }
.alist__btn .i { grid-row: 1; grid-column: 2; transition: transform .3s var(--ease), color .2s; }
.alist__btn:hover .alist__who, .alist__btn:focus-visible .alist__who { color: var(--accent); transform: translateX(6px); }
.alist__btn:hover .alist__what, .alist__btn:focus-visible .alist__what { max-height: 80px; opacity: 1; }
.alist__btn:hover .i { color: var(--accent); transform: rotate(45deg); }

/* ---------- News ---------- */
.ngrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ncard { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); }
.ncard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--dark); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; }
.ncard__media--type { background: var(--accent); color: #fff; }
.ncard__cover { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background-image: linear-gradient(to right, rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 25% 25%; }
.ncard__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.ncard__meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.ncard__title { font-weight: 600; font-size: 17px; line-height: 1.25; }
.ncard__title a { text-decoration: none; }
.ncard__title a::after { content: ""; position: absolute; inset: 0; }
.ncard { position: relative; transition: border-color .3s, transform .3s var(--ease); }
.ncard:hover { border-color: var(--ink); }
.ncard:hover .ncard__title { color: var(--accent); }
.ncard__text { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.ncard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }

/* ---------- Partners ---------- */
.pgrid-t { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.ptile { display: grid; gap: 8px; align-content: space-between; min-height: 150px; padding: 16px 18px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s, color .3s; }
.ptile .mono { color: var(--muted); }
.ptile b { font-weight: 600; font-size: 19px; line-height: 1.15; text-transform: uppercase; letter-spacing: -.015em; }
.ptile span:last-child { color: var(--ink-2); font-size: 14px; }
.ptile:hover { background: var(--ink); color: var(--bg); }
.ptile:hover span:last-child { color: var(--line-2); }
.ptile:hover .mono { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 32px 64px; align-items: start; padding-top: 22px; position: relative; }
.faq-wrap__head { display: grid; gap: 18px; justify-items: start; position: sticky; top: calc(var(--header) + 24px); }
.faq-wrap__head p { color: var(--ink-2); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line-2); }
.faq__item summary { display: grid; grid-template-columns: 40px 1fr 24px; gap: 12px; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { color: var(--muted); }
.faq__q { font-weight: 600; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.25; }
.faq__item summary .i { transition: transform .3s var(--ease); }
.faq__item[open] summary .i { transform: rotate(45deg); color: var(--accent); }
.faq__item summary:hover .faq__q { color: var(--accent); }
.faq__item p { padding: 0 36px 22px 52px; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { padding: var(--sec) 0; }
.cta__box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; border-top: 1px solid var(--line-2); padding-top: 22px; }
.cta__title { font-size: clamp(32px, 4.4vw, 62px); margin-bottom: 20px; }
.cta__lead { color: var(--ink-2); font-size: 18px; max-width: 560px; margin-bottom: 26px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__meta { color: var(--muted); margin-top: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); padding: clamp(56px, 7vw, 88px) 0 24px; overflow: hidden; }
.footer .logo-mark__icon { color: var(--on-dark); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.footer__logo { text-decoration: none; display: inline-block; margin-bottom: 18px; }
.footer__lead { color: #a9a8a2; max-width: 380px; font-size: 15px; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.footer__col a { text-decoration: none; color: #cfcec8; }
.footer__col a:hover { color: var(--accent); }
.footer__title { color: #7d7c77; margin-bottom: 6px; }
.footer__credits { gap: 10px; }
.footer__credits-client { color: var(--on-dark); font-size: 15px; line-height: 1.4; }
.footer__credits-label { color: #7d7c77; margin-top: 6px; }
.footer__partner { display: inline-flex; align-items: center; opacity: .8; transition: opacity .2s; }
.footer__partner:hover { opacity: 1; }
.footer__partner img { display: block; width: auto; height: auto; max-width: 160px; max-height: 40px; }
.footer__phone { font-weight: 600; font-size: 20px; color: var(--on-dark) !important; }
.footer__contacts span { color: #a9a8a2; }
.footer__social { display: flex; gap: 8px; margin-top: 6px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #3a3a36; }
.footer__social a:hover { border-color: var(--accent); }
.footer__grant { color: #7d7c77; margin-top: 48px; padding-top: 18px; border-top: 1px solid #2e2e2b; }
.footer__mark { display: flex; justify-content: space-between; margin: 28px 0 18px; font-weight: 800; font-size: clamp(52px, 15.4vw, 224px); line-height: .8; letter-spacing: -.045em; text-decoration: none; color: transparent; -webkit-text-stroke: 1.2px #54534e; user-select: none; }
.footer__mark span:last-child { -webkit-text-stroke-color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: #7d7c77; padding-top: 16px; border-top: 1px solid #2e2e2b; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 400 11px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span::before { content: "/"; margin-right: 8px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; padding-bottom: 36px; border-bottom: 1px solid var(--line-2); }
.page-hero__grid--solo { grid-template-columns: 1fr; }
.page-hero__title { font-size: clamp(44px, 7.4vw, 100px); line-height: .9; }
.page-hero__lead { margin-top: 24px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 640px; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font: 400 11px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.field > span i { font-style: normal; color: var(--muted); text-transform: none; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 0; background: var(--paper); font-size: 16px; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--accent); }
.field__err { color: var(--accent-2); font-size: 13px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.4; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.check.is-invalid { color: var(--accent-2); }
.form__status { font-size: 14px; min-height: 1em; }
.form__status.is-error { color: var(--accent-2); }
.form-done { display: grid; gap: 14px; justify-items: start; }
.form-done__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--accent); color: #fff; }

/* ---------- Modal + lightbox ---------- */
.modal { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: clamp(24px, 4vw, 40px); border: 0; border-radius: 0; background: var(--bg); color: var(--ink); overflow-y: auto; }
.modal::backdrop, .lightbox::backdrop { background: rgba(18, 18, 17, .72); backdrop-filter: blur(3px); }
.modal[open] { animation: fadeUp .35s var(--ease); }
.modal__close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); background: none; }
.modal__close:hover { border-color: var(--ink); }
.modal__title { font-weight: 600; font-size: 30px; line-height: 1; text-transform: uppercase; letter-spacing: -.02em; }
.modal__lead { color: var(--ink-2); font-size: 15px; }
.modal__topic { padding: 10px 12px; background: var(--paper); border-left: 3px solid var(--accent); font-size: 14px; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; display: none; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__fig { display: grid; gap: 12px; justify-items: center; max-width: calc(100vw - 140px); }
.lightbox__fig img { max-height: calc(100dvh - 120px); width: auto; max-width: 100%; object-fit: contain; background: var(--dark); }
.lightbox__fig figcaption { display: flex; gap: 14px; align-items: baseline; color: #eee; font-size: 15px; text-align: center; }
.lightbox__close, .lightbox__nav { position: fixed; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.3); color: #fff; }
.lightbox__close { right: 16px; top: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 420px; display: grid; gap: 12px; justify-items: start; padding: 16px 18px; background: var(--paper); border: 1px solid var(--ink); font-size: 13.5px; line-height: 1.45; }
.cookie[hidden] { display: none; }

/* ============ Inner pages ============ */
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
.section--flush { padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--sec); }
.note { color: var(--muted); margin-top: 14px; }
.chips--inline { margin-bottom: 0; justify-self: end; }

/* Intro statement */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.intro__big { font-weight: 600; font-size: clamp(24px, 2.7vw, 38px); line-height: 1.08; letter-spacing: -.02em; text-transform: uppercase; }
.intro__side { display: grid; gap: 16px; color: var(--ink-2); }
.intro__label { color: var(--muted); }
.intro__list { border-top: 1px solid var(--line-2); }
.intro__list li { display: grid; grid-template-columns: 36px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); text-transform: uppercase; font-size: 15px; letter-spacing: -.005em; }
.intro__list .mono { color: var(--accent); padding-top: 3px; }
.intro__list--links a { text-decoration: none; }
.intro__list--links a:hover { color: var(--accent); }

/* Services list */
.slist { border-top: 1px solid var(--line-2); }
.srow { display: grid; grid-template-columns: 44px 44px minmax(0, 1fr) 150px auto; gap: 16px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.srow:hover { background: var(--paper); }
.srow__num { color: var(--muted); padding-left: 4px; }
.srow__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.srow:hover .srow__icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.srow__title { font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.15; text-transform: uppercase; letter-spacing: -.015em; margin-bottom: 6px; }
.srow__text { color: var(--ink-2); font-size: 15px; max-width: 720px; }
.srow__group { color: var(--muted); }
.srow__btn { margin-right: 4px; }

/* Anatomy */
.anatomy { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
.anatomy__draw { background: var(--paper); border: 1px solid var(--line); padding: clamp(12px, 2.4vw, 32px); }
.anatomy__draw .bp__fill { fill: var(--paper); }
.anatomy__list { border-top: 1px solid var(--line-2); }
.node { display: grid; grid-template-columns: 32px 1fr; gap: 0 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.node__num { width: 24px; height: 24px; display: grid; place-items: center; background: var(--ink); color: var(--bg); border-radius: 50%; font-size: 11px; transition: background .2s; }
.node__name { font-weight: 600; font-size: 16px; text-transform: uppercase; align-self: center; }
.node__text { grid-column: 2; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .3s, margin .3s; }
.node.is-active .node__num { background: var(--accent); }
.node.is-active .node__name { color: var(--accent); }
.node.is-active .node__text { max-height: 140px; opacity: 1; margin-top: 6px; }

/* Workflow */
.flow__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.fstep { display: grid; gap: 14px; align-content: start; }
.fstep__bar { display: flex; align-items: center; background: var(--dark); color: var(--on-dark); height: 38px; padding: 0 0 0 12px; overflow: hidden; }
.fstep__label { flex: none; }
.fstep__line { flex: 1; height: 1px; margin-left: 14px; background: linear-gradient(to right, var(--accent), transparent); }
.fstep:nth-child(1) .fstep__bar, .fstep:hover .fstep__bar { background: var(--accent); }
.fstep:hover .fstep__line { background: #fff; }
.fstep__bar { transition: background .3s; }
.fstep__text { color: var(--ink-2); font-size: 15px; }
.fstep__result { display: grid; gap: 4px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-weight: 600; }
.fstep__result .mono { color: var(--muted); font-weight: 400; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); border: 1px solid var(--line-2); background: var(--paper); }
.calc__inputs { padding: clamp(18px, 3vw, 32px); display: grid; gap: 28px; border-right: 1px solid var(--line-2); }
.calc__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__group legend { padding: 0; margin-bottom: 14px; color: var(--ink-2); }
.calc__raws { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.raw { position: relative; cursor: pointer; }
.raw input { position: absolute; opacity: 0; }
.raw > span { display: grid; gap: 4px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); height: 100%; transition: background .2s, color .2s; }
.raw b { font-weight: 600; font-size: 15px; line-height: 1.2; }
.raw i { font-style: normal; color: var(--muted); }
.raw:hover > span { background: var(--bg); }
.raw input:checked + span { background: var(--ink); color: var(--bg); }
.raw input:checked + span i { color: var(--accent); }
.raw input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.calc__range { display: grid; grid-template-columns: 1fr 140px; gap: 18px; align-items: center; }
.calc__range input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }
.calc__num { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: #fff; padding: 0 12px; }
.calc__num input { width: 100%; min-width: 0; border: 0; padding: 12px 0; font-weight: 600; font-size: 20px; background: none; }
.calc__num input:focus { outline: none; }
.calc__num:focus-within { border-color: var(--ink); }
.calc__scale { display: flex; justify-content: space-between; color: var(--muted); margin-top: 6px; padding-right: 158px; }
.calc__out { padding: clamp(18px, 3vw, 32px); display: grid; gap: 16px; align-content: start; background: var(--dark); color: var(--on-dark); }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #34342f; }
.calc__row .mono { color: #9a9993; }
.calc__row b { font-weight: 600; font-size: 28px; letter-spacing: -.02em; }
.calc__meter { position: relative; height: 10px; background: #34342f; margin: 4px 0 18px; }
.calc__meter span { position: absolute; left: 0; top: 0; bottom: 0; width: var(--fill, 0%); background: var(--accent); transition: width .5s var(--ease); }
.calc__meter i { position: absolute; top: 16px; font-style: normal; color: #9a9993; }
.calc__meter i:first-of-type { left: 6%; }
.calc__meter i:last-of-type { right: 0; }
.calc__meter::before { content: ""; position: absolute; left: 6%; top: -4px; bottom: -4px; width: 1px; background: #9a9993; }
.calc__model { display: grid; gap: 6px; padding: 16px; border: 1px solid #34342f; }
.calc__model .mono { color: #9a9993; }
.calc__model b { font-weight: 700; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.calc__model p { color: #cfcec8; font-size: 14.5px; }

/* Facts flush */
.facts--flush { margin-top: 0; }

/* Cases */
.cases { display: grid; gap: clamp(40px, 5vw, 72px); }
.case__bar { display: flex; justify-content: space-between; align-items: center; height: 38px; padding: 0 12px; background: var(--dark); color: var(--on-dark); margin-bottom: 22px; }
.case__status { display: inline-flex; align-items: center; gap: 8px; color: #9a9993; }
.case__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9a9993; }
.case__status.is-active { color: #fff; }
.case__status.is-active::before { background: var(--accent); box-shadow: 0 0 0 0 rgba(242, 73, 27, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(242, 73, 27, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 73, 27, 0); } }
.case__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px 48px; align-items: start; }
.case:nth-child(even) .case__info { order: 2; }
.case__info { display: grid; gap: 18px; justify-items: start; }
.case__title { font-weight: 600; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; }
.case__text { color: var(--ink-2); }
.case__meta { width: 100%; border-top: 1px solid var(--line-2); }
.case__meta div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.case__meta dt { color: var(--muted); padding-top: 3px; }
.case__gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case__gallery--2 { grid-template-columns: 1.4fr 1fr; }
.case__gallery--3 .case__ph:first-child, .case__gallery--4 .case__ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.case__gallery--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case__ph { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--dark); }
.case__gallery--2 .case__ph { aspect-ratio: auto; height: clamp(260px, 30vw, 420px); }
.case__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case__ph:hover img { transform: scale(1.04); }
.case__ph:hover .place__zoom, .case__ph:focus-visible .place__zoom, .unit__media:hover .place__zoom, .patent__doc:hover .place__zoom { opacity: 1; }

/* Dark section */
.dark-sec { background: var(--dark); color: var(--on-dark); margin-top: var(--sec); padding-bottom: var(--sec); }
.dark-sec .st-grey { color: #7d7c77; }
.shead--dark { border-color: #34342f; }
.shead--dark .shead__aside { color: #a9a8a2; }
.dark-sec .h3 { color: var(--on-dark); }

/* Mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 17vw, 240px); gap: 10px; }
.mosaic__item { position: relative; overflow: hidden; display: block; background: #000; }
.mosaic__item--1 { grid-column: span 2; grid-row: span 2; }
.mosaic__item--2 { grid-column: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic__item:hover img { transform: scale(1.03); }
.mosaic__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: 14px; line-height: 1.3; }

/* Chronicle */
.chron { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 32px 64px; align-items: start; padding-top: 22px; position: relative; }
.chron::before, .faq-wrap::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid var(--line-2); }
.chron__head { display: grid; gap: 20px; position: sticky; top: calc(var(--header) + 24px); }
.chron__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chron__photo figcaption { color: var(--muted); margin-top: 8px; }
.chron__list { position: relative; padding-left: 28px; }
.chron__list::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.chron__item { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.chron__item::before { content: ""; position: absolute; left: -27px; top: 20px; width: 11px; height: 11px; background: var(--bg); border: 1px solid var(--ink); transition: background .3s; }
.chron__item:hover::before { background: var(--accent); border-color: var(--accent); }
.chron__when { color: var(--accent); padding-top: 4px; }
.chron__what { font-size: 16px; }

/* Geography */
.geo { border-top: 1px solid var(--line-2); }
.geo__row { display: grid; grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.geo__row .mono { color: var(--muted); }
.geo__row b { font-weight: 600; font-size: clamp(22px, 2.6vw, 36px); text-transform: uppercase; letter-spacing: -.025em; line-height: 1; transition: color .2s; }
.geo__row span:last-child { color: var(--ink-2); }
.geo__row:hover b { color: var(--accent); }

/* Models + spec table */
.models { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; margin-bottom: 28px; }
.model { display: grid; gap: 10px; justify-items: start; align-content: start; padding: 20px 22px 24px; background: var(--paper); border: 1px solid var(--line); }
.model__draw { width: 100%; height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; overflow: hidden; }
.model__draw .bp { height: 200px; width: auto; max-width: 100%; }
.model__draw .bp__fill { fill: var(--paper); }
.model__draw .iso { width: 170px; }
.model__kind { color: var(--muted); }
.model__code { font-weight: 700; font-size: clamp(44px, 5vw, 72px); line-height: .9; letter-spacing: -.04em; }
.model--big .model__code { color: var(--accent); }
.model__for { color: var(--ink-2); margin-bottom: 6px; }
.spec { border-top: 1px solid var(--line-2); }
.spec__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.spec__row > span { padding: 13px 16px; font-size: 15px; }
.spec__row > span:first-child { padding-left: 0; color: var(--ink-2); }
.spec__row > span:nth-child(2) { background: color-mix(in srgb, var(--accent) 8%, transparent); font-weight: 600; }
.spec__row > span:nth-child(3) { font-weight: 600; }
.spec__row--head > span { font-weight: 700 !important; font-size: 20px; }
.spec__row--head > span:first-child { font: 400 11px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); align-self: center; }
.spec__row--head > span:nth-child(2) { background: var(--accent); color: #fff; }
.spec__row:not(.spec__row--head):hover { background: var(--paper); }

/* Coffee */
.coffee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 48px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: clamp(20px, 3vw, 36px); background: var(--ink); color: var(--on-dark); }
.coffee__num { display: flex; align-items: flex-end; gap: 10px; }
.coffee__num b { font-weight: 700; font-size: clamp(80px, 11vw, 160px); line-height: .8; letter-spacing: -.05em; color: var(--accent); }
.coffee__num span { font: 500 13px/1.3 var(--mono); text-transform: uppercase; color: #a9a8a2; }
.coffee__text { display: grid; gap: 12px; }
.coffee__text .mono { color: #9a9993; }
.coffee__text p:last-child { color: #cfcec8; }

/* EOR */
.eor-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.eor-video { position: relative; background: #000; }
.eor-video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.eor-video figcaption { padding: 12px 14px; color: #9a9993; background: var(--dark-2); }
.eor-video .hero__toggle { bottom: 58px; }
.eor-benefits { display: grid; grid-template-columns: 1fr 1fr; align-content: stretch; border-top: 1px solid #34342f; border-left: 1px solid #34342f; }
.eor-b { display: grid; gap: 10px; align-content: space-between; padding: 16px; border-right: 1px solid #34342f; border-bottom: 1px solid #34342f; }
.eor-b .mono { color: #9a9993; }
.eor-b b { font-weight: 600; font-size: 18px; line-height: 1.2; }
.eor-b:nth-child(-n+2) b { font-size: clamp(28px, 3vw, 40px); color: var(--accent); letter-spacing: -.02em; }
.eor-chart { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.eor-chart__text { display: grid; gap: 20px; }
.eor-list { display: grid; gap: 0; border-top: 1px solid #34342f; counter-reset: e; }
.eor-list li { counter-increment: e; display: grid; grid-template-columns: 36px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid #34342f; color: #cfcec8; }
.eor-list li::before { content: "0" counter(e); font: 400 11px/2 var(--mono); color: var(--accent); }
.eor-list b { color: #fff; }
.eor-chart__who { color: #9a9993; }
.eor-chart__fig { background: var(--dark-2); padding: clamp(12px, 2vw, 22px); }
.eor-chart__fig figcaption { color: #7d7c77; margin-top: 8px; }
.chart { width: 100%; height: auto; }
.chart__grid path { stroke: #34342f; }
.chart__grid text { fill: #9a9993; font: 400 10.5px var(--mono); }
.chart__base, .chart__eor, .chart__gap { fill: none; }
.chart__base { stroke: #9a9993; stroke-width: 2; stroke-dasharray: 6 5; }
.chart__eor { stroke: var(--accent); stroke-width: 3; }
.chart__gap { stroke: #fff; stroke-width: 1; stroke-dasharray: 2 3; }
.chart__label { fill: #fff; font: 400 10.5px var(--mono); }
.chart__legend text { fill: #cfcec8; font: 400 12px var(--font); }
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(48px, 6vw, 80px); }
.unit { display: grid; grid-template-rows: auto 1fr; background: var(--dark-2); border: 1px solid #34342f; }
.unit__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.unit__media img { width: 100%; height: 100%; object-fit: cover; }
.unit__body { display: grid; gap: 12px; justify-items: start; align-content: start; padding: 20px 22px 24px; }
.unit__kind { color: #9a9993; }
.unit__name { font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.unit__specs { width: 100%; border-top: 1px solid #34342f; }
.unit__specs div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid #34342f; font-size: 14px; }
.unit__specs dt { color: #9a9993; }
.unit__foot { color: #a9a8a2; font-size: 14px; }

/* Tech */
.tech { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; }
.tech__text { display: grid; gap: 16px; color: var(--ink-2); }
.tech__text .lead { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 9px 14px; border: 1px solid var(--line-2); font-weight: 500; font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.tags li:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tags .tags__more { border-style: dashed; color: var(--muted); }

/* Patent */
.patent { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px 64px; align-items: start; }
.patent__doc { position: relative; display: block; background: #fff; padding: 12px; border: 1px solid var(--line); box-shadow: 14px 14px 0 var(--accent); }
.patent__info { display: grid; gap: 22px; justify-items: start; }
.patent__num { font-weight: 700; font-size: clamp(48px, 7vw, 104px); line-height: .85; letter-spacing: -.045em; }
.patent__dl { width: 100%; border-top: 1px solid var(--line-2); }
.patent__dl div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.patent__dl dt { color: var(--muted); padding-top: 3px; }

/* Done */
.done { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.done__item { display: grid; gap: 10px; align-content: start; min-height: 190px; padding: 18px 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.done__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.done__top .mono { color: var(--accent); }
.done__item b { font-weight: 600; font-size: 19px; line-height: 1.2; text-transform: uppercase; letter-spacing: -.01em; }
.done__item > span:last-child { color: var(--ink-2); font-size: 14.5px; }
.done__item:hover { background: var(--paper); }
.pub { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 24px; padding: 20px 22px; background: var(--accent); color: #fff; text-decoration: none; transition: background .3s; }
.pub:hover { background: var(--ink); }
.pub__body { display: grid; gap: 6px; }
.pub__body .mono { opacity: .85; }
.pub__body b { font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.2; }

/* Contacts */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 64px; align-items: start; }
.contacts__info { border-top: 1px solid var(--line-2); }
.cline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.cline .mono { grid-column: 1; color: var(--muted); }
.cline b { grid-column: 1; font-weight: 600; font-size: 20px; line-height: 1.25; }
.cline .i { grid-column: 2; grid-row: 1 / span 2; transition: transform .3s var(--ease), color .2s; }
.cline--big b { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; }
a.cline:hover b, a.cline:hover .i { color: var(--accent); }
a.cline:hover .i { transform: translate(2px, -2px); }
.cline__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.head-card { display: grid; gap: 6px; margin-top: 24px; padding: 18px 20px; background: var(--ink); color: var(--on-dark); }
.head-card .mono { color: var(--accent); }
.head-card b { font-size: 20px; font-weight: 600; }
.head-card span { color: #a9a8a2; font-size: 14px; }
.contacts__form { background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.contacts__form .field input, .contacts__form .field select, .contacts__form .field textarea { background: var(--bg); }
.contacts__form .form { justify-items: stretch; }
.contacts__form .form .btn { justify-self: start; }
.mapcard { position: relative; display: block; height: clamp(280px, 32vw, 420px); overflow: hidden; background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.mapcard__grid { position: absolute; inset: 0; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 40px 40px; }
.mapcard__roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapcard__roads path { fill: none; stroke: var(--ink); stroke-width: 7; opacity: .12; }
.mapcard__roads .thin { stroke-width: 2; opacity: .18; }
.mapcard__pin { position: absolute; left: 58%; top: 50%; width: 22px; height: 22px; margin: -11px; background: var(--accent); border-radius: 50%; }
.mapcard__pin span, .mapcard__pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); animation: ring 2.4s infinite; }
.mapcard__pin span { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(5); opacity: 0; } }
.mapcard__label { position: absolute; left: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); display: grid; gap: 8px; max-width: 420px; padding: 18px 20px; background: var(--ink); color: var(--on-dark); }
.mapcard__label .mono { color: #9a9993; }
.mapcard__label b { font-weight: 600; font-size: 20px; line-height: 1.2; }
.mapcard__open { display: inline-flex; align-items: center; gap: 6px; color: var(--accent) !important; }
.mapcard:hover .mapcard__label { background: var(--accent); }
.mapcard:hover .mapcard__open { color: #fff !important; }
.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--line); margin-top: 18px; }
.howto__item { display: grid; gap: 8px; padding: 18px 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line-2); }
.howto__item .mono { color: var(--accent); }
.howto__item b { font-weight: 600; font-size: 18px; text-transform: uppercase; }
.howto__item p { color: var(--ink-2); font-size: 14.5px; }
.requisites { margin-top: 32px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.requisites div { padding: 14px 16px 14px 0; display: grid; gap: 6px; }
.requisites dt { color: var(--muted); }
.requisites {
  display: none;
}
/* Legal */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header) + 24px); padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); }
.legal__toc .eyebrow { font: 400 11px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal__toc ol { display: grid; gap: 8px; list-style: decimal; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.legal__toc a { text-decoration: none; }
.legal__toc a:hover { color: var(--accent); }
.legal__body { max-width: 800px; }
.legal__body h2 { margin: 40px 0 14px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; text-transform: uppercase; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--ink-2); margin-bottom: 12px; }
.legal__body ul { list-style: square; padding-left: 22px; margin-bottom: 12px; }
.legal__body a { color: var(--accent-2); text-underline-offset: 3px; }
.legal__card { margin-top: 40px; padding: 24px 26px; background: var(--ink); color: var(--on-dark); }
.legal__card .eyebrow { font: 400 11px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.legal__card p { margin: 0; color: #cfcec8; }
.legal__card a { color: #fff; }

/* 404 */
.nf { padding-bottom: 0; }

.nf__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nf__draw .bp { max-width: 560px; margin-left: auto; }

@media (max-width: 1100px) {
  .srow { grid-template-columns: 36px 44px minmax(0, 1fr) auto; }
  .srow__group { display: none; }
  .flow__list { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic__item--1 { grid-column: span 2; }
  .calc { grid-template-columns: 1fr; }
  .calc__inputs { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .done { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .intro__grid, .anatomy, .case__grid, .chron, .eor-top, .eor-chart, .units, .tech, .patent, .contacts, .models, .legal, .coffee { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__info { order: 0; }
  .chron__head, .legal__toc { position: static; }
  .chips--inline { justify-self: start; }
  .requisites { grid-template-columns: 1fr 1fr; }
  .patent__doc { max-width: 420px; }
}
@media (max-width: 640px) {
  .srow { grid-template-columns: 44px minmax(0, 1fr); align-items: start; }
  .srow__num { display: none; }
  .srow__btn { grid-column: 2; justify-self: start; }
  .flow__list, .done, .howto, .eor-benefits { grid-template-columns: 1fr; }
  .calc__raws { grid-template-columns: 1fr 1fr; }
  .calc__range { grid-template-columns: 1fr; }
  .calc__scale { padding-right: 0; }
  .case__gallery--4, .case__gallery--2 { grid-template-columns: 1fr 1fr; }
  .case__gallery--2 .case__ph { height: 220px; }
  .geo__row { grid-template-columns: 36px 1fr; }
  .geo__row span:last-child { grid-column: 2; }
  .chron__item { grid-template-columns: 1fr; gap: 4px; }
  .spec__row { grid-template-columns: 1.3fr 1fr 1fr; }
  .spec__row > span { padding: 10px 8px; font-size: 13.5px; }
  .patent__dl div { grid-template-columns: 1fr; gap: 2px; }
  .mosaic { grid-auto-rows: 180px; }
  .requisites { grid-template-columns: 1fr; }
  .unit__name { font-size: 32px; }
}

/* ============ Joomla integration ============ */
.sl-messages:empty { display: none; }
.sl-messages #system-message-container:empty { display: none; }
.sl-messages .alert, .sl-messages joomla-alert { display: block; max-width: var(--wrap); margin: 12px auto 0; padding: 14px 18px; border: 1px solid var(--ink); background: var(--paper); font-size: 15px; }
.sl-messages .alert-heading, .sl-messages .joomla-alert--close { display: none; }
.sl-content { padding: 32px 0 var(--sec); }
.logo-img { display: block; max-height: 40px; width: auto; }
.page-hero__title--sm { font-size: clamp(34px, 5vw, 72px); }
.case__gallery--1 { grid-template-columns: 1fr; }
.case__grid--solo { grid-template-columns: 1fr; }
.eor-top--solo { grid-template-columns: 1fr; }
.patent--solo { grid-template-columns: 1fr; }
.legal--single { grid-template-columns: minmax(0, 1fr); }
.page-contacts #main { padding-bottom: var(--sec); }
.nf { padding-bottom: var(--sec); }
.shead__aside .rail-nav { justify-content: flex-end; }

.page-hero__title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 640px) { .page-hero__title--sm, .page-privacy .page-hero__title { font-size: clamp(26px, 7.4vw, 44px); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .header__nav a { padding: 8px 10px; }
  .header__phone span { display: none; }
}
@media (max-width: 1100px) {
  .header__nav, .header__phone { display: none; }
  .burger { display: block; }
  .header__actions { margin-left: auto; }
  .dirs, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ngrid, .pgrid-t { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__row, .statement__grid, .process__grid, .about__grid, .audience__grid, .faq-wrap, .cta__box, .props, .page-hero__grid, .shead { grid-template-columns: 1fr; }
  .shead__aside, .shead .rail-nav { justify-self: start; }
  .props__head, .faq-wrap__head { position: static; }
  .hero__frame { aspect-ratio: 4 / 3.4; }
  .hero__label--b { right: 16px; top: auto; bottom: 16px; }
  .hero__label--a { left: 16px; top: 44px; bottom: auto; }
  .audience__media { min-height: 380px; }
  .people { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header: 60px; }
  .header__cta { display: none; }
  .dirs, .facts, .ngrid, .pgrid-t, .props__list { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hero__frame { aspect-ratio: 3 / 4; min-height: 0; }
  .hero__label { width: calc(100% - 32px); }
  .hero__label--a { top: auto; bottom: 108px; }
  .ctable__row { grid-template-columns: 1fr 1fr; }
  .ctable__row > span:first-child { grid-column: 1 / -1; padding: 12px 0 4px; }
  .ctable__row--head > span:first-child { display: none; }
  .ctable__row > span { padding: 10px 12px; font-size: 14px; }
  .form__row { grid-template-columns: 1fr; }
  .faq__item p { padding: 0 0 20px 52px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .lightbox__fig { max-width: 100vw; }
  .lightbox__nav { top: auto; bottom: 16px; transform: none; }
  .rail { grid-auto-columns: 78%; }
  .chip { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  /* Partner strip keeps its slow crawl (≈15 px/s), pauses on hover */
  .marquee__row { animation-duration: 190s !important; animation-iteration-count: infinite !important; }
}
