/* ==========================================================================
   Elite Engineerings — design system
   Graphite + signal red, engineering-drawing details.
   ========================================================================== */

:root {
  --bg: #0a0b0d;
  --bg-2: #0f1114;
  --panel: #14171b;
  --panel-2: #1a1e23;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef0;
  --muted: #9aa1aa;
  --dim: #6b727b;
  --red: #e5252b;
  --red-hot: #ff3b3f;
  --red-deep: #a8141a;
  --steel: #c9ced6;
  --paper: #f1f0ec;
  --paper-2: #e7e5df;
  --ink: #0e0f11;
  --ink-muted: #545a62;
  --ink-line: rgba(14, 15, 17, 0.12);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 76px;

  --bg-rgb: 10, 11, 13;
  --fg-rgb: 236, 238, 240;
  --logo-filter: invert(1);
  --map-filter: grayscale(1) contrast(1.12) brightness(.82);
  --ok-fg: #8ff0b4;
  --err-fg: #ffb3b5;
  --glow: rgba(229, 37, 43, 0.16);

  color-scheme: dark;
}

/* Light theme — explicit choice, or "auto" when the device prefers light */
:root[data-theme="light"] {
  --bg: #f4f3ef;
  --bg-2: #eae8e2;
  --panel: #ffffff;
  --panel-2: #efede7;
  --line: rgba(14, 15, 17, 0.1);
  --line-strong: rgba(14, 15, 17, 0.22);
  --text: #0e0f11;
  --muted: #4c535b;
  --dim: #767c85;
  --red: #d71f26;
  --red-hot: #e5252b;
  --steel: #343a42;
  --paper: #e6e3db;
  --bg-rgb: 244, 243, 239;
  --fg-rgb: 14, 15, 17;
  --logo-filter: none;
  --map-filter: grayscale(1) contrast(1.08) brightness(1.02);
  --ok-fg: #12693a;
  --err-fg: #a1121a;
  --glow: rgba(229, 37, 43, 0.12);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f3ef;
    --bg-2: #eae8e2;
    --panel: #ffffff;
    --panel-2: #efede7;
    --line: rgba(14, 15, 17, 0.1);
    --line-strong: rgba(14, 15, 17, 0.22);
    --text: #0e0f11;
    --muted: #4c535b;
    --dim: #767c85;
    --red: #d71f26;
    --red-hot: #e5252b;
    --steel: #343a42;
    --paper: #e6e3db;
    --bg-rgb: 244, 243, 239;
    --fg-rgb: 14, 15, 17;
    --logo-filter: none;
    --map-filter: grayscale(1) contrast(1.08) brightness(1.02);
    --ok-fg: #12693a;
    --err-fg: #a1121a;
    --glow: rgba(229, 37, 43, 0.12);
    color-scheme: light;
  }
}

body, .site-header, .section, .q-card, .prod, .cap, .form, .tst { transition: background-color .4s ease, color .4s ease, border-color .4s ease; }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type helpers ---------- */

.display {
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
}
.h-xl { font-size: clamp(44px, 7.2vw, 118px); }
.h-lg { font-size: clamp(34px, 4.6vw, 70px); }
.h-md { font-size: clamp(28px, 3.4vw, 48px); }
.h-sm { font-size: clamp(22px, 2vw, 28px); }

