/* =====================================================================
   TERMOMETAL d.o.o. Beograd — dark industrial glass design system
   ===================================================================== */

:root {
  /* Palette — --brand sampled from the logo lettering */
  --bg: #05070c;
  --bg-2: #070b13;
  --surface: #0a0f1a;
  --surface-2: #0e1522;
  --brand: #0355b5;
  --brand-glow: #3b86f7;
  --brand-soft: rgba(59, 134, 247, 0.16);
  --text: #f2f5fa;
  --steel: #9aacc2;
  --muted: #5e6e84;
  --line: rgba(255, 255, 255, 0.08);
  --text-dim: rgba(242, 245, 250, 0.8);
  --pill-dark: rgba(10, 16, 28, 0.62);
  --on-brand: #fff;

  /* Section rhythm — one place controls the vertical gaps on every page */
  --sec-y: clamp(44px, 6vw, 80px);
  --sec-y-tight: clamp(34px, 4.2vw, 56px);
  --head-gap: clamp(26px, 3.4vw, 44px);

  /* Glass */
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --glass-dark: rgba(8, 12, 20, 0.55);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --blur: blur(18px) saturate(140%);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.25);

  /* Shape */
  --r-frame: 30px;
  --r-card: 22px;
  --r-sm: 14px;
  --gap: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;

  /* Type */
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* Image grade applied to all old (low-res) photos */
  --grade: saturate(0.78) contrast(1.06) brightness(0.84);

  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--brand-glow); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-glow);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -0.01em; }

.container {
  width: min(var(--maxw), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* ------------------------------------------------------------ primitives */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

.glass-dark {
  background: var(--glass-dark);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

.icon { width: 18px; height: 18px; flex: none; }

/* Pill buttons — modelled on the reference "Book Demo" / "Join Discord" */
.btn-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 5px 20px 5px 5px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn-pill__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: none;
  transition: transform 0.5s var(--ease-out), background 0.4s var(--ease);
}
.btn-pill__icon svg { width: 16px; height: 16px; }
.btn-pill:hover .btn-pill__icon { transform: rotate(45deg); }
.btn-pill { overflow: hidden; isolation: isolate; }
.btn-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}
.btn-pill:hover::after { transform: translateX(110%); }
.btn-pill:active { scale: 0.97; }
.btn-pill { transition-property: background, color, border-color, box-shadow, scale; }

.btn-pill--dark {
  background: var(--pill-dark);
  border: 1px solid var(--glass-border);
  color: var(--text);
  box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.btn-pill--dark .btn-pill__icon {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 0 0 3px var(--glass-2);
}
.btn-pill--dark:hover { border-color: rgba(59, 134, 247, 0.6); box-shadow: 0 0 0 4px var(--brand-soft); }

.btn-pill--light {
  background: var(--text);
  color: var(--bg);
}
.btn-pill--light .btn-pill__icon { background: rgba(128, 128, 128, 0.16); }
.btn-pill--light:hover { box-shadow: 0 10px 30px -10px rgba(59, 134, 247, 0.7), 0 0 0 4px var(--brand-soft); }

.btn-pill--brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 40px -16px rgba(59, 134, 247, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-pill--brand .btn-pill__icon { background: rgba(255, 255, 255, 0.16); }
.btn-pill--brand:hover { background: #0b62cc; }

.btn-pill--ghost {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text);
}
.btn-pill--ghost .btn-pill__icon { background: var(--glass-2); }
.btn-pill--ghost:hover { border-color: rgba(59, 134, 247, 0.55); background: var(--glass-2); }

.btn-pill--sm { min-height: 40px; font-size: 13px; padding-right: 16px; }
.btn-pill--sm .btn-pill__icon { width: 30px; height: 30px; }

/* Circular arrow button */
.circle-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  transition: transform 0.5s var(--ease-out), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.circle-btn svg { width: 18px; height: 18px; }
a:hover > .circle-btn,
.circle-btn:hover { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 24px -10px rgba(59, 134, 247, 0.9); }

/* Chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.chip svg { width: 15px; height: 15px; color: var(--brand-glow); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-glow);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.h-display {
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.03;
}
.h2 {
  font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  letter-spacing: -0.032em;
  line-height: 1.06;
  text-wrap: balance;
}
.h3 {
  font-weight: 400;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.lead {
  color: var(--steel);
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  line-height: 1.7;
  max-width: 62ch;
}
.text-steel { color: var(--steel); }
.text-white { color: var(--text); }
.prose p { color: var(--steel); line-height: 1.8; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--text); font-weight: 500; }

/* ----------------------------------------------------------- preloader */
.preloader { display: none; }

.js.tm-first .preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  background: radial-gradient(60% 50% at 50% 45%, #0b1424 0%, var(--bg) 70%);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader__logo {
  position: relative;
  width: min(300px, 64vw);
  border-radius: 999px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.96);
  animation: pre-in 0.7s var(--ease-out) 0.1s forwards;
}
.preloader__logo img { width: 100%; }
.preloader__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.85) 48%, rgba(59, 134, 247, 0.5) 52%, transparent 70%);
  mix-blend-mode: soft-light;
  transform: translateX(-120%);
  animation: sweep 1.25s var(--ease-io) 0.35s forwards;
}
.preloader__bar {
  width: min(220px, 50vw);
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-glow));
  box-shadow: 0 0 12px var(--brand-glow);
  transform-origin: left;
  transform: scaleX(0);
  animation: bar 1.3s var(--ease-io) 0.15s forwards;
}
.is-loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes pre-in { to { opacity: 1; transform: none; } }
@keyframes sweep { to { transform: translateX(120%); } }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------------------------------------------------- page transitions */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 290;
  pointer-events: none;
  background: var(--bg);
  transform: translateY(101%);
  transition: transform 0.42s var(--ease-io);
}
.curtain::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-glow), transparent);
  box-shadow: 0 0 24px 4px rgba(59, 134, 247, 0.55);
}
/* Later page loads start covered, then reveal upward */
.js:not(.tm-first) .curtain { transform: translateY(0); }
.js:not(.tm-first).is-loaded .curtain {
  transform: translateY(-101%);
  visibility: hidden;
  transition: transform 0.42s var(--ease-io), visibility 0s linear 0.42s;
}
.js:not(.tm-first).is-loaded .curtain::before { top: auto; bottom: -1px; }
html.is-leaving .curtain {
  transform: translateY(0) !important;
  visibility: visible !important;
  transition: transform 0.42s var(--ease-io) !important;
}
/* ----------------------------------------------------------------- nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: calc(var(--gap) + 16px) calc(var(--gap) + 22px) 0;
  pointer-events: none;
  transition: padding 0.55s var(--ease);
}
.nav__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  height: 70px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  pointer-events: auto;
  transition: background 0.55s var(--ease), border-color 0.55s var(--ease), padding 0.55s var(--ease), max-width 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.nav.is-scrolled { padding: 10px 12px 0; }
.nav.is-scrolled .nav__inner {
  max-width: calc(var(--maxw) + 80px);
  height: 68px;
  padding: 0 7px 0 18px;
  background: rgba(8, 12, 20, 0.66);
  border-color: var(--glass-border);
  box-shadow: var(--glass-hi), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.nav.is-hidden:not(.is-open) .nav__inner { transform: translateY(-140%); }
.nav__inner { transition-property: background, border-color, padding, max-width, box-shadow, transform; transition-duration: 0.55s; }

.nav__logo { justify-self: start; display: block; }
.nav__logo img {
  height: 58px;
  width: auto;
  transition: height 0.5s var(--ease), filter 0.5s var(--ease);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 14px rgba(59, 134, 247, 0.18));
}
.nav.is-scrolled .nav__logo img { height: 50px; }

.nav__menu ul { display: flex; align-items: center; gap: clamp(22px, 2.5vw, 46px); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-size: 1.07rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--brand-glow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover,
.nav__link.is-active { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link svg { width: 13px; height: 13px; transition: transform 0.4s var(--ease); }
.has-mega:hover .nav__link svg,
.has-mega.is-open .nav__link svg { transform: rotate(90deg); }

.nav__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav__cta { min-height: 54px; padding: 6px 24px 6px 6px; gap: 14px; font-size: 15.5px; }
.nav__cta .btn-pill__icon { width: 42px; height: 42px; }
.nav__cta .btn-pill__icon svg { width: 18px; height: 18px; }
.nav.is-scrolled .nav__cta { min-height: 52px; }
.nav__burger { display: none; }

/* Theme toggle + language switch — same glass language as the slide buttons */
.nav-ctl {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 50%;
  color: var(--text);
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease-out);
}
.nav-ctl:hover { border-color: rgba(59, 134, 247, 0.6); background: var(--glass-2); box-shadow: var(--glass-hi), 0 0 0 4px var(--brand-soft); }
.nav-ctl:active { transform: scale(0.94); }
.theme-icon { width: 22px; height: 22px; overflow: visible; }
.theme-icon__core,
.theme-icon__bite,
.theme-icon__rays { transform-box: fill-box; transform-origin: center; transition: transform 0.7s var(--ease-out), opacity 0.45s var(--ease); }
/* Dark theme shows a moon, light theme a sun */
.theme-icon__core { transform: scale(1.62); }
.theme-icon__bite { transform: translate(-7px, 4px); }
.theme-icon__rays { opacity: 0; transform: scale(0.4) rotate(-60deg); }
[data-theme="light"] .theme-icon__core { transform: scale(1); }
[data-theme="light"] .theme-icon__bite { transform: translate(7px, -7px); }
[data-theme="light"] .theme-icon__rays { opacity: 1; transform: none; }

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 4px;
  border-radius: 999px;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.lang-switch__opt {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--text-dim);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
