/* ==========================================================
   ARSH ENGINEERING — "Drawing Sheet" design system
   Light theme · cobalt ink + magenta signal (from the logo)
   ========================================================== */

:root {
  /* paper & ink */
  --paper: #F1F3F4;
  --paper-2: #E6EAEC;
  --sheet: #FFFFFF;
  --ink: #0D1433;
  --ink-2: #2B3352;
  --muted: #5E667F;
  --faint: #8C93A8;

  /* brand */
  --cobalt: #2236B0;
  --cobalt-deep: #16247A;
  --cobalt-tint: #E7EAFB;
  --magenta: #D3175F;
  --magenta-tint: #FCE8F0;
  --steel: #A9B3BE;

  /* lines */
  --line: rgba(13, 20, 51, 0.10);
  --line-strong: rgba(13, 20, 51, 0.22);

  /* type */
  --f-display: "Lexend", "Segoe UI", sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* layout */
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 0 rgba(13,20,51,.04), 0 12px 32px -12px rgba(13,20,51,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--magenta); color: #fff; }

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

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.2; letter-spacing: -0.02em; }
h4 { letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.accent { color: var(--magenta); }
.cobalt { color: var(--cobalt); }
.outline-text { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cobalt); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--magenta); }
.eyebrow .num { color: var(--magenta); white-space: nowrap; }
.eyebrow::before { flex: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .75rem;
  padding: 1rem 1.5rem; border: 0; border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-mono); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--magenta); transform: translateX(-101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateX(0); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --fg: #fff; }
.btn--sm { padding: .7rem 1rem; font-size: .7rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  color: var(--cobalt); border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
  transition: color .25s, gap .25s;
}
.link-arrow:hover { color: var(--magenta); gap: .8rem; }

/* ---------- topbar + header ---------- */
.topbar {
  background: var(--ink); color: #C9CEE0;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
}
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding-top: .55rem; padding-bottom: .55rem; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 1.6rem; align-items: center; }
.topbar .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3BD68B; margin-right: .5rem; box-shadow: 0 0 0 3px rgba(59,214,139,.2); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 243, 244, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 8px 30px -18px rgba(13,20,51,.35); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 2rem; }

.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.03em; }
.brand-tag { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--magenta); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav > a, .nav .has-mega > a {
  position: relative; background: none; border: 0; padding: .6rem .85rem;
  font-family: var(--f-display); font-size: .9rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: .35rem;
}
.nav > a::after, .nav .has-mega > a::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px;
  background: var(--magenta); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav > a:hover::after, .nav > a.active::after,