.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.red { color: var(--red); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; background: var(--red); flex: none;
}
.eyebrow--plain::before { display: none; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
.text-red-em { color: var(--red); font-style: normal; }

/* ---------- Buttons ---------- */

.btn {
  --bg-btn: var(--red);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 24px; border: 1px solid transparent; border-radius: var(--radius);
  background: var(--bg-btn); color: #fff;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red-hot); transform: translateX(-101%); transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateX(0); }
.btn .arrow { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost { --bg-btn: transparent; border-color: var(--line-strong); color: var(--text); }
.btn--ghost::after { background: var(--text); }
.btn--ghost:hover { color: var(--bg); border-color: var(--text); }

.btn--dark { --bg-btn: var(--ink); }
.btn--dark::after { background: var(--red); }

.btn--sm { padding: 11px 16px; font-size: 12px; gap: 10px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text); border-bottom: 1px solid var(--line-strong); padding-bottom: 6px;
  transition: border-color .3s, gap .3s var(--ease);
}
.link-arrow:hover { border-color: var(--red); gap: 14px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s, border-color .4s, transform .5s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(var(--bg-rgb), 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand-mark {
  width: 44px; height: 44px; border: 1px solid var(--line-strong); display: grid; place-items: center;
  background: rgba(var(--fg-rgb),.03); transition: border-color .3s;
}
.brand-mark img { width: 30px; height: 30px; filter: var(--logo-filter); }
.brand:hover .brand-mark { border-color: var(--red); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-variation-settings: "wdth" 120; letter-spacing: -0.01em; font-size: 17px; text-transform: uppercase; }
.brand-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.header-phone:hover { color: var(--text); }
.header-phone .dot { width: 7px; height: 7px; border-radius: 50%; background: #2bd46b; box-shadow: 0 0 0 0 rgba(43,212,107,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43,212,107,.55); } 70% { box-shadow: 0 0 0 10px rgba(43,212,107,0); } 100% { box-shadow: 0 0 0 0 rgba(43,212,107,0); } }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: transparent;
  border-radius: var(--radius); position: relative;
}
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(30px, 9vw, 44px); font-weight: 800; font-variation-settings: "wdth" 115; letter-spacing: -0.02em;
  transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .2s;
}
.mobile-menu nav a small { font-family: var(--mono); font-size: 12px; color: var(--red); font-weight: 500; letter-spacing: .1em; }
.mobile-menu nav a[aria-current="page"] { color: var(--red); }
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .04s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .08s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .12s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu-foot { display: grid; gap: 12px; color: var(--muted); font-size: 15px; }
.mobile-menu-foot .btn { justify-content: space-between; }
.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */

.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--panel { background: var(--bg-2); }
.section--light { background: var(--paper); color: var(--ink); color-scheme: light; }
.section--light .muted, .section--light .lead { color: var(--ink-muted); }
.section--light .eyebrow { color: var(--ink-muted); }
.section--light .outline-text { -webkit-text-stroke-color: var(--ink); }
.section--light .link-arrow { color: var(--ink); border-color: var(--ink-line); }
.section--light .btn--ghost { color: var(--ink); border-color: rgba(14,15,17,.25); }
.section--light .btn--ghost::after { background: var(--ink); }
.section--light .btn--ghost:hover { color: var(--paper); }

.section-head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head .lead { justify-self: end; margin: 0; }
.section-head--stack { grid-template-columns: 1fr; }
.section-head--stack .lead { justify-self: start; }

/* Blueprint grid backdrop */
.blueprint {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  opacity: .55;
}

/* Registration (crop) marks on cards */
.reg { position: relative; }
.reg::before, .reg::after {
  content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none; z-index: 3;
  border-color: var(--red); border-style: solid; opacity: 0; transition: opacity .3s, transform .4s var(--ease);
}
.reg::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; transform: translate(6px, 6px); }
.reg::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; transform: translate(-6px, -6px); }
.reg:hover::before, .reg:hover::after { opacity: 1; transform: none; }

/* ---------- Reveal animations ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

.js .split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.js .split .word > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .split.in .word > span { transform: none; }

.js .line-draw { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.js .line-draw.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .split .word > span, .js .line-draw { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 0; display: flex; flex-direction: column; overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 52%, var(--glow), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(var(--fg-rgb),0.04), transparent 70%),
    var(--bg);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center; flex: 1; }
.hero-copy { padding: 40px 0 56px; }
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { margin-bottom: 40px; max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; height: min(68vh, 640px); min-height: 420px; }
.hero-canvas { position: absolute; inset: -10% -18% -10% -6%; }
.hero-canvas canvas { width: 100% !important; height: 100% !important; }
.hero-fallback { position: absolute; inset: 8% 0; background: center/cover no-repeat; border: 1px solid var(--line); opacity: 0; transition: opacity .6s; }
.hero-visual.no-webgl .hero-fallback { opacity: .9; }

.hud-label {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--steel);
  display: flex; align-items: center; gap: 0; white-space: nowrap;
  opacity: 0; transition: opacity .8s;
  will-change: transform;
}
.hud-ready .hud-label { opacity: 1; }
.hud-label .pin { width: 9px; height: 9px; border: 1px solid var(--red); border-radius: 50%; background: rgba(229,37,43,.25); flex: none; }
.hud-label .leader { width: 46px; height: 1px; background: linear-gradient(90deg, var(--red), rgba(229,37,43,.3)); }
.hud-label .tag { padding: 5px 9px; border: 1px solid var(--line-strong); background: rgba(var(--bg-rgb),.78); backdrop-filter: blur(6px); }
.hud-label .tag b { color: var(--text); font-weight: 500; }
.hud-label.left { flex-direction: row-reverse; }
.hud-label.left .leader { background: linear-gradient(-90deg, var(--red), rgba(229,37,43,.3)); }

/* Engineering title block */
.title-block {
  position: absolute; right: 0; bottom: 10px; z-index: 3;
  display: grid; grid-template-columns: auto auto; font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); background: rgba(var(--bg-rgb),.7);
  backdrop-filter: blur(6px);
}
.title-block > div { padding: 7px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.title-block > div:nth-child(2n) { border-right: 0; }
.title-block > div:nth-last-child(-n+2) { border-bottom: 0; }
.title-block b { display: block; color: var(--text); font-weight: 500; font-size: 11px; margin-top: 2px; }
.title-block .tb-head { grid-column: 1 / -1; border-right: 0; color: var(--text); font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.title-block .tb-head span { color: var(--red); }

.hero-stats {
  position: relative; z-index: 2; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(var(--bg-rgb),.4), rgba(var(--bg-rgb),.88));
}
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: clamp(34px, 3.4vw, 50px); font-weight: 800; font-variation-settings: "wdth" 120; letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stat-num sup { font-size: .45em; color: var(--red); top: 0; vertical-align: top; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.4; max-width: 24ch; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 128px; z-index: 2; transform: translateX(-50%);
  display: none;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(72px, 10vw, 140px)) 0 clamp(64px, 8vw, 110px);
  overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(50% 70% at 85% 30%, var(--glow), transparent 70%), var(--bg);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 28px; display: flex; gap: 10px; }