a.lang-switch__opt:hover { color: var(--text); background: var(--glass-2); }
.lang-switch__opt.is-active { background: var(--text); color: var(--bg); }

/* Mega dropdown */
.mega {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: min(1120px, calc(100vw - 48px));
  padding: 26px;
  border-radius: 26px;
  background: rgba(8, 12, 20, 0.86);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out), visibility 0.35s;
}
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}
.mega__title {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-glow);
}
.mega__list { display: grid; gap: 2px; }
.mega__item {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px;
  margin: 0 -6px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--text-dim);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.mega__item img {
  width: 38px;
  height: 31px;
  object-fit: cover;
  border-radius: 8px;
  filter: var(--grade);
}
.mega__item:hover { background: var(--glass-2); color: var(--text); }
.mega__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--steel);
}

/* Mobile menu */
.m-menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  flex-direction: column;
  padding: 104px var(--gutter) 32px;
  background: rgba(5, 7, 12, 0.82);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  backdrop-filter: blur(26px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}
.m-menu.is-open { opacity: 1; visibility: visible; }
.m-menu__links { display: grid; gap: 2px; }
.m-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out), color 0.3s;
  transition-delay: calc(var(--i, 0) * 55ms + 80ms);
}
.m-menu__links a span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brand-glow);
  letter-spacing: 0.08em;
}
.m-menu__links a.is-active { color: var(--brand-glow); }
.m-menu.is-open .m-menu__links a { opacity: 1; transform: none; }
.m-menu__foot {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 28px;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.45s;
}
.m-menu.is-open .m-menu__foot { opacity: 1; }
.m-menu__foot p { font-size: 14px; color: var(--steel); }
.m-menu__foot a.m-menu__tel { font-family: var(--mono); color: var(--text); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  padding: var(--gap);
}
.hero__frame {
  position: relative;
  height: 100%;
  border-radius: var(--r-frame);
  overflow: hidden;
  isolation: isolate;
  background: #0b111c;
}

/* Slides */
.slides { position: absolute; inset: 0; z-index: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.slide.is-active { opacity: 1; z-index: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.6s var(--ease);
  will-change: transform;
  filter: brightness(0.97) saturate(0.92) contrast(1.04);
}
.slide.is-active img {
  transform: scale(1.02);
  transition: transform 9s linear;
}
/* Slide 3 has a light strip on its left edge: anchor the zoom on the right so it never shows */
.slide--right img { transform-origin: 100% 50%; object-position: 100% 50%; transform: scale(1.16); }
.slide--right.is-active img { transform: scale(1.07); }

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Light top for the nav, untouched centre, stronger bottom for the cards */
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.5) 0%, rgba(5, 7, 12, 0.14) 17%, rgba(5, 7, 12, 0) 32%, rgba(5, 7, 12, 0) 56%, rgba(5, 7, 12, 0.3) 76%, rgba(5, 7, 12, 0.74) 100%),
    linear-gradient(0deg, rgba(5, 18, 44, 0.12), rgba(5, 18, 44, 0.12));
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Symmetric padding keeps the group on the exact centre of the frame */
  padding: var(--hero-pad-y, clamp(100px, 14vh, 150px)) var(--hero-pad-x, clamp(20px, 6vw, 90px));
  pointer-events: none;
}
.hero__content > * { pointer-events: auto; }
.hero__group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}
/* Soft local backdrop for text contrast instead of darkening the whole photo */
.hero__group::before {
  content: "";
  position: absolute;
  inset: -16% -12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(4, 9, 20, 0.5), rgba(4, 9, 20, 0.28) 55%, transparent);
  filter: blur(12px);
  pointer-events: none;
}
.hero__title {
  margin-top: clamp(18px, 2.6vh, 30px);
  font-size: clamp(2.55rem, 5.4vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), 0 8px 40px rgba(0, 0, 0, 0.45);
}
.hero__sub {
  margin-top: clamp(14px, 2.2vh, 24px);
  max-width: 48ch;
  font-size: clamp(0.95rem, 1.12vw, 1.12rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(242, 245, 250, 0.94);
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 22px rgba(0, 0, 0, 0.5);
}

/* Masked word reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w__i { display: inline-block; transform: translateY(110%); transition: transform 0.95s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.is-shown .w__i,
.is-in .w__i { transform: none; }
.is-out .w__i { transform: translateY(-110%); transition-duration: 0.5s; transition-timing-function: var(--ease-io); }
.fade-swap { transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out); }
.js .fade-swap.is-out { opacity: 0; transform: translateY(-8px); }
.js .fade-swap.is-pre { opacity: 0; transform: translateY(10px); transition: none; }

/* Bottom-left glass stat card */
.hero-stat {
  position: absolute;
  left: clamp(14px, 1.8vw, 26px);
  bottom: clamp(14px, 1.8vw, 26px);
  z-index: 4;
  display: grid;
  gap: 14px;
  width: 214px;
  padding: 18px 16px 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--glass-hi), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.hero-stat__num {
  font-size: 2.7rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
}
.hero-stat__label {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(242, 245, 250, 0.76);
  text-align: center;
}
.hero-stat .btn-pill { justify-content: flex-start; width: 100%; }

/* Right-edge slide controls */
.slider-ctrl {
  position: absolute;
  right: clamp(12px, 1.6vw, 24px);
  top: 50%;
  z-index: 4;
  display: grid;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  transform: translateY(-36%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.slider-ctrl__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(242, 245, 250, 0.82);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.slider-ctrl__btn:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.slider-ctrl__btn.is-active { background: rgba(242, 245, 250, 0.95); color: #0a0f1a; }
.slider-ctrl__btn svg {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: rotate(-90deg);
  pointer-events: none;
}
.slider-ctrl__btn circle {
  fill: none;
  stroke: var(--brand-glow);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 138.2;
  stroke-dashoffset: 138.2;
  opacity: 0;
}
.slider-ctrl__btn.is-active circle {
  opacity: 1;
  animation: ring var(--autoplay, 7000ms) linear forwards;
}
.slides.is-paused ~ .slider-ctrl .slider-ctrl__btn.is-active circle,
.slider-ctrl.is-paused .slider-ctrl__btn.is-active circle { animation-play-state: paused; }
@keyframes ring { to { stroke-dashoffset: 0; } }

/* Bottom-right notch — a true cut-out of the frame corner */
.notch {
  --nr: 28px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 318px;
  padding: 20px 28px 6px 26px;
  background: var(--bg);
  border-top-left-radius: var(--nr);
}
.notch::before,
.notch::after {
  content: "";
  position: absolute;
  width: var(--nr);
  height: var(--nr);
  background: radial-gradient(circle at 0 0, transparent calc(var(--nr) - 0.5px), var(--bg) var(--nr));
  pointer-events: none;
}
.notch::before { right: 0; bottom: 100%; }
.notch::after { right: 100%; bottom: 0; }
.notch .circle-btn { width: 54px; height: 54px; background: var(--glass); }
.notch__text { display: grid; gap: 2px; }
.notch__text strong { font-size: 1.22rem; font-weight: 400; letter-spacing: -0.015em; line-height: 1.2; }
.notch__text small { font-size: 12.5px; color: var(--steel); transition: color 0.3s; }
.notch:hover .notch__text small { color: var(--brand-glow); }

/* Inner page hero */
.hero--inner { height: 72vh; min-height: 540px; max-height: 860px; }
.hero--inner .hero__content {
  justify-content: center;
  padding-top: clamp(96px, 11vh, 130px);
  padding-bottom: clamp(70px, 10vh, 110px);
}
.hero--inner .hero__content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: -1;
  width: min(900px, 96%);
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(4, 9, 20, 0.46), rgba(4, 9, 20, 0.22) 60%, transparent);
  filter: blur(10px);
  pointer-events: none;
}
.hero--inner .hero__title { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), 0 8px 40px rgba(0, 0, 0, 0.45); }
.hero--inner .hero__title { font-size: clamp(2.3rem, 5vw, 5rem); max-width: 18ch; }
.hero__bg { position: absolute; inset: -6% 0; z-index: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}
.hero__bg img { filter: saturate(0.92) brightness(0.95); }
.hero__bg--soft img { filter: blur(6px) saturate(0.85) brightness(0.88); transform: scale(1.12); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: rgba(242, 245, 250, 0.68);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(242, 245, 250, 0.36); }
.breadcrumb a { transition: color 0.3s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--text); }

/* ------------------------------------------------------------ sections */
.section { position: relative; padding: var(--sec-y) 0; }
.section--tight { padding: var(--sec-y-tight) 0; }
.section + .section--tight, .cta + .section--tight { padding-top: calc(var(--sec-y-tight) * 0.6); }
.section--line { border-top: 1px solid var(--line); }
.section__glow {
  background: radial-gradient(900px 520px at 50% 0%, rgba(3, 85, 181, 0.16), transparent 70%);
}
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: var(--head-gap);
}
.sec-head__main { display: grid; gap: 18px; max-width: 760px; }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center .sec-head__main { justify-items: center; }

/* Intro */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.intro__statement {
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: -0.022em;
  color: var(--steel);
}
.intro__statement strong { color: var(--text); font-weight: 400; }
.intro__text { margin-top: 26px; }
.intro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--r-card);
  overflow: hidden;
}
.stat__num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  white-space: nowrap;
}
.stat__num small { font-size: 0.48em; color: var(--brand-glow); letter-spacing: 0; }
.stat__label { margin-top: 8px; font-size: 14px; color: var(--steel); line-height: 1.4; }
.stat__pre { font-family: var(--font); font-size: 0.45em; color: var(--steel); letter-spacing: 0; font-weight: 400; }

/* Cursor-follow light on glass cards */
.glow-card { position: relative; isolation: isolate; }
.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 134, 247, 0.17), transparent 45%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.glow-card:hover::before { opacity: 1; }

