/* ==========================================================================
   NRK INŽENJERING — premium static site
   Mobile-first · HTML / CSS / JS · Apis Development
   ========================================================================== */

/* ---------- 0. Self-hosted fonts (Archivo variable, IBM Plex Mono — SIL OFL) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../assets/fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url("../assets/fonts/ibm-plex-mono-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url("../assets/fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url("../assets/fonts/ibm-plex-mono-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url("../assets/fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 600; src: url("../assets/fonts/ibm-plex-mono-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 600; src: url("../assets/fonts/ibm-plex-mono-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #0006aa;
  --blue-2: #1b24e3;
  --blue-3: #5a61ff;
  --blue-soft: #e6e8ff;
  --blue-mist: #f3f4ff;
  --navy: #03051f;
  --navy-2: #070a36;
  --navy-3: #0d1150;
  --ink: #0a0c2a;
  --ink-2: #33364f;
  --muted: #6a6d86;
  --bg: #eceef3;
  --paper: #ffffff;
  --line: rgba(10, 12, 42, .12);
  --line-2: rgba(10, 12, 42, .07);
  --line-dark: rgba(255, 255, 255, .14);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --frame-m: 8px;
  --notch-w: 148px;
  --notch-h: 60px;
  --notch-r-w: 64px;
  --nr: 20px;               /* notch radius */
  --gutter: 18px;
  --radius-xl: 22px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --header-h: 60px;
  --section-y: 76px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-1: 0 1px 2px rgba(3, 5, 31, .06), 0 8px 24px -8px rgba(3, 5, 31, .14);
  --shadow-2: 0 30px 80px -30px rgba(3, 5, 31, .35);
}
@media (min-width: 768px) {
  :root { --frame-m: 10px; --notch-w: 196px; --notch-h: 70px; --notch-r-w: 72px; --gutter: 28px; --radius-xl: 28px; --section-y: 104px; --header-h: 64px; }
}
@media (min-width: 1100px) {
  :root { --frame-m: 12px; --notch-w: 232px; --notch-h: 78px; --notch-r-w: 236px; --nr: 24px; --gutter: 40px; --radius-xl: 32px; --section-y: 132px; }
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked, html.is-locked body { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 16.5px; } }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.04; letter-spacing: -.025em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-3); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .3s var(--ease); }
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout utilities ---------- */
.container { width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; }
.container--narrow { width: min(100% - var(--gutter) * 2, 1100px); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy); color: #fff; }
.section--blue { background: var(--blue); color: #fff; }
.rounded-top { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.panel {
  margin-inline: var(--frame-m);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.label--muted { color: var(--muted); }
.section--dark .label--muted, .section--blue .label--muted { color: rgba(255, 255, 255, .6); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 4px rgba(0, 6, 170, .14); }
.dot--live { animation: livePulse 2.2s infinite; }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(90, 97, 255, .5); } 60% { box-shadow: 0 0 0 8px rgba(90, 97, 255, 0); } }

.hl {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: .02em .16em .04em;
  border-radius: .12em;
  line-height: .98;
}
.text-blue { color: var(--blue); }
.mono { font-family: var(--mono); }

/* Engineering guide lines (fixed, subtle) */
.guides { position: fixed; inset: 0; pointer-events: none; z-index: 0; display: none; }
.guides span { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent); }
@media (min-width: 1100px) { .guides { display: block; } }
main, .site-footer { position: relative; z-index: 1; }

/* Crosshair rule */
.rule { position: relative; height: 1px; background: var(--line); margin-block: 0; }
.rule::before, .rule::after { content: "+"; position: absolute; top: 50%; transform: translateY(-52%); font: 400 14px/1 var(--mono); color: var(--muted); background: inherit; }
.rule::before { left: -4px; }
.rule::after { right: -4px; }
.section--dark .rule { background: var(--line-dark); }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-fill: var(--navy);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  isolation: isolate;
  overflow: hidden;
  transition: color .45s var(--ease), transform .4s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  flex: none;
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.btn__icon svg { width: 15px; height: 15px; }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-fill: var(--blue); }
.btn--light .btn__icon { background: var(--blue); color: #fff; }
.btn--light:hover { color: #fff; }
.btn--light:hover .btn__icon { background: #fff; color: var(--blue); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-fill: var(--blue); box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--blue); }
.btn--ghost .btn__icon { background: var(--blue); color: #fff; }
.btn--dark { --btn-bg: var(--navy); --btn-fill: var(--blue-2); }
.btn--sm { min-height: 42px; padding-left: 18px; font-size: 12px; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn--plain { padding: 0 22px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 4px;
  transition: background-size .5s var(--ease), gap .4s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; gap: 16px; }
.link-arrow svg { width: 14px; height: 14px; }
.section--dark .link-arrow, .section--blue .link-arrow { color: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  background: var(--blue-mist); color: var(--blue);
  border: 1px solid rgba(0, 6, 170, .12);
}
.chip--light { background: rgba(255, 255, 255, .92); color: var(--ink); border-color: transparent; }
.chip--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- 5. Preloader & page curtain ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: visibility 0s linear 1.2s;
}
.preloader__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
  transition: opacity .6s;
}
.preloader__inner { position: relative; width: min(78vw, 360px); text-align: center; transition: transform .9s var(--ease), opacity .6s; }
.preloader__logo { position: relative; aspect-ratio: 900 / 363; }
.preloader__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.preloader__logo .is-base { opacity: .12; filter: grayscale(1); }
.preloader__logo .is-fill { clip-path: inset(100% 0 0 0); }
.preloader__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; color: var(--muted); }
.preloader__bar { position: relative; height: 1px; margin-top: 12px; background: var(--line); overflow: hidden; }
.preloader__bar i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.preloader__count { color: var(--blue); font-weight: 600; min-width: 4ch; text-align: right; }
.preloader__panel {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  background: var(--blue);
}
.preloader.is-done { visibility: hidden; pointer-events: none; }
.preloader.is-done { background: transparent; }
.preloader.is-done .preloader__grid { opacity: 0; }
.preloader.is-done .preloader__inner { transform: translateY(-40px); opacity: 0; }
.preloader.is-exit .preloader__panel { animation: panelSweep 1.15s var(--ease-io) forwards; }
@keyframes panelSweep {
  0% { height: 0; top: auto; bottom: 0; }
  45% { height: 100%; top: auto; bottom: 0; }
  55% { height: 100%; top: 0; bottom: auto; }
  100% { height: 0; top: 0; bottom: auto; }
}
html:not(.js) .preloader { display: none; }

.curtain {
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none;
  display: grid; place-items: center;
  background: var(--blue);
  transform: translateY(100%);
  transition: transform .6s var(--ease-io);
}
.curtain img { width: 110px; opacity: 0; transition: opacity .3s .25s; }
.is-leaving .curtain { transform: translateY(0); pointer-events: all; }
.is-leaving .curtain img { opacity: 1; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-3)); transform-origin: left; transform: scaleX(0); }

/* Custom cursor */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none; display: none; border-radius: 50%; }
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--blue); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(0, 6, 170, .45);
  display: none; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor-ring span { font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s; }