.page-hero .crumbs a { color: var(--muted); }
.page-hero .crumbs a:hover { color: var(--text); }
.page-hero h1 { margin-bottom: 28px; max-width: 16ch; }
.page-hero h1 em { font-style: normal; color: var(--red); }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.page-hero-meta { display: grid; gap: 0; border-top: 1px solid var(--line); }
.page-hero-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.page-hero-meta dt, .page-hero-meta span:first-child { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.page-hero-bg { position: absolute; inset: 0; background: center right / cover no-repeat; opacity: .22; mask-image: linear-gradient(90deg, transparent 20%, #000 80%); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%); }

/* ---------- Marquee ---------- */

.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--bg); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 40px; padding-right: 40px;
  font-size: clamp(30px, 4.2vw, 60px); font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: -0.02em;
  text-transform: uppercase; white-space: nowrap; line-height: 1;
}
.marquee-item:nth-child(odd) span { color: transparent; -webkit-text-stroke: 1.2px rgba(var(--fg-rgb),.55); }
.marquee-item i { width: 14px; height: 14px; background: var(--red); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Statement (scroll-lit text) ---------- */

.statement { font-size: clamp(28px, 3.6vw, 54px); font-weight: 600; line-height: 1.16; letter-spacing: -0.025em; font-variation-settings: "wdth" 104; max-width: 24ch; }
.statement .w { color: rgba(var(--fg-rgb),.16); transition: color .35s; }
.statement .w.lit { color: var(--text); }
.statement .w.hl.lit { color: var(--red); }
.statement-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
.statement-side { display: grid; align-content: start; gap: 24px; }
.statement-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 72px; border-top: 1px solid var(--line); }
.statement-foot > div { padding: 28px 28px 0 0; }
.statement-foot > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.statement-foot h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.01em; }
.statement-foot p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- Capabilities grid ---------- */

.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap {
  position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px; min-height: 360px; transition: background-color .4s;
}
.cap:hover { background: var(--panel); }
.cap-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.cap-idx { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .1em; }
.cap-arrow { width: 32px; height: 32px; border: 1px solid var(--line-strong); display: grid; place-items: center; border-radius: 50%; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.cap-arrow svg { width: 14px; height: 14px; }
.cap:hover .cap-arrow { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.cap-media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; margin-bottom: 22px; background: var(--panel-2); }
.cap-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.8); transform: scale(1.02); transition: filter .6s, transform 1s var(--ease); }
.cap:hover .cap-media img { filter: none; transform: scale(1.08); }
.cap-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,11,13,.5)); }
.cap h3 { font-size: 22px; letter-spacing: -0.015em; margin-bottom: 10px; }
.cap p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Machine strip ---------- */