.lift {
  transition: transform 0.55s var(--ease-out), border-color 0.45s var(--ease), box-shadow 0.55s var(--ease);
}
.lift:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 134, 247, 0.45);
  box-shadow: var(--glass-hi), 0 34px 70px -34px rgba(59, 134, 247, 0.55);
}

/* Product cards */
.p-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr));
  gap: 18px;
}
.p-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-card);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi);
  overflow: hidden;
}
.p-card__media {
  position: relative;
  margin: 8px 8px 0;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
}
.p-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
  transform: scale(1.02);
  transition: transform 1s var(--ease-out), filter 0.6s var(--ease);
}
.p-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 22, 52, 0.12), rgba(5, 7, 12, 0.5));
  pointer-events: none;
}
.p-card:hover .p-card__media img { transform: scale(1.07); filter: saturate(0.92) contrast(1.06) brightness(0.92); }
.p-card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  background: rgba(5, 7, 12, 0.55);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.p-card__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 18px 20px 20px; }
.p-card__cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.p-card__title { font-size: 1.18rem; font-weight: 400; letter-spacing: -0.012em; line-height: 1.28; }
.p-card__text { font-size: 14px; color: var(--steel); line-height: 1.6; }
.p-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.cap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: rgba(59, 134, 247, 0.12);
  border: 1px solid rgba(59, 134, 247, 0.32);
  white-space: nowrap;
}
.cap--muted { color: var(--steel); background: var(--glass); border-color: var(--glass-border); }
.p-card .circle-btn { width: 40px; height: 40px; }
.p-card.is-hidden { display: none; }

/* Filter pills */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--steel);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.filter span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.filter:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.filter.is-active { color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: 0 10px 30px -12px rgba(59, 134, 247, 0.9); }
.filter.is-active span { color: rgba(255, 255, 255, 0.72); }

/* Steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 26px;
  border-radius: var(--r-card);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi);
}
.step__num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brand-glow);
}
.step__num i {
  display: block;
  flex: 1;
  height: 1px;
  margin-left: 14px;
  background: linear-gradient(90deg, rgba(59, 134, 247, 0.6), transparent);
}
.step__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(59, 134, 247, 0.12);
  border: 1px solid rgba(59, 134, 247, 0.3);
  color: var(--brand-glow);
}
.step__icon svg { width: 24px; height: 24px; }
.step h3 { font-size: 1.15rem; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.step p { font-size: 14px; color: var(--steel); line-height: 1.65; }

/* Industries */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ind-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 200px;
  padding: 22px;
  border-radius: var(--r-card);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi);
}
.ind-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.ind-card__icon { width: 40px; height: 40px; color: var(--brand-glow); }
.ind-card__icon svg { width: 100%; height: 100%; }
.ind-card h3 { margin-top: auto; font-size: 1.15rem; font-weight: 400; letter-spacing: -0.01em; }
.ind-card__meta { font-family: var(--mono); font-size: 12px; color: var(--steel); }
.ind-card .circle-btn { width: 38px; height: 38px; }
.ind-card--cta { background: linear-gradient(140deg, rgba(3, 85, 181, 0.5), rgba(3, 85, 181, 0.12)); border-color: rgba(59, 134, 247, 0.4); }

/* Featured references */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ref-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi);
  min-height: 260px;
}
.ref-card__top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.ref-card__cap {
  font-family: var(--mono);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.ref-card__cap small { font-size: 0.42em; color: var(--brand-glow); letter-spacing: 0; margin-left: 4px; }
.ref-card h3 { font-size: 1.2rem; font-weight: 400; letter-spacing: -0.01em; }
.ref-card__loc { color: var(--steel); font-size: 14px; }
.ref-card p { margin-top: auto; font-size: 13.5px; color: var(--steel); line-height: 1.6; }

/* Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-dim);
  opacity: 0.8;
  white-space: nowrap;
}
.marquee__item::after { content: "✦"; font-size: 0.55em; color: var(--brand-glow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Partner band */
.partner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-frame);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(3, 85, 181, 0.35), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--shadow);
  overflow: hidden;
}
.partner__badge {
  display: inline-grid;
  place-items: center;
  padding: 14px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.partner__badge img { height: 46px; width: auto; }
.partner__text { display: grid; gap: 18px; justify-items: start; }
.partner__facts { display: grid; gap: 12px; }
.fact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(5, 7, 12, 0.35);
  border: 1px solid var(--line);
}
.fact__num { font-family: var(--mono); font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; }
.fact__label { font-size: 13.5px; color: var(--steel); text-align: right; line-height: 1.4; }

/* Horizontal photo strip (fair) */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 26vw, 360px);
  gap: 14px;
  overflow-x: auto;
  padding: 4px var(--gutter) 18px;
  margin: 0 calc(-1 * var(--gutter));
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.strip a { scroll-snap-align: start; }

/* Photo frames */
.photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
  transition: transform 1s var(--ease-out), filter 0.6s var(--ease);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 22, 52, 0.1), rgba(5, 7, 12, 0.42));
  transition: opacity 0.5s;
  pointer-events: none;
}
.photo:hover img { transform: scale(1.05); filter: saturate(0.95) contrast(1.05) brightness(0.95); }
.photo:hover::after { opacity: 0.4; }
.photo__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(5, 7, 12, 0.55);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}
.photo__zoom svg { width: 16px; height: 16px; }
.photo:hover .photo__zoom,
.photo:focus-visible .photo__zoom { opacity: 1; transform: none; }
.photo--fair { aspect-ratio: 4 / 3; }
.photo--fair img { object-position: 50% 100%; }

/* CTA band */
.cta {
  position: relative;
  padding: var(--gap);
}
.cta__frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(400px, 58vh, 560px);
  padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(90px, 10vw, 120px);
  border-radius: var(--r-frame);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta__bg { position: absolute; inset: -12% 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 70% at 50% 50%, rgba(5, 7, 12, 0.5), rgba(5, 7, 12, 0.2) 70%, rgba(5, 7, 12, 0.5)),
    linear-gradient(0deg, rgba(6, 22, 52, 0.18), rgba(6, 22, 52, 0.18));
}
.cta__inner { display: grid; justify-items: center; gap: 22px; max-width: 860px; }
.cta__title { font-size: clamp(2rem, 4.6vw, 4rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ------------------------------------------------------------- footer */
.footer {
  position: relative;
  margin-top: clamp(20px, 3vw, 40px);
  padding: clamp(44px, 5.5vw, 72px) 0 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: min(900px, 90%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--brand-glow), transparent);
  opacity: 0.6;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 2.6fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer__brand { display: grid; gap: 20px; align-content: start; }
.footer__brand img.footer__logo { width: 190px; }
.footer__brand p { font-size: 14px; color: var(--steel); line-height: 1.7; max-width: 36ch; }
.footer__moldow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 12.5px;
  color: var(--steel);
  line-height: 1.35;
  transition: border-color 0.3s;
}
.footer__moldow:hover { border-color: rgba(59, 134, 247, 0.5); }
.footer__moldow span.footer__moldow-logo { display: grid; place-items: center; padding: 6px 10px; border-radius: 10px; background: #fff; }
.footer__moldow img { height: 26px; width: auto; }
.footer h4 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-glow);
}
.footer__links { display: grid; gap: 9px; font-size: 14px; color: var(--steel); }
.footer__links a { transition: color 0.3s; }
.footer__links a:hover { color: var(--text); }
.footer__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px 22px; font-size: 13.5px; }
.footer__contact { display: grid; gap: 12px; font-size: 14px; color: var(--steel); font-style: normal; }
.footer__contact a { color: var(--text); transition: color 0.3s; }
.footer__contact a:hover { color: var(--brand-glow); }
.footer__contact .mono { font-size: 13px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer__word {
  margin-top: 36px;
  font-size: clamp(3.4rem, 13.5vw, 13rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.8;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  user-select: none;
  white-space: nowrap;
}

/* ----------------------------------------------------- floating buttons */
.fab {
  position: fixed;
  bottom: 24px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(10, 16, 28, 0.66);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), 0 18px 40px -16px rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease-out), visibility 0.45s, border-color 0.3s, background 0.3s;
}
.fab:hover { border-color: rgba(59, 134, 247, 0.6); }
.fab svg.fab__icon { width: 22px; height: 22px; }

.to-top { right: 24px; opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.9); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; }
.to-top__ring circle { fill: none; stroke: var(--brand-glow); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 175.9; stroke-dashoffset: 175.9; }

.ai-fab { left: 24px; }
.ai-fab::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(59, 134, 247, 0.65);
  animation: pulse 2.8s var(--ease) infinite;
  pointer-events: none;
}
.ai-fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.9); }
.ai-fab.is-open { background: var(--brand); border-color: var(--brand); }
.ai-fab.is-open::after { animation: none; opacity: 0; }
.ai-fab__dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #33d17a;
  box-shadow: 0 0 0 2px rgba(10, 16, 28, 0.9);
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.9; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}