.nav .has-mega:hover > a::after, .nav .has-mega > a.active::after { transform: scaleX(1); }
.nav > a.active, .nav .has-mega > a.active { color: var(--ink); }
.nav .chev { width: 10px; height: 10px; transition: transform .3s; }
.has-mega { position: relative; }
.has-mega:hover .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: min(760px, 90vw);
  background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: .6rem;
  opacity: 0; visibility: hidden; transition: all .28s var(--ease);
}
.mega::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega > a { display: grid; grid-template-columns: 36px 1fr; gap: .2rem .8rem; padding: .85rem .9rem; border-radius: 4px; transition: background .2s; }
.mega > a:hover { background: var(--paper); }
.mega .m-code { grid-row: span 2; font-family: var(--f-mono); font-size: .72rem; color: var(--magenta); padding-top: 3px; }
.mega .m-name { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); font-size: .95rem; }
.mega .m-desc { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.mega .m-foot { grid-column: 1 / -1; border-top: 1px dashed var(--line-strong); margin-top: .4rem; padding: .9rem .9rem .4rem; display: flex; justify-content: space-between; align-items: center; }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--ink); background: transparent; border-radius: var(--radius); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45; background: var(--paper);
  padding: 120px var(--gutter) 2rem; display: flex; flex-direction: column; gap: .2rem;
  transform: translateY(-100%); transition: transform .5s var(--ease); overflow-y: auto;
}
.nav-open .mobile-nav { transform: translateY(0); }
.mobile-nav a { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.025em; color: var(--ink); padding: .65rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.mobile-nav a small { font-family: var(--f-mono); font-size: .7rem; color: var(--magenta); font-weight: 400; }
.mobile-nav a.btn { margin-top: 1.5rem; justify-content: center; font-family: var(--f-mono); font-size: .8rem; font-weight: 600; color: #fff; border-bottom: 0; padding: 1.1rem 1.5rem; }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--sheet { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin: 0; }

/* drawing-sheet corner marks */
.corners { position: relative; }
.corners::before, .corners::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--cobalt); pointer-events: none;
}
.corners::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.corners::after { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- HERO ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: .3rem 0 1.6rem; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero h1 .line > span { display: inline-block; transform: translateY(120%); animation: rise .9s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.hero .lead { animation: fade .9s .45s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; animation: fade .9s .6s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-meta { display: flex; gap: 2.2rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px dashed var(--line-strong); animation: fade .9s .75s var(--ease) both; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { font-family: var(--f-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.hero-meta span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

.hero-visual { position: relative; animation: fade 1.1s .25s var(--ease) both; }
.hero-frame { position: relative; background: var(--sheet); padding: 12px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.hero-frame .img-wrap { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--paper-2); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: settle 2.2s var(--ease) forwards; filter: saturate(.9) contrast(1.05); }
@keyframes settle { to { transform: scale(1); } }
.hero-frame .img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,20,51,.55)); }
.hero-frame .caption { position: absolute; left: 28px; bottom: 26px; z-index: 2; color: #fff; }
.hero-frame .caption .mono { opacity: .8; }
.hero-frame .caption b { display: block; font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-top: .3rem; }

/* dimension lines */
.dim { position: absolute; font-family: var(--f-mono); font-size: .65rem; color: var(--cobalt); letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.dim--top { top: -30px; left: 12px; right: 12px; }
.dim--top::before, .dim--top::after { content: ""; flex: 1; height: 1px; background: var(--cobalt); }
.dim--top::before { background: linear-gradient(90deg, var(--cobalt) 0 1px, transparent 1px) , var(--cobalt); }
.dim-tick { position: absolute; width: 1px; height: 10px; background: var(--cobalt); top: -5px; }
.dim--top .dim-tick.l { left: 0; } .dim--top .dim-tick.r { right: 0; }
.dim--side { right: -36px; top: 12px; bottom: 12px; flex-direction: column; writing-mode: vertical-rl; }
.dim--side::before, .dim--side::after { content: ""; flex: 1; width: 1px; background: var(--cobalt); }
.dim--side .dim-tick { width: 10px; height: 1px; left: -5px; top: auto; }
.dim--side .dim-tick.t { top: 0; } .dim--side .dim-tick.b { bottom: 0; }

.hero-badge {
  position: absolute; left: -48px; bottom: 96px; z-index: 3;
  background: var(--sheet); border: 1px solid var(--line-strong); padding: 1rem 1.1rem; box-shadow: var(--shadow);
  display: flex; gap: .9rem; align-items: center; max-width: 230px;
  animation: float 6s ease-in-out infinite;
}
.hero-badge .ring { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--magenta); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; color: var(--magenta); font-size: .95rem; flex: none; }
.hero-badge b { display: block; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.hero-badge div span { display: block; font-size: .75rem; line-height: 1.4; color: var(--muted); margin-top: 2px; }
@keyframes float { 50% { transform: translateY(-8px); } }

.hero-drawing { position: absolute; right: -28px; bottom: -64px; width: 150px; z-index: 3; background: var(--sheet); border: 1px solid var(--line-strong); padding: 12px; box-shadow: var(--shadow); }
.hero-drawing svg { width: 100%; height: auto; }
.hero-drawing .mono { display: flex; justify-content: space-between; color: var(--muted); font-size: .58rem; margin-top: 6px; border-top: 1px solid var(--line); padding-top: 6px; }
.draw path, .draw line, .draw rect, .draw circle, .draw ellipse { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.6s .6s var(--ease) forwards; }
path.draw { animation: draw 2.4s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 3D stages ---------- */
.stage { position: relative; width: 100%; height: 100%; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; outline: none; }
.stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .6s; }
.stage-fallback img { width: 70%; height: 70%; object-fit: contain; mix-blend-mode: multiply; opacity: .9; }
.stage.is-live .stage-fallback { opacity: 0; pointer-events: none; }

.hero-3d { padding: 0; overflow: visible; }
.hero-3d .stage {
  aspect-ratio: 4 / 4.3; cursor: grab;
  background:
    radial-gradient(60% 55% at 50% 42%, #FFFFFF 0%, #EEF1F6 60%, #E2E7EF 100%);
}
.hero-3d .stage::after { /* horizon line, like a GA drawing ground line */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 13.5%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--steel) 0 10px, transparent 10px 16px); pointer-events: none;
}
.stage-hud { position: absolute; top: 16px; left: 18px; right: 18px; display: flex; justify-content: space-between; pointer-events: none; }
.stage-hud .mono { font-size: .62rem; color: var(--muted); display: inline-flex; align-items: center; gap: .5rem; }
.stage-hud .live { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 0 rgba(211,23,95,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(211,23,95,0); } 100% { box-shadow: 0 0 0 0 rgba(211,23,95,0); } }
.stage-title { position: absolute; left: 20px; top: 42px; pointer-events: none; }
.stage-title .mono { color: var(--magenta); font-size: .64rem; }
.stage-title b { display: block; font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1; margin-top: .25rem; }

.hero-photo { position: absolute; right: -34px; bottom: -58px; width: 210px; margin: 0; z-index: 3; background: var(--sheet); padding: 8px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); transform: rotate(2deg); transition: transform .5s var(--ease); }
.hero-photo:hover { transform: rotate(0) scale(1.04); }
.hero-photo img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-photo figcaption { display: flex; justify-content: space-between; font-size: .58rem; color: var(--muted); padding-top: 6px; }

/* exploded view */
.explode { height: 340vh; position: relative; background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.explode-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.explode-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: center; height: 100%; padding-top: 90px; padding-bottom: 24px; }
.explode-steps { list-style: none; padding: 0; margin: 2rem 0 1.6rem; display: grid; gap: .2rem; }
.explode-steps li { display: grid; grid-template-columns: 52px 1fr; gap: .8rem; padding: .9rem 0 .9rem .9rem; border-left: 2px solid var(--line); opacity: .38; transition: opacity .45s, border-color .45s, transform .45s var(--ease); }
.explode-steps li.active { opacity: 1; border-color: var(--magenta); transform: translateX(6px); }
.explode-steps .mono { color: var(--magenta); padding-top: 4px; }
.explode-steps b { color: var(--ink); font-size: 1.05rem; }
.explode-steps p { margin: .2rem 0 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.explode-progress { height: 2px; background: var(--line); overflow: hidden; }
.explode-progress span { display: block; height: 100%; background: var(--magenta); transform-origin: left; transform: scaleX(0); }
.explode-stage-wrap { position: relative; height: min(78vh, 760px); }
.explode-stage-wrap .stage { background: radial-gradient(50% 50% at 50% 50%, #EEF1F6 0%, rgba(238,241,246,.5) 45%, rgba(255,255,255,0) 72%); }
.explode-scale { position: absolute; right: 0; bottom: 0; color: var(--faint); font-size: .62rem; }
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; will-change: transform, opacity;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  display: flex; align-items: center; }
.callout i { order: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 4px rgba(211,23,95,.18); margin: -4.5px 0 0 -4.5px; flex: none; }
.callout::before { content: ""; order: 1; width: 34px; height: 1px; background: var(--ink); margin: -4.5px 8px 0 4px; flex: none; }
.callout span { order: 2; margin-top: -4.5px; background: rgba(255,255,255,.88); padding: .3rem .55rem; border: 1px solid var(--line-strong); }

/* 3D tilt on cards */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt-glare { position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.55), transparent 55%); mix-blend-mode: soft-light; }
.tilt:hover .tilt-glare { opacity: 1; }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: var(--sheet); overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.marquee-item .x { color: var(--magenta); font-size: .8em; }
.marquee-item:nth-child(even) span:first-child { -webkit-text-stroke: 1.2px var(--ink); color: transparent; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-strong); background: var(--sheet); }
.stat { padding: 2.2rem 1.8rem; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat .mono { color: var(--magenta); }
.stat b { display: block; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.04em; font-size: clamp(2.2rem, 3.6vw, 3.2rem); color: var(--ink); line-height: 1; margin: .7rem 0 .4rem; }
.stat b sup { font-size: .45em; color: var(--cobalt); vertical-align: top; margin-left: 2px; }
.stat p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.cat-card { position: relative; background: var(--sheet); padding: 1.6rem 1.5rem 1.5rem; min-height: 340px; display: flex; flex-direction: column; overflow: hidden; transition: background .35s; }
.cat-card .code { font-family: var(--f-mono); font-size: .72rem; color: var(--magenta); display: flex; justify-content: space-between; }
.cat-card .code span:last-child { color: var(--faint); }
.cat-card .thumb { flex: none; height: 200px; margin: 1.2rem -1.5rem; position: relative; overflow: hidden; }
.cat-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .9; transition: transform .7s var(--ease), filter .5s; }
.cat-card .thumb::after { content: ""; position: absolute; inset: 0; background: var(--cobalt); mix-blend-mode: screen; opacity: .35; transition: opacity .5s; }
.cat-card:hover .thumb img { transform: scale(1.06); filter: grayscale(0); }
.cat-card:hover .thumb::after { opacity: 0; }
.cat-card h3 { margin-bottom: .5rem; }
.cat-card p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }
.cat-card .go { position: absolute; right: 1.2rem; bottom: 1.2rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--ink); transition: all .35s var(--ease); background: var(--sheet); }
.cat-card:hover .go { background: var(--magenta); border-color: var(--magenta); color: #fff; transform: rotate(-45deg); }
.cat-card .thumb.blueprint { background: var(--cobalt-tint); display: grid; place-items: center; }
.cat-card .thumb.blueprint::after { display: none; }
.cat-card .thumb.blueprint svg { width: 60%; max-height: 80%; }
.cat-card .body { padding-right: 46px; }

/* ---------- featured product rail ---------- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem; scrollbar-width: thin; scrollbar-color: var(--cobalt) transparent; }
.rail::-webkit-scrollbar { height: 4px; } .rail::-webkit-scrollbar-thumb { background: var(--cobalt); }
.rail-ctrl { display: flex; gap: .6rem; }
.rail-ctrl button { width: 48px; height: 48px; border: 1.5px solid var(--ink); background: transparent; border-radius: 50%; display: grid; place-items: center; transition: .3s; }
.rail-ctrl button:hover { background: var(--ink); color: #fff; }

.p-card { position: relative; scroll-snap-align: start; background: var(--sheet); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.p-card .p-img { position: relative; aspect-ratio: 1 / .85; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.p-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.p-card:hover .p-img img { transform: scale(1.06); }
.p-card .p-tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: .35rem .6rem; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border-left: 2px solid var(--magenta); }
.p-card .p-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.p-card h3 { font-size: 1.2rem; }
.p-card .p-feats { display: flex; flex-wrap: wrap; gap: .35rem; margin: .2rem 0 .6rem; }
.chip { font-size: .72rem; padding: .25rem .6rem; border-radius: 99px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip--cobalt { background: var(--cobalt-tint); color: var(--cobalt-deep); border-color: transparent; }
.p-card .p-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: .9rem; border-top: 1px dashed var(--line-strong); }
.p-card .p-foot .mono { color: var(--faint); font-size: .65rem; }

.p-img.blueprint { background: var(--cobalt-tint); display: grid; place-items: center; }
.p-img.blueprint svg { width: 46%; }

/* ---------- capability split ---------- */
.cap { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cap-visual { position: relative; }
.cap-visual .main { aspect-ratio: 4/5; object-fit: cover; width: 100%; border: 1px solid var(--line-strong); padding: 10px; background: var(--sheet); }
.cap-visual .inset { position: absolute; width: 48%; right: -24px; bottom: -32px; border: 10px solid var(--sheet); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.cap-visual .label { position: absolute; left: -12px; top: 28px; background: var(--magenta); color: #fff; padding: .55rem .9rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.spec-list { list-style: none; padding: 0; margin: 2rem 0 2.2rem; border-top: 1px solid var(--line-strong); }
.spec-list li { display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.spec-list .mono { color: var(--magenta); }
.spec-list b { color: var(--ink); font-weight: 700; }
.spec-list .val { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--cobalt); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 0; border-top: 1.5px dashed var(--steel); }
.step { position: relative; padding-right: 1.4rem; }
.step .node { width: 56px; height: 56px; border-radius: 50%; background: var(--sheet); border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--f-mono); font-size: .8rem; font-weight: 600; color: var(--ink); position: relative; z-index: 1; transition: .4s var(--ease); }
.step:hover .node { background: var(--magenta); border-color: var(--magenta); color: #fff; transform: scale(1.08); }
.step h4 { font-size: 1.1rem; margin: 1.3rem 0 .5rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ind { position: relative; padding: 1.8rem; background: var(--sheet); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.ind::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--magenta); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.ind:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.ind:hover::before { transform: scaleY(1); }
.ind .mono { color: var(--faint); }
.ind h3 { margin: .8rem 0 .5rem; }
.ind p { font-size: .92rem; color: var(--muted); margin: 0; }
.ind .ico { position: absolute; right: 1.4rem; top: 1.4rem; width: 40px; height: 40px; color: var(--cobalt); opacity: .9; }

/* ---------- cobalt band (CTA) ---------- */
.band {
  position: relative; color: #DCE1FF; overflow: hidden;
  background: radial-gradient(120% 140% at 85% 50%, #2D43C9 0%, var(--cobalt) 45%, var(--cobalt-deep) 100%);
}
.band h2 { color: #fff; }
.band .eyebrow { color: #fff; }
.band .lead { color: #C3CBFA; }
.band-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); position: relative; z-index: 1; }
.band-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.band-actions .phone { font-family: var(--f-display); font-size: 1.8rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.band-actions .phone small { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; color: #AEB8F5; margin-bottom: .4rem; font-weight: 400; }
.band-svg { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 520px; opacity: .14; pointer-events: none; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line-strong); position: relative; overflow: hidden; }
.crumbs { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--magenta); }
.crumbs span.sep { color: var(--faint); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 16ch; }
.page-hero .lead { margin-top: 1.5rem; }
.page-hero .sheet-no { position: absolute; right: var(--gutter); bottom: 1.4rem; font-family: var(--f-mono); font-size: .66rem; color: var(--faint); letter-spacing: .1em; text-transform: uppercase; text-align: right; }
.page-hero .big-num { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); font-family: var(--f-display); font-weight: 800; font-size: clamp(7rem, 18vw, 15rem); line-height: .8; letter-spacing: -0.05em; -webkit-text-stroke: 1.5px rgba(34,54,176,.14); color: transparent; pointer-events: none; user-select: none; }

/* ---------- product listing ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.4rem; position: sticky; top: 90px; z-index: 5; padding: .8rem; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.filter { border: 1px solid var(--line-strong); background: var(--sheet); padding: .55rem 1rem; border-radius: 99px; font-size: .85rem; font-weight: 600; color: var(--ink-2); transition: .25s; display: inline-flex; gap: .45rem; align-items: center; }
.filter small { font-family: var(--f-mono); font-size: .65rem; color: var(--faint); }
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter.active small { color: var(--magenta); }
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.p-grid .p-card { animation: fade .5s var(--ease) both; }
.cat-block { margin-bottom: 4.5rem; }
.cat-block-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-bottom: 1.2rem; margin-bottom: 1.8rem; border-bottom: 2px solid var(--ink); }
.cat-block-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cat-block-head p { max-width: 46ch; margin: 0; color: var(--muted); font-size: .95rem; }
.cat-block-head .mono { color: var(--magenta); display: block; margin-bottom: .5rem; }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.pd-gallery { position: sticky; top: 110px; }
.pd-main { background: var(--sheet); border: 1px solid var(--line-strong); padding: 12px; position: relative; }
.pd-main .img { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pd-main .img:hover img { transform: scale(1.04); }
.pd-main .ref { position: absolute; top: 24px; right: 24px; background: var(--ink); color: #fff; padding: .4rem .7rem; font-family: var(--f-mono); font-size: .65rem; letter-spacing: .1em; }
.pd-info h1 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); margin: .2rem 0 1.4rem; }
.pd-info .desc { font-size: 1.08rem; color: var(--ink-2); }
.pd-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: .93rem; }
.pd-table th, .pd-table td { text-align: left; padding: .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd-table th { width: 38%; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-right: 1rem; }
.pd-table td { color: var(--ink); font-weight: 500; }
.feat-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.feat-list li { display: flex; gap: .7rem; align-items: center; padding: .9rem 1rem; background: var(--sheet); border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .92rem; }
.feat-list li::before { content: ""; width: 8px; height: 8px; background: var(--magenta); transform: rotate(45deg); flex: none; }
.pd-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }
.pd-note { margin-top: 1.8rem; padding: 1rem 1.2rem; border-left: 3px solid var(--cobalt); background: var(--cobalt-tint); font-size: .9rem; color: var(--cobalt-deep); }

/* ---------- about / timeline / values ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose p { font-size: 1.05rem; }
.prose p:first-of-type::first-letter { font-family: var(--f-display); font-weight: 700; float: left; font-size: 4rem; line-height: .82; margin: .3rem .6rem 0 0; color: var(--magenta); }
.factsheet { background: var(--sheet); border: 1px solid var(--line-strong); }
.factsheet .fs-head { display: flex; justify-content: space-between; padding: .9rem 1.2rem; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.factsheet dl { margin: 0; display: grid; grid-template-columns: 1fr 1.2fr; }
.factsheet dt, .factsheet dd { margin: 0; padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); }
.factsheet dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); }
.factsheet dd { font-weight: 600; color: var(--ink); font-size: .95rem; }
.factsheet dl > :nth-last-child(-n+2) { border-bottom: 0; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.value { background: var(--sheet); padding: 2rem 1.6rem; transition: background .3s; }
.value:hover { background: var(--paper); }
.value .mono { color: var(--magenta); }
.value h4 { font-size: 1.1rem; margin: 1rem 0 .5rem; }
.value p { font-size: .9rem; color: var(--muted); margin: 0; }

.team-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.team-tags span { padding: .6rem 1rem; border: 1.5px solid var(--ink); font-weight: 700; color: var(--ink); font-size: .9rem; transition: .25s; }
.team-tags span:hover { background: var(--ink); color: #fff; }

/* ---------- machinery table ---------- */
.machine-table { border: 1px solid var(--line-strong); background: var(--sheet); }
.machine-row { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); align-items: center; transition: background .25s; }
.machine-row:last-child { border-bottom: 0; }
.machine-row:hover { background: var(--paper); }
.machine-row .mono { color: var(--magenta); }
.machine-row b { color: var(--ink); font-size: 1.02rem; }
.machine-row span { color: var(--muted); font-size: .92rem; }
.machine-row.head { background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding-top: .8rem; padding-bottom: .8rem; }
.machine-row.head:hover { background: var(--ink); }

.tests { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.test { aspect-ratio: 1; border: 1px solid var(--line-strong); background: var(--sheet); display: flex; flex-direction: column; justify-content: space-between; padding: 1.3rem; position: relative; overflow: hidden; transition: .4s var(--ease); }
.test:hover { background: var(--ink); color: #fff; }
.test:hover h4 { color: #fff; }
.test .mono { color: var(--magenta); }
.test h4 { font-size: 1.15rem; transition: color .3s; }
.test svg { position: absolute; right: -14px; bottom: -14px; width: 90px; opacity: .1; }

.gauge { display: flex; align-items: center; gap: 2rem; padding: 2rem; background: var(--sheet); border: 1px solid var(--line-strong); }
.gauge svg { width: 160px; flex: none; }
.gauge b { font-family: var(--f-display); font-size: 3.4rem; color: var(--ink); line-height: 1; font-weight: 700; letter-spacing: -0.04em; }

/* ---------- gallery ---------- */
.masonry { columns: 3 300px; column-gap: 1.25rem; }
.m-item { break-inside: avoid; margin-bottom: 1.25rem; position: relative; background: var(--sheet); padding: 8px; border: 1px solid var(--line); cursor: zoom-in; overflow: hidden; transition: box-shadow .35s; }
.m-item:hover { box-shadow: var(--shadow); }
.m-item img { width: 100%; transition: transform .7s var(--ease); }
.m-item:hover img { transform: scale(1.04); }
.m-item .m-cap { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 2.4rem 1rem .9rem; background: linear-gradient(transparent, rgba(13,20,51,.85)); color: #fff; transform: translateY(100%); transition: transform .4s var(--ease); }
.m-item:hover .m-cap { transform: none; }
.m-item .m-cap b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; line-height: 1.15; letter-spacing: -0.02em; }
.m-item .m-cap .mono { opacity: .75; font-size: .62rem; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(241,243,244,.96); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 5vw; opacity: 0; visibility: hidden; transition: .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: 76vh; width: auto; border: 10px solid #fff; box-shadow: var(--shadow); }
.lightbox figcaption { margin-top: 1rem; display: flex; gap: 1rem; align-items: baseline; }
.lightbox figcaption b { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; font-size: 1.4rem; color: var(--ink); }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--sheet); display: grid; place-items: center; transition: .25s; }
.lb-btn:hover { background: var(--ink); color: #fff; }
.lb-close { top: 24px; right: 24px; } .lb-prev { left: 24px; top: 50%; } .lb-next { right: 24px; top: 50%; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.c-cards { display: grid; gap: 1rem; }
.c-card { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.4rem; background: var(--sheet); border: 1px solid var(--line); align-items: start; transition: border-color .3s; }
.c-card:hover { border-color: var(--ink); }
.c-card .ic { width: 52px; height: 52px; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt); }
.c-card .mono { color: var(--muted); }
.c-card b { display: block; color: var(--ink); font-size: 1.1rem; margin-top: .2rem; }
.c-card span { color: var(--muted); font-size: .9rem; }

.form { background: var(--sheet); border: 1px solid var(--line-strong); padding: clamp(24px, 4vw, 44px); position: relative; }
.form-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1.8rem; gap: 1rem; flex-wrap: wrap; }
.form-head h3 { font-size: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { position: relative; margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.field label i { color: var(--magenta); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; background: var(--paper); border: 1px solid transparent; border-bottom: 1.5px solid var(--line-strong); border-radius: 2px;
  transition: border-color .25s, background .25s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230D1433' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--sheet); border-color: var(--line); border-bottom-color: var(--magenta); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: #C8102E; }
.field .err { display: none; font-size: .78rem; color: #C8102E; margin-top: .35rem; }
.field.invalid .err { display: block; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .6rem; }
.form-foot small { color: var(--muted); font-size: .8rem; max-width: 34ch; }
.form-success { display: none; text-align: center; padding: 3rem 1rem; }
.form.done .form-success { display: block; }
.form.done form { display: none; }
.form-success .tick { width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--magenta-tint); color: var(--magenta); display: grid; place-items: center; }

.map-frame { margin-top: 1rem; border: 1px solid var(--line-strong); background: var(--sheet); padding: 8px; }
.map-frame iframe { width: 100%; height: 260px; border: 0; filter: grayscale(1) contrast(1.05); display: block; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; border: 1.5px solid var(--ink); border-radius: 50%; position: relative; flex: none; transition: .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 1.5px; background: currentColor; transition: transform .3s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq details p { color: var(--muted); padding-bottom: 1.4rem; margin: 0; max-width: 70ch; }

/* ---------- footer (title block) ---------- */
.footer { background: var(--sheet); border-top: 2px solid var(--ink); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 72px 0 56px; }
.footer .f-h { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); margin: 0 0 1.2rem; font-weight: 500; line-height: 1.4; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer ul a { color: var(--ink-2); font-size: .95rem; transition: color .2s, padding .25s; }
.footer ul a:hover { color: var(--magenta); padding-left: 4px; }
.footer .f-about p { color: var(--muted); font-size: .93rem; max-width: 34ch; margin-top: 1.2rem; }
.footer address { font-style: normal; color: var(--ink-2); font-size: .95rem; line-height: 1.7; }
.footer address a:hover { color: var(--magenta); }
.title-block { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; border: 1px solid var(--ink); margin-bottom: 28px; }
.title-block > div { padding: .7rem 1rem; border-right: 1px solid var(--ink); }
.title-block > div:last-child { border-right: 0; }
.title-block .mono { display: block; color: var(--faint); font-size: .58rem; }
.title-block b { font-family: var(--f-mono); font-size: .78rem; color: var(--ink); font-weight: 600; letter-spacing: .04em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 28px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }

/* ---------- floating actions ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: .6rem; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.fab a:hover { transform: scale(1.08); }
.fab .call { background: var(--magenta); color: #fff; }
.fab .top { background: var(--sheet); color: var(--ink); border: 1px solid var(--line-strong); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.fab .top.show { opacity: 1; pointer-events: auto; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }

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

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .tests { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .explode { height: 300vh; }
  .explode-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 84px; gap: 0; }
  .explode-copy h2 { font-size: 2rem; }
  .explode-copy .eyebrow { margin-bottom: .5rem; }
  .explode-steps { margin: .8rem 0 .6rem; }
  .explode-steps li { display: none; padding: .4rem 0 .4rem .8rem; }
  .explode-steps li.active { display: grid; transform: none; }
  .explode-stage-wrap { height: 100%; min-height: 0; }
  .hero-grid, .cap, .two-col, .pd, .contact-grid, .band-inner, .section-head { grid-template-columns: 1fr; }
  .hero-visual { margin: 30px 30px 60px 10px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 1.5px dashed var(--steel); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 1.2rem; }
  .step h4 { margin-top: .6rem; }
  .step p { grid-column: 2; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .pd-gallery { position: static; }
  .cap-visual { margin-right: 24px; margin-bottom: 32px; }
  .title-block { grid-template-columns: 1fr 1fr; }
  .title-block > div { border-bottom: 1px solid var(--ink); }
  .topbar .tb-left { display: none; }
  .page-hero .big-num { opacity: .6; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cat-grid, .p-grid, .ind-grid, .values, .form-row, .feat-list { grid-template-columns: 1fr; }
  .tests { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-badge { left: -8px; bottom: 70px; }
  .hero-drawing { display: none; }
  .hero-photo { width: 130px; right: -18px; bottom: -40px; }
  .stage-hud .mono:last-child { display: none; }
  .callout { font-size: .56rem; }
  .callout::before { width: 18px; }
  .hero-visual { margin: 30px 26px 30px 0; }
  .hero-badge { max-width: 200px; padding: .7rem .8rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 1.6rem 1.4rem; }
  .stat:last-child { border-bottom: 0; }
  .dim--side { right: -26px; }
  .machine-row { grid-template-columns: 44px 1fr; }
  .machine-row span { grid-column: 2; }
  .machine-row.head span:last-child { display: none; }
  .filters { position: static; }
  .gauge { flex-direction: column; text-align: center; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; }
  .topbar .tb-right a:not(:first-child) { display: none; }
  .brand-name { font-size: 1.3rem; }
}

/* ---------- SEO / static-render additions ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow a { color: inherit; border-bottom: 1px solid currentColor; }
.eyebrow a:hover { color: var(--magenta); }
.cat-block[hidden] { display: none; }
.cat-block-head h2 a { transition: color .2s; }
.cat-block-head h2 a:hover { color: var(--magenta); }
.cat-block-head p .link-arrow { margin-top: .6rem; }
.pd-sub { color: var(--muted); margin: -.6rem 0 1.4rem; }
.pd-h { font-size: 1.15rem; margin-top: 2rem; }
.pd-table a, .m-cap a { color: inherit; }
.pd-table a:hover { color: var(--magenta); }
.faq .eyebrow { margin-bottom: .4rem; }
.prose p.eyebrow { font-size: .72rem; }
.prose p.eyebrow::first-letter { all: unset; }