@media (pointer: fine) and (min-width: 1100px) {
  .has-cursor .cursor { display: block; }
  .has-cursor .cursor-ring { display: grid; }
}
.cursor-ring.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--blue); background: rgba(0, 6, 170, .08); }
.cursor-ring.is-label { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--blue); border-color: var(--blue); }
.cursor-ring.is-label span { opacity: 1; }
.cursor-ring.is-dark { border-color: rgba(255, 255, 255, .55); }
.cursor.is-dark { background: #fff; }

/* ---------- 6. Header ---------- */
.site-header {
  position: absolute;
  z-index: 110;
  top: var(--frame-m);
  left: var(--frame-m);
  right: var(--frame-m);
  height: var(--notch-h);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand {
  display: flex; align-items: center;
  width: var(--notch-w);
  height: 100%;
  padding: 0 12px 0 14px;
  flex: none;
}
.brand img { width: 100%; max-height: 42px; object-fit: contain; object-position: left center; transition: transform .5s var(--ease); }
.brand:hover img { transform: scale(1.03); }
@media (min-width: 1100px) { .brand { padding: 0 22px 0 24px; } .brand img { max-height: 54px; } }

.nav { display: none; }
@media (min-width: 1100px) {
  .nav { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .nav ul { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(3, 5, 31, .18); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav__link {
  position: relative;
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  overflow: hidden;
  transition: background .35s, color .35s;
}
.nav__link span { display: block; transition: transform .45s var(--ease); }
.nav__link::after {
  content: attr(data-label);
  position: absolute; left: 16px; right: 16px; top: 100%;
  padding-top: 9px;
  text-align: center;
  transition: transform .45s var(--ease);
}
.nav__link:hover span { transform: translateY(-150%); }
.nav__link:hover::after { transform: translateY(-100%); }
.nav__link.is-active { background: #fff; color: var(--blue); }

.header-actions {
  margin-left: auto;
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  width: var(--notch-r-w);
  height: 100%;
  padding-right: 8px;
}
.header-cta { display: none; }
@media (min-width: 1100px) { .header-cta { display: inline-flex; } .header-actions { padding-right: 14px; justify-content: center; } }

.burger {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  display: grid; place-items: center;
  transition: background .3s, transform .4s var(--ease);
}
.burger span { position: absolute; width: 18px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), width .4s var(--ease); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); width: 12px; margin-left: -6px; }
.burger:hover span:last-child { width: 18px; margin-left: 0; }
.is-menu-open .burger { background: #fff; }
.is-menu-open .burger span { background: var(--blue); width: 18px; margin-left: 0; }
.is-menu-open .burger span:first-child { transform: rotate(45deg); }
.is-menu-open .burger span:last-child { transform: rotate(-45deg); }
@media (min-width: 1100px) { .burger { display: none; } }

/* Stuck header */
.site-header.is-stuck {
  position: fixed;
  top: 8px; left: 8px; right: 8px;
  height: var(--header-h);
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  animation: headerIn .7s var(--ease) both;
  transition: transform .55s var(--ease);
}
.site-header.is-stuck .brand { width: auto; }
.site-header.is-stuck .brand img { height: 36px; width: auto; max-height: none; }
.site-header.is-stuck .nav ul { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-stuck .nav__link { color: var(--ink); }
.site-header.is-stuck .nav__link.is-active { background: var(--blue); color: #fff; }
.site-header.is-stuck .header-actions { width: auto; }
.site-header.is-hidden { transform: translateY(calc(-100% - 20px)); }
@keyframes headerIn { from { transform: translateY(calc(-100% - 20px)); } to { transform: translateY(0); } }
@media (min-width: 1100px) { .site-header.is-stuck { left: 12px; right: 12px; top: 10px; } }
.is-menu-open .site-header.is-stuck { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 105;
  display: flex; flex-direction: column;
  padding: calc(var(--notch-h) + 40px) var(--gutter) 28px;
  background: var(--navy);
  color: #fff;
  clip-path: circle(0 at calc(100% - 40px) 40px);
  transition: clip-path .9s var(--ease-io);
  overflow-y: auto;
  visibility: hidden;
}
.menu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 100% 0%, rgba(27, 36, 227, .55), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(0, 6, 170, .5), transparent 60%);
}
.is-menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu__brand { position: absolute; top: calc(var(--frame-m) + 12px); left: calc(var(--frame-m) + 14px); width: 130px; }
.menu__list { position: relative; display: grid; gap: 2px; margin-top: 8px; }
.menu__list a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(30px, 9vw, 52px);
  font-weight: 700;
  letter-spacing: -.03em;
  text-transform: uppercase;
  line-height: 1.05;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
}
.menu__list a small { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--blue-3); }
.menu__list a:hover, .menu__list a.is-active { color: var(--blue-3); }
.is-menu-open .menu__list a { opacity: 1; transform: none; }
.is-menu-open .menu__list li:nth-child(1) a { transition-delay: .25s; }
.is-menu-open .menu__list li:nth-child(2) a { transition-delay: .3s; }
.is-menu-open .menu__list li:nth-child(3) a { transition-delay: .35s; }
.is-menu-open .menu__list li:nth-child(4) a { transition-delay: .4s; }
.is-menu-open .menu__list li:nth-child(5) a { transition-delay: .45s; }
.is-menu-open .menu__list li:nth-child(6) a { transition-delay: .5s; }
.menu__foot { position: relative; margin-top: auto; padding-top: 32px; display: grid; gap: 16px; opacity: 0; transition: opacity .6s .55s; }
.is-menu-open .menu__foot { opacity: 1; }
.menu__foot div > a { display: block; font-size: 15px; }
.menu__foot .btn { justify-self: start; }
.menu__foot .label { color: rgba(255, 255, 255, .55); margin-bottom: 6px; }
@media (min-width: 1100px) { .menu { display: none; } }

/* ---------- 7. Frame notches (inverted radius) ---------- */
.frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}
.notch {
  position: absolute; z-index: 5; top: 0;
  height: var(--notch-h);
  background: var(--bg);
}
.notch--tl { left: 0; width: var(--notch-w); border-bottom-right-radius: var(--nr); }
.notch--tr { right: 0; width: var(--notch-r-w); border-bottom-left-radius: var(--nr); }
.notch::before, .notch::after {
  content: ""; position: absolute;
  width: var(--nr); height: var(--nr);
  background: radial-gradient(circle at var(--cx) var(--cy), transparent calc(var(--nr) - .5px), var(--bg) var(--nr));
}
.notch--tl::before { --cx: 100% ; --cy: 100%; top: 0; left: 100%; }
.notch--tl::after  { --cx: 100% ; --cy: 100%; top: 100%; left: 0; }
.notch--tr::before { --cx: 0 ; --cy: 100%; top: 0; right: 100%; }
.notch--tr::after  { --cx: 0 ; --cy: 100%; top: 100%; right: 0; }

/* ---------- 8. HERO (home) ---------- */
.hero { position: relative; padding: var(--frame-m); display: flex; flex-direction: column; gap: var(--frame-m); }
.hero__frame { height: calc(100svh - var(--frame-m) * 2 - 64px); min-height: 560px; max-height: 1000px; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-io); overflow: hidden; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 8s linear; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { transform: scale(1.02); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 5, 31, .55) 0%, rgba(3, 5, 31, .05) 38%, rgba(3, 5, 31, .1) 60%, rgba(3, 5, 31, .78) 100%),
    linear-gradient(90deg, rgba(0, 6, 170, .28), transparent 55%);
}
.hero__lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; }
.hero__lines span { position: absolute; background: rgba(255, 255, 255, .16); }
.hero__lines .v { top: 0; bottom: 0; width: 1px; }
.hero__lines .h { left: 0; right: 0; height: 1px; }
.hero__content {
  position: absolute; z-index: 2;
  left: 18px; right: 18px; bottom: 96px;
  color: #fff;
}
.hero__eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: rgba(255, 255, 255, .85); }
.hero__eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.hero__titles { position: relative; display: grid; }
.hero__title {
  grid-area: 1 / 1;
  font-size: clamp(36px, 11vw, 76px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.04em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; transition: transform 1.1s var(--ease); }
.js .hero__title .line > span { transform: translateY(108%); }
html:not(.js) .hero__title:not(:first-child) { display: none; }
.js .hero__title.is-active .line > span { transform: none; }
.hero__title.is-active .line:nth-child(2) > span { transition-delay: .09s; }
.hero__title.is-active .line:nth-child(3) > span { transition-delay: .18s; }
.js .hero__title.is-out .line > span { transform: translateY(-108%); transition-duration: .7s; transition-delay: 0s; }
.hero__title .hl { padding: .03em .14em .05em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.hero__controls {
  position: absolute; z-index: 3;
  left: 18px; right: 18px; bottom: 22px;
  display: flex; align-items: center; gap: 16px;
  color: #fff;
}
.hero__counter { font: 500 12px/1 var(--mono); letter-spacing: .12em; display: flex; gap: 6px; min-width: 64px; }
.hero__counter b { font-weight: 600; }
.hero__bars { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hero__bar { position: relative; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; padding: 0; }
.hero__bar::before { content: ""; position: absolute; inset: -10px 0; }
.hero__bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero__bar.is-done i { transform: scaleX(1); }
.hero__arrows { display: flex; gap: 8px; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, .06);
  transition: background .35s, color .35s, border-color .35s, transform .4s var(--ease);
}
.round-btn svg { width: 16px; height: 16px; }
.round-btn:hover { background: #fff; color: var(--blue); border-color: #fff; }
.round-btn--dark { color: var(--ink); border-color: var(--line); background: transparent; }
.round-btn--dark:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.hero__coords { display: none; }
.hero__scroll { display: none; }

/* Hero cards */
.hero__cards { display: grid; gap: var(--frame-m); }
.hcard { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.hcard--left { background: var(--paper); padding: 10px; display: flex; flex-direction: column; }
.hcard__media { position: relative; border-radius: calc(var(--radius-xl) - 8px); overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy); }
.hcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease-io), transform 1.2s var(--ease); }
.hcard__media img.is-swap { opacity: 0; transform: scale(1.08); }
.hcard__media .chip { position: absolute; left: 10px; bottom: 10px; z-index: 2; }
.hcard__notch {
  position: absolute; top: 0; right: 0; z-index: 3;
  width: 62px; height: 62px;
  background: var(--paper);
  border-bottom-left-radius: 18px;
  display: grid; place-items: center;
}
.hcard__notch::before, .hcard__notch::after {
  content: ""; position: absolute; width: 18px; height: 18px;
  background: radial-gradient(circle at 0 100%, transparent 17.5px, var(--paper) 18px);
}
.hcard__notch::before { top: 0; right: 100%; }
.hcard__notch::after { top: 100%; right: 0; }
.hcard__arrow {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  transition: transform .5s var(--ease), background .3s;
}
.hcard__arrow svg { width: 16px; height: 16px; }
.hcard__arrow:hover { transform: rotate(45deg); background: var(--navy); }
.hcard__body { padding: 18px 10px 8px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hcard__kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .04em; line-height: 1.35; text-transform: uppercase; }
.hcard__text { font-size: 13px; color: var(--muted); line-height: 1.55; }
.hcard__stat { display: flex; align-items: flex-end; gap: 14px; margin-top: auto; padding-top: 6px; }
.hcard__stat strong { font-size: clamp(54px, 15vw, 76px); font-weight: 600; line-height: .82; letter-spacing: -.06em; color: var(--ink); }
.hcard__stat span { font: 500 10.5px/1.45 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 2px; }

.hcard--right {
  background: var(--blue);
  color: #fff;
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.hcard--right .hcard__top { display: flex; align-items: center; justify-content: space-between; }
.hcard__title { font-size: 14px; font-weight: 800; letter-spacing: .03em; line-height: 1.32; text-transform: uppercase; }
.hcard--right .hcard__text { color: rgba(255, 255, 255, .78); }
.hcard__row { display: flex; gap: 16px; align-items: stretch; }
.hcard__vstat { display: flex; align-items: center; gap: 6px; writing-mode: vertical-rl; transform: rotate(180deg); }
.hcard__vstat strong { font-size: 50px; font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.hcard__vstat span { font: 500 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.hcard__thumb { flex: 1; border-radius: 16px; overflow: hidden; min-height: 150px; position: relative; }
.hcard__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Standards strip */
.hero__strip {
  display: flex; align-items: center; gap: 18px;
  min-height: 64px;
  overflow: hidden;
}
.hero__strip-label { display: none; flex: none; color: var(--muted); }
.marquee { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-speed, 38s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.std { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); opacity: .72; white-space: nowrap; transition: opacity .3s, color .3s; }
.std:hover { opacity: 1; color: var(--blue); }
.std--a { font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 700; letter-spacing: .02em; }
.std--b { font-size: 17px; font-weight: 800; letter-spacing: .32em; }
.std--c { font-family: Georgia, serif; font-style: italic; font-size: 22px; }
.std--d { font-size: 20px; font-weight: 300; letter-spacing: .5em; text-transform: uppercase; }
.std--e { border: 1.5px solid currentColor; padding: 4px 9px; font-size: 15px; font-weight: 800; letter-spacing: .14em; border-radius: 4px; }
.std--f { font-family: var(--mono); font-size: 16px; font-weight: 600; letter-spacing: .06em; }
.std small { font: 500 9px/1.15 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

/* Hero tablet / desktop */
@media (min-width: 768px) {
  .hero__content { left: 36px; right: 36px; bottom: 112px; }
  .hero__title { font-size: clamp(64px, 9.4vw, 96px); }
  .hero__controls { left: 36px; right: 36px; bottom: 32px; }
  .hero__cards { grid-template-columns: 1.15fr 1fr; }
  .hcard--left { flex-direction: row; gap: 10px; }
  .hcard--left .hcard__media { aspect-ratio: auto; width: 46%; flex: none; }
  .hcard__body { padding: 16px 14px 10px 10px; }
  .hero__strip-label { display: block; }
}
@media (min-width: 1100px) {
  .hero__frame { height: calc(100svh - var(--frame-m) * 2 - 92px); min-height: 640px; }
  .hero__strip { min-height: 92px; padding-inline: 18px; gap: 32px; }
  .hero__lines { opacity: .75; }
  .hero__content {
    left: 50%; right: auto; bottom: auto;
    top: calc(var(--notch-h) + 6.5vh);
    width: 50%;
    transform: translateX(-50%);
    padding-left: 2.5%;
  }
  .hero__title { font-size: clamp(56px, 5.6vw, 112px); }
  .hero__actions { display: none; }
  .hero__controls { left: 50%; right: auto; width: min(44%, 560px); transform: translateX(-50%); bottom: 34px; }
  .hero__coords { display: block; position: absolute; z-index: 3; bottom: 92px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); }
  .hero__cards {
    position: absolute;
    top: calc(var(--frame-m) + var(--notch-h) + 16px);
    bottom: calc(var(--frame-m) + 92px + var(--frame-m) + 16px);
    left: calc(var(--frame-m) + 16px);
    right: calc(var(--frame-m) + 16px);
    display: flex; justify-content: space-between; align-items: stretch;
    pointer-events: none;
    z-index: 4;
  }
  .hcard { pointer-events: auto; }
  .hcard--left { width: clamp(270px, 22.5vw, 360px); flex-direction: column; border-radius: 26px; padding: 10px; }
  .hcard--left .hcard__media { width: auto; aspect-ratio: auto; flex: 0 0 38%; min-height: 150px; }
  .hcard__body { padding: 18px 12px 10px; }
  .hcard__stat strong { font-size: clamp(64px, 6vw, 104px); }
  .hcard--right {
    width: clamp(240px, 18vw, 300px);
    border-radius: 26px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .24);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    padding: 22px 18px 14px;
  }
  .hcard__row { flex: 1; min-height: 0; }
  .hcard__vstat strong { font-size: clamp(44px, 4.2vw, 72px); }
}
@media (min-width: 1100px) and (max-height: 760px) {
  .hcard__text--opt { display: none; }
  .hcard--left .hcard__media { flex-basis: 32%; }
}

/* ---------- 9. Page hero (inner pages) ---------- */
.page-hero { padding: var(--frame-m); }
.page-hero__frame { height: clamp(520px, 76svh, 820px); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 110%; object-fit: cover; will-change: transform; }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 5, 31, .5) 0%, rgba(3, 5, 31, .12) 40%, rgba(3, 5, 31, .82) 100%), linear-gradient(90deg, rgba(0, 6, 170, .35), transparent 60%); }
.page-hero__content { position: absolute; left: 18px; right: 18px; bottom: 26px; color: #fff; z-index: 2; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs i { opacity: .5; font-style: normal; }
.page-hero__title { font-size: clamp(40px, 11vw, 120px); font-weight: 800; letter-spacing: -.045em; line-height: .92; text-transform: uppercase; }
.page-hero__lead { max-width: 560px; margin-top: 20px; color: rgba(255, 255, 255, .85); font-size: 15.5px; }
.page-hero__card { display: none; }
@media (min-width: 768px) {
  .page-hero__content { left: 40px; right: 40px; bottom: 40px; }
  .page-hero__lead { font-size: 17px; }
}
@media (min-width: 1100px) {
  .page-hero__content { left: 48px; bottom: 48px; right: 40%; }
  .page-hero__card {
    display: block; position: absolute; z-index: 3; right: 24px; bottom: 24px;
    width: 300px; padding: 20px; border-radius: 22px; color: #fff;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  }
  .page-hero__card strong { display: block; font-size: 64px; font-weight: 600; letter-spacing: -.05em; line-height: 1; margin: 14px 0 8px; }
  .page-hero__card p:not(.label) { font-size: 13px; color: rgba(255, 255, 255, .78); }
}

/* ---------- 10. Section heads ---------- */
.shead { display: grid; gap: 18px; margin-bottom: 44px; }
.shead__meta { display: flex; align-items: center; gap: 14px; }
.idx {
  display: inline-grid; place-items: center;
  min-width: 42px; height: 26px; padding: 0 8px;
  border: 1px solid currentColor; border-radius: 999px;
  font: 600 11px/1 var(--mono); letter-spacing: .08em;
  color: var(--blue);
}
.section--dark .idx, .section--blue .idx { color: #fff; }
.shead__title { font-size: clamp(32px, 8.4vw, 84px); font-weight: 700; letter-spacing: -.045em; line-height: .98; text-transform: uppercase; max-width: 16ch; }
.shead__title--sm { font-size: clamp(30px, 6.6vw, 64px); }
.shead__lead { max-width: 620px; color: var(--muted); font-size: 16px; }
.section--dark .shead__lead, .section--blue .shead__lead { color: rgba(255, 255, 255, .72); }
.shead__side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
@media (min-width: 1100px) {
  .shead { grid-template-columns: 3fr 9fr; gap: 24px 40px; margin-bottom: 72px; align-items: start; }
  .shead__meta { padding-top: 14px; }
  .shead--split { grid-template-columns: 3fr 6fr 3fr; }
  .shead--split .shead__side { padding-top: 14px; }
}

/* Split text (JS adds .w / .wi) */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .wi { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 38ms); }
.js [data-split].is-in .wi { transform: none; }

/* Generic reveals */
.js [data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="up"] { transform: translateY(46px); }
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="clip"] { opacity: 1; clip-path: inset(100% 0 0 0 round var(--radius-lg)); }
.js [data-reveal="clip"] img { transform: scale(1.22); transition: transform 1.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }

/* ---------- 11. Intro statement + stats ---------- */
.statement { font-size: clamp(26px, 6.2vw, 58px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; }
.js .statement [data-word] { color: rgba(10, 12, 42, .14); transition: color .35s; }
.js .statement [data-word].is-lit { color: var(--ink); }
.js .statement [data-word].is-lit.text-blue { color: var(--blue); }
.pill-img { display: inline-block; vertical-align: middle; width: 2.2em; height: .95em; border-radius: 999px; overflow: hidden; margin: -.1em .12em 0; position: relative; }
.pill-img img { width: 100%; height: 100%; object-fit: cover; }
.statement-wrap { display: grid; gap: 40px; }
@media (min-width: 1100px) { .statement-wrap { grid-template-columns: 3fr 9fr; gap: 40px; } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-top: 64px; }
.stat { position: relative; padding: 26px 14px 26px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 16px; }
.stat__num { display: flex; align-items: flex-start; font-size: clamp(44px, 12vw, 96px); font-weight: 600; letter-spacing: -.06em; line-height: .9; color: var(--ink); }
.stat__num sup { font-size: .38em; margin-left: 4px; color: var(--blue); top: 0; line-height: 1.2; }
.stat__label { margin-top: 14px; color: var(--muted); }
.stat::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--blue); transition: width 1.4s var(--ease) .2s; }
.stat.is-in::after { width: 34px; }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 34px 22px 34px 22px; border-right: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
  .stat::after { left: 22px; }
  .stat:first-child::after { left: 0; }
}
.section--dark .stats, .section--dark .stat { border-color: var(--line-dark); }
.section--dark .stat__num { color: #fff; }

/* ---------- 12. Sectors (hover list) ---------- */
.sectors { border-top: 1px solid var(--line); }
.sector {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.sector::before {
  content: ""; position: absolute; z-index: -1;
  inset: 0 calc(var(--gutter) * -1);
  background: var(--blue);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.sector__media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 9; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; }
.sector__head { display: flex; align-items: baseline; gap: 14px; }
.sector__no { font: 600 12px/1 var(--mono); color: var(--blue); letter-spacing: .1em; transition: color .4s; }
.sector__title { font-size: clamp(28px, 7.4vw, 64px); font-weight: 700; letter-spacing: -.045em; text-transform: uppercase; line-height: 1; transition: color .4s, transform .6s var(--ease); }
.sector__desc { color: var(--muted); max-width: 52ch; transition: color .4s; }
.sector__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sector__tags li { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; transition: border-color .4s, color .4s; }
.sector__go { position: absolute; right: 0; top: 28px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, color .4s, border-color .4s; }
.sector__go svg { width: 16px; height: 16px; }
@media (hover: hover) and (min-width: 1100px) {
  .sector { grid-template-columns: 1.1fr 1fr 60px; align-items: center; padding: 40px 0; gap: 40px; }
  .sector__media { display: none; }
  .sector__go { position: static; justify-self: end; }
  .sector:hover::before { transform: scaleY(1); }
  .sector:hover .sector__title { color: #fff; transform: translateX(18px); }
  .sector:hover .sector__no { color: rgba(255, 255, 255, .7); }
  .sector:hover .sector__desc { color: rgba(255, 255, 255, .8); }
  .sector:hover .sector__tags li { border-color: rgba(255, 255, 255, .3); color: #fff; }
  .sector:hover .sector__go { background: #fff; color: var(--blue); border-color: #fff; transform: rotate(45deg); }
}
.hover-preview {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 320px; aspect-ratio: 4 / 3;
  border-radius: 18px; overflow: hidden;
  pointer-events: none;
  opacity: 0; transform: scale(.6);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
  box-shadow: var(--shadow-2);
  display: none;
}
.hover-preview.is-on { opacity: 1; transform: scale(1); }
.hover-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.hover-preview img.is-active { opacity: 1; }
@media (hover: hover) and (min-width: 1100px) { .hover-preview { display: block; } }

/* ---------- 13. Periodic tiles ---------- */
.ptable { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .ptable { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1100px) { .ptable { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.el {
  --mx: 50%; --my: 50%;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 190px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
  isolation: isolate;
}
.el::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(90, 97, 255, .16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.el:hover { border-color: var(--blue); box-shadow: 0 24px 50px -24px rgba(0, 6, 170, .45); }
.el:hover::before { opacity: 1; }
.el__top { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); color: var(--muted); letter-spacing: .06em; }
.el__sym { margin: auto 0 4px; font-size: clamp(46px, 12vw, 66px); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--blue); transition: transform .6s var(--ease); }
.el:hover .el__sym { transform: translateY(-4px) scale(1.04); }
.el__name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.el__cat { margin-top: 8px; font: 500 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.el--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.el--blue .el__sym, .el--blue .el__top, .el--blue .el__cat { color: #fff; }
.el--blue .el__top, .el--blue .el__cat { opacity: .75; }
.el--blue::before { background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, .22), transparent 45%); }
.el--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.el--navy .el__sym { color: var(--blue-3); }
.el--navy .el__top, .el--navy .el__cat { color: rgba(255, 255, 255, .6); }
.el--wide { grid-column: span 2; }
.ptable-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); }
.ptable-legend span { display: inline-flex; align-items: center; gap: 8px; }
.ptable-legend i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line); background: var(--paper); }
.ptable-legend i.b { background: var(--blue); border-color: var(--blue); }
.ptable-legend i.n { background: var(--navy); border-color: var(--navy); }

/* ---------- 14. Dark services ---------- */
.dark-wrap { position: relative; margin-inline: var(--frame-m); border-radius: var(--radius-xl); background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.dark-wrap > .molecules { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9; }
.dark-wrap::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 60% at 85% 10%, rgba(0, 6, 170, .55), transparent 60%), radial-gradient(50% 50% at 0% 100%, rgba(27, 36, 227, .25), transparent 60%); }
.services { display: grid; gap: 40px; }
@media (min-width: 1100px) { .services { grid-template-columns: 5fr 7fr; gap: 64px; } .services__aside { position: sticky; top: 120px; align-self: start; } }
.svc-list { border-top: 1px solid var(--line-dark); counter-reset: svc; }
.svc { border-bottom: 1px solid var(--line-dark); }
.svc__btn { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 24px 0; text-align: left; }
.svc__no { font: 600 11px/1 var(--mono); letter-spacing: .1em; color: var(--blue-3); }
.svc__name { font-size: clamp(20px, 5vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; transition: transform .5s var(--ease), color .3s; }
.svc__btn:hover .svc__name { transform: translateX(8px); color: var(--blue-3); }
.svc__plus { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark); transition: background .35s, transform .5s var(--ease); }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .4s var(--ease); }
.svc__plus::after { transform: rotate(90deg); }
.svc.is-open .svc__plus { background: var(--blue); border-color: var(--blue); transform: rotate(180deg); }
.svc.is-open .svc__plus::after { transform: rotate(0deg); }
.svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__panel > div { overflow: hidden; }
.svc__panel p { padding: 0 0 26px 46px; color: rgba(255, 255, 255, .72); max-width: 60ch; }
.svc__panel .svc__tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 28px 46px; }