.strip { position: relative; height: clamp(160px, 22vw, 300px); background: center / cover no-repeat; border-block: 1px solid var(--line); overflow: hidden; }
.strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%); }

/* ---------- Industries list ---------- */

.ind-list { border-top: 1px solid var(--line); position: relative; }
.ind-row {
  position: relative; display: grid; grid-template-columns: 80px 1fr auto 48px; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line); cursor: default;
}
.ind-row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(229,37,43,.08), transparent 60%); opacity: 0; transition: opacity .4s; }
.ind-row:hover::before { opacity: 1; }
.ind-idx { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .1em; }
.ind-name { font-size: clamp(26px, 3.4vw, 50px); font-weight: 700; font-variation-settings: "wdth" 112; letter-spacing: -0.025em; line-height: 1; transition: transform .5s var(--ease), color .3s; }
.ind-row:hover .ind-name { transform: translateX(14px); color: var(--text); }
.ind-tag { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.ind-dot { width: 12px; height: 12px; border: 1px solid var(--line-strong); transform: rotate(45deg); justify-self: end; transition: background .3s, border-color .3s; }
.ind-row:hover .ind-dot { background: var(--red); border-color: var(--red); }
.ind-row img.ind-thumb { display: none; }

.ind-preview {
  position: fixed; left: 0; top: 0; z-index: 50; width: 300px; aspect-ratio: 2 / 1; pointer-events: none;
  overflow: hidden; border: 1px solid var(--line-strong); opacity: 0; transform: translate(-50%, -50%) scale(.85);
  transition: opacity .3s, transform .4s var(--ease); background: var(--panel);
}
.ind-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ind-preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.ind-preview img.on { opacity: 1; }

/* ---------- Case study ---------- */

.case { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.case-media { position: relative; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transform: scale(1.15); will-change: transform; }
.case-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(14,15,17,.25)); }
.case-media .badge {
  position: absolute; left: 24px; bottom: 24px; z-index: 2; background: var(--red); color: #fff;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px;
}
.case-body { container-type: inline-size; min-width: 0; padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.case-body .eyebrow { margin-bottom: 24px; }
.case-body h2 { margin-bottom: 24px; }
.case-num { font-size: clamp(64px, 9vw, 180px); font-size: clamp(64px, 30cqi, 190px); font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: -0.05em; line-height: .85; color: var(--red); margin: 8px 0 18px; }
.case-num-label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 32px; }
.oem-list { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--ink-line); margin-top: 32px; }
.oem-list span { flex: 1 1 33%; padding: 18px 0; font-weight: 800; font-variation-settings: "wdth" 120; font-size: clamp(18px, 1.8vw, 24px); text-transform: uppercase; letter-spacing: -0.01em; border-bottom: 1px solid var(--ink-line); }
.oem-list span + span { padding-left: 18px; border-left: 1px solid var(--ink-line); }
.oem-note { font-size: 13px; color: var(--ink-muted); margin-top: 14px; }

/* ---------- Process ---------- */