/* Assistant panel */
.ai-panel {
  position: fixed;
  left: 24px;
  bottom: 96px;
  z-index: 71;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 32px));
  height: min(580px, calc(100svh - 130px));
  border-radius: 26px;
  background: rgba(8, 12, 20, 0.86);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), 0 40px 90px -30px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.97);
  transform-origin: bottom left;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), visibility 0.4s;
}
.ai-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.ai-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(3, 85, 181, 0.22), transparent);
}
.ai-head__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-glow), var(--brand));
  box-shadow: 0 8px 20px -8px rgba(59, 134, 247, 0.9);
}
.ai-head__avatar svg { width: 20px; height: 20px; }
.ai-head__title { flex: 1; display: grid; line-height: 1.25; }
.ai-head__title strong { font-size: 15px; font-weight: 500; }
.ai-head__title span { font-size: 12px; color: var(--steel); display: inline-flex; align-items: center; gap: 6px; }
.ai-head__title span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #33d17a; }
.ai-close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-border); transition: background 0.3s; }
.ai-close:hover { background: var(--glass-2); }
.ai-close svg { width: 16px; height: 16px; }
.ai-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.ai-msg {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
  animation: msg-in 0.45s var(--ease-out);
}
.ai-msg--bot { align-self: flex-start; background: var(--glass-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--text); }
.ai-msg--user { align-self: flex-end; background: var(--brand); border-bottom-right-radius: 6px; color: #fff; }
.ai-msg p + p, .ai-msg p + ul, .ai-msg ul + p { margin-top: 8px; }
.ai-msg ul { display: grid; gap: 4px; padding-left: 0; }
.ai-msg li { position: relative; padding-left: 14px; color: var(--steel); }
.ai-msg li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-glow); }
.ai-msg li strong { color: var(--text); font-weight: 500; }
.ai-msg .mono { font-size: 12.5px; }
.ai-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: rgba(59, 134, 247, 0.2);
  border: 1px solid rgba(59, 134, 247, 0.45);
  transition: background 0.3s;
}
.ai-link:hover { background: rgba(59, 134, 247, 0.38); }
.ai-link svg { width: 13px; height: 13px; }
.ai-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--steel); animation: typing 1.1s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-5px); opacity: 1; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ai-chips {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ai-chips::-webkit-scrollbar { display: none; }
.ai-chip {
  flex: none;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: background 0.3s, border-color 0.3s;
}
.ai-chip:hover { background: var(--glass-2); border-color: rgba(59, 134, 247, 0.5); }
.ai-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}
.ai-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}
.ai-form input::placeholder { color: var(--muted); }
.ai-form input:focus { border-color: var(--brand-glow); }
.ai-form button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  transition: background 0.3s;
}
.ai-form button:hover { background: #0b62cc; }
.ai-form button svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(3, 5, 9, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; }
.lb__count { font-family: var(--mono); font-size: 13px; color: var(--steel); }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(12px, 7vw, 100px); touch-action: pan-y; }
.lb__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease-out);
}
.lb__img.is-swap { opacity: 0; transform: scale(0.97); }
.lb__cap { padding: 16px 20px 24px; text-align: center; font-size: 14px; color: var(--steel); min-height: 60px; }
.lb__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: background 0.3s, border-color 0.3s;
}
.lb__btn:hover { background: var(--glass-2); border-color: rgba(59, 134, 247, 0.5); }
.lb__btn svg { width: 18px; height: 18px; }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb__prev { left: clamp(8px, 2vw, 28px); }
.lb__next { right: clamp(8px, 2vw, 28px); }

/* --------------------------------------------------------- page: about */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.split--center { align-items: center; }
.sticky { position: sticky; top: 110px; }
.frame-img {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}
.frame-img img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); }
.frame-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 7, 12, 0.6)); pointer-events: none; }
.frame-img__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(8, 12, 20, 0.6);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.frame-img__badge strong { font-family: var(--mono); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.03em; }
.frame-img__badge span { font-size: 12px; color: var(--steel); }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.value {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 26px 22px;
  border-radius: var(--r-card);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi);
}
.value h3 { font-size: 1.12rem; font-weight: 400; }
.value p { font-size: 14px; color: var(--steel); line-height: 1.65; }

.checklist { display: grid; gap: 12px; }
.checklist li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--steel);
  font-size: 15px;
  line-height: 1.55;
}
.checklist li strong { display: block; color: var(--text); font-weight: 400; font-size: 16px; margin-bottom: 2px; }
.checklist__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(59, 134, 247, 0.14);
  border: 1px solid rgba(59, 134, 247, 0.4);
  color: var(--brand-glow);
  font-family: var(--mono);
  font-size: 11px;
}

.timeline-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

/* ---------------------------------------------------- page: product */
.spec {
  border-radius: var(--r-card);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi);
  overflow: hidden;
}
.spec__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.spec table { width: 100%; border-collapse: collapse; }
.spec th,
.spec td { padding: 16px 22px; text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.55; }
.spec tr + tr th,
.spec tr + tr td { border-top: 1px solid var(--line); }
.spec th { width: 36%; font-weight: 400; color: var(--steel); }
.spec td { color: var(--text); }
.spec td .mono { color: #cfe0ff; font-size: 13.5px; }
.spec tr { transition: background 0.3s; }
.spec tr:hover { background: rgba(255, 255, 255, 0.03); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  transition: border-color 0.3s, background 0.3s;
}
.tag svg { width: 14px; height: 14px; color: var(--brand-glow); }
a.tag:hover { border-color: rgba(59, 134, 247, 0.55); background: var(--glass-2); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.gallery .photo { aspect-ratio: 4 / 3; }

.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rel-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.rel-card__top { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rel-card h3 { font-size: 1.08rem; font-weight: 400; }
.rel-card p { font-size: 13.5px; color: var(--steel); line-height: 1.6; }
.rel-card .cap { align-self: flex-start; margin-top: auto; }

.pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pn__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: var(--r-card);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.pn__item--next { flex-direction: row-reverse; text-align: right; }
.pn__img { width: 92px; height: 74px; flex: none; border-radius: 14px; overflow: hidden; }
.pn__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); }
.pn__text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.pn__text small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-glow); }
.pn__text strong { font-size: 1.05rem; font-weight: 400; }
.pn__item--prev .circle-btn svg { transform: rotate(-135deg); }
.pn__item--next .circle-btn svg { transform: rotate(45deg); }
.pn__item:hover .circle-btn { transform: none; background: var(--brand); border-color: var(--brand); }

.highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(59, 134, 247, 0.08);
  border: 1px solid rgba(59, 134, 247, 0.28);
}
.highlight__num { font-family: var(--mono); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; }
.highlight__label { font-size: 13.5px; color: var(--steel); }

/* -------------------------------------------------- page: references */
.ref-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: var(--head-gap); }
.ind-block { margin-top: 18px; }
.ind-block.is-hidden { display: none; }
.ind-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 26px 0 16px;
  scroll-margin-top: 100px;
}
.ind-block__head h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 300; letter-spacing: -0.03em; }
.ind-block__head span { font-family: var(--mono); font-size: 12.5px; color: var(--steel); }
.acc { display: grid; gap: 10px; }
.acc__item {
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s;
}
.acc__item.is-open { border-color: rgba(59, 134, 247, 0.42); background: rgba(255, 255, 255, 0.075); }
.acc__btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px 20px 18px 24px;
  text-align: left;
}
.acc__client { display: grid; gap: 3px; }
.acc__client strong { font-size: clamp(1.08rem, 1.5vw, 1.3rem); font-weight: 400; letter-spacing: -0.012em; }
.acc__client span { font-size: 13.5px; color: var(--steel); }
.acc__meta { display: flex; align-items: center; gap: 10px; }
.acc__count { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.acc__plus {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: transform 0.5s var(--ease-out), background 0.3s;
}
.acc__plus::before,
.acc__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.acc__item.is-open .acc__plus { background: var(--brand); border-color: var(--brand); transform: rotate(180deg); }
.acc__item.is-open .acc__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.tl { position: relative; display: grid; gap: 0; padding: 4px 24px 22px 24px; }
.tl::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 10px;
  bottom: 30px;
  width: 1px;
  margin-left: 30px;
  background: linear-gradient(180deg, rgba(59, 134, 247, 0.6), rgba(59, 134, 247, 0.05));
}
.tl__row {
  position: relative;
  display: grid;
  grid-template-columns: 61px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 14px 0;
}
.tl__row + .tl__row { border-top: 1px dashed rgba(255, 255, 255, 0.06); }
.tl__year {
  position: relative;
  z-index: 1;
  justify-self: start;
  padding: 3px 8px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text);
  background: #0f1a2c;
  border: 1px solid rgba(59, 134, 247, 0.4);
}
.tl__year--na { color: var(--muted); border-color: var(--glass-border); }
.tl__body strong { display: block; font-size: 15px; font-weight: 400; margin-bottom: 3px; }
.tl__body p { font-size: 13.5px; color: var(--steel); line-height: 1.6; }
.tl .cap { margin-top: 2px; }

.masonry { columns: 4 240px; column-gap: 12px; }
.masonry .photo { margin-bottom: 12px; break-inside: avoid; }
.masonry .photo img { height: auto; }

/* ---------------------------------------------------- page: download */
.doc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.doc {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-card);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi);
  overflow: hidden;
}
.doc__preview {
  position: relative;
  margin: 8px 8px 0;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: #e9edf3;
}
.doc__preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(0.85) brightness(0.92); transition: transform 1s var(--ease-out); }
.doc:hover .doc__preview img { transform: scale(1.04); }
.doc__type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: rgba(5, 7, 12, 0.72);
  border: 1px solid var(--glass-border);
}
.doc__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 18px 18px 18px; }
.doc__body h3 { font-size: 1.1rem; font-weight: 400; line-height: 1.3; }
.doc__body p { font-size: 13.5px; color: var(--steel); line-height: 1.55; }
.doc__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.doc__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }

/* ----------------------------------------------------- page: contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.c-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.c-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi);
}
.c-card--wide { grid-column: 1 / -1; }
.c-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(59, 134, 247, 0.12); border: 1px solid rgba(59, 134, 247, 0.3); color: var(--brand-glow); }
.c-card__icon svg { width: 20px; height: 20px; }
.c-card small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.c-card a, .c-card span.c-card__val { font-size: 1.02rem; color: var(--text); word-break: break-word; transition: color 0.3s; }
.c-card a:hover { color: var(--brand-glow); }
.c-card .mono { font-size: 0.95rem; }

.form {
  position: relative;
  padding: clamp(22px, 3.4vw, 38px);
  border-radius: var(--r-frame);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--shadow);
  overflow: hidden;
}
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--steel); }
.field label b { color: var(--brand-glow); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(5, 7, 12, 0.45);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AACC2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field select option { background: #0a0f1a; color: var(--text); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-glow); box-shadow: 0 0 0 4px var(--brand-soft); background: rgba(5, 7, 12, 0.6); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ff6b7a; box-shadow: 0 0 0 4px rgba(255, 107, 122, 0.12); }
.field__err { min-height: 0; font-size: 12.5px; color: #ff8a96; display: none; }
.field.is-invalid .field__err { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.form__note { font-size: 12.5px; color: var(--muted); max-width: 40ch; }
.form__submit[disabled] { opacity: 0.7; pointer-events: none; }
.form__submit.is-loading .btn-pill__icon svg { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__state {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
  background: rgba(8, 12, 20, 0.94);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.form.is-success .form__state--ok,
.form.is-error .form__state--err { opacity: 1; visibility: visible; }
.form__state h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 300; letter-spacing: -0.02em; }
.form__state p { color: var(--steel); max-width: 42ch; }
.form__check { width: 84px; height: 84px; }
.form__check circle { fill: none; stroke: var(--brand-glow); stroke-width: 2; stroke-dasharray: 252; stroke-dashoffset: 252; }
.form__check path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.form.is-success .form__check circle { animation: draw 0.9s var(--ease-out) 0.1s forwards; }
.form.is-success .form__check path { animation: draw 0.6s var(--ease-out) 0.7s forwards; }
.form.is-error .form__check circle { stroke: #ff6b7a; animation: draw 0.9s var(--ease-out) 0.1s forwards; }
.form.is-error .form__check path { stroke: #ff8a96; animation: draw 0.6s var(--ease-out) 0.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.map {
  position: relative;
  height: clamp(340px, 46vw, 520px);
  border-radius: var(--r-frame);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.55) brightness(0.9) contrast(0.92);
}
.map__card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  border-radius: 20px;
  background: rgba(8, 12, 20, 0.72);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.map__card strong { display: block; font-weight: 400; }
.map__card span { font-size: 13px; color: var(--steel); }

/* --------------------------------------------------- reveal on scroll */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease-out), filter 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="fade"] { transform: none; filter: none; }
/* Lift cards keep their hover transform working after reveal */
.js .lift[data-reveal].is-in { transition: opacity 0.9s var(--ease), transform 0.55s var(--ease-out), filter 0.9s var(--ease), border-color 0.45s, box-shadow 0.55s; transition-delay: 0s; }

/* --------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .nav__menu ul { gap: 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid > :nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1366px) {
  .nav__menu ul { gap: clamp(18px, 1.8vw, 26px); }
  .nav__link { font-size: 1rem; }
}

@media (max-width: 1200px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__menu, .nav__cta { display: none; }
  .nav__burger {
    display: grid;
    place-items: center;
    justify-self: end;
    gap: 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--text);
    background: var(--glass-2);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-hi);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
  }
  .nav__burger span { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.45s var(--ease-out), opacity 0.3s; }
  .nav__burger { align-content: center; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav.is-open .nav__inner { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mega { display: none; }
}

@media (max-width: 1023px) {

  .intro, .split, .partner, .contact-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-grid, .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-stats, .timeline-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  :root { --gap: 9px; --r-frame: 24px; --r-card: 20px; }
  .nav { padding: calc(var(--gap) + 10px) calc(var(--gap) + 12px) 0; }
  .nav.is-scrolled { padding: 8px 8px 0; }
  .nav__inner { height: 58px; gap: 10px; }
  .nav.is-scrolled .nav__inner { height: 58px; padding: 0 4px 0 12px; }
  .nav__logo img { height: 42px; }
  .nav.is-scrolled .nav__logo img { height: 38px; }
  .nav__actions { gap: 6px; }
  .nav-ctl, .nav__burger { width: 44px; height: 44px; }
  .theme-icon { width: 20px; height: 20px; }
  .lang-switch { height: 44px; padding: 3px; font-size: 11.5px; }
  .lang-switch__opt { min-width: 34px; height: 36px; padding: 0 7px; }

  .hero--home { --hero-pad-y: clamp(96px, 14vh, 130px); --hero-pad-x: 18px; }
  .hero__title { font-size: clamp(2.2rem, 10.4vw, 3.2rem); }
  .hero__sub { font-size: 0.95rem; max-width: 34ch; }
  .hero-stat { width: 148px; gap: 10px; padding: 12px 10px 10px; border-radius: 20px; left: 10px; bottom: 10px; }
  .hero-stat__num { font-size: 2rem; }
  .hero-stat__label { font-size: 11.5px; }
  .hero-stat .btn-pill { min-height: 36px; gap: 6px; padding: 3px 10px 3px 3px; font-size: 11.5px; }
  .hero-stat .btn-pill__icon { width: 28px; height: 28px; }
  .hero-stat .btn-pill__icon svg { width: 13px; height: 13px; }
  .slider-ctrl { right: 10px; gap: 6px; padding: 4px; top: auto; bottom: 86px; transform: none; }
  .slider-ctrl__btn { width: 38px; height: 38px; font-size: 10px; }
  .notch { --nr: 22px; min-width: 0; gap: 10px; padding: 12px 12px 2px 14px; }
  .notch .circle-btn { width: 40px; height: 40px; }
  .notch .circle-btn svg { width: 15px; height: 15px; }
  .notch__text strong { font-size: 0.95rem; }
  .notch__text small { font-size: 11px; }

  .hero--inner { height: 62vh; height: 62svh; min-height: 480px; }
  .hero--inner .hero__content { padding-bottom: 86px; }
  .hero--inner .hero__title { font-size: clamp(2rem, 9vw, 2.8rem); }

  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 18px 16px; }
  .steps, .ref-grid, .rel-grid, .values, .ind-grid, .pn, .doc-grid, .ref-stats, .timeline-mini { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .ind-card { min-height: 170px; padding: 18px; }
  .ind-card h3 { font-size: 1rem; }
  .ref-stats, .timeline-mini { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .c-cards { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > :nth-child(3) { grid-row: auto; }
  .footer__products { grid-template-columns: 1fr 1fr; }
  .pn__item--next { flex-direction: row; text-align: left; }
  .pn__img { width: 72px; height: 58px; }
  .acc__btn { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 16px 16px 16px 18px; }
  .acc__client { grid-column: 1; grid-row: 1; }
  .acc__meta { grid-column: 1; grid-row: 2; }
  .acc__meta .cap { white-space: normal; }
  .acc__plus { grid-column: 2; grid-row: 1 / span 2; }
  .acc__count { display: none; }
  .tl { padding: 0 16px 18px; }
  .tl::before { left: 16px; }
  .tl__row { grid-template-columns: 61px minmax(0, 1fr); gap: 12px; }
  .tl .cap { grid-column: 2; justify-self: start; white-space: normal; }
  .spec th, .spec td { display: block; width: 100%; padding: 12px 18px; }
  .spec th { padding-bottom: 0; font-size: 13px; }
  .spec td { padding-top: 4px; }
  .spec tr + tr th { border-top: 1px solid var(--line); }
  .spec tr + tr td { border-top: 0; }
  .partner { padding: 24px 18px; }
  .fact { flex-direction: column; align-items: flex-start; gap: 4px; }
  .fact__label { text-align: left; }
  .fab { width: 50px; height: 50px; bottom: 16px; }
  .to-top { right: 16px; }
  .ai-fab { left: 16px; }
  .ai-fab__dot { top: 9px; right: 9px; }
  .ai-panel { left: 12px; right: 12px; width: auto; bottom: 78px; height: min(560px, calc(100svh - 100px)); }
  .to-top__ring circle { stroke-dasharray: 150.8; stroke-dashoffset: 150.8; }
  .masonry { columns: 2 140px; column-gap: 8px; }
  .masonry .photo { margin-bottom: 8px; }
  .mega { display: none; }
}

.show-sm { display: none; }
@media (max-width: 480px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .hero-stat { width: 128px; }
  .notch { gap: 9px; padding: 11px 10px 2px 12px; }
  .notch .circle-btn { width: 36px; height: 36px; }
  .notch__text strong { font-size: 0.86rem; }
  .notch__text small { font-size: 10.5px; }
}

/* Short landscape screens — keep the whole hero visible */
@media (max-height: 560px) {
  .hero--home { --hero-pad-y: 58px; --hero-pad-x: 64px; }
  .hero__title { margin-top: 8px; font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .hero__sub { margin-top: 8px; font-size: 0.86rem; max-width: 60ch; }
  .chip { padding: 5px 12px 5px 10px; font-size: 12px; }
  .hero-stat { width: 136px; gap: 6px; padding: 8px; border-radius: 18px; }
  .hero-stat__num { font-size: 1.5rem; }
  .hero-stat__label { font-size: 10.5px; margin-top: 2px; }
  .hero-stat .btn-pill { min-height: 30px; font-size: 11px; padding: 2px 8px 2px 2px; gap: 6px; }
  .hero-stat .btn-pill__icon { width: 24px; height: 24px; }
  .slider-ctrl { gap: 4px; padding: 3px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .slider-ctrl__btn { width: 32px; height: 32px; font-size: 9.5px; }
  .notch { --nr: 18px; padding: 8px 12px 2px 12px; gap: 10px; min-width: 0; }
  .notch .circle-btn { width: 34px; height: 34px; }
  .notch__text strong { font-size: 0.88rem; }
  .notch__text small { font-size: 10.5px; }
  .nav { padding-top: calc(var(--gap) + 6px); }
  .nav__inner, .nav.is-scrolled .nav__inner { height: 48px; }
  .nav__logo img, .nav.is-scrolled .nav__logo img { height: 36px; }
  .nav-ctl, .nav__burger { width: 40px; height: 40px; }
  .lang-switch { height: 40px; }
  .lang-switch__opt { height: 32px; }
  .hero--inner { min-height: 0; height: 100vh; height: 100svh; }
  .hero--inner .hero__content { padding-bottom: 56px; padding-top: 64px; }
  .hero--inner .hero__title { font-size: clamp(1.7rem, 4.6vw, 2.6rem); }
  .breadcrumb ol { margin-bottom: 8px; }
}

@media (max-height: 420px) {
  .hero__sub { display: none; }
  .hero-stat__label { display: none; }
}

@media (hover: none) {
  .glow-card::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .slide img, .slide.is-active img { transform: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .w__i { transform: none !important; }
  .marquee__track { animation: none; }
  .slider-ctrl__btn.is-active circle { animation: none; stroke-dashoffset: 0; }
}

/* =====================================================================
   Hero additions — caption, chips, scroll cue, haze
   ===================================================================== */
.hero--home { --hero-pad-y: clamp(110px, 15vh, 160px); --hero-pad-x: clamp(20px, 6vw, 90px); }
@media (min-width: 1100px) { .hero--home { --hero-pad-x: clamp(236px, 18.5vw, 300px); } }

.hero__haze {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.6;
}
.hero__haze i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(46vw, 760px);
  height: min(30vw, 460px);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 134, 247, 0.4), rgba(3, 85, 181, 0.14) 58%, transparent);
  filter: blur(28px);
  transform: translate(-50%, -50%);
  animation: haze-a 19s var(--ease-io) infinite alternate;
}
.hero__haze i:nth-child(2) {
  width: min(30vw, 480px);
  height: min(22vw, 340px);
  background: radial-gradient(closest-side, rgba(140, 190, 255, 0.3), transparent);
  animation: haze-b 24s var(--ease-io) -7s infinite alternate;
}
.hero__haze i:nth-child(3) {
  inset: 0;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  filter: none;
  transform: none;
  opacity: 0.7;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(205, 225, 255, 0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 64% 42%, rgba(160, 200, 255, 0.8) 0 1.2px, transparent 2px),
    radial-gradient(circle at 38% 76%, rgba(205, 225, 255, 0.7) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 86% 88%, rgba(120, 175, 255, 0.8) 0 1.1px, transparent 1.8px);
  background-size: 240px 240px;
  -webkit-mask-image: radial-gradient(ellipse 40% 36% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(ellipse 40% 36% at 50% 50%, #000, transparent);
  animation: haze-drift 36s linear infinite;
}
@keyframes haze-a { from { transform: translate(-58%, -44%) scale(1); } to { transform: translate(-42%, -56%) scale(1.14); } }
@keyframes haze-b { from { transform: translate(-25%, -62%); } to { transform: translate(-72%, -38%) scale(1.2); } }
@keyframes haze-drift { to { background-position: 0 -240px; } }

/* Slide caption card — left edge, mirrors the slide controls */
.hero-caption {
  position: absolute;
  left: clamp(14px, 1.8vw, 26px);
  top: 50%;
  z-index: 4;
  display: grid;
  gap: 10px;
  width: 206px;
  padding: 16px 16px 18px;
  border-radius: 22px;
  translate: 0 -50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--glass-hi), 0 24px 50px -30px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.hero-caption__num { font-size: 12px; color: rgba(242, 245, 250, 0.66); letter-spacing: 0.08em; }
.hero-caption__num b { color: #fff; font-weight: 500; }
.hero-caption__rule { display: block; height: 1px; background: linear-gradient(90deg, var(--brand-glow), transparent); }
.hero-caption p { font-size: 13.5px; line-height: 1.5; color: rgba(242, 245, 250, 0.9); }

/* Bottom-centre stat chips */
.hero-chips {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 1.8vw, 26px);
  z-index: 4;
  display: flex;
  gap: 8px;
  translate: -50% 0;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 15px 0 11px;
  border-radius: 999px;
  font-size: 13px;
  color: #f2f5fa;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.hero-chip svg { width: 16px; height: 16px; flex: none; color: #8dbaff; }
.js .hero-chip { opacity: 0; transform: translateY(14px); }
.js.is-loaded .hero--home .hero-chip,
.js .showcase__frame.is-in .hero-chip {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease) calc(700ms + var(--i, 0) * 120ms), transform 0.9s var(--ease-out) calc(700ms + var(--i, 0) * 120ms);
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 84px;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 9px;
  translate: -50% 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 245, 250, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  transition: color 0.3s;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll__line { position: relative; width: 6px; height: 44px; }
.hero-scroll__line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  translate: -50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.55));
}
.hero-scroll__line i {
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-glow);
  box-shadow: 0 0 12px 2px rgba(59, 134, 247, 0.8);
  animation: scroll-dot 2.8s var(--ease-io) infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(-4px); opacity: 0; }
  20%, 75% { opacity: 1; }
  100% { transform: translateY(var(--dot-end, 42px)); opacity: 0; }
}
.js .hero-scroll { opacity: 0; transition: opacity 1s var(--ease) 1.2s, color 0.3s; }
.js.is-loaded .hero-scroll { opacity: 1; }

