/* =========================================================
   MCBS-EMS — concept redesign
   Dark cinematic base, MCBS logo red as the light/accent,
   warm copper as the secondary.
   ========================================================= */

:root {
  --bg: #070606;
  --bg-2: #0d0b0a;
  --bg-3: #151211;
  --ink: #ede6da;
  --ink-2: #c9c0b3;
  --muted: #8a8177;
  --line: rgba(237, 230, 218, 0.09);
  --line-2: rgba(237, 230, 218, 0.16);
  --red: #a83232;          /* MCBS logo red */
  --red-hi: #e0484a;       /* glow / hover */
  --red-deep: #4a1010;
  --copper: #c58a4b;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s, box-shadow .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn-sm { --h: 36px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 15.5px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 8px 30px -8px rgba(224,72,74,.55); }
.btn-red:hover { background: var(--red-hi); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 40px -6px rgba(224,72,74,.75); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.02); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(237,230,218,.4); background: rgba(255,255,255,.06); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  transition: background .3s, transform .4s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: rgba(255,255,255,.06); transform: rotate(90deg); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--gutter);
  transition: clip-path 1.1s var(--ease-io) .1s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader-inner { display: flex; justify-content: space-between; align-items: flex-end; }
.loader-brand { display: inline-flex; align-items: center; gap: .3em; font-size: clamp(28px, 4vw, 48px); font-weight: 500; letter-spacing: -0.03em; }
.loader-logo { height: 1.6em; width: auto; }
.loader-num { font-family: var(--mono); font-size: clamp(48px, 10vw, 140px); line-height: .8; letter-spacing: -0.04em; color: var(--ink); }
.loader-line { height: 1px; background: var(--line-2); margin-top: 22px; overflow: hidden; }
.loader-line i { display: block; height: 100%; width: 100%; background: var(--red-hi); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.loader-caption { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ---------- 3D stage ---------- */
#gl {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 0; display: block;
}
.stage-fx { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.stage-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 70% 48%, rgba(168,50,50,.1), transparent 70%),
    radial-gradient(30% 30% at var(--mx, 70%) var(--my, 50%), rgba(224,72,74,.05), transparent 70%);
  mix-blend-mode: screen;
}
.stage-vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 55% 45%, transparent 55%, rgba(0,0,0,.65) 100%); }
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }
.no-webgl #gl { display: none; }
.no-webgl .stage-glow { background: radial-gradient(50% 60% at 70% 50%, rgba(168,50,50,.28), transparent 70%); }

/* ---------- cursor follower ---------- */
.cursor { display: none; }
.has-cursor .cursor {
  display: block; position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 0; height: 0;
}
.has-cursor .cursor::before {
  content: ""; position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(237,230,218,.35);
  transition: transform .45s var(--ease), background .3s, border-color .3s;
}
.has-cursor .cursor.is-hover::before { transform: scale(1.9); background: rgba(224,72,74,.12); border-color: rgba(224,72,74,.7); }
.cursor-label {
  position: absolute; left: 22px; top: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--red-hi);
  opacity: 0; transition: opacity .3s;
  white-space: nowrap;
}
.cursor.is-hover .cursor-label:not(:empty) { opacity: 1; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(7,6,6,.55); backdrop-filter: blur(14px) saturate(1.2); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: inline-grid; place-items: center;
  height: 34px; padding: 0 14px;
  border: 2px solid var(--red-hi);
  border-radius: 50%;
  font-weight: 600; letter-spacing: .02em; font-size: 15px;
  color: var(--ink);
  box-shadow: 0 0 22px -6px rgba(224,72,74,.8), inset 0 0 12px -6px rgba(224,72,74,.8);
}
.brand-mark.big { height: 64px; padding: 0 30px; font-size: 26px; border-width: 2.5px; }
/* the original logo image (420x198); height sets the size */
.brand-logo { display: block; height: 40px; width: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,.45)); }
.brand-logo.big { height: 76px; }
.brand-sub { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); }

.nav-links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10,9,8,.35); backdrop-filter: blur(10px); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav-burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav-burger i:first-child { top: 16px; } .nav-burger i:last-child { top: 22px; }
.nav-open .nav-burger i:first-child { transform: translateY(3px) rotate(45deg); }
.nav-open .nav-burger i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- text split reveal ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease) calc(var(--i, 0) * 45ms + var(--d, 0ms)); }
.is-in .w > span, .is-in.w > span { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- hero ----------
   Everything (eyebrow, title, lead, the three action cards, "Prefer to talk?", the stats and the HUD) fits in one screen:
   the vertical spacing and the title, card and stat sizes scale with the screen height (vh), down to a 600px-tall window.
   The stats sit absolutely at the bottom, so the bottom padding keeps the copy clear of them.
   z-index 5 keeps the copy, stats and HUD above the Products section's upward fade shadow (z 4), which otherwise greys
   out the stat labels and hides most of the HUD line; the 3D board behind the hero still gets the fade. */
.hero {
  position: relative; z-index: 5;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(90px, 14vh, 124px) var(--gutter) clamp(138px, 21vh, 176px);
}
/* soft scrim so copy stays readable when the board drifts behind it */
.hero::before, .story::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,6,6,.82) 0%, rgba(7,6,6,.55) 32%, rgba(7,6,6,0) 58%);
}
.corner { position: absolute; width: 14px; height: 14px; opacity: .5; }
.corner::before, .corner::after { content: ""; position: absolute; background: var(--ink); }
.corner::before { left: 6px; top: 0; width: 1px; height: 14px; }
.corner::after { top: 6px; left: 0; height: 1px; width: 14px; }
.corner.tl { left: calc(var(--gutter) - 7px); top: 84px; }
.corner.tr { right: calc(var(--gutter) - 7px); top: 84px; }
.corner.bl { left: calc(var(--gutter) - 7px); bottom: 24px; }
.corner.br { right: calc(var(--gutter) - 7px); bottom: 24px; }