.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-line { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line-strong); }
.process-line span { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; padding-right: 32px; }
.step-node {
  position: relative; z-index: 1; width: 56px; height: 56px; border: 1px solid var(--line-strong); background: var(--bg-2);
  display: grid; place-items: center; font-family: var(--mono); font-size: 14px; margin-bottom: 36px; transition: border-color .4s, background .4s, color .4s;
}
.step.active .step-node { border-color: var(--red); background: var(--red); color: #fff; }
.step h3 { font-size: 24px; margin-bottom: 14px; letter-spacing: -0.015em; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }
.step .mono { color: var(--dim); display: block; margin-bottom: 10px; }

/* ---------- Quality ---------- */

.quality { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.q-card { background: var(--bg); padding: 40px 32px 44px; position: relative; overflow: hidden; transition: background .4s; }
.q-card:hover { background: var(--panel); }
.q-icon { width: 56px; height: 56px; color: var(--red); margin-bottom: 64px; }
.q-card h3 { font-size: 24px; margin-bottom: 14px; letter-spacing: -0.015em; }
.q-card p { color: var(--muted); font-size: 16px; margin: 0; }
.q-card .mono { position: absolute; top: 40px; right: 32px; color: var(--dim); }

/* ---------- Machine spotlight ---------- */

.spot { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.spot-media { position: relative; border: 1px solid var(--line); background: radial-gradient(70% 60% at 50% 45%, #2a2e34, #0d0f12); padding: 6%; }
.spot-media img { width: 100%; mix-blend-mode: normal; }
.hotspot { position: absolute; z-index: 2; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 0; background: transparent; padding: 0; }
.hotspot::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(229,37,43,.25); }
.hotspot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--red); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hotspot-tip {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 6px); width: max-content; max-width: 220px;
  background: var(--text); color: var(--bg); padding: 10px 12px; font-size: 13px; line-height: 1.35; text-align: left;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
}
.hotspot-tip b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; font-weight: 500; }
.hotspot:hover .hotspot-tip, .hotspot:focus-visible .hotspot-tip, .hotspot.open .hotspot-tip { opacity: 1; transform: translate(-50%, 0); }
.spot-media .fig { position: absolute; left: 16px; top: 14px; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
.spec-list { margin: 32px 0 36px; border-top: 1px solid var(--line); }
.spec-list li { list-style: none; display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-list li .mono { color: var(--red); padding-top: 4px; }
.spec-list li b { display: block; font-size: 18px; margin-bottom: 4px; }
.spec-list li span.d { color: var(--muted); font-size: 15px; }
.spec-list { padding: 0; }

/* ---------- Video ---------- */

.video-block { --text: #eceef0; --muted: #b4bac2; color: var(--text); position: relative; aspect-ratio: 16 / 8; overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-block video, .video-block img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-block .poster { transition: opacity .6s, transform 1.4s var(--ease); }
.video-block:hover .poster { transform: scale(1.03); }
.video-block.playing .poster, .video-block.playing .video-ui { opacity: 0; pointer-events: none; }
.video-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 3vw, 40px); background: linear-gradient(180deg, rgba(10,11,13,.1), rgba(10,11,13,.75)); transition: opacity .5s; }
.play-btn {
  align-self: center; margin-top: auto; margin-bottom: auto; width: clamp(88px, 10vw, 128px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); border: 0; display: grid; place-items: center; color: #fff; position: relative;
  transition: transform .5s var(--ease);
}
.play-btn::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(229,37,43,.5); animation: ring 2.6s var(--ease) infinite; }
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { width: 28%; height: 28%; margin-left: 6%; }
.video-ui h3 { font-size: clamp(24px, 3vw, 40px); max-width: 18ch; }
.video-ui .row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }

/* ---------- Timeline ---------- */

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 56px; }
.tl { position: relative; padding: 36px 24px 0 0; border-top: 1px solid var(--line); }
.tl--now .tl-year { color: var(--red); }
.tl--now::after { content: "Latest"; position: absolute; top: 14px; right: 24px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.tl::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
.tl-year { font-size: clamp(40px, 4.4vw, 64px); font-weight: 800; font-variation-settings: "wdth" 120; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.tl-sector { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.tl p { font-size: 15px; color: var(--muted); margin: 0; }
.section--light .tl p { color: var(--ink-muted); }
.section--light .tl { border-color: var(--ink-line); }

/* ---------- Testimonials ---------- */

.tst-wrap { position: relative; }
.tst-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(600px, 88%); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.tst-track::-webkit-scrollbar { display: none; }
.tst {
  scroll-snap-align: start; border: 1px solid var(--line); background: var(--panel); padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 380px;
}
.tst-quote { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: var(--text); margin: 0; }
.tst-quote::before { content: "\201C"; display: block; font-size: 80px; line-height: .6; height: 36px; color: var(--red); font-weight: 800; font-family: Georgia, serif; }
.tst-who { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.tst-av { width: 46px; height: 46px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 14px; color: var(--red); flex: none; }
.tst-who b { display: block; font-size: 16px; }
.tst-who span { font-size: 14px; color: var(--muted); }
.tst-nav { display: flex; gap: 10px; }
.tst-nav button { width: 52px; height: 52px; border: 1px solid var(--line-strong); background: transparent; border-radius: 50%; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.tst-nav button:hover { background: var(--red); border-color: var(--red); }
.tst-nav svg { width: 18px; height: 18px; }

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 180px) 0; text-align: left; border-top: 1px solid var(--line); }
.cta-band-bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .35; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 25%, rgba(var(--bg-rgb),.6) 70%, rgba(var(--bg-rgb),.3)); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { margin: 24px 0 36px; max-width: 14ch; }
.cta-band h2 em { font-style: normal; color: var(--red); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-cards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.c-item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.c-icon { width: 44px; height: 44px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--red); }
.c-icon svg { width: 20px; height: 20px; }
.c-item .mono { color: var(--dim); display: block; margin-bottom: 8px; }
.c-item address { font-style: normal; color: var(--text); line-height: 1.55; }
.c-item a { display: block; transition: color .2s; }
.c-item a:hover { color: var(--red); }
.c-item .two { display: grid; grid-template-columns: 1fr; gap: 14px; }
.c-item .two b { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; margin-bottom: 4px; }

.form { position: relative; background: var(--panel); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.form h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 8px; }
.form > p { color: var(--muted); margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); border-radius: var(--radius);
  padding: 14px 16px; font: inherit; font-size: 16px; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%239aa1aa' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,37,43,.18); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field.invalid input, .field.invalid textarea { border-color: var(--red-hot); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--muted); transition: all .2s; cursor: pointer; user-select: none; }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red-hot); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.form-foot small { color: var(--dim); font-size: 13px; max-width: 34ch; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 20px; padding: 14px 16px; border: 1px solid; font-size: 15px; display: none; }
.form-status.ok { display: block; border-color: rgba(43,212,107,.4); background: rgba(43,212,107,.08); color: var(--ok-fg); }
.form-status.err { display: block; border-color: rgba(255,59,63,.45); background: rgba(255,59,63,.08); color: var(--err-fg); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-sending .spinner { display: block; }
.is-sending .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.maps-head { margin-bottom: 24px; }
.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.map-tile { margin: 0; }
.map-wrap { position: relative; border: 1px solid var(--line); height: 420px; overflow: hidden; background: var(--panel); }
.map-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 0 0; border-top: 0; }
.map-meta .mono { color: var(--red); }
.map-meta p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.map-meta .link-arrow { flex: none; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter); }

/* ---------- Products ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { padding: 11px 18px; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; font-size: 14px; color: var(--muted); transition: all .25s; }
.filter:hover { color: var(--text); border-color: var(--text); }
.filter.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter .n { font-family: var(--mono); font-size: 11px; margin-left: 6px; opacity: .6; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.prod { position: relative; background: var(--bg); display: flex; flex-direction: column; transition: background .4s, opacity .4s, transform .4s var(--ease); }
.prod.hide { display: none; }
.prod:hover { background: var(--panel); }
.prod-media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 60% at 50% 50%, #f4f4f2, #dcdcd8); }
.prod-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.prod:hover .prod-media img { transform: scale(1.07) rotate(-2deg); }
.prod-media .cat { position: absolute; left: 16px; top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #5b6168; }
.prod-media .code { position: absolute; right: 16px; top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: #5b6168; }
.prod-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-body h3 { font-size: 22px; letter-spacing: -0.015em; }
.prod-body p { font-size: 15px; color: var(--muted); margin: 0; flex: 1; }
.prod-body .link-arrow { align-self: flex-start; margin-top: 14px; }

/* ---------- Capability detail (services page) ---------- */

.svc { display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: 32px clamp(24px, 4vw, 64px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); align-items: start; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-idx { font-family: var(--mono); font-size: 13px; color: var(--red); letter-spacing: .1em; padding-top: 10px; }
.svc h3 { font-size: clamp(28px, 3vw, 44px); font-variation-settings: "wdth" 112; letter-spacing: -0.025em; margin-bottom: 18px; }
.svc p { color: var(--muted); }
.svc ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc ul li { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line-strong); color: var(--steel); }
.svc-media { aspect-ratio: 2 / 1; overflow: hidden; border: 1px solid var(--line); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.85); transition: filter .6s, transform 1s var(--ease); }
.svc:hover .svc-media img { filter: none; transform: scale(1.04); }