/* ---------- 15. Split feature (lab etc.) ---------- */
.feature { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1100px) { .feature { grid-template-columns: 1fr 1fr; gap: 72px; } .feature--rev .feature__media { order: 2; } }
.feature__media { position: relative; }
.feature__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__badge {
  position: absolute; z-index: 2; right: 12px; bottom: 12px;
  width: min(260px, 70%);
  padding: 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-1);
}
.feature__badge dl { display: grid; gap: 8px; margin-top: 12px; }
.feature__badge div { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; border-top: 1px dashed var(--line); padding-top: 8px; }
.feature__badge dt { color: var(--muted); }
.feature__badge dd { font-weight: 700; color: var(--blue); }
.scan { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: linear-gradient(90deg, transparent, rgba(90, 97, 255, .9), transparent); box-shadow: 0 0 22px 4px rgba(90, 97, 255, .5); animation: scan 4.5s var(--ease-io) infinite; z-index: 1; }
@keyframes scan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.feature__title { font-size: clamp(32px, 7.4vw, 72px); font-weight: 700; letter-spacing: -.045em; line-height: .98; text-transform: uppercase; margin: 18px 0 20px; }
.feature__text { color: var(--muted); max-width: 56ch; }
.checks { display: grid; gap: 0; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.checks svg { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.checks strong { display: block; font-size: 15.5px; }
.checks span { color: var(--muted); font-size: 14px; }

/* ---------- 16. Process ---------- */
.process { position: relative; display: grid; gap: 0; }
.process__line { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
.process__line i { position: absolute; inset: 0; background: var(--blue); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 0 0 34px; }
.step__dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); font: 600 12px/1 var(--mono); color: var(--blue); transition: background .5s, color .5s, border-color .5s, transform .6s var(--ease-back); }
.step.is-in .step__dot { background: var(--blue); color: #fff; border-color: var(--blue); transform: scale(1.06); }
.step h3 { font-size: 20px; letter-spacing: -.02em; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
@media (min-width: 1100px) {
  .process { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .process__line { left: 22px; right: 22px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .process__line i { transform-origin: left; transform: scaleX(var(--p, 0)); }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 0; }
  .step h3 { margin-top: 18px; }
}

/* ---------- 17. Product cards ---------- */
.cards { display: grid; gap: 14px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.pcard {
  position: relative; display: flex; flex-direction: column;
  min-height: 420px; padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; }
.pcard__art { position: relative; height: 170px; margin: -22px -22px 22px; overflow: hidden; background: var(--navy); }
.pcard__art img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform 1.2s var(--ease), opacity .5s; }
.pcard:hover .pcard__art img { transform: scale(1.08); opacity: .7; }
.pcard__formula { position: absolute; left: 22px; bottom: 16px; font-size: 40px; font-weight: 700; letter-spacing: -.04em; color: #fff; line-height: 1; }
.pcard__formula small { display: block; font: 500 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-bottom: 6px; }
.pcard__tag { position: absolute; right: 16px; top: 16px; }
.pcard h3 { font-size: 24px; letter-spacing: -.03em; }
.pcard > p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.pcard__specs { margin: 18px 0 22px; border-top: 1px solid var(--line); }
.pcard__specs div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pcard__specs dt { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.pcard__specs dd { font-weight: 600; text-align: right; }
.pcard .link-arrow { margin-top: auto; }

/* ---------- 18. Quality band ---------- */
.quality { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1100px) { .quality { grid-template-columns: 4fr 8fr; gap: 72px; } }
.seal { position: relative; width: min(280px, 70vw); aspect-ratio: 1; margin-inline: auto; }
.seal svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal svg.ring text { font: 600 9.2px var(--mono); letter-spacing: .26em; fill: var(--blue); text-transform: uppercase; }
.seal__core { position: absolute; inset: 22%; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 30px 60px -20px rgba(0, 6, 170, .6); }
.seal__core strong { font-size: clamp(26px, 7vw, 38px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.seal__core span { font: 500 10px/1.4 var(--mono); letter-spacing: .14em; margin-top: 6px; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.qlist { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .qlist { grid-template-columns: 1fr 1fr; } .qlist li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 22px; } .qlist li:nth-child(even) { padding-left: 22px; } }
.qlist li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 62px 1fr; gap: 12px; }
.qlist .yr { font: 600 13px/1.5 var(--mono); color: var(--blue); }
.qlist strong { display: block; font-size: 15.5px; line-height: 1.3; }
.qlist span { color: var(--muted); font-size: 13.5px; }

/* ---------- 19. CTA band ---------- */
.cta { position: relative; margin-inline: var(--frame-m); border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; color: #fff; min-height: 560px; display: flex; align-items: flex-end; }
.cta__bg { position: absolute; inset: -12% 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 6, 170, .72), rgba(3, 5, 31, .88)); }
.cta__inner { width: 100%; padding: 64px 20px 28px; display: grid; gap: 34px; }
.cta__title { font-size: clamp(40px, 10.6vw, 132px); font-weight: 800; letter-spacing: -.05em; line-height: .9; text-transform: uppercase; }
.cta__row { display: grid; gap: 26px; }
.cta__contacts { display: grid; gap: 14px; }
.cta__contacts a { display: block; font-size: clamp(20px, 4.6vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; transition: color .3s; }
.cta__contacts a:hover { color: var(--blue-3); }
.cta__contacts .label { color: rgba(255, 255, 255, .6); margin-bottom: 4px; }
@media (min-width: 1100px) {
  .cta { min-height: 720px; }
  .cta__inner { padding: 80px 56px 56px; }
  .cta__row { grid-template-columns: 1fr auto; align-items: end; }
  .cta__contacts { grid-template-columns: repeat(3, auto); gap: 48px; }
}

/* ---------- 20. Footer ---------- */
.site-footer { margin: var(--frame-m); margin-top: calc(var(--section-y) * .6); border-radius: var(--radius-xl); background: var(--navy); color: #fff; overflow: hidden; position: relative; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 100% 0%, rgba(0, 6, 170, .55), transparent 60%); }
.footer__top { display: grid; gap: 40px; padding: 48px 22px 36px; }
.footer__brand img { width: 210px; }
.footer__brand p { margin-top: 18px; color: rgba(255, 255, 255, .65); font-size: 14px; max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
.footer__col h4 { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 14px; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { font-size: 14.5px; color: rgba(255, 255, 255, .88); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.footer__col a:hover { color: #fff; background-size: 100% 1px; }
.footer__col address { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .82); line-height: 1.65; }
.footer__giant { position: relative; padding: 0 22px; font-size: clamp(90px, 31vw, 460px); font-weight: 800; letter-spacing: -.07em; line-height: .78; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); user-select: none; white-space: nowrap; overflow: hidden; }
.footer__giant span { display: inline-block; transition: color .6s, -webkit-text-stroke-color .6s; }
.footer__giant span:hover { color: var(--blue-2); -webkit-text-stroke-color: var(--blue-2); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; padding: 22px; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, .55); font-size: 12.5px; }
.footer__bottom a:hover { color: #fff; }
@media (min-width: 768px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .footer__top { grid-template-columns: 4fr 8fr; padding: 72px 48px 48px; gap: 64px; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
  .footer__giant { padding: 0 40px; }
  .footer__bottom { padding: 24px 48px; }
}

/* ---------- 21. Floating: AI assistant + back to top (aligned in one line) ---------- */
.float-btn {
  position: fixed; z-index: 140;
  bottom: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(0, 6, 170, .55);
}
@media (min-width: 1100px) { .float-btn { bottom: 24px; } }

.to-top {
  right: 18px;
  background: var(--paper);
  color: var(--blue);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .45s var(--ease), transform .55s var(--ease), background .3s, color .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); color: #fff; }
.to-top svg.arrow { width: 18px; height: 18px; position: relative; z-index: 1; transition: transform .45s var(--ease); }
.to-top:hover svg.arrow { transform: translateY(-3px); }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke-width: 2; }
.to-top svg.ring .bg { stroke: var(--blue-soft); }
.to-top svg.ring .fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 163.36; stroke-dashoffset: 163.36; transition: stroke .3s; }
.to-top:hover svg.ring .fg { stroke: #fff; }
.to-top:hover svg.ring .bg { stroke: rgba(255, 255, 255, .25); }
@media (min-width: 1100px) { .to-top { right: 24px; } }

.ai-fab {
  left: 18px;
  background: var(--blue);
  color: #fff;
  transition: transform .5s var(--ease), background .3s;
}
.ai-fab:hover { transform: scale(1.06); background: var(--blue-2); }
.ai-fab::before, .ai-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--blue); animation: ripple 2.8s var(--ease) infinite; pointer-events: none; }
.ai-fab::after { animation-delay: 1.4s; }
@keyframes ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.75); opacity: 0; } }
.ai-fab .i-chat, .ai-fab .i-close { position: absolute; width: 24px; height: 24px; transition: transform .5s var(--ease), opacity .3s; }
.ai-fab .i-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.ai-open .ai-fab .i-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.ai-open .ai-fab .i-close { opacity: 1; transform: none; }
.ai-open .ai-fab::before, .ai-open .ai-fab::after { animation: none; opacity: 0; }
.ai-fab__tip {
  position: absolute; left: calc(100% + 12px); top: 50%;
  transform: translate(-8px, -50%); opacity: 0;
  padding: 8px 12px; border-radius: 10px;
  background: var(--navy); color: #fff; white-space: nowrap;
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  pointer-events: none;
  transition: opacity .35s, transform .45s var(--ease);
}
.ai-fab:hover .ai-fab__tip, .ai-fab.is-hint .ai-fab__tip { opacity: 1; transform: translate(0, -50%); }
.ai-open .ai-fab__tip { opacity: 0 !important; }
@media (min-width: 1100px) { .ai-fab { left: 24px; } }

.ai-panel {
  position: fixed; z-index: 139;
  left: 8px; right: 8px; bottom: 84px;
  max-height: min(640px, calc(100svh - 110px));
  display: flex; flex-direction: column;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 40px 100px -30px rgba(3, 5, 31, .55), 0 0 0 1px var(--line);
  overflow: hidden;
  transform-origin: bottom left;
  opacity: 0; transform: translateY(18px) scale(.94); pointer-events: none; visibility: hidden;
  transition: opacity .4s var(--ease), transform .55s var(--ease), visibility 0s .55s;
}
.ai-open .ai-panel { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
@media (min-width: 560px) { .ai-panel { left: 18px; right: auto; width: 392px; } }
@media (min-width: 1100px) { .ai-panel { left: 24px; bottom: 94px; } }
.ai-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.ai-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 140% at 100% 0%, rgba(27, 36, 227, .8), transparent 60%); }
.ai-avatar { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; }
.ai-avatar img { width: 30px; }
.ai-head strong { display: block; font-size: 15px; letter-spacing: -.01em; }
.ai-head small { display: flex; align-items: center; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.ai-head small .dot { width: 6px; height: 6px; background: #3ee08f; box-shadow: none; margin-right: 6px; }
.ai-head__actions { margin-left: auto; display: flex; gap: 6px; }
.ai-head__actions button { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: rgba(255, 255, 255, .8); transition: background .3s, color .3s; }
.ai-head__actions button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.ai-head__actions svg { width: 16px; height: 16px; }
.ai-body { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(var(--blue-mist), #fff 120px); scroll-behavior: smooth; overscroll-behavior: contain; }
.ai-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: msgIn .45s var(--ease) both; }
.ai-msg a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ai-msg ul { margin: 6px 0 2px; padding-left: 16px; list-style: disc; }
.ai-msg li + li { margin-top: 2px; }
.ai-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.ai-msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ai-typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: typing 1.1s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .15s; }
.ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-5px); opacity: 1; } }
.ai-chips { display: flex; gap: 6px; padding: 8px 16px 10px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line-2); }
.ai-chips::-webkit-scrollbar { display: none; }
.ai-chips button { flex: none; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(0, 6, 170, .2); background: var(--blue-mist); color: var(--blue); font-size: 12.5px; font-weight: 600; transition: background .3s, color .3s; }
.ai-chips button:hover { background: var(--blue); color: #fff; }
.ai-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.ai-form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); outline: none; font-size: 14.5px; transition: border-color .3s, background .3s; }
.ai-form input:focus { border-color: var(--blue); background: #fff; }
.ai-form button { width: 46px; height: 46px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.ai-form button:hover { background: var(--navy); transform: rotate(-12deg); }
.ai-form button svg { width: 18px; height: 18px; }
.ai-note { padding: 0 16px 10px; font: 500 10px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); text-align: center; }

/* ---------- 22. Products page ---------- */
.subnav { position: sticky; top: 80px; z-index: 50; display: flex; gap: 6px; padding: 6px; margin: 0 auto 48px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-1); border: 1px solid var(--line-2); }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 10px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); transition: background .3s, color .3s; }
.subnav a:hover { color: var(--blue); }
.subnav a.is-active { background: var(--blue); color: #fff; }

.sector-block { display: grid; gap: 30px; padding-block: 48px; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
@media (min-width: 1100px) { .sector-block { grid-template-columns: 4fr 8fr; gap: 64px; padding-block: 80px; } .sector-block__aside { position: sticky; top: 160px; align-self: start; } }
.sector-block__no { font: 600 13px/1 var(--mono); color: var(--blue); letter-spacing: .1em; }
.sector-block h2 { font-size: clamp(32px, 7vw, 62px); font-weight: 700; letter-spacing: -.045em; text-transform: uppercase; line-height: 1; margin: 14px 0 16px; }
.sector-block__aside > p:not(.sector-block__no) { color: var(--muted); }
.sector-block__img { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.sector-block__img img { width: 100%; height: 100%; object-fit: cover; }
.groups { display: grid; gap: 12px; }
@media (min-width: 768px) { .groups { grid-template-columns: 1fr 1fr; } }
.group { position: relative; padding: 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease); }
.group:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0, 6, 170, .45); }
.group__sym { position: absolute; right: 18px; top: 14px; font-size: 54px; font-weight: 700; letter-spacing: -.05em; color: var(--blue-soft); line-height: 1; transition: color .4s; }
.group:hover .group__sym { color: var(--blue); }
.group h3 { position: relative; font-size: 19px; letter-spacing: -.02em; line-height: 1.2; margin: 10px 60px 10px 0; }
.group > p:not(.label) { color: var(--muted); font-size: 14.5px; }
.group ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.group ul li { padding: 5px 10px; border-radius: 8px; background: var(--blue-mist); color: var(--blue); font-size: 12px; font-weight: 600; }
.group--feature { grid-column: 1 / -1; background: var(--navy); color: #fff; border-color: var(--navy); }
.group--feature > p:not(.label) { color: rgba(255, 255, 255, .75); }
.group--feature .group__sym { color: rgba(255, 255, 255, .1); }
.group--feature:hover .group__sym { color: var(--blue-3); }
.group--feature ul li { background: rgba(255, 255, 255, .1); color: #fff; }

/* Catalog explorer */
.catalog { border-radius: var(--radius-xl); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.catalog__bar { display: grid; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--blue-mist), var(--paper)); }
@media (min-width: 1100px) { .catalog__bar { grid-template-columns: 1fr auto; align-items: center; padding: 22px 26px; } }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input { width: 100%; height: 52px; padding: 0 16px 0 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; outline: none; font-size: 15px; transition: border-color .3s, box-shadow .3s; }
.search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 6, 170, .1); }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 700; transition: background .3s, color .3s, border-color .3s; }
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.catalog__meta { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; color: var(--muted); border-bottom: 1px solid var(--line); }
@media (min-width: 1100px) { .catalog__meta { padding: 12px 26px; } }
.ctable { width: 100%; border-collapse: collapse; }
.ctable th { text-align: left; padding: 12px 18px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: #fafbff; }
.ctable td { padding: 14px 18px; border-bottom: 1px solid var(--line-2); font-size: 14px; vertical-align: middle; }
.ctable tr { transition: background .25s; }
.ctable tbody tr:hover { background: var(--blue-mist); }
.ctable .code { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.ctable .name { font-weight: 600; }
.grade { display: inline-block; padding: 4px 8px; border-radius: 6px; font: 600 11px/1 var(--mono); letter-spacing: .04em; background: var(--blue-soft); color: var(--blue); white-space: nowrap; }
.grade--tehn { background: #eef0f5; color: var(--ink-2); }
.grade--bh { background: #e5f6ee; color: #0b7a4b; }
.grade--spec { background: #fff1e0; color: #a35a00; }
.ask { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.ask:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.ctable .hide-sm { display: none; }
@media (min-width: 768px) { .ctable .hide-sm { display: table-cell; } }
@media (max-width: 767px) {
  .ctable thead { display: none; }
  .ctable tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
  .ctable td { padding: 0; border: 0; }
  .ctable td.code { grid-column: 1; }
  .ctable td.name { grid-column: 1 / -1; order: -1; font-size: 15px; }
  .ctable td.act { grid-row: 2 / span 2; grid-column: 2; align-self: center; }
}
.catalog__empty { padding: 48px 20px; text-align: center; color: var(--muted); display: none; }
.catalog__empty.is-on { display: block; }
.catalog__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 18px; }
@media (min-width: 1100px) { .catalog__foot { padding: 22px 26px; } }
.catalog__more { display: none; }
.catalog__more.is-on { display: inline-flex; }

.std-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 768px) { .std-grid { grid-template-columns: repeat(9, 1fr); } }
.std-grid div { background: var(--paper); padding: 22px 8px; text-align: center; font-weight: 800; font-size: 17px; letter-spacing: .02em; transition: background .35s, color .35s; }
.std-grid div small { display: block; font: 500 9.5px/1.3 var(--mono); letter-spacing: .08em; color: var(--muted); margin-top: 6px; text-transform: uppercase; transition: color .35s; }
.std-grid div:hover { background: var(--blue); color: #fff; }
.std-grid div:hover small { color: rgba(255, 255, 255, .75); }

/* ---------- 23. Timeline (horizontal pin on desktop) ---------- */
.hscroll { position: relative; }
.hscroll__sticky { position: relative; }
.hscroll__track { display: grid; gap: 14px; }
.tl-item { position: relative; padding: 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.tl-item__year { font-size: clamp(54px, 14vw, 120px); font-weight: 700; letter-spacing: -.06em; line-height: .85; color: var(--blue); }
.tl-item h3 { font-size: 21px; letter-spacing: -.02em; }
.tl-item > p:not(.tl-item__year) { color: var(--muted); font-size: 14.5px; }
.tl-item--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.tl-item--blue .tl-item__year { color: #fff; }
.tl-item--blue > p:not(.tl-item__year) { color: rgba(255, 255, 255, .8); }
.tl-item__img { border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; margin-top: auto; }
.tl-item__img img { width: 100%; height: 100%; object-fit: cover; }
.hscroll__progress { display: none; }
@media (min-width: 1100px) {
  .hscroll { height: var(--hs-h, 300vh); }
  .hscroll__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .hscroll__track { display: flex; gap: 18px; width: max-content; padding-left: calc((100vw - min(100vw - var(--gutter) * 2, 1400px)) / 2); padding-right: 10vw; will-change: transform; }
  .tl-item { width: 400px; min-height: 480px; flex: none; }
  .hscroll__progress { display: block; position: relative; width: min(100% - var(--gutter) * 2, 1400px); height: 1px; margin: 40px auto 0; background: var(--line); }
  .hscroll__progress i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
  .hscroll .shead { margin-bottom: 44px; }
}

/* ---------- 24. Mission / values ---------- */
.mv { display: grid; gap: 14px; }
@media (min-width: 1100px) { .mv { grid-template-columns: 1fr 1fr; gap: 18px; } }
.mv__card { position: relative; padding: 30px 24px; border-radius: var(--radius-xl); background: var(--paper); border: 1px solid var(--line); min-height: 340px; display: flex; flex-direction: column; overflow: hidden; }
.mv__card--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.mv__card h3 { font-size: clamp(30px, 6vw, 52px); letter-spacing: -.045em; text-transform: uppercase; margin: 18px 0 18px; }
.mv__card p { font-size: clamp(16px, 2.2vw, 20px); line-height: 1.5; max-width: 40ch; }
.mv__card--blue p { color: rgba(255, 255, 255, .88); }
.mv__card .big { position: absolute; right: -10px; bottom: -40px; font-size: 220px; font-weight: 800; letter-spacing: -.08em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; }
.mv__card--blue .big { -webkit-text-stroke-color: rgba(255, 255, 255, .22); }
@media (min-width: 1100px) { .mv__card { padding: 44px 40px; min-height: 420px; } }

.values { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 768px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { background: var(--paper); padding: 28px 22px; transition: background .4s; }
.value:hover { background: var(--blue-mist); }
.value svg { width: 34px; height: 34px; color: var(--blue); }
.value h3 { font-size: 19px; letter-spacing: -.02em; margin: 22px 0 8px; }
.value p { color: var(--muted); font-size: 14.5px; }

/* Awards list */
.awards { border-top: 1px solid var(--line); }
.award { display: grid; grid-template-columns: 70px 1fr; gap: 10px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.award:hover { padding-left: 10px; }
.award__y { font: 600 14px/1.4 var(--mono); color: var(--blue); }
.award h3 { font-size: 18px; letter-spacing: -.02em; line-height: 1.3; }
.award p { color: var(--muted); font-size: 14px; grid-column: 2; }
@media (min-width: 1100px) { .award { grid-template-columns: 120px 1.2fr 1fr; align-items: baseline; padding: 28px 0; } .award p { grid-column: auto; } }

.docs { display: grid; gap: 12px; }
@media (min-width: 768px) { .docs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .docs { grid-template-columns: repeat(3, 1fr); } }
.doc { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); transition: border-color .35s, transform .5s var(--ease); }
.doc:hover { border-color: var(--blue); transform: translateY(-4px); }
.doc__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-mist); color: var(--blue); }
.doc__icon svg { width: 22px; height: 22px; }
.doc h3 { font-size: 17px; letter-spacing: -.01em; line-height: 1.3; }
.doc p { color: var(--muted); font-size: 13.5px; }
.doc .link-arrow { margin-top: auto; padding-top: 6px; }

/* ---------- 25. Contact ---------- */
.contact-grid { display: grid; gap: 14px; }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 18px; align-items: start; } }
.loc { position: relative; padding: 26px 22px; border-radius: var(--radius-xl); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.loc + .loc { margin-top: 14px; }
.loc--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.loc h3 { font-size: 26px; letter-spacing: -.035em; text-transform: uppercase; margin: 12px 0 14px; }
.loc address { font-style: normal; font-size: 16px; line-height: 1.55; }
.loc dl { margin-top: 18px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.loc--blue dl { border-color: var(--line-dark); }
.loc dl div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.loc--blue dl div { border-color: var(--line-dark); }
.loc dt { font: 500 10.5px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.loc--blue dt { color: rgba(255, 255, 255, .6); }
.loc dd a { font-weight: 600; }
.loc dd a:hover { text-decoration: underline; }
.loc__coords { position: absolute; right: 18px; top: 22px; color: var(--muted); }
.loc--blue .loc__coords { color: rgba(255, 255, 255, .6); }

.form-card { padding: 26px 20px; border-radius: var(--radius-xl); background: var(--paper); border: 1px solid var(--line); scroll-margin-top: 110px; }
@media (min-width: 1100px) { .form-card { padding: 44px 40px; } }
.form-card h2 { font-size: clamp(30px, 6vw, 52px); letter-spacing: -.045em; text-transform: uppercase; line-height: 1; margin: 14px 0 12px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.fgrid { display: grid; gap: 14px; }
@media (min-width: 768px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .full { grid-column: 1 / -1; } }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 16px 10px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg); outline: none;
  font-size: 15px; transition: border-color .3s, background .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 16px; top: 17px; font-size: 14.5px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s, top .3s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 6, 170, .08); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: 10.5px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.field--select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--blue); margin-top: 2px; flex: none; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.form-status.is-ok { display: block; background: #e5f6ee; color: #0b7a4b; }
.form-status.is-err { display: block; background: #fdeaea; color: #a42020; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 8px; }

.map { position: relative; margin-top: 14px; border-radius: var(--radius-xl); overflow: hidden; height: 420px; background: var(--paper); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.map:hover iframe { filter: grayscale(.2); }
.map__tabs { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-1); }
.map__tabs button { padding: 9px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: background .3s, color .3s; }
.map__tabs button.is-active { background: var(--blue); color: #fff; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 0; font-size: clamp(17px, 2.4vw, 21px); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: background .3s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--blue); color: #fff; border-color: var(--blue); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }

/* ---------- 26. Misc ---------- */
.two-col { display: grid; gap: 28px; }
@media (min-width: 1100px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink-2); font-size: 16.5px; }
.prose strong { color: var(--ink); }
.lead-xl { font-size: clamp(22px, 4.4vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }

.svc-cards { display: grid; gap: 14px; }
@media (min-width: 768px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-cards { grid-template-columns: repeat(6, 1fr); gap: 18px; } .svc-card { grid-column: span 2; } .svc-card--wide { grid-column: span 3; } }
.svc-card { position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 26px; border-radius: var(--radius-xl); background: var(--paper); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .5s, border-color .5s; }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); clip-path: circle(0 at 100% 0); transition: clip-path .8s var(--ease); }
.svc-card:hover { color: #fff; border-color: var(--blue); }
.svc-card:hover::before { clip-path: circle(150% at 100% 0); }
.svc-card__no { font: 600 12px/1 var(--mono); letter-spacing: .1em; color: var(--blue); transition: color .5s; }
.svc-card:hover .svc-card__no { color: rgba(255, 255, 255, .7); }
.svc-card svg.ico { width: 46px; height: 46px; color: var(--blue); margin: 34px 0 auto; transition: color .5s, transform .7s var(--ease); }
.svc-card:hover svg.ico { color: #fff; transform: rotate(-8deg) scale(1.08); }
.svc-card h3 { font-size: 25px; letter-spacing: -.03em; margin: 30px 0 10px; }
.svc-card p { color: var(--muted); font-size: 14.5px; transition: color .5s; }
.svc-card:hover p { color: rgba(255, 255, 255, .82); }
.svc-card ul { margin-top: 16px; display: grid; gap: 6px; font-size: 13.5px; }
.svc-card ul li { display: flex; gap: 8px; }
.svc-card ul li::before { content: "—"; color: var(--blue-3); }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-md); background: var(--blue-mist); border: 1px solid rgba(0, 6, 170, .14); color: var(--ink-2); font-size: 14.5px; }
.notice svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 1px; }

.tilt-inner { transition: transform .6s var(--ease); }

/* ---------- 27. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none !important; }
  .js [data-reveal], .js [data-split] .wi { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- 28. Purity ladder ---------- */
.ladder-wrap { margin-top: 48px; padding: 24px 18px; border-radius: var(--radius-xl); background: var(--paper); border: 1px solid var(--line); }
.ladder-head h3 { font-size: clamp(22px, 4vw, 32px); letter-spacing: -.03em; margin: 10px 0 26px; }
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-items: end; }
.ladder__step strong { display: block; font-size: 13px; margin-top: 12px; letter-spacing: -.01em; line-height: 1.25; }
.ladder__step p { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.4; display: none; }
.ladder__bar { position: relative; height: 180px; border-radius: 12px; background: var(--blue-mist); overflow: hidden; display: flex; align-items: flex-end; }
.ladder__bar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: linear-gradient(180deg, var(--blue-3), var(--blue)); transform-origin: bottom; transform: scaleY(0); transition: transform 1.4s var(--ease) var(--d, 0s); border-radius: 12px 12px 0 0; }
.ladder__step.is-in .ladder__bar::before { transform: scaleY(1); }
.ladder__bar .label { position: relative; z-index: 1; color: #fff; padding: 10px; font-size: 10.5px; }
@media (min-width: 768px) {
  .ladder-wrap { padding: 36px 34px; }
  .ladder { gap: 14px; }
  .ladder__bar { height: 230px; }
  .ladder__step p { display: block; }
  .ladder__step strong { font-size: 16px; }
}

/* ---------- 29. Water treatment flow diagram ---------- */
.flow-scroll { margin: 22px -24px -24px; padding: 18px 24px 24px; overflow-x: auto; background: var(--blue-mist); border-top: 1px solid var(--line); }
.flow { min-width: 760px; }
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow__pipe path { stroke: rgba(0, 6, 170, .18); stroke-width: 14; stroke-linecap: round; fill: none; }
.flow__flowline path { stroke: var(--blue-3); stroke-width: 3; fill: none; stroke-dasharray: 10 14; animation: flowDash 1.4s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: -48; } }
.flow .tank { fill: #fff; stroke: var(--blue); stroke-width: 1.5; }
.flow .liquid { fill: url(#wg); opacity: .9; animation: slosh 3.2s ease-in-out infinite alternate; }
.flow .liquid.l2 { animation-delay: -.8s; }
.flow .liquid.l3 { animation-delay: -1.6s; }
.flow .liquid.l4 { animation-delay: -2.4s; }
@keyframes slosh { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
.flow .flow__tanks text { font: 600 11px var(--mono); letter-spacing: 1.2px; fill: var(--ink); }
.flow .flow__tanks text.sub { font-weight: 500; fill: var(--muted); }

/* ---------- 30. Misc additions ---------- */
.list-send.is-empty { opacity: .55; }
.hscroll__track.container-mobile { width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; }
@media (min-width: 768px) and (max-width: 1099px) { .hscroll__track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hscroll__track.container-mobile { width: max-content; margin: 0; } }
.feature__badge a { color: var(--blue); }
sub { font-size: .58em; line-height: 0; position: relative; vertical-align: baseline; top: .28em; }
@media (min-width: 1100px) {
  .hscroll__sticky.section { padding-block: 0; }
  .hscroll .shead { margin-bottom: 36px; }
  .tl-item { min-height: 440px; }
}
@media (min-width: 1100px) and (max-height: 820px) { .tl-item { min-height: 380px; width: 360px; } .tl-item__img { display: none; } }
.curtain { visibility: hidden; }
.is-leaving .curtain { visibility: visible; }

/* ---------- 31. Hero refinements ---------- */
.hero__title { line-height: .96; }
.hero__title .line { padding-top: .12em; margin-top: -.12em; }
.js [data-split] .w { padding-top: .14em; margin-top: -.14em; }
.hero__shade {
  background:
    radial-gradient(60% 55% at 50% 30%, rgba(3, 5, 31, .42), transparent 70%),
    linear-gradient(180deg, rgba(3, 5, 31, .6) 0%, rgba(3, 5, 31, .12) 40%, rgba(3, 5, 31, .14) 60%, rgba(3, 5, 31, .8) 100%),
    linear-gradient(90deg, rgba(0, 6, 170, .3), transparent 55%);
}
.hero__title { text-shadow: 0 2px 30px rgba(3, 5, 31, .25); }
.hero__strip { padding-left: 78px; }
@media (min-width: 1100px) { .hero__strip { padding-left: 96px; } }
.hcard--right .btn { align-self: flex-start; }
.hcard__specs { display: grid; margin-top: 4px; border-top: 1px dashed var(--line); }
.hcard__specs div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.hcard__specs dt { color: var(--muted); }
.hcard__specs dd { color: var(--blue); font-weight: 600; }
@media (min-width: 1100px) and (max-height: 800px) { .hcard__specs { display: none; } }
@media (max-width: 1099px) {
  .hero__cards { order: 2; }
  .hcard--right .hcard__row { height: 220px; }
  .sector__go { background: rgba(255, 255, 255, .92); border-color: transparent; color: var(--blue); top: 40px; right: 12px; }
}
.step, .groups, .tl-item, .hcard__body { align-content: start; }
.group--wide { grid-column: 1 / -1; }
.ai-head, .ai-chips, .ai-form, .ai-note { flex: none; }
.ai-body { min-height: 0; }
@media (min-width: 1100px) {
  .hscroll__sticky.section { padding-top: 84px; }
  .hscroll .shead { margin-bottom: 28px; }
}

.is-menu-open .site-header .brand { opacity: 0; pointer-events: none; }
.site-header .brand { transition: opacity .3s; }
.is-menu-open .float-btn, .is-menu-open .ai-panel { opacity: 0 !important; pointer-events: none !important; }
.nav__link { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1380px) {
  .nav ul { gap: 0; }
  .nav__link { padding: 9px 12px; font-size: 11.5px; letter-spacing: .08em; }
  .nav__link::after { left: 12px; right: 12px; }
  .header-cta { padding-left: 16px; }
}
.page-hero__title { font-size: clamp(34px, 9.6vw, 96px); }
@media (min-width: 768px) { .page-hero__title { font-size: clamp(56px, 8.6vw, 96px); } }
@media (min-width: 1100px) {
  .page-hero__title { font-size: clamp(64px, 6.9vw, 124px); }
  .page-hero__content { right: 30%; }
  .page-hero__card { width: 280px; }
}