@media (max-width: 1279px) {
  .hero-chip:nth-child(n + 3) { display: none; }
}
@media (max-width: 1099px) {
  .hero-caption { display: none; }
}
@media (max-width: 1023px) {
  .hero--home .hero-chips { bottom: 196px; }
  .hero--home .hero-chip:nth-child(3) { display: inline-flex; }
  .hero--home .hero-scroll { bottom: 250px; }
}
@media (max-width: 767px) {
  .hero--home { --hero-pad-y: clamp(96px, 14vh, 130px); --hero-pad-x: 18px; }
  .hero--home .hero-chips { left: 10px; bottom: 140px; translate: none; gap: 6px; }
  .hero--home .hero-chip:nth-child(n + 3) { display: none; }
  .hero-chip { height: 34px; padding: 0 11px 0 9px; font-size: 11.5px; gap: 6px; }
  .hero-chip svg { width: 14px; height: 14px; }
  .hero--home .hero-scroll { bottom: 186px; font-size: 9.5px; gap: 6px; }
  .hero-scroll__line { height: 32px; --dot-end: 30px; }
  .hero--home .slider-ctrl { bottom: 140px; }
  .hero--home .slider-ctrl__btn { width: 36px; height: 36px; }
  .hero--home .hero__sub { max-width: 30ch; }
}
@media (max-height: 560px) {
  .hero--home { --hero-pad-y: 58px; --hero-pad-x: 72px; }
  .hero--home .hero-chips, .hero--home .hero-scroll, .hero-caption { display: none; }
  .hero--home .slider-ctrl { top: 50%; bottom: auto; }
}

/* =====================================================================
   Home — intro split with framed photo
   ===================================================================== */
.intro { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; }
.stats--compact { margin-top: 32px; }
.stats--compact .stat { padding: 18px 18px 16px; }
.intro__media { position: relative; }
.intro__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-frame);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}
.intro__img { position: absolute; inset: -9% 0; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; object-position: 26% 50%; filter: saturate(0.95) brightness(0.97); }
.intro__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 12, 0.45)); pointer-events: none; }
.intro__chip { position: absolute; top: 18px; right: 18px; z-index: 2; }
.float-card {
  position: absolute;
  left: -30px;
  bottom: 34px;
  z-index: 3;
  display: grid;
  gap: 3px;
  width: 250px;
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--glass-dark);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  animation: float-y 7s ease-in-out infinite;
}
.float-card__k { font-size: 1.5rem; color: var(--brand-glow); letter-spacing: -0.03em; }
.float-card strong { font-size: 15px; font-weight: 400; }
.float-card span:last-child { font-size: 13px; color: var(--steel); line-height: 1.45; }
@keyframes float-y { 50% { transform: translateY(-8px); } }

/* =====================================================================
   Home — showcase band
   ===================================================================== */
.showcase { position: relative; padding: calc(var(--sec-y) * 0.5) var(--gap); }
.showcase__frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(460px, 68vh, 620px);
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  border-radius: var(--r-frame);
  overflow: hidden;
  isolation: isolate;
  background: #0b111c;
}
.showcase__bg { position: absolute; inset: -14% 0; z-index: -2; }
.showcase__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95); }
.showcase__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 70% at 50% 50%, rgba(5, 7, 12, 0.34), rgba(5, 7, 12, 0.1) 70%, rgba(5, 7, 12, 0.36));
}
.showcase__inner { display: grid; justify-items: center; gap: 24px; width: 100%; }
.showcase__panel {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 740px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 28px;
  text-align: center;
  background: rgba(8, 12, 20, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--glass-hi), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.showcase__title { font-size: clamp(1.9rem, 3.8vw, 3.3rem); font-weight: 300; letter-spacing: -0.032em; line-height: 1.08; text-wrap: balance; }
.showcase__panel p { max-width: 54ch; color: rgba(242, 245, 250, 0.86); line-height: 1.7; }
.showcase__chips { position: static; translate: none; flex-wrap: wrap; justify-content: center; }
.showcase__chips .hero-chip:nth-child(n) { display: inline-flex; }
@media (min-width: 1024px) {
  .js .showcase__frame[data-mask] { clip-path: inset(0 8% round var(--r-frame)); transition: clip-path 1.5s var(--ease-out); }
  .js .showcase__frame[data-mask].is-in { clip-path: inset(0 0 round var(--r-frame)); }
}

/* =====================================================================
   Home — steps with photo thumbnails
   ===================================================================== */
.step__media {
  position: relative;
  display: block;
  margin: -16px -14px 2px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
}
.step__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.92); transform: scale(1.04); transition: filter 0.8s var(--ease), transform 1.2s var(--ease-out); }
.step__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(3, 85, 181, 0.78), rgba(59, 134, 247, 0.42)); mix-blend-mode: multiply; transition: opacity 0.8s var(--ease); pointer-events: none; }
.step:hover .step__media img { filter: none; transform: scale(1.1); }
.step:hover .step__media::after { opacity: 0; }