.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ind-card { position: relative; background: var(--bg); padding: 28px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s, transform 1.2s var(--ease); }
.ind-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--bg-rgb),.35), rgba(var(--bg-rgb),.92)); opacity: 0; transition: opacity .6s; }
.ind-card:hover img { opacity: 1; transform: none; }
.ind-card:hover::after { opacity: 1; }
.ind-card > * { position: relative; z-index: 1; }
.ind-card .mono { color: var(--dim); }
.ind-card h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 8px; }
.ind-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Split / feature ---------- */

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.media-frame { position: relative; border: 1px solid var(--line); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .fig { position: absolute; left: 0; bottom: 0; background: var(--bg); padding: 10px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.section--light .media-frame { border-color: var(--ink-line); }
.section--light .media-frame .fig { background: var(--paper); color: var(--ink-muted); border-color: var(--ink-line); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 32px 32px 8px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar .mono { color: var(--red); display: block; margin-bottom: 20px; }
.pillar h3 { font-size: 24px; letter-spacing: -0.015em; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 16px; }
.section--light .pillars, .section--light .pillar + .pillar { border-color: var(--ink-line); }
.section--light .pillar p { color: var(--ink-muted); }

.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.check-list li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; background: var(--red); transform: rotate(45deg); }
.check-list b { font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer { position: relative; background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 64px; }
.footer-grid h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); transition: color .2s; }
.footer-grid a:hover { color: var(--text); }
.footer-about p { color: var(--muted); max-width: 36ch; margin: 22px 0 26px; font-size: 16px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 15px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.hours li span:last-child { color: var(--text); }
.hours li.closed span:last-child { color: var(--red); }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border: 1px solid var(--line-strong); display: grid; place-items: center; border-radius: 50%; color: var(--text); transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-word {
  font-size: clamp(36px, 7.2vw, 150px); font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.05em; line-height: .78;
  text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(var(--fg-rgb),.16);
  margin-bottom: -0.06em; user-select: none; text-align: center;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .06em; position: relative; z-index: 1; background: var(--bg); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Floating WhatsApp ---------- */

.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 10px;
  background: #1fae5b; color: #fff; padding: 0; height: 56px; width: 56px; border-radius: 28px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,.35); transition: width .45s var(--ease), transform .4s var(--ease), opacity .4s;
  transform: translateY(120px); opacity: 0;
}
.fab.show { transform: none; opacity: 1; }
.fab svg { width: 26px; height: 26px; flex: none; margin-left: 15px; }
.fab span { font-weight: 600; font-size: 15px; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.fab:hover { width: 196px; }
.fab:hover span { opacity: 1; }

/* ---------- 404 ---------- */

.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); position: relative; overflow: hidden; }
.nf .code { font-size: clamp(120px, 28vw, 380px); font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--red); }

/* ---------- Theme toggle ---------- */

.theme-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; transition: border-color .3s, background .3s;
}
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle svg { width: 16px; height: 16px; display: none; }
.theme-toggle[data-mode="auto"] .i-auto, .theme-toggle[data-mode="light"] .i-light, .theme-toggle[data-mode="dark"] .i-dark { display: block; }
.mobile-menu .theme-toggle { justify-self: start; height: 44px; padding: 0 16px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .statement-wrap { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--header-h) + 16px); }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 24px 0 8px; order: 1; }
  .hero-visual { order: 2; height: 380px; min-height: 0; margin: 0 calc(var(--gutter) * -1); }
  .hero-canvas { inset: -6% -10%; }
  .title-block { right: var(--gutter); bottom: 6px; }
  .title-block > .tb-opt { display: none; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 16px 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .statement-foot { grid-template-columns: 1fr; }
  .statement-foot > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; }
  .case { grid-template-columns: 1fr; }
  .case-media { min-height: 340px; }
  .process { grid-template-columns: 1fr; gap: 40px; }
  .process-line { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process-line span { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 0; }
  .step-node { margin: 0; }
  .quality, .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0 8px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .spot, .split-2, .contact-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .prod-grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; gap: 20px; }
  .svc-idx { padding: 0; }
  .ind-row { grid-template-columns: 44px 1fr 24px; gap: 14px; padding: 18px 0; }
  .ind-tag { display: none; }
  .ind-preview { display: none; }
  .video-block { aspect-ratio: 4 / 3; }
  .map-wrap { height: 340px; }
  .maps-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .cap-grid, .prod-grid, .ind-grid { grid-template-columns: 1fr; }
  .cap { min-height: 0; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: space-between; }
  .oem-list span { flex-basis: 100%; }
  .oem-list span + span { padding-left: 0; border-left: 0; }
  .c-item .two { grid-template-columns: 1fr; }
  .fab { right: 14px; bottom: 14px; }
  .hud-label .leader { width: 22px; }
  .hud-label { font-size: 10px; }
}