.hero-copy { max-width: 640px; position: relative; }
.hero-eyebrow { color: var(--ink-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 12px var(--red-hi); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-title {
  margin-top: clamp(12px, 2.4vh, 22px);
  font-size: clamp(42px, min(5.6vw, 9.4vh), 92px);
  font-weight: 300; line-height: .98; letter-spacing: -0.045em;
}
.hero-title em { font-style: normal; color: var(--red-hi); text-shadow: 0 0 40px rgba(224,72,74,.45); }
.hero-lead { margin-top: clamp(12px, 2.2vh, 24px); max-width: 600px; font-size: clamp(15.5px, 2.4vh, 17px); color: var(--ink-2); }

.hero-actions { margin-top: clamp(16px, 3.4vh, 34px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.action-card {
  position: relative; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(10px, 2.2vh, 22px);
  min-height: clamp(100px, 16vh, 150px); padding: clamp(13px, 2.2vh, 18px) 18px clamp(12px, 2vh, 16px);
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(30,25,23,.72), rgba(12,10,9,.6));
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.action-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120px 120px at var(--gx, 50%) var(--gy, 0%), rgba(224,72,74,.25), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.action-card:hover { transform: translateY(-6px); border-color: rgba(224,72,74,.55); box-shadow: 0 24px 50px -24px rgba(224,72,74,.6); }
.action-card:hover::after { opacity: 1; }
.action-card.is-primary { background: linear-gradient(160deg, #b23636, #5a1414 80%); border-color: rgba(255,120,110,.35); }
.action-card.is-primary .action-sub { color: rgba(255,235,230,.75); }
.action-text { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; }
.action-title { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.action-sub { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.action-icon {
  position: relative; z-index: 1;
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
  align-self: flex-end;
  transition: transform .5s var(--ease), background .3s;
}
.action-icon svg { width: 18px; height: 18px; }
.action-card:hover .action-icon { transform: translateY(-4px) rotate(-6deg); background: rgba(255,255,255,.12); }

/* shorter laptop windows: the icon moves beside the description, so each card is ~40px shorter */
@media (min-width: 821px) and (max-height: 760px) {
  .action-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; gap: 6px 10px; min-height: 0; padding: 14px 14px 13px 16px; }
  .action-text { display: contents; }
  .action-title { grid-column: 1 / -1; position: relative; z-index: 1; }
  .action-sub { grid-column: 1; align-self: end; position: relative; z-index: 1; }
  .action-icon { grid-column: 2; grid-row: 2; align-self: end; width: 34px; height: 34px; }
}
.hero-talk { margin-top: clamp(10px, 2vh, 20px); font-size: 13.5px; color: var(--muted); }
.hero-talk a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.hero-talk a:hover { color: var(--red-hi); border-color: var(--red-hi); }

.hero-stats {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(56px, 8.5vh, 64px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin: 0; max-width: 860px;
  border-top: 1px solid var(--line);
}
.hero-stats div { padding: clamp(10px, 1.8vh, 14px) 18px 0 0; }
.hero-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stats dt { font-size: clamp(22px, min(2.4vw, 4.2vh), 34px); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.hero-stats dd { margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.35; }

.hud {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.hud-hero {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.hud-left, .hud-right { display: flex; align-items: center; gap: 18px; }
.hud-right b { color: var(--ink-2); font-weight: 400; }
.hud-dots { display: inline-flex; gap: 5px; }
.hud-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.hud-dots i.on { background: var(--ink); width: 18px; border-radius: 3px; }
.hud-scroll { display: flex; align-items: center; gap: 10px; }
.hud-scroll i { width: 1px; height: 26px; background: linear-gradient(var(--red-hi), transparent); animation: drip 1.8s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- process story ---------- */
.story { position: relative; z-index: 2; }
.chapter { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--gutter); }
.chapter-inner {
  max-width: 470px;
  opacity: .25; transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.chapter.is-active .chapter-inner { opacity: 1; transform: none; }
.chapter-no { color: var(--red-hi); }
.chapter h2 { margin-top: 18px; font-size: clamp(34px, 4vw, 62px); font-weight: 300; line-height: 1.02; letter-spacing: -0.04em; }
.chapter-text { margin-top: 18px; color: var(--ink-2); font-size: 16.5px; max-width: 420px; }
.specs { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs b { font-weight: 400; font-size: 22px; letter-spacing: -0.02em; min-width: 120px; }
.specs span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.aoi-status { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; }
.aoi-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); animation: pulse 1s infinite; }
.aoi-status.is-pass { border-color: rgba(120,200,140,.4); color: #b9e7c4; }
.aoi-status.is-pass i { background: #6fd08a; animation: none; box-shadow: 0 0 10px #6fd08a; }
.chapter-cta { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }

.story-hud {
  position: fixed; right: var(--gutter); bottom: 34px; z-index: 3;
  display: grid; justify-items: end; gap: 4px;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; color: var(--muted);
  opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.story-hud.is-visible { opacity: 1; transform: none; }
.sh-count { display: flex; align-items: baseline; font-size: 13px; color: var(--muted); }
.sh-num { font-family: var(--font); font-weight: 300; font-size: clamp(48px, 6vw, 84px); letter-spacing: -0.05em; color: var(--ink); line-height: .9; }
.sh-machine { color: var(--ink-2); font-size: 11.5px; margin-top: 8px; }
.sh-bar { width: 180px; height: 1px; background: var(--line-2); margin-top: 10px; overflow: hidden; }
.sh-bar i { display: block; height: 100%; background: var(--red-hi); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- after-story content (covers the canvas) ---------- */
.after { position: relative; z-index: 4; background: var(--bg); box-shadow: 0 -120px 120px 0 var(--bg); }
.section { padding: clamp(80px, 12vw, 160px) var(--gutter); position: relative; }
.section-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2, .hirel h2, .cta h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4.6vw, 72px); font-weight: 300; line-height: 1.02; letter-spacing: -0.045em;
}
.lead { margin-top: 22px; font-size: 18px; color: var(--ink-2); max-width: 560px; }

/* photo band: the live site's hero photos slide behind the Infrastructure heading.
   Same motion as the live site's carousel: horizontal slide, 0.6s ease-in-out, a new photo every 3s (main.js). */
.photo-band {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 92vh; min-height: 92svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(120px, 16vh, 180px) var(--gutter) 0;
  touch-action: pan-y;
}
.ps-track { position: absolute; inset: 0; z-index: -2; background: var(--bg-3); }
.ps-slide { position: absolute; inset: 0; margin: 0; visibility: hidden; transform: translateX(100%); transition: transform .6s ease-in-out; }
.ps-slide.is-active { visibility: visible; transform: translateX(0); }
.ps-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.ps-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(7,6,6,.3) 20%, rgba(7,6,6,.1) 42%, rgba(7,6,6,.82) 80%, var(--bg) 100%),
    linear-gradient(90deg, rgba(7,6,6,.7) 0%, rgba(7,6,6,.15) 55%, rgba(7,6,6,0) 100%);
}
.ps-content h2 { margin-top: 18px; max-width: 900px; font-size: clamp(34px, 4.6vw, 72px); font-weight: 300; line-height: 1.02; letter-spacing: -0.045em; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.photo-band .infra-stats { margin-top: clamp(36px, 6vh, 64px); border-top-color: rgba(237,230,218,.22); }
.photo-band .infra-stats > div + div { border-left-color: rgba(237,230,218,.18); }
.photo-band .infra-stats > div > span { color: var(--ink-2); }
.ps-controls {
  display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 16px 0 26px;
  border-top: 1px solid rgba(237,230,218,.14);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.ps-caption { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-count { color: var(--red-hi); font-weight: 400; }
.ps-progress { width: 140px; height: 1px; background: rgba(237,230,218,.2); overflow: hidden; flex: none; }
.ps-progress i { display: block; height: 100%; background: var(--red-hi); transform-origin: left; transform: scaleX(0); }
.ps-progress.is-running i { animation: ps-progress 3s linear forwards; }
@keyframes ps-progress { to { transform: scaleX(1); } }
.ps-controls .icon-btn { flex: none; background: rgba(7,6,6,.45); backdrop-filter: blur(8px); }
.ps-controls .icon-btn svg { width: 18px; height: 18px; }
.ps-controls .icon-btn:hover { transform: none; background: rgba(255,255,255,.12); }
.infra-body { padding-top: clamp(30px, 5vw, 60px); }
.infra-body .machines { margin-top: 0; }
@media (max-width: 820px) {
  .photo-band { min-height: 100svh; }
  .ps-slide img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .ps-progress { width: 56px; }
}

/* products: ONE full-screen frame. The section is a little taller than the screen and its inner frame is pinned (sticky)
   for that extra scroll, so all 12 products are on screen together while the traces draw. It needs its own solid
   background to cover the 3D canvas between the hero and the process story. */
.products { position: relative; z-index: 4; height: calc(100vh + 70vh); height: calc(100svh + 70svh); background: var(--bg); box-shadow: 0 -120px 120px 0 var(--bg); }
.products-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden; padding: clamp(72px, 10vh, 96px) var(--gutter) clamp(18px, 3vh, 32px); }
.circuit-fit { position: relative; flex: 1 1 0; min-height: 0; }

/* Circuit map. Off: nodes dim, traces undrawn. When main.js adds .is-on, the chip powers up, each trace draws out
   (its own --d delay, set by main.js) and each node lights as its trace arrives (--lit, set in the markup).
   Transitions list per-property delays so hover effects stay instant. The board keeps its natural size; main.js only
   sets --fit (< 1) when the screen is too short, widening the board by 1/--fit so the scaled-down result fills the width. */
.circuit {
  --fit: 1;
  position: absolute; left: 0; top: 0; width: calc(100% / var(--fit)); transform: scale(var(--fit)); transform-origin: 0 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(5, auto);
  gap: clamp(16px, 3.6vh, 40px) 28px;
}
.circuit::before {
  content: ""; position: absolute; inset: -40px; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(237,230,218,.08) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.circuit-traces { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; }
/* the heading sits in the board's empty top-left corner, so it costs no height */
.circuit-head { grid-area: 1 / 1; align-self: start; position: relative; z-index: 1; }
.circuit-head h2 { margin-top: 12px; font-size: clamp(28px, 2.4vw, 40px); font-weight: 300; line-height: 1.05; letter-spacing: -0.04em; }
.circuit-core { grid-area: 2 / 2 / 5 / 5; position: relative; z-index: 1; display: grid; place-items: center; }
.cm-chip {
  position: relative; width: clamp(132px, 22vh, 176px); aspect-ratio: 1; border-radius: 16px; display: grid; place-content: center; gap: 6px; text-align: center;
  background: linear-gradient(145deg, #201c1b, #0b0a0a); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px #000;
  transition: border-color 1s var(--ease) .1s, box-shadow 1s var(--ease) .1s;
}
.cm-chip::before, .cm-chip::after { content: ""; position: absolute; z-index: -1; }
.cm-chip::before { inset: -9px 18px; background: repeating-linear-gradient(90deg, #b8954f 0 5px, transparent 5px 15px) top / 100% 9px no-repeat, repeating-linear-gradient(90deg, #b8954f 0 5px, transparent 5px 15px) bottom / 100% 9px no-repeat; }
.cm-chip::after { inset: 18px -9px; background: repeating-linear-gradient(0deg, #b8954f 0 5px, transparent 5px 15px) left / 9px 100% no-repeat, repeating-linear-gradient(0deg, #b8954f 0 5px, transparent 5px 15px) right / 9px 100% no-repeat; }
.cm-chip-logo { width: clamp(100px, 17vh, 136px); height: auto; margin: 0 auto; }
.cm-chip-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
.circuit.is-on .cm-chip { border-color: rgba(224,72,74,.55); box-shadow: 0 0 0 1px rgba(224,72,74,.2), 0 0 70px -12px rgba(224,72,74,.55), 0 30px 60px -30px #000; }

.node {
  position: relative; z-index: 1; display: grid; align-content: start; gap: clamp(8px, 1.4vh, 12px); padding: clamp(12px, 1.8vh, 16px) 16px clamp(14px, 2vh, 18px); border-radius: 14px;
  border: 1px solid var(--line); background: rgba(14,12,11,.94);
  opacity: .32; filter: grayscale(1); transform: translateY(8px);
  transition: opacity .6s var(--ease) var(--lit, 0s), filter .6s var(--ease) var(--lit, 0s), transform .6s var(--ease) var(--lit, 0s), border-color .3s, box-shadow .3s;
}
.circuit.is-on .node { opacity: 1; filter: none; transform: none; }
.circuit.is-on .node:hover { border-color: rgba(224,72,74,.6); box-shadow: 0 0 34px -12px rgba(224,72,74,.7); }
.node-no { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.node-icon {
  width: clamp(34px, 5vh, 42px); height: clamp(34px, 5vh, 42px); border-radius: 12px; display: grid; place-items: center;
  color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid var(--line-2);
  transition: color .5s var(--lit, 0s), background .5s var(--lit, 0s), border-color .5s var(--lit, 0s);
}
.node-icon svg { width: 22px; height: 22px; }
.node-icon svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease) var(--lit, 0s); }
.circuit.is-on .node-icon { color: var(--red-hi); background: rgba(224,72,74,.1); border-color: rgba(224,72,74,.32); }
.circuit.is-on .node-icon svg * { stroke-dashoffset: 0; }
.node h3 { font-size: 15.5px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; }

.trace { fill: none; stroke: rgba(224,72,74,.5); stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s linear var(--d, 0s), stroke .3s, stroke-width .3s; }
.circuit.is-on .trace { stroke-dashoffset: 0; }
.trace.is-hot { stroke: var(--red-hi); stroke-width: 2.6; filter: drop-shadow(0 0 4px rgba(224,72,74,.8)); }
.pulse { fill: none; stroke: #ffc2b8; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .05 .95; stroke-dashoffset: 1; opacity: 0; transition: opacity .4s var(--p, 0s); }
.circuit.is-on .pulse { opacity: .85; animation: pulse-run 2.8s linear var(--p, 0s) infinite; }
@keyframes pulse-run { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.via { fill: #c9a45c; opacity: 0; transition: opacity .25s var(--d, 0s); }
.circuit.is-on .via { opacity: 1; }

@media (max-width: 1100px) {
  .circuit { column-gap: 18px; }
  .node { padding-left: 14px; padding-right: 14px; }
  .node h3 { font-size: 14px; }
}
/* shorter screens (most laptops): icon beside the name, so each card is about half as tall and the cards keep their size
   instead of the whole board shrinking */
@media (min-width: 821px) and (max-height: 800px) {
  .node { grid-template-columns: auto 1fr; align-items: center; gap: 0 12px; padding: 10px 40px 10px 12px; }
  .node-no { top: 10px; right: 12px; }
  .node-icon { width: 36px; height: 36px; }
  .node h3 { font-size: 14px; }
  .cm-chip { width: clamp(124px, 20vh, 150px); }
  .cm-chip-logo { width: clamp(96px, 15.5vh, 116px); }
}
/* ...and on narrower laptops/tablets the number badge goes, so the names get its space */
@media (min-width: 821px) and (max-width: 1100px) and (max-height: 800px) {
  .node { padding-right: 12px; }
  .node-no { display: none; }
}
/* phones: heading, chip, then the products in two columns either side of one vertical trace bus */
@media (max-width: 820px) {
  .products-pin { padding-top: 64px; }
  .circuit { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 9px 34px; }
  .circuit::before { inset: -16px -16px; }
  .circuit-head { grid-area: 1 / 1 / 2 / 3; }
  .circuit-head h2 { margin-top: 8px; font-size: 27px; }
  .circuit-core { grid-area: 2 / 1 / 3 / 3; margin: 4px 0 12px; }
  .cm-chip { width: 88px; border-radius: 11px; gap: 3px; }
  .cm-chip-logo { width: 68px; }
  .cm-chip::before { inset: -7px 14px; background-size: 100% 7px; }
  .cm-chip::after { inset: 14px -7px; background-size: 7px 100%; }
  .cm-chip-sub { font-size: 7.5px; letter-spacing: .08em; }
  .node { grid-area: auto !important; grid-template-columns: auto 1fr; align-items: center; gap: 0 9px; padding: 8px 9px; border-radius: 11px; }
  .node-no { display: none; }
  .node-icon { width: 30px; height: 30px; border-radius: 9px; }
  .node-icon svg { width: 18px; height: 18px; }
  .node h3 { font-size: 12.5px; line-height: 1.22; }
}
@media (prefers-reduced-motion: reduce) {
  .products { height: auto; }
  .products-pin { position: relative; }
  .circuit .node, .circuit .node-icon svg *, .circuit .trace, .circuit .via { opacity: 1; filter: none; transform: none; stroke-dashoffset: 0; }
  .circuit .pulse { display: none; }
}

/* complex turnkey projects: coverflow. The current project faces you and the others fan out and recede in 3D; main.js turns the
   arc every 1.5 s and sets each card's transform. The 1.1 s transition keeps it moving almost all of the time. The slides are
   4:3 with a purple title bar across the top, so each is shown in a 5:3 frame anchored to the bottom to crop that bar off. */
.turnkey { overflow: hidden; }
.cf { max-width: 1200px; margin: 0 auto; }
.cf-stage { position: relative; height: clamp(280px, 34vw, 440px); perspective: 1500px; perspective-origin: 50% 40%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cf-card {
  position: absolute; left: 50%; top: 50%; display: block; width: min(52%, 560px); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-2); background: #f4f2ee; will-change: transform;
  transition: transform 1.1s cubic-bezier(.45,.05,.2,1), opacity .8s, filter .8s, box-shadow .8s;
  filter: brightness(.55); -webkit-box-reflect: below 8px linear-gradient(transparent 64%, rgba(255,255,255,.16));
}
.cf-card.is-center { filter: none; box-shadow: 0 0 0 1px rgba(224,72,74,.5), 0 30px 80px -20px rgba(224,72,74,.45); }
.cf-card img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; object-position: 50% 100%; pointer-events: none; }
.cf-meta { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.cf-no { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--red-hi); }
.cf-title { flex: 1; min-width: 0; font-size: clamp(20px, 2.6vw, 34px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
.cf-meta .icon-btn { flex: none; }
.cf-meta .icon-btn svg { width: 18px; height: 18px; }
.cf-meta .icon-btn:hover { transform: none; background: rgba(255,255,255,.1); }
.turnkey .text-link { display: flex; width: fit-content; margin: 30px auto 0; }
@media (max-width: 820px) { .cf-card { width: 66%; } }
@media (prefers-reduced-motion: reduce) { .cf-card { transition-duration: .01ms; } }

/* services list */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: s; }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto 40px; align-items: center; gap: 20px;
  padding: 26px 8px; overflow: hidden;
}
.service-list a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(168,50,50,.22), rgba(168,50,50,0) 70%);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.service-list a:hover::before { transform: scaleX(1); }
.sl-no { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.sl-title { font-size: clamp(20px, 2.4vw, 34px); font-weight: 400; letter-spacing: -0.03em; transition: transform .6s var(--ease); }
.service-list a:hover .sl-title { transform: translateX(14px); }
.sl-tags { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: right; }
.sl-arrow { font-size: 20px; color: var(--muted); transition: transform .5s var(--ease), color .3s; text-align: right; }
.service-list a:hover .sl-arrow { color: var(--red-hi); transform: rotate(45deg); }
.extras { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.extras-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); transition: border-color .3s, color .3s, background .3s; }
.chip:hover { border-color: var(--red-hi); color: var(--ink); background: rgba(224,72,74,.08); }

/* marquee */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee-slow .marquee-track { animation-duration: 40s; }
.marquee-track span {
  font-size: clamp(26px, 3.4vw, 50px); font-weight: 300; letter-spacing: -0.03em; white-space: nowrap;
  padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; color: var(--ink-2);
}
.marquee-track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 14px var(--red-hi); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* hi-rel */
.hirel { overflow: hidden; }
.hirel-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: end; position: relative; z-index: 1; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.checklist span { font-family: var(--mono); font-size: 11px; color: var(--red-hi); }
.clients { margin-top: clamp(60px, 8vw, 110px); position: relative; z-index: 1; }
.clients .marquee { margin-top: 18px; }
.orbit { position: absolute; right: -14vw; top: -6vw; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; pointer-events: none; opacity: .55; }
.orbit i { position: absolute; inset: 0; border: 1px dashed rgba(237,230,218,.12); border-radius: 50%; transform: rotateX(68deg) rotateZ(-18deg); }
.orbit i + i { inset: 12%; border-style: solid; border-color: rgba(224,72,74,.18); }
.orbit b {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%;
  background: var(--red-hi); box-shadow: 0 0 20px 4px rgba(224,72,74,.6);
  offset-path: ellipse(50% 18.5% at 50% 50%);
  animation: orbit 14s linear infinite;
}
@keyframes orbit { to { offset-distance: 100%; } }

/* infrastructure */
.infra-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.infra-stats div { padding: 22px 22px 0 0; display: grid; gap: 8px; }
.infra-stats div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.infra-stats b { font-size: clamp(26px, 3vw, 44px); font-weight: 300; letter-spacing: -0.035em; line-height: 1; }
.infra-stats > div > span { font-size: 13px; color: var(--muted); }
.infra-photos { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.infra-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; position: relative; background: var(--bg-3); }
.infra-photos figure:first-child { aspect-ratio: auto; }
.ph { position: absolute; inset: -10% 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.75); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.infra-photos figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,6,6,.7)), rgba(168,50,50,.18); mix-blend-mode: multiply; pointer-events: none; transition: opacity .6s; }
.infra-photos figure:hover img { filter: grayscale(0) contrast(1.05) brightness(.9); transform: scale(1.04); }
.infra-photos figure:hover::after { opacity: .3; }

.machines { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.machines-head, .machine { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.machines-head { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.machine { font-size: 15.5px; transition: background .3s, padding .4s var(--ease); }
.machine span:nth-child(2) { color: var(--ink-2); }
.machine span:nth-child(3) { font-family: var(--mono); font-size: 12.5px; color: var(--copper); }
.machine:hover { background: rgba(255,255,255,.03); padding-left: 14px; }
.machines .btn { margin-top: 26px; }

/* about statement */
.about { max-width: 1240px; }
.statement { margin-top: 26px; font-size: clamp(26px, 3.4vw, 50px); font-weight: 300; line-height: 1.18; letter-spacing: -0.03em; }
.statement .sw { opacity: .16; transition: opacity .3s linear; }
.statement .sw.lit { opacity: 1; }
.vm { margin-top: clamp(50px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm > div { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.025), transparent); }
.vm p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }

/* awards */
.award-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; perspective: 900px; }
.award {
  position: relative; min-height: 230px; padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, #1a1513, #0c0a09);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease), border-color .4s, opacity 1s var(--ease);
  overflow: hidden;
}
.award::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(240px 240px at var(--gx, 50%) var(--gy, 50%), rgba(255,220,200,.14), transparent 60%); opacity: 0; transition: opacity .4s; }
.award:hover { border-color: rgba(197,138,75,.5); }
.award:hover::before { opacity: 1; }
.award-year { position: absolute; top: 20px; left: 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--copper); }
/* cards with a photo: the photo runs edge to edge across the top with the year on it, the text sits below */
.award.has-pic { justify-content: flex-start; min-height: 0; padding-bottom: 24px; }
.award-pic { position: relative; display: block; margin: -22px -22px 10px; aspect-ratio: 16 / 10; overflow: hidden; background: #f4f2ee; border-bottom: 1px solid var(--line-2); }
.award-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.award:hover .award-pic img { transform: scale(1.05); }
.award-pic .award-year { top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(7,6,6,.78); backdrop-filter: blur(6px); border: 1px solid rgba(197,138,75,.35); }
.award h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.award p { font-size: 13.5px; color: var(--muted); }

/* news */
.news { padding-top: 0; }
.news-card {
  display: grid; gap: 10px; padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line-2);
  background: radial-gradient(80% 140% at 100% 0%, rgba(168,50,50,.25), transparent 60%), var(--bg-2);
  transition: border-color .4s, transform .6s var(--ease);
}
.news-card:hover { border-color: rgba(224,72,74,.5); transform: translateY(-4px); }
.news-card h3 { font-size: clamp(24px, 3vw, 40px); font-weight: 300; letter-spacing: -0.03em; max-width: 820px; }
.news-card p { color: var(--ink-2); }
.news-arrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); margin-top: 8px; }

/* cta */
.cta { overflow: hidden; border-top: 1px solid var(--line); }
.traces { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.traces path { stroke: rgba(224,72,74,.45); stroke-width: 1.4; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 3s var(--ease); }
.traces circle { fill: var(--red-hi); stroke: none; opacity: 0; transition: opacity .6s 2s; }
.cta.is-in .traces path { stroke-dashoffset: 0; }
.cta.is-in .traces circle { opacity: 1; }
.cta-inner { position: relative; text-align: center; max-width: 980px; margin: 0 auto; display: grid; justify-items: center; }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.contacts { position: relative; margin-top: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 900px; margin-left: auto; margin-right: auto; }
.section > .contacts:first-child { margin-top: 0; }
.contact-card { display: grid; gap: 6px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,11,10,.8); backdrop-filter: blur(6px); }
.contact-card h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; margin: 6px 0 4px; }
.contact-card a { color: var(--ink-2); width: fit-content; transition: color .3s; }
.contact-card a:hover { color: var(--red-hi); }
.contact-card p { color: var(--ink-2); font-size: 14.5px; }

/* footer */
.footer { padding: 80px var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-about p { margin-top: 22px; color: var(--muted); font-size: 14px; max-width: 380px; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 14px; }
.footer h4.mt { margin-top: 26px; }
.footer a { display: block; padding: 4px 0; font-size: 14.5px; color: var(--ink-2); transition: color .3s; width: fit-content; }
.footer a:hover { color: var(--red-hi); }
.footer-word {
  margin-top: 60px; font-size: clamp(70px, 17vw, 280px); font-weight: 600; letter-spacing: -0.06em; line-height: .8;
  background: linear-gradient(180deg, rgba(237,230,218,.14), rgba(237,230,218,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap; text-align: center;
}
.footer-bottom { margin-top: 18px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.concept-badge {
  position: fixed; left: 14px; bottom: 14px; z-index: 60;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: rgba(168,50,50,.9); color: #fff;
  pointer-events: none;
}

/* ---------- modal ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 80; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal-backdrop, .drawer-backdrop { position: absolute; inset: 0; background: rgba(4,3,3,.6); backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s var(--ease); }
.is-open .modal-backdrop, .is-open .drawer-backdrop { opacity: 1; }
.modal { display: grid; place-items: center; padding: 20px; }
.modal-panel {
  position: relative; width: min(720px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: linear-gradient(170deg, #171312, #0b0909 60%);
  border: 1px solid var(--line-2); border-radius: 22px; padding: 28px;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(224,72,74,.08);
  transform: translateY(30px) scale(.97); opacity: 0;
  transition: transform .6s var(--ease), opacity .5s var(--ease);
  overscroll-behavior: contain;
}
.is-open .modal-panel { transform: none; opacity: 1; }
.modal-head, .drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.modal-head h2, .drawer-head h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 36px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; }

.tabs { position: relative; display: inline-flex; margin-top: 22px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.tabs button { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .3s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tab-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--red); transition: transform .5s var(--ease), width .5s var(--ease); }

.quote-form { margin-top: 22px; display: grid; gap: 18px; }
.tab-panel { display: grid; gap: 16px; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.dropzone {
  position: relative; display: grid; justify-items: center; gap: 6px; text-align: center;
  padding: 30px 20px; border-radius: var(--radius);
  border: 1.5px dashed rgba(237,230,218,.22);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px);
  cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--red-hi); background-color: rgba(224,72,74,.06); }
.dropzone.is-drag { transform: scale(1.01); }
.dz-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(224,72,74,.14); color: var(--red-hi); margin-bottom: 6px; }
.dz-icon svg { width: 22px; height: 22px; }
.dz-title { font-weight: 500; }
.dz-sub { font-size: 13px; color: var(--muted); }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 14px; animation: fadeUp .4s var(--ease); }
.file-list .ext { font-family: var(--mono); font-size: 10.5px; padding: 3px 7px; border-radius: 6px; background: rgba(197,138,75,.16); color: var(--copper); text-transform: uppercase; }
.file-list .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fsize { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.file-list button { color: var(--muted); padding: 2px 6px; border-radius: 6px; }
.file-list button:hover { color: var(--ink); background: rgba(255,255,255,.08); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span, legend { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; transition: border-color .3s, background .3s;
  color-scheme: dark;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-hi); background: rgba(224,72,74,.05); }
.field input.is-invalid { border-color: #ff6b6b; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; }
.contact-fields { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; }
.seg label, .chip-set label { position: relative; cursor: pointer; }
.seg input, .chip-set input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .chip-set span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); transition: all .3s var(--ease); }
.seg input:checked + span, .chip-set input:checked + span { background: rgba(224,72,74,.16); border-color: var(--red-hi); color: var(--ink); }
.seg input:focus-visible + span, .chip-set input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 6px; }
.form-error { color: #ff8a8a; font-size: 13.5px; }

.quote-success { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 40px 10px 10px; animation: fadeUp .6s var(--ease); }
.ok-ring { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(111,208,138,.12); color: #6fd08a; box-shadow: 0 0 0 1px rgba(111,208,138,.35), 0 0 40px -10px #6fd08a; }
.ok-ring svg { width: 30px; height: 30px; stroke-width: 2; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.quote-success h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; margin-top: 6px; }
.ok-summary { color: var(--ink-2); }
.quote-success .muted { max-width: 420px; }
.quote-success .btn { margin-top: 10px; }

/* ---------- capabilities drawer ---------- */
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(760px, 100%);
  background: linear-gradient(170deg, #151110, #0a0808 60%);
  border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .7s var(--ease);
}
.is-open .drawer-panel { transform: none; }
.drawer-head { padding: 26px 26px 0; }
.caps-tools { padding: 20px 26px 16px; display: grid; gap: 14px; border-bottom: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); transition: border-color .3s; }
.search:focus-within { border-color: var(--red-hi); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; background: none; border: 0; color: var(--ink); font: inherit; font-size: 15px; outline: none; }
.caps-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.caps-filters button { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); transition: all .3s var(--ease); }
.caps-filters button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.caps-filters button:hover:not([aria-selected="true"]) { border-color: var(--red-hi); }
.caps-filters .n { font-family: var(--mono); font-size: 10.5px; opacity: .6; margin-left: 4px; }
.caps-grid { flex: 1; overflow: auto; padding: 18px 26px 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; overscroll-behavior: contain; }
.cap {
  display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  animation: fadeUp .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms);
  transition: border-color .3s, background .3s;
}
.cap:hover { border-color: rgba(224,72,74,.45); background: rgba(224,72,74,.04); }
.cap-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.cap-cat { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.cap-origin { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cap h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.cap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cap li { font-size: 13px; color: var(--ink-2); padding-left: 14px; position: relative; }
.cap li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 1px; background: var(--red-hi); }
.cap mark { background: rgba(224,72,74,.3); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.cap-actions { margin-top: auto; display: flex; align-items: center; gap: 18px; }
.cap-link { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.cap-link:hover { color: var(--ink); }
.cap-add { align-self: flex-start; font-size: 12.5px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--red-hi); padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.cap-add:hover { border-color: var(--red-hi); }
.caps-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--muted); }
.drawer-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px; border-top: 1px solid var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-block; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; position: fixed; top: 70px; left: var(--gutter); right: var(--gutter);
    padding: 10px; border-radius: 18px; background: rgba(12,10,9,.95);
  }
  .nav-open .nav-links > a, .nav-open .nav-item > a { padding: 14px 16px; font-size: 16px; width: 100%; }
  .nav-open .menu, .has-menu > a::after { display: none; }
  .nav-open .nav-links > a.nav-ext { margin: 6px 0 0; border-top: 1px solid var(--line); border-radius: 0; }
  .nav-open .nav-links > a.nav-ext::before { display: none; }
}

@media (max-width: 1100px) {
  .hero-copy { max-width: 560px; }
  .award-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { font-size: 15px; }
  .nav-actions .btn-ghost { display: none; }
  .hero { justify-content: flex-end; padding-top: 46vh; padding-bottom: 150px; }
  .hero-actions { grid-template-columns: 1fr; }
  .action-card { min-height: 0; flex-direction: row; align-items: center; padding: 14px 16px; }
  .action-icon { align-self: center; }
  .hero-stats { position: relative; left: 0; right: 0; bottom: 0; margin-top: 40px; grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 14px; }
  .hud-right span:not(:nth-child(2)), .hud-left span:last-child { display: none; }
  .corner.tl, .corner.tr { top: 74px; }
  .chapter { align-items: flex-end; padding-bottom: 90px; }
  .chapter-inner { max-width: none; padding: 22px; border-radius: 18px; background: rgba(7,6,6,.72); backdrop-filter: blur(10px); border: 1px solid var(--line); }
  .story-hud { top: 84px; bottom: auto; }
  .sh-num { font-size: 44px; }
  .sh-bar { width: 110px; }
  .service-list a { grid-template-columns: 40px 1fr 24px; padding: 20px 4px; }
  .sl-tags { display: none; }
  .hirel-grid, .vm, .contacts { grid-template-columns: 1fr; }
  .infra-stats { grid-template-columns: 1fr 1fr; }
  .infra-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .infra-stats div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
  .infra-photos { grid-template-columns: 1fr 1fr; }
  .infra-photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .machines-head { display: none; }
  .machine { grid-template-columns: 1fr; gap: 2px; }
  .caps-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal-panel { border-radius: 22px 22px 0 0; max-height: 92vh; padding: 22px 18px; }
  .modal-foot { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* tablets in portrait: the three action cards and the four stats go back to single rows, so the whole hero fits one screen
   with the 3D board still visible above it */
@media (min-width: 521px) and (max-width: 820px) {
  .hero { padding-top: 30vh; padding-bottom: 78px; }
  .hero-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .action-card { align-items: flex-end; }
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; margin-top: clamp(24px, 3.5vh, 40px); }
  .hero-stats div:nth-child(3) { padding-left: 18px; border-left: 1px solid var(--line); }
  .hero-stats div:nth-child(n+3) { border-top: 0; margin-top: 0; }
  .hero-copy { max-width: none; }
}

@media (max-width: 520px) {
  .award-grid { grid-template-columns: 1fr; }
  .nav .btn-red { display: none; }
}

/* phones: the whole hero (eyebrow to HUD) fits one screen. The copy sits at the bottom with tighter spacing, the cards
   are slimmer, the four stats share one row, and pcb-scene.js fits the 3D board into the space left above the eyebrow.
   A bottom scrim keeps the copy readable where a short phone pushes it over the board. */
@media (max-width: 520px) {
  .hero { padding-top: 84px; padding-bottom: 54px; }
  .hero::before { background: linear-gradient(0deg, rgba(7,6,6,.88) 0%, rgba(7,6,6,.62) 50%, rgba(7,6,6,0) 72%); }
  /* follows the copy: fades in just above the eyebrow, so the board only dims where it actually sits behind text */
  .hero-copy::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: -26px; bottom: 0;
    background: linear-gradient(180deg, rgba(7,6,6,0), rgba(7,6,6,.74) 26px, rgba(7,6,6,.8));
  }
  .hero-title { margin-top: clamp(8px, 1.6vh, 14px); font-size: clamp(30px, min(9.6vw, 5vh), 40px); }
  .hero-lead { margin-top: clamp(8px, 1.4vh, 12px); font-size: clamp(13.5px, 1.85vh, 15px); line-height: 1.5; }
  .hero-actions { margin-top: clamp(12px, 2vh, 18px); gap: 8px; }
  .action-card { gap: 12px; padding: clamp(9px, 1.4vh, 12px) 12px clamp(9px, 1.4vh, 12px) 14px; }
  .action-text { gap: 2px; }
  .action-title { font-size: 15px; }
  .action-sub { font-size: 11.5px; }
  .action-icon { width: 34px; height: 34px; border-radius: 10px; }
  .hero-talk { margin-top: clamp(8px, 1.4vh, 12px); font-size: 12.5px; }
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(12px, 2.2vh, 20px); }
  .hero-stats div { padding: 9px 4px 0 0; }
  .hero-stats div + div, .hero-stats div:nth-child(3) { padding-left: 8px; border-left: 1px solid var(--line); }
  .hero-stats div:nth-child(n+3) { border-top: 0; margin-top: 0; }
  .hero-stats dt { font-size: clamp(17px, 5.2vw, 21px); }
  .hero-stats dd { margin-top: 4px; font-size: 10.5px; line-height: 1.3; }
  .hud-hero { bottom: 14px; }
  .corner.bl, .corner.br { bottom: 16px; }
}

/* =========================================================
   Inner pages
   ========================================================= */

/* nav dropdowns */
.nav-links > a, .nav-item > a { padding: 7px 14px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); transition: color .3s, background .3s; display: inline-flex; align-items: center; gap: 6px; }
.nav-links > a:hover, .nav-item > a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.07); }
.nav-item { position: relative; }
/* link out to the current mcbs-ems.com site, set apart from the page links */
.nav-links > a.nav-ext { position: relative; margin-left: 9px; color: var(--muted); }
.nav-links > a.nav-ext::before { content: ""; position: absolute; left: -6px; top: 25%; bottom: 25%; width: 1px; background: var(--line-2); }
.nav-links > a.nav-ext span { font-size: 11px; transition: transform .3s var(--ease); }
.nav-links > a.nav-ext:hover { color: var(--ink); }
.nav-links > a.nav-ext:hover span { transform: translate(2px, -2px); }
.has-menu > a::after { content: ""; width: 5px; height: 5px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.menu {
  position: absolute; top: calc(100% + 14px); left: -6px; min-width: 270px;
  display: grid; gap: 2px; padding: 8px;
  border-radius: 18px; border: 1px solid var(--line-2);
  background: rgba(14,12,11,.96); backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:hover .menu, .nav-item:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: grid; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--ink); transition: background .25s; }
.menu a:hover, .menu a[aria-current="page"] { background: rgba(255,255,255,.06); }
.menu small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--muted); margin-top: 2px; }
.menu-mega { grid-template-columns: 1.4fr 1fr; width: 640px; left: -160px; gap: 8px; }
.menu-col { display: grid; gap: 0; }
.menu-col a { display: flex; gap: 10px; align-items: baseline; padding: 8px 12px; }
.m-no { font-family: var(--mono); font-size: 10.5px; color: var(--red-hi); }
.menu-feature { align-content: end; gap: 10px !important; padding: 18px !important; border: 1px solid var(--line); background: radial-gradient(120% 120% at 100% 0%, rgba(168,50,50,.35), transparent 60%), var(--bg-2); }
.menu-feature b { font-weight: 400; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.menu-go { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); }

.text-link { display: inline-flex; margin-top: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); border-bottom: 1px solid rgba(224,72,74,.35); padding-bottom: 4px; transition: border-color .3s, color .3s; }
.text-link:hover { color: var(--ink); border-color: var(--ink); }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.machines .row-actions .btn { margin-top: 0; }
.footer { position: relative; z-index: 4; background: var(--bg); }

/* page hero */
.page-hero {
  position: relative; z-index: 2; overflow: hidden;
  min-height: 78vh; min-height: 78svh;
  display: flex; align-items: flex-end;
  padding: 150px var(--gutter) 90px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(7,6,6,.92) 0%, rgba(7,6,6,.6) 38%, rgba(7,6,6,0) 66%), linear-gradient(0deg, rgba(7,6,6,.8), transparent 35%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(45% 60% at 72% 45%, rgba(168,50,50,.2), transparent 70%); }
.page-hero #gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.page-hero .corner { z-index: 2; }
.page-hero-inner { position: relative; z-index: 2; max-width: 720px; }
.page-hero h1 { margin-top: 18px; font-size: clamp(38px, 5vw, 80px); font-weight: 300; line-height: 1; letter-spacing: -0.045em; }
.page-hero h1 em, .h-lg em { font-style: normal; color: var(--red-hi); text-shadow: 0 0 40px rgba(224,72,74,.4); }
.page-lead { margin-top: 22px; max-width: 580px; font-size: 17.5px; color: var(--ink-2); }
.page-hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero-actions svg { width: 17px; height: 17px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-style: normal; opacity: .4; }
.crumbs [aria-current] { color: var(--ink-2); }
.hud-page { position: absolute; right: var(--gutter); bottom: 26px; z-index: 2; display: flex; gap: 22px; }
.hud-page b { color: var(--ink-2); font-weight: 400; }
.hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-art .traces { opacity: .55; }
.traces.is-live path { transition-delay: .3s; }
.is-loaded .traces.is-live path { stroke-dashoffset: 0; }
.is-loaded .traces.is-live circle { opacity: 1; }
.traces.is-live path { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.6s var(--ease); }
.traces.is-live path:nth-child(2n) { transition-delay: .5s; }
.traces.is-live path:nth-child(3n) { transition-delay: .7s; }
.orbit-hero { right: -10vw; top: 6vh; width: 62vw; height: 62vw; opacity: .8; }

/* generic blocks */
.h-lg { margin-top: 18px; font-size: clamp(30px, 3.6vw, 56px); font-weight: 300; line-height: 1.04; letter-spacing: -0.04em; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.split-body { display: grid; gap: 18px; font-size: 17px; color: var(--ink-2); }
.split-body .text-link { margin-top: 6px; width: fit-content; }
blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--red-hi); font-size: 18px; color: var(--ink); line-height: 1.5; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(40px, 6vw, 70px) 0 0; border-top: 1px solid var(--line); }
.stat-row div { padding: 20px 20px 0 0; }
.stat-row div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stat-row dt { font-size: clamp(34px, 4vw, 60px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.stat-row dd { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.section > .stat-row:first-child { margin-top: 0; }
.vm-big { margin-top: 0; }
.vm-big p { font-size: 19px; color: var(--ink); line-height: 1.5; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); }
.num-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.num-list li { display: flex; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.num-list span { font-family: var(--mono); font-size: 11px; color: var(--red-hi); }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; perspective: 900px; }
.cards-4.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  display: grid; align-content: start; gap: 12px; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), border-color .4s, opacity 1s var(--ease);
}
.card:hover { border-color: rgba(224,72,74,.4); }
.card-no { font-family: var(--mono); font-size: 11px; color: var(--red-hi); }
.card h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.ticks li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 6px; border-left: 1.5px solid var(--red-hi); border-bottom: 1.5px solid var(--red-hi); transform: rotate(-45deg); }
.ticks.small li { font-size: 13.5px; padding: 8px 0 8px 24px; color: var(--ink-2); }
.ticks.small li::before { top: 1.05em; width: 10px; height: 5px; }
.ticks.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 40px; margin-top: 40px; }
.extras.big { gap: 10px; margin-top: 0; }
.extras.big .chip { font-size: 15px; padding: 12px 18px; display: inline-flex; gap: 10px; align-items: center; }
.extras.big .chip span { color: var(--red-hi); }

/* services */
.svc-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.svc-sticky { position: sticky; top: 100px; display: grid; gap: 18px; }
.toc { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); counter-reset: t; }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--muted); transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-color: var(--red-hi); }
.facts { margin: 0; display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts div { padding: 12px 14px; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 14.5px; }
.svc-main { display: grid; gap: clamp(50px, 6vw, 80px); max-width: 820px; }
.svc-sec { scroll-margin-top: 100px; }
.svc-no { font-family: var(--mono); font-size: 11px; color: var(--red-hi); }
.svc-sec h2 { margin: 10px 0 18px; font-size: clamp(26px, 2.8vw, 40px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.1; }
.svc-sec > p { font-size: 17px; color: var(--ink-2); margin-top: 14px; max-width: 72ch; }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.group { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.group h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); font-weight: 400; }
.group .ticks { margin-top: 8px; }
.group .ticks li { font-size: 14px; }
.group .ticks li:last-child { border-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.spec-table, .project-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td, .project-table th, .project-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th, .project-table thead th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; background: rgba(255,255,255,.02); }
.spec-table tbody th { font-weight: 400; color: var(--ink-2); }
.spec-table td { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.spec-table tbody tr:last-child > *, .project-table tbody tr:last-child > * { border-bottom: 0; }
.spec-table tbody tr:hover, .project-table tbody tr:hover { background: rgba(224,72,74,.05); }
.promo { display: grid; gap: 10px; padding: 30px; border-radius: 20px; border: 1px solid var(--line-2); background: radial-gradient(80% 140% at 100% 0%, rgba(168,50,50,.3), transparent 60%), var(--bg-2); transition: border-color .4s, transform .6s var(--ease); }
.promo:hover { border-color: rgba(224,72,74,.5); transform: translateY(-4px); }
.promo b { font-size: clamp(26px, 3vw, 40px); font-weight: 300; letter-spacing: -0.03em; }
.promo > span:not(.eyebrow) { color: var(--ink-2); }
.promo .promo-go { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); }

.related { border-top: 1px solid var(--line); padding-bottom: 60px; }
.related-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.related-head .text-link { margin-top: 0; }
.related-row { margin-top: 24px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; }
.rel-card { scroll-snap-align: start; display: grid; gap: 8px; align-content: start; min-height: 160px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); transition: border-color .3s, transform .5s var(--ease); }
.rel-card:hover { border-color: rgba(224,72,74,.5); transform: translateY(-4px); }
.rel-no { font-family: var(--mono); font-size: 11px; color: var(--red-hi); }
.rel-card b { font-weight: 400; font-size: 18px; letter-spacing: -0.02em; line-height: 1.2; }
.rel-card span:last-child { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: auto; }