/* =====================================================================
   Home — interactive industries
   ===================================================================== */
.ind-x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.ind-x__list { display: grid; gap: 8px; }
.ind-x__item {
  display: grid;
  grid-template-columns: 30px 34px minmax(0, 1fr) auto 38px;
  align-items: center;
  gap: 14px;
  padding: 13px 13px 13px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.5s var(--ease-out);
}
.ind-x__item:hover,
.ind-x__item.is-active { background: var(--glass); border-color: rgba(59, 134, 247, 0.45); }
.ind-x__item.is-active { box-shadow: inset 3px 0 0 var(--brand-glow), 0 20px 40px -30px rgba(59, 134, 247, 0.6); transform: translateX(4px); }
.ind-x__num { font-size: 12px; color: var(--muted); }
.ind-x__item.is-active .ind-x__num { color: var(--brand-glow); }
.ind-x__icon { width: 30px; height: 30px; color: var(--brand-glow); }
.ind-x__icon svg { width: 100%; height: 100%; }
.ind-x__name { font-size: clamp(1.05rem, 1.45vw, 1.28rem); font-weight: 300; letter-spacing: -0.012em; line-height: 1.25; }
.ind-x__meta { font-family: var(--mono); font-size: 12px; color: var(--steel); white-space: nowrap; }
.ind-x__item .circle-btn { width: 38px; height: 38px; }
.ind-x__item--cta { grid-template-columns: 30px minmax(0, 1fr) auto 38px; background: linear-gradient(140deg, rgba(3, 85, 181, 0.32), rgba(3, 85, 181, 0.06)); border-color: rgba(59, 134, 247, 0.35); }
.ind-x__media {
  position: sticky;
  top: 108px;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--r-frame);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}
.ind-x__img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.ind-x__img.is-active { opacity: 1; }
.ind-x__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); transform: scale(1.08); transition: transform 7s linear; }
.ind-x__img.is-active img { transform: scale(1.01); }
.ind-x__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 7, 12, 0.6)); pointer-events: none; }
.ind-x__cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  gap: 3px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(8, 12, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  transition: opacity 0.35s var(--ease);
}
.ind-x__cap.is-swap { opacity: 0; }
.ind-x__cap .mono { font-size: 11px; color: var(--brand-glow); letter-spacing: 0.08em; }
.ind-x__cap strong { font-size: 1.3rem; font-weight: 300; letter-spacing: -0.015em; }
.ind-x__cap span:last-child { font-size: 13px; color: var(--steel); }

/* =====================================================================
   Draggable photo strips (references teaser, related products)
   ===================================================================== */