@media (max-width: 600px) {
  .header-actions { gap: 10px; }
  .header-actions .theme-toggle { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .header-actions .theme-toggle .tt-label { display: none; }
}
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark img { width: 26px; height: 26px; }
  .brand-name { font-size: 13px; }
  .site-header .container { gap: 12px; }
  .menu-toggle { width: 44px; height: 44px; }
  .menu-toggle span { left: 12px; right: 12px; }
  .menu-toggle span:nth-child(1) { top: 16px; } .menu-toggle span:nth-child(2) { top: 21px; } .menu-toggle span:nth-child(3) { top: 26px; }
}
@media (max-width: 390px) {
  .header-actions .theme-toggle { display: none; }
}
@media (max-width: 360px) {
  .h-xl { font-size: 40px; }
  .stat-num { font-size: 30px; }
}
@media (min-width: 1800px) {
  :root { --container: 1520px; }
  body { font-size: 18px; }
}
@media (max-width: 600px) { .hud-opt { display: none; } }
.hotspot.tip-l .hotspot-tip { left: -6px; transform: translate(0, 6px); }
.hotspot.tip-r .hotspot-tip { left: auto; right: -6px; transform: translate(0, 6px); }
.hotspot.tip-l:hover .hotspot-tip, .hotspot.tip-l:focus-visible .hotspot-tip, .hotspot.tip-l.open .hotspot-tip,
.hotspot.tip-r:hover .hotspot-tip, .hotspot.tip-r:focus-visible .hotspot-tip, .hotspot.tip-r.open .hotspot-tip { transform: none; }
@media (max-width: 600px) { .hotspot-tip { max-width: 180px; font-size: 12px; } }

.title-block b { min-width: 15ch; }
.title-block #op-step { color: var(--red); }
@media (max-width: 600px) { .title-block b { min-width: 0; } .title-block #op-name { min-width: 15ch; } }

/* ---------- Facility gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 230px); grid-auto-flow: dense; gap: 12px; }
.g-item { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--panel); display: block; cursor: zoom-in; }
.g-item.g-big { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.92) contrast(1.04); }
.g-item:hover img { transform: scale(1.06); filter: saturate(1.05) contrast(1.06); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,11,13,.72)); opacity: .85; transition: opacity .4s; }
.g-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; }
.g-cap .mono { color: #ff6a6e; font-size: 11px; }
.g-item:focus-visible { outline-offset: -3px; }
.spot-media--photo { padding: 0; background: #0d0f12; }
.spot-media--photo img { display: block; width: 100%; height: auto; }
.spot-media--photo .fig { z-index: 2; background: rgba(10,11,13,.75); color: #eceef0; padding: 6px 10px; left: 12px; top: 12px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(6,7,8,.94); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; color: #eceef0; }
.lb.open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9aa1aa; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); object-fit: contain; border: 1px solid rgba(255,255,255,.12); transition: opacity .25s; }
.lb-cap { padding: 16px var(--gutter) 22px; text-align: center; font-size: 15px; }
.lb button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(10,11,13,.6); color: #fff; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.lb button:hover { background: var(--red); border-color: var(--red); }
.lb button svg { width: 18px; height: 18px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.lb-prev { left: max(12px, var(--gutter)); } .lb-next { right: max(12px, var(--gutter)); }
.lb-open-lock { overflow: hidden; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 30vw, 220px); gap: 8px; }
  .g-cap { font-size: 12px; left: 10px; bottom: 8px; }
  .lb-prev, .lb-next { top: auto; bottom: -64px; transform: none; }
  .lb-stage { margin-bottom: 64px; }
  .lb-stage img { max-height: calc(100dvh - 240px); }
}