.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; perspective: 1000px; }
.svc-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-card {
  position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; min-height: 300px; padding: 26px;
  border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(160deg, #191412, #0b0909);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), border-color .4s, opacity 1s var(--ease);
}
.svc-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px 260px at var(--gx, 50%) var(--gy, 0%), rgba(224,72,74,.18), transparent 65%); opacity: 0; transition: opacity .4s; }
.svc-card:hover { border-color: rgba(224,72,74,.5); }
.svc-card:hover::before { opacity: 1; }
.svc-card-no { font-family: var(--mono); font-size: 12px; color: var(--red-hi); }
.svc-card h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; }
.svc-card p { font-size: 14.5px; color: var(--ink-2); }
.svc-card-tags { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: auto; }
.svc-card-go { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); }
.hirel-strip { overflow: hidden; }
.hirel-strip .section-head, .hirel-strip .svc-cards { position: relative; z-index: 1; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps li { position: relative; display: grid; gap: 8px; padding: 22px 18px 0 0; }
.steps li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 12px var(--red-hi); }
.steps li + li::before { left: -4px; }
.steps span { font-family: var(--mono); font-size: 11px; color: var(--red-hi); }
.steps b { font-size: 24px; font-weight: 300; letter-spacing: -0.03em; }
.steps small { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }

/* infrastructure */
.machine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.machine-card { display: grid; grid-template-rows: auto 1fr; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: var(--bg-2); transition: border-color .4s; }
.machine-card:hover { border-color: rgba(224,72,74,.4); }
.machine-img { aspect-ratio: 4 / 3; background: radial-gradient(70% 70% at 50% 40%, #2a2321, #0f0d0c); display: grid; place-items: center; overflow: hidden; }
.machine-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .8s var(--ease); }
.machine-card:hover .machine-img img { transform: scale(1.05); }
.machine-body { padding: 20px; display: grid; gap: 8px; align-content: start; }
.machine-body h3 { font-size: 21px; font-weight: 400; letter-spacing: -0.02em; }
.machine-body .ticks { margin-top: 4px; }

/* galleries + lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery.masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery.slides { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-item { position: relative; display: block; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-3); aspect-ratio: 4 / 3; }
.gallery.docs .g-item { aspect-ratio: 3 / 4; background: #e9e5df; }
.gallery.slides .g-item { aspect-ratio: 16 / 9; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; filter: saturate(.85); }
.gallery.docs .g-item img { object-fit: contain; filter: none; }
.gallery.slides .g-item img { object-fit: contain; background: #fff; }
.g-item::after { content: "+"; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(7,6,6,.75); color: var(--ink); font-size: 18px; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease); }
.g-item:hover img { transform: scale(1.05); filter: none; }
.g-item:hover::after { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(4,3,3,.9); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.lightbox.is-open .lightbox-backdrop { opacity: 1; }
.lightbox-stage { position: relative; margin: 0; max-width: min(1200px, 92vw); max-height: 86vh; display: grid; gap: 10px; justify-items: center; opacity: 0; transform: scale(.96); transition: opacity .4s, transform .5s var(--ease); }
.lightbox.is-open .lightbox-stage { opacity: 1; transform: none; }
.lightbox-stage img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 10px; }
.lightbox-stage figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lightbox .icon-btn { position: absolute; background: rgba(20,17,16,.8); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; }
.lb-next { right: 20px; top: 50%; }
.lb-prev:hover, .lb-next:hover { transform: none; background: rgba(255,255,255,.12); }
.lb-prev svg, .lb-next svg { width: 18px; height: 18px; }
.lb-count { position: absolute; left: 24px; top: 30px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* about */
.industry-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.industry { position: relative; margin: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg-3); }
.industry img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.55) contrast(1.1); transition: filter .6s, transform .9s var(--ease); }
.industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,6,6,.85)); }
.industry figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-size: 15px; line-height: 1.2; }
.industry:hover img { filter: grayscale(0) brightness(.8); transform: scale(1.06); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 180px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--red-hi), var(--line)); }
.timeline li { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 22px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 176px; top: 30px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--red-hi); }
.tl-date { font-family: var(--mono); font-size: 13px; color: var(--copper); padding-top: 4px; }
.timeline h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.025em; }
.timeline p { color: var(--ink-2); margin-top: 4px; }