.sec-head--strip { align-items: flex-end; }
.strip-nav { display: flex; gap: 8px; }
.strip-nav__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: background 0.3s, border-color 0.3s, opacity 0.3s, transform 0.4s var(--ease-out);
}
.strip-nav__btn svg { width: 18px; height: 18px; }
.strip-nav__btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.strip-nav__btn:active { transform: scale(0.92); }
.strip-nav__btn[disabled] { opacity: 0.35; pointer-events: none; }
.ref-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 29vw, 350px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 6px var(--gutter) 20px;
  margin: 0 calc(-1 * var(--gutter));
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--glass-border) transparent;
  cursor: grab;
}
.ref-strip > * { scroll-snap-align: start; }
.ref-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.ref-strip.is-dragging a { pointer-events: none; }
.ref-strip:focus-visible { outline-offset: -2px; border-radius: 0; }
.ref-strip--products { grid-auto-columns: clamp(232px, 23vw, 290px); }
.p-card--mini .p-card__title { font-size: 1.06rem; }
.ref-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-card);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--glass-border);
  background: var(--surface-2);
  color: var(--text);
  transition: border-color 0.45s var(--ease), box-shadow 0.55s var(--ease), transform 0.55s var(--ease-out);
}
.ref-tile:hover { border-color: rgba(59, 134, 247, 0.55); box-shadow: 0 30px 60px -32px rgba(59, 134, 247, 0.6); transform: translateY(-4px); }
.ref-tile__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: var(--grade); transition: transform 1.2s var(--ease-out); }
.ref-tile:hover .ref-tile__bg { transform: scale(1.06); }
.ref-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 12, 0) 28%, rgba(5, 7, 12, 0.78)); pointer-events: none; }
.ref-tile.glow-card::before { z-index: 0; }
.ref-tile__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  margin: 10px;
  padding: 16px 18px 18px;
  border-radius: 18px;
  background: rgba(8, 12, 20, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.ref-tile__top { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(242, 245, 250, 0.66); }
.ref-tile__cap { font-family: var(--mono); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.ref-tile__cap small { margin-left: 4px; font-size: 0.45em; color: #8dbaff; letter-spacing: 0; }
.ref-tile h3 { font-size: 1.12rem; font-weight: 400; letter-spacing: -0.01em; }
.ref-tile__loc { font-size: 13px; line-height: 1.45; color: rgba(242, 245, 250, 0.74); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ref-tile--more {
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  background: linear-gradient(150deg, rgba(3, 85, 181, 0.55), rgba(3, 85, 181, 0.12));
  border-color: rgba(59, 134, 247, 0.45);
}
.ref-tile--more::after { display: none; }
.ref-tile--more strong { font-size: 1.6rem; font-weight: 300; letter-spacing: -0.02em; }
.ref-tile--more > span:last-child { font-family: var(--mono); font-size: 12.5px; color: var(--steel); }
.marquee { margin-top: clamp(28px, 3.6vw, 48px); }

/* =====================================================================
   Inner pages — collage, contact media, footer map
   ===================================================================== */
.collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  aspect-ratio: 1 / 1.05;
}
.collage__item { display: block; transition: transform 0.7s var(--ease-out), border-color 0.4s var(--ease), box-shadow 0.6s var(--ease); }
.collage__item--tall { grid-row: 1 / span 2; }
.collage__item img { height: 100%; transition: transform 1s var(--ease-out); }
.collage__item:hover { z-index: 2; transform: rotate(-1.6deg) scale(1.025); border-color: rgba(59, 134, 247, 0.5); box-shadow: 0 34px 60px -30px rgba(59, 134, 247, 0.55); }
.collage__item:nth-child(2):hover { transform: rotate(1.4deg) scale(1.03); }
.collage__item:nth-child(3):hover { transform: rotate(-1.1deg) scale(1.03); }
.collage__item:hover img { transform: scale(1.06); }

.c-cards--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c-cards--row .c-card--wide { grid-column: auto; }
.contact-grid--media { align-items: stretch; }
.contact-media { min-height: 460px; }
.contact-media img { position: absolute; inset: 0; object-position: 62% 50%; }

.map-thumb {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 16px 8px 8px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s, transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.map-thumb:hover { border-color: rgba(59, 134, 247, 0.55); transform: translateY(-2px); box-shadow: 0 20px 40px -24px rgba(59, 134, 247, 0.6); }
.map-thumb__map {
  position: relative;
  width: 86px;
  height: 62px;
  flex: none;
  border-radius: 11px;
  overflow: hidden;
  --road: rgba(255, 255, 255, 0.32);
  --grid: rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(90deg, transparent 46%, var(--road) 46% 52%, transparent 52%),
    linear-gradient(24deg, transparent 47%, rgba(255, 196, 92, 0.6) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 64%, var(--road) 64% 68%, transparent 68%),
    repeating-linear-gradient(0deg, var(--grid) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 11px),
    #13233d;
}
.map-thumb__pin {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--brand-glow);
  transform: translate(-50%, -70%) rotate(-45deg);
  box-shadow: 0 0 0 4px rgba(59, 134, 247, 0.28);
}
.map-thumb__pin::after { content: ""; position: absolute; left: 4px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.map-thumb__text { display: grid; gap: 2px; }
.map-thumb__text strong { font-size: 13.5px; font-weight: 400; color: var(--text); }
.map-thumb__text small { font-size: 12px; color: var(--brand-glow); }
#mapa { scroll-margin-top: 90px; }

/* Section headers: mono index label + thin brand rule */
.sec-head { position: relative; padding-bottom: clamp(18px, 2.4vw, 28px); }
.sec-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(380px, 60%);
  height: 1px;
  background: linear-gradient(90deg, var(--brand-glow), rgba(59, 134, 247, 0));
  opacity: 0.75;
}
.sec-head--center::after { left: 50%; translate: -50% 0; background: linear-gradient(90deg, transparent, var(--brand-glow), transparent); }

/* Consistent card hover across pages */
.c-card, .doc, .rel-card, .pn__item, .value, .stat, .acc__item, .checklist li {
  transition: transform 0.55s var(--ease-out), border-color 0.45s var(--ease), box-shadow 0.55s var(--ease), background 0.4s var(--ease);
}
.acc__item:hover, .checklist li:hover { border-color: rgba(59, 134, 247, 0.4); }

/* Responsive for the additions */
@media (max-width: 1023px) {
  .intro__photo { aspect-ratio: 16 / 11; }
  .float-card { left: 14px; bottom: 14px; }
  .ind-x { grid-template-columns: 1fr; }
  .ind-x__media { position: relative; top: 0; order: -1; aspect-ratio: 16 / 10; }
  .c-cards--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .float-card { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 14px 0; animation: none; }
  .intro__chip { top: 12px; right: 12px; }
  .ind-x__item { grid-template-columns: 26px minmax(0, 1fr) auto 34px; gap: 10px; padding: 12px 10px 12px 14px; }
  .ind-x__icon { display: none; }
  .ind-x__item .circle-btn { width: 34px; height: 34px; }
  .ind-x__meta { font-size: 11px; }
  .ind-x__item.is-active { transform: none; }
  .strip-nav { display: none; }
  .ref-strip { grid-auto-columns: 78%; }
  .c-cards--row { grid-template-columns: 1fr; }
  .collage { gap: 8px; }
  .showcase__panel { padding: 24px 18px; }
  .map-thumb { width: 100%; }
}

/* =====================================================================
   Light theme — same tokens, light values. Photo areas keep dark tokens.
   ===================================================================== */
[data-theme="light"] {
  --bg: #eef2f7;
  --bg-2: #e4eaf2;
  --surface: #ffffff;
  --surface-2: #dfe6ef;
  --brand-glow: #1f6fe0;
  --brand-soft: rgba(3, 85, 181, 0.14);
  --text: #0b1a33;
  --steel: #42536b;
  --muted: #66778e;
  --line: rgba(10, 20, 40, 0.1);
  --text-dim: rgba(11, 26, 51, 0.74);
  --pill-dark: rgba(255, 255, 255, 0.78);
  --glass: rgba(10, 20, 40, 0.06);
  --glass-2: rgba(10, 20, 40, 0.09);
  --glass-dark: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(10, 20, 40, 0.14);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --shadow: 0 24px 60px -30px rgba(10, 30, 70, 0.3), 0 2px 8px rgba(10, 30, 70, 0.06);
  --grade: saturate(0.92) contrast(1.03) brightness(0.98);
  color-scheme: light;
}
/* Photo-backed areas keep the dark tokens so white text stays readable */
[data-theme="light"] :is(.hero__frame, .cta__frame, .showcase__frame, .ref-tile, .ind-x__media, .intro__photo, .intro__chip, .lb, .frame-img, .photo, .p-card__media, .step__media, .doc__preview),
[data-theme="light"] .nav:not(.is-scrolled):not(.is-open) .nav__inner {
  --bg: #05070c;
  --bg-2: #070b13;
  --surface: #0a0f1a;
  --surface-2: #0e1522;
  --brand-glow: #3b86f7;
  --brand-soft: rgba(59, 134, 247, 0.16);
  --text: #f2f5fa;
  --steel: #9aacc2;
  --muted: #5e6e84;
  --line: rgba(255, 255, 255, 0.08);
  --text-dim: rgba(242, 245, 250, 0.82);
  --pill-dark: rgba(10, 16, 28, 0.55);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.12);
  --glass-dark: rgba(8, 12, 20, 0.55);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--text);
}
/* …except the cut-out notch and the dropdown, which belong to the page */
[data-theme="light"] :is(.hero__frame, .cta__frame) .notch,
[data-theme="light"] .nav .mega {
  --bg: #eef2f7;
  --text: #0b1a33;
  --steel: #42536b;
  --muted: #66778e;
  --brand-glow: #1f6fe0;
  --line: rgba(10, 20, 40, 0.1);
  --text-dim: rgba(11, 26, 51, 0.74);
  --glass: rgba(10, 20, 40, 0.06);
  --glass-2: rgba(10, 20, 40, 0.09);
  --glass-border: rgba(10, 20, 40, 0.14);
  color: var(--text);
}
[data-theme="light"] .nav__logo img { filter: drop-shadow(0 4px 12px rgba(10, 30, 70, 0.2)); }
[data-theme="light"] .nav.is-scrolled .nav__inner { background: rgba(255, 255, 255, 0.76); box-shadow: var(--glass-hi), 0 20px 50px -24px rgba(10, 30, 70, 0.3); }
[data-theme="light"] .mega { background: rgba(255, 255, 255, 0.95); box-shadow: 0 40px 80px -34px rgba(10, 30, 70, 0.35); }
[data-theme="light"] .m-menu { background: rgba(238, 242, 247, 0.92); }
[data-theme="light"].js.tm-first .preloader { background: radial-gradient(60% 50% at 50% 45%, #ffffff 0%, var(--bg) 70%); }
[data-theme="light"] .fact { background: rgba(255, 255, 255, 0.6); }
[data-theme="light"] .partner { background: radial-gradient(70% 120% at 0% 0%, rgba(3, 85, 181, 0.14), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.45)); }
[data-theme="light"] .footer__word { -webkit-text-stroke-color: rgba(10, 20, 40, 0.1); }
[data-theme="light"] .fab { background: rgba(255, 255, 255, 0.86); box-shadow: var(--glass-hi), 0 18px 40px -18px rgba(10, 30, 70, 0.4); }
[data-theme="light"] .ai-fab.is-open { color: #fff; }
[data-theme="light"] .ai-fab__dot { box-shadow: 0 0 0 2px #fff; }
[data-theme="light"] .ai-panel { background: rgba(255, 255, 255, 0.96); box-shadow: 0 40px 90px -30px rgba(10, 30, 70, 0.45); }
[data-theme="light"] .ai-link { color: var(--brand); }
[data-theme="light"] .ai-form input { background: rgba(10, 20, 40, 0.04); }
[data-theme="light"] .tl__year { background: #fff; }
[data-theme="light"] .tl__row + .tl__row { border-top-color: rgba(10, 20, 40, 0.09); }
[data-theme="light"] .spec td .mono { color: var(--brand); }
[data-theme="light"] .spec tr:hover { background: rgba(10, 20, 40, 0.03); }
[data-theme="light"] .acc__item.is-open { background: rgba(255, 255, 255, 0.75); }
[data-theme="light"] .filter:hover { border-color: rgba(10, 20, 40, 0.28); }
[data-theme="light"] .form { background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.55)); }
[data-theme="light"] .field input,
[data-theme="light"] .field select,
[data-theme="light"] .field textarea,
[data-theme="light"] .field input:focus,
[data-theme="light"] .field select:focus,
[data-theme="light"] .field textarea:focus { background-color: #fff; }
[data-theme="light"] .field select option { background: #fff; }
[data-theme="light"] .form__state { background: rgba(255, 255, 255, 0.97); }
[data-theme="light"] .form__check path { stroke: var(--text); }
[data-theme="light"] .map iframe { filter: saturate(0.85); }
[data-theme="light"] .map__card { background: rgba(255, 255, 255, 0.88); }
[data-theme="light"] .map-thumb__map { --road: rgba(255, 255, 255, 0.95); --grid: rgba(10, 20, 40, 0.06); background-color: #d6e0ec; }
[data-theme="light"] .ref-tile--more { background: linear-gradient(150deg, rgba(3, 85, 181, 0.9), rgba(3, 85, 181, 0.6)); }
[data-theme="light"] .ind-x__item--cta { background: linear-gradient(140deg, rgba(3, 85, 181, 0.14), rgba(3, 85, 181, 0.03)); }
[data-theme="light"] .ind-card--cta { background: linear-gradient(140deg, rgba(3, 85, 181, 0.16), rgba(3, 85, 181, 0.04)); }
[data-theme="light"] .section__glow { background: radial-gradient(900px 520px at 50% 0%, rgba(3, 85, 181, 0.08), transparent 70%); }
html[data-theme] body { transition: background-color 0.5s var(--ease), color 0.5s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .hero__haze { display: none; }
  .hero-scroll__line i, .float-card { animation: none; }
  .js .showcase__frame[data-mask] { clip-path: none; }
  .js .hero-chip, .js .hero-scroll { opacity: 1; transform: none; }
}

/* Text contrast on photo bands */
.notch { text-align: left; }
.cta__inner { position: relative; }
.cta__inner::before,
.showcase__inner::before {
  content: "";
  position: absolute;
  inset: -8% -10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(4, 9, 20, 0.55), rgba(4, 9, 20, 0.25) 60%, transparent);
  filter: blur(14px);
  pointer-events: none;
}
.showcase__inner { position: relative; }
.cta .lead { color: rgba(242, 245, 250, 0.92); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 22px rgba(0, 0, 0, 0.5); }
.cta__title { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), 0 8px 40px rgba(0, 0, 0, 0.45); }
:is(.hero__frame, .cta__frame, .showcase__frame) .btn-pill--ghost { background: rgba(8, 12, 20, 0.42); border-color: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
:is(.hero__frame, .cta__frame, .showcase__frame) .btn-pill--ghost:hover { background: rgba(8, 12, 20, 0.6); }
.hero__group::before { background: radial-gradient(closest-side, rgba(4, 9, 20, 0.56), rgba(4, 9, 20, 0.3) 58%, transparent); }
.hero-scroll__line::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.75)); }
@media (max-height: 560px) {
  .hero-stat .hide-sm { display: none; }
  .hero-stat .show-sm { display: inline; }
}
.map-thumb { width: 100%; max-width: 300px; }
.map-thumb__map { width: 74px; height: 58px; }
.map-thumb__text strong { font-size: 13px; line-height: 1.35; }
.map-thumb__text small { white-space: nowrap; }
.footer__moldow img { height: 32px; }
@media (max-width: 767px) {
  .hero__haze { display: none; }
}
@media (max-width: 1439px) {
  .hero--home .hero-chip:nth-child(4) { display: none; }
}
@media (max-width: 767px) {
  /* keep the subtitle clear of the right-edge slide controls */
  .hero--home .hero__sub { padding-inline: 34px; }
}
@media (max-width: 767px) and (max-height: 760px) {
  .hero--home .hero__title { font-size: clamp(2rem, 9.6vw, 2.6rem); }
  .hero--home .hero__sub { font-size: 0.9rem; }
}