/* projects */
.event-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 30px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.event-card > div { display: grid; gap: 6px; padding: 20px 22px; }
.event-card > div + div { border-left: 1px solid var(--line); }
.event-card b { font-weight: 400; font-size: 18px; }
.project-tools { display: grid; gap: 14px; margin-bottom: 18px; }
.project-tools .search { max-width: 560px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chips button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); transition: all .3s var(--ease); }
.filter-chips button span { font-family: var(--mono); font-size: 10.5px; opacity: .6; margin-left: 4px; }
.filter-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filter-chips button:hover:not([aria-pressed="true"]) { border-color: var(--red-hi); }
.project-table td small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.project-table td b { font-weight: 500; letter-spacing: .01em; }
.pt-no { font-family: var(--mono); font-size: 12px; color: var(--red-hi); width: 60px; }
.pt-sub { font-family: var(--mono); font-size: 12px; color: var(--ink-2); max-width: 380px; word-break: break-word; }
.tag { display: inline-block; margin: 0 6px 6px 0; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; border: 1px solid rgba(197,138,75,.35); color: var(--copper); }
.project-table tr.is-hidden { display: none; }
.pt-empty { padding: 30px; text-align: center; color: var(--muted); }
.pt-count { margin-top: 12px; }

/* forms on pages */
.form-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.form-card { position: relative; padding: 28px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(170deg, #171312, #0b0909 60%); }
.page-form { display: grid; gap: 16px; }
.page-form .btn { justify-self: start; }
.dropzone.small { padding: 22px 16px; }
.dropzone.has-file { border-style: solid; border-color: rgba(111,208,138,.5); }
.form-ok { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 40px 10px; animation: fadeUp .6s var(--ease); }
.form-ok h3 { font-size: 24px; font-weight: 400; }
.roles { margin-top: 26px; display: grid; gap: 10px; }
.role { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.015); transition: border-color .3s, background .3s; }
.role b { font-weight: 400; font-size: 19px; letter-spacing: -0.02em; }
.role span { grid-column: 1; font-size: 14px; color: var(--muted); }
.role i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); }
.role:hover, .role.is-picked { border-color: rgba(224,72,74,.5); background: rgba(224,72,74,.05); }
.quick-actions { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick-actions .action-card { min-height: 130px; }
.cta-band { border-top: 1px solid var(--line); }
.page .cta { padding-top: clamp(80px, 10vw, 130px); padding-bottom: clamp(80px, 10vw, 130px); }

@media (max-width: 1100px) {
  .cards-4, .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .machine-grid, .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-sticky { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .svc-sticky .eyebrow, .svc-sticky .toc { grid-column: 1; }
  .svc-sticky .facts { grid-column: 2; grid-row: 1 / span 2; }
  .svc-sticky .btn { grid-column: 1 / -1; justify-self: start; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .page-hero { min-height: 0; padding-top: 120px; padding-bottom: 70px; }
  .page-hero.has-scene { padding-top: 50vh; }
  .page-hero.has-scene #gl { height: 52vh; bottom: auto; }
  .page-hero::before { background: linear-gradient(0deg, rgba(7,6,6,.95) 0%, rgba(7,6,6,.75) 45%, rgba(7,6,6,0) 75%); }
  .hud-page { display: none; }
  .split, .two-lists, .form-split, .cards-4, .cards-4.three, .svc-cards, .svc-cards.two, .machine-grid, .event-card, .quick-actions { grid-template-columns: 1fr; }
  .event-card > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .industry-grid, .gallery, .gallery.masonry, .gallery.slides { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat-row div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .ticks.cols-2, .groups { grid-template-columns: 1fr; }
  .svc-sticky { grid-template-columns: 1fr; }
  .svc-sticky .facts { grid-column: 1; grid-row: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(odd)::before { left: 0; }
  .timeline::before { left: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .timeline li::before { left: 0; }
  .project-table thead { display: none; }
  .project-table tr { display: grid; grid-template-columns: 50px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .project-table td { border: 0; padding: 4px 14px; }
  .project-table td:nth-child(n+3) { grid-column: 2; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; }
  .menu { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .w > span, [data-reveal] { transform: none !important; opacity: 1 !important; }
}
