/* ============================================================
   E-SHION Machinery — Global Styles
   Direction A: Business-stable engineering
   Tokens: navy ink + engineering orange (signal only)
   ============================================================ */

:root {
  /* Color tokens */
  --ink: #10233D;        /* primary navy */
  --navy: #14325C;       /* mid navy */
  --navy-deep: #0B1B31;  /* darkest navy (footer) */
  --paper: #F5F7FA;      /* page background */
  --orange: #F26522;     /* engineering orange — CTA signal ONLY */
  --orange-deep: #E85F1D;/* orange hover (≥4.5:1 with ink text) */
  --slate: #5A6B80;      /* secondary text */
  --slate-soft: #64748B; /* tertiary text (≥4.5:1 on white) */
  --line: #DCE3EC;       /* hairline borders */
  --line-soft: #E9EEF4;  /* card inner borders */
  --white: #FFFFFF;
  --card: #FFFFFF;

  /* Typography */
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", "SF Mono", monospace;

  /* Spacing rhythm */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  /* Shape & motion */
  --radius: 6px;
  --radius-lg: 10px;
  --radius-btn: 4px;      /* engineering: sharper buttons */
  --grid-line: rgba(16,35,61,.05); /* blueprint grid ink */
  --grid-line-dark: rgba(255,255,255,.05);
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-sm: 0 1px 2px rgba(16,35,61,.06), 0 1px 3px rgba(16,35,61,.08);
  --shadow-md: 0 4px 12px rgba(16,35,61,.08), 0 2px 4px rgba(16,35,61,.06);
  --shadow-lg: 0 12px 32px rgba(16,35,61,.14);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-tap-highlight-color: rgba(16,35,61,.1);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
}

/* Skip link */
.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  font-size: .92rem;
  transition: top .18s var(--ease);
}
.skip-link:focus-visible { top: 0; color: #fff; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }
a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}
/* In-content links must be distinguishable (WIG) */
main :not(nav) a:not([class]) {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
main :not(nav) a:not([class]):hover { color: var(--ink); }

ul[class], ol[class] { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; }

p { text-wrap: pretty; }
.lede { font-size: 1.2rem; line-height: 1.7; color: var(--slate); max-width: 65ch; }

.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ---------- Layout ---------- */
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container-wide { width: min(1360px, 100% - 48px); margin-inline: auto; }

.section { padding-block: var(--space-7); }
.section-tight { padding-block: var(--space-6); }

.section-head { margin-bottom: var(--space-5); }
.section-head h2 { margin-top: 12px; }
/* CAD drawn line fading out under section titles */
.section-head h2::after {
  content: "";
  display: block;
  width: 72px; height: 2px;
  margin-top: 12px;
  background: var(--slate);
}
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.section-head .eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--slate);
}
.section-head.split {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: var(--space-3);
}
.section-head.split > :last-child { max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.btn-primary {
  /* machined chamfers: 45° cuts on two opposite corners (W&H-style) */
  background:
    linear-gradient(135deg, transparent 12px, var(--orange) 0) top right / 64% 64% no-repeat,
    linear-gradient(315deg, transparent 12px, var(--orange) 0) bottom left / 64% 64% no-repeat,
    linear-gradient(180deg, #F97A3B 0%, var(--orange) 55%, #E85F1D 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 4px 8px rgba(230,93,0,.28);
}
.btn-primary:hover { background-color: var(--orange-deep); color: var(--ink); transform: translateY(-1px); }

.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--navy); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--navy); transform: translateY(-1px); }

.btn-whatsapp { background: #075E54; color: #fff; }
.btn-whatsapp:hover { background: #0A6B5E; color: #fff; }

.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

/* ---------- Header ---------- */
/* top utility strip: contact & origin facts (Macchi/Alpine-style two-tier header) */
.topbar {
  background: linear-gradient(90deg, #0A1118 0%, #101C29 100%);
  color: #9FB3CC;
  font-family: var(--font-mono);
  font-size: .66rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px 24px; padding-block: 7px; flex-wrap: wrap;
}
.topbar a { color: #C6D2E2; }
.topbar a:hover { color: #fff; }
.topbar .tb-sep { color: #5A6B80; margin-inline: 8px; }
@media (max-width: 860px) {
  .topbar .tb-addr { display: none; }
  .topbar { font-size: .6rem; letter-spacing: .06em; }
}
@media (max-width: 420px) {
  .topbar .tb-mail { display: none; }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
/* signature: calibration ticks (short/long alternating) along the header's bottom edge */
.site-header::after {
  content: "";
  position: absolute; inset-inline: 0; bottom: -3px; height: 4px;
  background-image:
    repeating-linear-gradient(90deg, var(--slate) 0 2px, transparent 2px 48px),
    repeating-linear-gradient(90deg, transparent 0 24px, var(--slate) 24px 26px, transparent 26px 48px);
  background-size: 100% 2px, 100% 4px;
  background-position: 0 100%, 0 100%;
  background-repeat: repeat-x, repeat-x;
  opacity: .5;
  pointer-events: none;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; gap: var(--space-3);
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 0;
  background: var(--ink);
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  flex: none;
  position: relative;
}
.brand-mark .lamp {
  width: 11px; height: 11px; border-radius: 0;
  background: var(--orange);
  box-shadow: none;
}
/* crosshair ticks inside the brand plate corners */
.brand-mark::before,
.brand-mark::after {
  content: "+";
  position: absolute; font-family: var(--font-mono);
  font-size: .6rem; line-height: 1; color: var(--slate);
}
.brand-mark::before { top: 1px; inset-inline-start: 2px; }
.brand-mark::after { bottom: 1px; inset-inline-end: 2px; }
.brand-text { line-height: 1.05; }
.brand-name {
  font-size: 1.22rem; font-weight: 800; letter-spacing: .08em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: .64rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--slate);
}

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.main-nav > ul > li { display: flex; }
.main-nav a {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px;
  font-size: .93rem; font-weight: 500;
  letter-spacing: .01em; text-transform: none;
  color: var(--ink);
}
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 13px; bottom: 6px; height: 2px;
  background: var(--navy);
  transform: scaleX(0); transform-origin: left;
  transition: transform .18s var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.main-nav a[aria-current="page"]::after { transform: none; height: 3px; background: var(--orange); }
.main-nav .has-drop { position: relative; }
.main-nav .drop {
  position: absolute; top: 100%; inset-inline-start: 0;
  min-width: 256px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0; visibility: hidden;
  transform: translateY(4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.main-nav .has-drop:hover .drop,
.main-nav .has-drop:focus-within .drop {
  opacity: 1; visibility: visible; transform: none;
}
.main-nav .drop a {
  display: block; padding: 10px 12px;
  font-size: .88rem; font-weight: 500;
  letter-spacing: .01em; text-transform: none;
  border-radius: 2px;
}
.main-nav .drop a::after { display: none; }
.main-nav .drop a:hover { background: var(--paper); color: var(--navy); }
.main-nav .drop a small {
  display: block; font-family: var(--font-mono);
  font-size: .72rem; color: var(--slate-soft); font-weight: 400;
}

.header-cta { display: inline-flex; align-items: center; gap: 10px; margin-inline-start: 6px; }
.header-cta .btn {
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius-btn);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 1px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: #fff; overflow: hidden; position: relative;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: var(--space-6); align-items: center;
  padding-block: var(--space-5);
}
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.025em; }
.hero .hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .16em;
  text-transform: uppercase; color: #9FB3CC; margin-bottom: 20px;
}
.hero .hero-kicker::before { content: ""; width: 28px; height: 2px; background: #9FB3CC; flex: none; }
.hero p.lede { color: #C6D2E2; margin-top: 20px; font-size: 1.2rem; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: var(--space-4);
}
.hero-stats--4 { grid-template-columns: repeat(4, 1fr); }
.hero-stats .stat .num {
  font-family: var(--font-mono);
  font-size: 2.2rem; font-weight: 500; color: #fff; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stats .stat .lbl {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: #9FB3CC; margin-top: 8px;
}
.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.35);
  background: #fff;
  padding: 10px;
}
.hero-visual .frame::before,
.hero-visual .frame::after {
  content: "+";
  position: absolute; z-index: 2;
  font-family: var(--font-mono);
  font-size: 1.05rem; line-height: 1;
  color: var(--slate);
}
.hero-visual .frame::before { top: -9px; inset-inline-start: -9px; }
.hero-visual .frame::after { bottom: -9px; inset-inline-end: -9px; }
.hero-visual img { width: 100%; object-fit: cover; display: block; }

/* CAD dimension line */
.cad-dim {
  display: block;
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500; letter-spacing: .1em;
  color: var(--slate);
  margin-top: 10px;
}
.cad-dim svg { width: 100%; height: 34px; overflow: visible; }

/* ---------- Cards & grids ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--navy); }
.card-body { display: block; padding: var(--space-3); }
.card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card-body p { font-size: .92rem; line-height: 1.6; color: var(--slate); }
.card-body p:not(:last-child) { margin-bottom: 16px; }
/* card-internal label (01 · Blown Film Lines) */
.card-body .eyebrow { display: block; font-size: .75rem; letter-spacing: .1em; margin-bottom: 12px; }
.card-body h3.card-h3 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 12px; }
.card-media { aspect-ratio: 4/3; background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
/* applications index: 16:9 photo cards — full image, no side crop */
.card-media--16x9 { aspect-ratio: 16 / 9; }
.card-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--slate);
  border-top: 1px solid var(--line-soft);
  margin-top: 14px; padding-top: 14px;
}
.card-meta span { white-space: nowrap; }
.card-meta span + span::before { content: "|"; color: #C9D4E2; margin-inline-end: 8px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }

/* ---------- Product catalogue card (pcard) ---------- */
.pcard { display: flex; flex-direction: column; }
.pcard-media { position: relative; display: block; border-bottom: 1px solid var(--line-soft); aspect-ratio: 1/1; }
.pcard-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pcard-model {
  position: absolute; inset-block-start: 10px; inset-inline-start: 10px;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: rgba(255,255,255,.94);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 4px 8px; line-height: 1;
}
.pcard-body { display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 1.1rem; margin-bottom: 6px; line-height: 1.3; }
.pcard-summary {
  font-size: .9rem; color: var(--slate); margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-specs {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  line-height: 1.5;
  color: var(--slate);
  border-top: 1px solid var(--line-soft); padding-top: 10px;
}
.pcard-specs span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: 10px;
}
.pcard-price {
  font-family: var(--font-mono); font-size: .84rem; font-weight: 500; letter-spacing: .02em;
  color: var(--slate);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.pcard-go {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); white-space: nowrap; flex: none;
  border: 1px solid var(--line); border-radius: 2px;
  padding: 6px 10px;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.pcard:hover .pcard-go { color: var(--navy); border-color: var(--navy); }
.pcard-go { margin-inline-start: auto; }
.card-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-media { max-width: 460px; }

/* ---------- Product page: gallery & price line ---------- */
.gallery-grid { display: grid; gap: 14px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  border-radius: 0; border: 1px solid var(--line); background: var(--paper);
  transition: border-color .18s var(--ease);
}
.gallery-grid figure:hover img { border-color: var(--navy); }
.price-line {
  font-family: var(--font-mono); font-size: .88rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); margin-top: 18px;
  border-top: 1px solid var(--line-soft); padding-top: 14px;
}

/* ---------- Spec table (datasheet) ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.spec-table th, .spec-table td {
  padding: 16px 18px;
  text-align: start;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.spec-table td { font-variant-numeric: tabular-nums; color: var(--ink); }
.spec-table th {
  font-family: var(--font-mono);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--navy);
  width: 34%;
  background: var(--paper);
  border-left: 3px solid transparent;
}
.spec-table tr:nth-child(even) td { background: rgba(245,247,250,.7); }
.spec-table tr:hover th { border-left-color: var(--navy); }
.spec-table tr:hover td { background: #FBFCFE; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- Feature list ---------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.feature-list li {
  position: relative;
  padding-inline-start: 28px;
  font-size: .98rem; line-height: 1.65; color: var(--ink);
}
.feature-list li::before {
  content: "+";
  position: absolute; inset-inline-start: 0; top: .14em;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 1.1rem; line-height: 1;
  color: var(--slate);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
}
.cta-band .container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: var(--space-3);
  padding-block: var(--space-5);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { color: #C6D2E2; margin-top: 8px; max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #B8C6DA; font-size: .92rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--space-5);
  padding-block: var(--space-6);
}
.site-footer .footer-h {
  font-family: var(--font-sans);
  color: #fff; font-size: .88rem; font-weight: 600;
  line-height: 1.4;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #B8C6DA; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 34ch; }
.footer-contact li {
  display: flex; gap: 10px; align-items: baseline;
  font-family: var(--font-mono); font-size: .82rem;
}
.footer-contact .k { color: #7C90AC; flex: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .8rem; color: #7C90AC;
}
.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cert-badge {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  padding: 6px 12px;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em;
  color: #C6D2E2;
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding-block: var(--space-5);
}
.page-hero .crumb {
  font-family: var(--font-mono); font-size: .875rem; font-weight: 500;
  color: #C6D2E2; margin-bottom: 16px; letter-spacing: .02em;
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px;
}
.page-hero .crumb a { color: #C6D2E2; opacity: .85; }
.page-hero .crumb a:hover { color: #fff; opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.page-hero .crumb-sep { color: #5A6B80; margin-inline: 8px; font-weight: 400; }
.page-hero .crumb-current { color: #9FB3CC; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p.lede { color: #C6D2E2; max-width: 72ch; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #075E54;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(7,94,84,.42);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 8px 22px rgba(7,94,84,.5); color: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Quote modal ---------- */
.quote-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(11,27,49,.72);
  backdrop-filter: blur(4px);
}
.quote-overlay.open { display: flex; }
.quote-modal {
  position: relative;
  border: 1px solid var(--line); padding: 0;
  width: min(92vw, 640px);
  max-height: min(92dvh, 820px);
  display: flex; flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(16,35,61,.45);
  animation: qm-in .25s var(--ease);
}
/* plate registration crosshairs on the RFQ sheet */
.quote-modal::before, .quote-modal::after {
  content: "+"; position: absolute; z-index: 5;
  font-family: var(--font-mono); font-size: 1rem; line-height: 1;
  color: #9FB3CC; pointer-events: none;
}
.quote-modal::before { top: 7px; inset-inline-start: 9px; }
.quote-modal::after { bottom: 5px; inset-inline-end: 9px; }
@keyframes qm-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.qm-head {
  flex: none; position: relative;
  background: var(--ink);
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #fff;
  padding: 22px 72px 18px 28px;
}
.qm-kicker {
  display: block;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: #9FB3CC;
}
.qm-title {
  color: #fff; font-size: 1.3rem; margin-top: 8px;
  padding-bottom: 14px; position: relative;
}
.qm-title::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 88px; height: 8px;
  background:
    linear-gradient(90deg, #9FB3CC 0 64px, transparent 64px),
    linear-gradient(45deg, transparent 2.5px, var(--orange) 2.5px 5.5px, transparent 5.5px);
  background-repeat: no-repeat;
  background-size: 88px 2px, 8px 8px;
  background-position: 0 100%, 64px 100%;
}
.qm-close {
  position: absolute; top: 16px; inset-inline-end: 16px;
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.28); border-radius: 2px;
  background: transparent; color: #C6D2E2;
  cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.qm-close:hover { border-color: var(--orange); color: #fff; }
.qm-form { flex: 1; overflow-y: auto; padding: 18px 28px 24px; }
.qm-context { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.qm-chip {
  font-family: var(--font-mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 7px 10px;
}
.qm-chip--model { color: var(--navy); }
.qm-intro { font-size: .95rem; line-height: 1.65; color: var(--slate); margin-bottom: 18px; max-width: 64ch; }
.qm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qm-actions .btn { flex: 1 1 200px; }
.qm-form .form-legal { margin: 16px 0 0; }
.qm-cancel-link { border: 0; background: none; padding: 0; margin-inline-start: 12px; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
/* full-screen sheet on phones */
@media (max-width: 620px) {
  .quote-overlay { padding: 0; }
  .quote-modal { width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; }
  .qm-head { padding: 18px 60px 16px 20px; }
  .qm-form { padding: 14px 20px 24px; }
}

/* ---------- Forms ---------- */
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field { display:flex; flex-direction:column; gap:7px; }
.form-field.full { grid-column:1/-1; }
.form-field label { font-family:var(--font-mono); font-size:.76rem; letter-spacing:.08em; text-transform:uppercase; color:var(--slate); }
.form-field input, .form-field select, .form-field textarea {
  font-family:var(--font-sans); font-size:.95rem; color:var(--ink);
  padding:11px 13px; border:1px solid #C6D2E2; border-radius:var(--radius-btn);
  background:#FBFCFD; width:100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242,101,34,.28);
  background:#fff;
}
.form-note { margin-top:14px; font-size:.88rem; color:var(--navy); }
.contact-cards { display:grid; gap:14px; }
.contact-cards .card { padding:18px 20px; }
.contact-cards .k { font-family:var(--font-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--slate-soft); display:block; margin-bottom:6px; }
.contact-cards .v { font-weight:600; font-size:1.02rem; }
@media (max-width:620px){ .form-grid{grid-template-columns:1fr;} }

/* ---------- Video embeds ---------- */
.video-frame {
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}
.video-frame--short { aspect-ratio: 9/16; max-width: 420px; }

/* lite-youtube facade: thumbnail + play plate, iframe injected on click */
.video-facade {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; background: #000; cursor: pointer;
}
.video-facade img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: .92; }
.video-facade--short { max-width: 420px; }
.video-facade--short img { aspect-ratio: 9/16; }
.video-facade .play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.video-facade .play span {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  background: rgba(16,35,61,.72);
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.video-facade .play span::after {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-inline-start: 5px;
}
.video-facade:hover .play span { background: var(--orange); border-color: #fff; transform: scale(1.06); }
.video-facade:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* radial cycle diagram (Alpine 360°-style) */
.cycle-diagram { width: min(100%, 480px); margin-inline: auto; }
.cycle-diagram svg { display: block; width: 100%; height: auto; }
.cycle-diagram .node {
  stroke: #F97A3B;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(255,123,56,.6));
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-card .card-body h3 { margin-bottom: 6px; }
.video-card .card-body .video-meta {
  font-family: var(--font-mono); font-size: .72rem; color: var(--slate-soft);
  letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- Video center ---------- */
.vhub-filter {
  position: sticky; top: 104px; z-index: 30;
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px 0 12px; margin-bottom: 8px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(4px);
}
/* mobile: filter bar hugs the 64px header; pills scroll in one row */
@media (max-width: 960px) {
  .vhub-filter { top: 64px; }
}
@media (max-width: 620px) {
  /* belt & braces: never allow horizontal page scroll on phones */
  html, body { overflow-x: clip; }
  .vhub-filter {
    flex-wrap: nowrap; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px; margin-inline: -24px; padding-inline: 24px;
  }
  .vhub-filter::-webkit-scrollbar { display: none; }
  .vpill { flex: none; }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .page-hero .lede { font-size: .98rem; }
  /* trust block: force single column so the stats can never overflow the canvas */
  .section--ink .grid-2.align-center { grid-template-columns: 1fr; }
  .section--ink .hero-stats--2 { grid-template-columns: 1fr 1fr; max-width: 100%; }
}
.vpill {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: .76rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 16px;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.vpill:hover { border-color: var(--navy); }
.vpill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.vpill:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.video-link {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid #9FB3CC;
  padding-bottom: 1px;
}
.video-link:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- Utilities ---------- */
.mt-56 { margin-top: 56px; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
/* Visible by default; only hidden when JS confirms it can reveal. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .js .reveal > * { opacity: 1; transform: none; transition: none; }
  .card:hover { transform: none; }
  .btn:hover { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Semantic helpers (templates & handwritten pages) ---------- */
.section--white { background: #fff; border-block: 1px solid var(--line-soft); }
.section--ink {
  background: var(--ink);
}
.section--ink .eyebrow { color: #9FB3CC; }
.section--ink h2 { color: #fff; }

/* Product hero plate: the machine photo as a technical drawing plate */
.plate { position: relative; margin: 0; }
.plate img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line);
  background: #fff;
}
.plate::before,
.plate::after {
  content: "+";
  position: absolute; z-index: 2;
  font-family: var(--font-mono);
  font-size: 1.05rem; line-height: 1;
  color: var(--slate);
}
.plate::before { top: -9px; inset-inline-start: -9px; }
.plate::after { bottom: -9px; inset-inline-end: -9px; }
.plate-cap {
  margin: 0; margin-top: 10px;
  font-family: var(--font-mono);
  font-size: .7rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

.card--dark { background: var(--ink); border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding-bottom: 30px; }
.card--dark h3 { color: #fff; }
.card--dark h3.card-h3 { color: #fff; }
.card--dark p { color: #C6D2E2; }
.card--dark .eyebrow { color: #9FB3CC; }
.card--dark .card-meta { border-color: rgba(255,255,255,.15); }
.card--dark .card-meta span { color: #9FB3CC; }
.card--ghost { background: transparent; border-color: rgba(255,255,255,.14); }
.card--ghost h3 { color: #fff; }
.card--ghost p { color: #C6D2E2; font-weight: 500; line-height: 1.65; }
.card--spaced { margin-top: var(--space-5); padding: var(--space-4); }
.card--narrow { max-width: 760px; }
.card--pad { padding: 8px 0; }
.hero-media { padding: 10px; }
.figure-tile { padding: 12px; background: var(--white); }
.section--ink h3 { color: #fff; }
.section--ink p { color: #C6D2E2; }
.section--ink .feature-list li { color: #C6D2E2; }

.eyebrow--accent { color: var(--navy); }
.eyebrow--on-dark { color: #9FB3CC; }

.card-body h3.card-h3 { font-size: 1.35rem; margin-top: 8px; }
.h-product { font-size: 1.6rem; margin-bottom: 16px; }
.h-md { font-size: 1.5rem; }
.h-sm { font-size: 1.4rem; }
.lede--sm { font-size: 1rem; }

.glance-bar { padding: 20px 26px; display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; }
.glance-specs { font-size: .88rem; color: var(--slate); }
.glance-head { grid-column: 1/-1; margin-bottom: 4px; }
.hero-stats--divider { border-color: var(--line); padding-top: 24px; margin-top: 24px; gap: 12px; }
/* light-background usage (product page key specs) — engineering data tiles */
.hero-stats--divider .stat {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 14px 16px;
  text-align: center;
}
.hero-stats--divider .stat .num { color: var(--ink); font-size: .9rem; font-weight: 600; }
.hero-stats--divider .stat .lbl { color: var(--slate); }
.hero-stats--2 { grid-template-columns: repeat(2, 1fr); row-gap: 18px; margin-bottom: 4px; }
/* grid tidiness (desktop only — mobile grids collapse to 1 column): trailing remainder cards fill their row */
@media (min-width: 621px) {
  .grid-2 > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
  .grid-3:not(.grid-fixed3) > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
.grid-fixed3 > :last-child { grid-column: auto; }
.hero-stats--2.hero-stats--n3 > .stat:last-child,
.hero-stats--2.hero-stats--n5 > .stat:last-child { grid-column: span 2; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }
.align-start { align-items: start; }
.align-center { align-items: center; }
.hero-stats--bare { border: 0; padding: 0; }
.card-meta--sm { font-size: .72rem; }
.quote { font-size: 1.02rem; line-height: 1.6; }
.form-card { padding: 26px; border-top: 3px solid var(--navy); }
.btn--block { margin-top: 16px; width: 100%; }
.form-legal { font-size: .8rem; color: var(--slate); margin-top: 12px; line-height: 1.5; }
.honey { display: none; } /* spam honeypot (replaces inline style) */
.hl {
  background: rgba(20,50,92,.08);
  border-bottom: 2px solid var(--navy);
  padding: 0 4px;
  font-weight: 600;
}
/* product page: on-this-page control panel */
.plate-toc {
  margin-top: 28px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  font-family: var(--font-mono);
}
.plate-toc-label {
  display: block;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.plate-toc a {
  position: relative;
  display: block;
  padding: 6px 0 6px 18px;
  font-size: .8rem; letter-spacing: .02em; line-height: 1.6;
  color: var(--slate);
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.plate-toc a::before { content: "+"; position: absolute; inset-inline-start: 0; color: var(--slate); }
.plate-toc a:hover { color: var(--navy); transform: translateX(3px); }
.contact-card { padding: 22px 24px; }
.contact-card .eyebrow { display: block; margin-bottom: 10px; }
.contact-card p { font-size: .94rem; color: var(--slate); }
.contact-card ul { font-size: .9rem; color: var(--slate); display: grid; gap: 8px; list-style: none; padding: 0; }
.contact-cards .v-sm { font-size: .95rem; font-weight: 500; }
.video-card { max-width: 720px; }
.price-panel {
  background: var(--ink);
}
.price-panel p { font-family: var(--font-mono); font-size: 1.05rem; line-height: 1.7; color: #fff; }
.price-panel p strong { color: #fff; font-weight: 600; }
#quote { scroll-margin-top: 88px; }
.error-hero { text-align: center; padding-block: var(--space-8); }
.error-code { color: #9FB3CC; font-size: .8rem; letter-spacing: .2em; }
.error-h { font-size: clamp(2.4rem, 6vw, 4rem); margin-top: 14px; }
.error-lede { margin: 18px auto 0; max-width: 52ch; }

.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mb-14 { margin-bottom: 14px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }

/* ============================================================
   BLUEPRINT PRO — Phase 1 (global visual layer)
   CAD drawing language deepened: blueprint grids, dimension-line
   signatures, registration crosshairs, plate mats, data-tile stats.
   Pure CSS — no markup changes required.
   ============================================================ */

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

/* blueprint grid texture: dark blocks (fine) & white blocks (faint) */
.hero, .page-hero, .cta-band, .section--ink, .price-panel {
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 32px 32px;
}
.section--white {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* dimension-line signature under section titles: 64px rule + 45° end tick */
.section-head h2::after {
  width: 88px; height: 8px; margin-top: 14px;
  background:
    linear-gradient(90deg, var(--slate) 0 64px, transparent 64px),
    linear-gradient(45deg, transparent 2.5px, var(--navy) 2.5px 5.5px, transparent 5.5px);
  background-repeat: no-repeat;
  background-size: 88px 2px, 8px 8px;
  background-position: 0 100%, 64px 100%;
}
.section--ink .section-head h2::after,
.page-hero .section-head h2::after {
  background:
    linear-gradient(90deg, #9FB3CC 0 64px, transparent 64px),
    linear-gradient(45deg, transparent 2.5px, #fff 2.5px 5.5px, transparent 5.5px);
  background-repeat: no-repeat;
  background-size: 88px 2px, 8px 8px;
  background-position: 0 100%, 64px 100%;
}

/* hero H1 dimension underline: dim rule + orange end tick (signal) */
.hero h1 { position: relative; padding-bottom: 22px; }
.hero h1::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 96px; height: 8px;
  background:
    linear-gradient(90deg, #9FB3CC 0 72px, transparent 72px),
    linear-gradient(45deg, transparent 2.5px, var(--orange) 2.5px 5.5px, transparent 5.5px);
  background-repeat: no-repeat;
  background-size: 96px 2px, 8px 8px;
  background-position: 0 100%, 72px 100%;
}
.page-hero h1 { position: relative; padding-bottom: 18px; }
.page-hero h1::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 88px; height: 8px;
  background:
    linear-gradient(90deg, #9FB3CC 0 64px, transparent 64px),
    linear-gradient(45deg, transparent 2.5px, var(--orange) 2.5px 5.5px, transparent 5.5px);
  background-repeat: no-repeat;
  background-size: 88px 2px, 8px 8px;
  background-position: 0 100%, 64px 100%;
}

/* registration crosshairs on every card — drawing-frame language */
.card { position: relative; }
.card::before, .card::after {
  content: "+"; position: absolute; z-index: 2;
  font-family: var(--font-mono); font-size: .9rem; line-height: 1;
  color: var(--slate); opacity: .45; pointer-events: none;
}
.card::before { top: 7px; inset-inline-start: 8px; }
.card::after { bottom: 5px; inset-inline-end: 8px; }
.card:hover::before, .card:hover::after { color: var(--navy); opacity: 1; }
.card--dark::before, .card--dark::after,
.card--ghost::before, .card--ghost::after { color: #9FB3CC; opacity: .5; }
.card--dark:hover::before, .card--dark:hover::after,
.card--ghost:hover::before, .card--ghost:hover::after { color: #fff; }

/* product-card image: slow zoom on hover (drawing inspection feel) */
.pcard-media img { transition: transform .35s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.03); }

/* dark-hero stat tiles: blueprint data plates with corner ticks */
.hero .hero-stats .stat,
.section--ink .hero-stats .stat {
  position: relative;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 16px 18px;
}
.hero .hero-stats .stat::before,
.section--ink .hero-stats .stat::before {
  content: ""; position: absolute; top: -1px; inset-inline-start: -1px;
  width: 10px; height: 10px;
  border-top: 1px solid #9FB3CC; border-inline-start: 1px solid #9FB3CC;
}
.hero .hero-stats .stat::after,
.section--ink .hero-stats .stat::after {
  content: ""; position: absolute; bottom: -1px; inset-inline-end: -1px;
  width: 10px; height: 10px;
  border-bottom: 1px solid #9FB3CC; border-inline-end: 1px solid #9FB3CC;
}

/* video facades get a plate mat (white frame + hairline) */
.video-card .video-facade {
  padding: 6px;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.video-card .video-facade img { aspect-ratio: 16/9; }

/* CTA band: calibration ticks along the bottom edge */
.cta-band { position: relative; }
.cta-band::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -3px; height: 4px;
  background-image:
    repeating-linear-gradient(90deg, #9FB3CC 0 2px, transparent 2px 48px),
    repeating-linear-gradient(90deg, transparent 0 24px, #9FB3CC 24px 26px, transparent 26px 48px);
  background-size: 100% 2px, 100% 4px;
  background-position: 0 100%, 0 100%;
  background-repeat: repeat-x, repeat-x;
  opacity: .55;
  pointer-events: none;
}

/* footer: calibration ticks along the top edge (mirrors header) */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 2px, transparent 2px 48px);
  opacity: .55;
  pointer-events: none;
}

/* ============================================================
   BLUEPRINT PRO — Phase 2 (detail layer)
   Product hero plates, gallery FIG stamps, video VID stamps,
   footer dimension ticks, reveal cascade.
   ============================================================ */

/* product hero plate: paper mat + soft lift */
.plate img { padding: 8px; box-shadow: 0 12px 32px rgba(16,35,61,.06); }

/* product key-spec tiles: square corners + drawing ticks */
.hero-stats--divider .stat {
  position: relative;
  border-radius: 0;
  background: #fff;
  border-color: var(--line);
}
.hero-stats--divider .stat::before {
  content: ""; position: absolute; top: -1px; inset-inline-start: -1px;
  width: 8px; height: 8px;
  border-top: 1px solid var(--navy); border-inline-start: 1px solid var(--navy);
}
.hero-stats--divider .stat::after {
  content: ""; position: absolute; bottom: -1px; inset-inline-end: -1px;
  width: 8px; height: 8px;
  border-bottom: 1px solid var(--navy); border-inline-end: 1px solid var(--navy);
}

/* product card media: paper mat (plate) */
.pcard-media { padding: 8px; background: #fff; }

/* detail gallery: mat + FIG·NN drawing stamps */
.gallery-grid { counter-reset: fig; }
.gallery-grid figure {
  position: relative;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  counter-increment: fig;
}
.gallery-grid img { border: 0; background: transparent; }
.gallery-grid figure:hover { border-color: var(--navy); }
.gallery-grid figure:hover img { border-color: transparent; }
.gallery-grid figure::after {
  content: "FIG·" counter(fig, decimal-leading-zero);
  position: absolute; bottom: 16px; inset-inline-start: 16px;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 500;
  letter-spacing: .16em;
  color: var(--ink);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 7px;
  line-height: 1;
}

/* video center: VID·NN stamps above card titles (per-line numbering) */
.vhub-group { counter-reset: vid; }
.vhub-group .video-card { counter-increment: vid; }
.vhub-group .video-card .card-body h3::before {
  content: "VID·" counter(vid, decimal-leading-zero);
  display: block; margin-bottom: 6px;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 500;
  letter-spacing: .16em; color: var(--slate);
}

/* footer column titles: dimension tick prefix */
.site-footer .footer-h::before {
  content: ""; display: inline-block;
  width: 18px; height: 2px;
  background: #9FB3CC;
  margin-inline-end: 8px;
  vertical-align: middle;
}

/* reveal cascade: children stagger in after the parent */
.js .reveal > * {
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.js .reveal.in > * { opacity: 1; transform: none; }
.js .reveal.in > :nth-child(2) { transition-delay: .05s; }
.js .reveal.in > :nth-child(3) { transition-delay: .10s; }
.js .reveal.in > :nth-child(4) { transition-delay: .15s; }
.js .reveal.in > :nth-child(5) { transition-delay: .20s; }
.js .reveal.in > :nth-child(n+6) { transition-delay: .22s; }

/* homepage hero: desktop = user-provided photo background (首页第一屏(hero)底图电脑端)
   with navy gradient on the text side; mobile keeps the pinned vertical photo.
   Layout (grid areas): copy + stats LEFT | product RIGHT.
   Mobile: copy → product → stats. */
.hero {
  background:
    linear-gradient(100deg, rgba(11,27,49,.95) 0%, rgba(11,27,49,.85) 32%, rgba(11,27,49,.5) 60%, rgba(11,27,49,.3) 100%),
    url('/assets/images/hero-bg-desktop.webp') center/cover no-repeat;
  background-color: var(--ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  grid-template-areas:
    "copy product"
    "stats product";
  column-gap: var(--space-6);
  row-gap: 0;
  min-height: min(82vh, 760px);
  padding-block: 56px 0;
}
.hero-copy { grid-area: copy; align-self: end; max-width: 700px; }
.hero-stats { grid-area: stats; align-self: end; margin: 36px 0 44px; }
.hero-product {
  grid-area: product;
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
}
.hero-product img {
  display: block;
  width: min(100%, 600px);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.55)) drop-shadow(0 30px 42px rgba(0,0,0,.4));
  /* soften any baked-in floor at the very feet only (2% — never amputates) */
  -webkit-mask-image: linear-gradient(to bottom, #000 98%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 98%, transparent 100%);
}
.hero-product-cap {
  position: absolute; top: -6px; inset-inline-start: 0;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: #9FB3CC;
  border: 1px solid rgba(255,255,255,.22); border-radius: 2px;
  background: rgba(11,27,49,.55);
  padding: 6px 10px; line-height: 1;
}
/* CAD ground line the machine stands on */
.hero::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg,
    rgba(159,179,204,0) 0%, rgba(159,179,204,.8) 10%,
    rgba(159,179,204,.8) 90%, rgba(159,179,204,0) 100%);
}
/* small laptop 961–1240: tighten so the full hero (incl. stats) fits the first screen */
@media (min-width: 961px) and (max-width: 1240px) {
  .hero-grid { min-height: min(74vh, 640px); padding-block: 28px 0; }
  .hero-copy { max-width: 620px; }
  .hero .lede { font-size: 1.08rem; }
  .hero-ctas { margin-top: 24px; }
  .hero-stats { margin: 20px 0 28px; }
  .hero-product img { width: min(100%, 460px); }
}
@media (max-width: 960px) {
  .hero {
    overflow: visible;
    background-color: var(--ink);
    background-image: none;
  }
  /* pinned viewport background: the first-screen photo stays fixed
     while the hero content scrolls over it (sticky-background pattern) */
  .hero::before {
    content: ""; display: block;
    position: sticky; top: 0;
    height: 100vh; height: 100svh;
    margin-bottom: -100vh; margin-bottom: -100svh;
    background:
      linear-gradient(180deg, rgba(11,27,49,.84) 0%, rgba(11,27,49,.6) 45%, rgba(11,27,49,.38) 100%),
      url('/assets/images/hero-bg-m.webp') center/cover no-repeat;
    background-color: var(--ink);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "product"
      "stats";
    row-gap: 16px;
    min-height: auto;
    padding-block: 28px 0;
  }
  .hero-copy { max-width: none; align-self: auto; }
  .hero-stats { margin: 40px 0 0; align-self: auto; }
  .hero-product { justify-content: flex-start; }
  .hero-product img { width: min(66%, 250px); }
  /* FIG chip overlays the machine's top-left — annotation on the drawing */
  .hero-product-cap {
    top: 6px; inset-inline-start: 6%; inset-inline-end: auto;
    z-index: 2;
    background: rgba(11,27,49,.85);
    border-color: rgba(255,255,255,.4);
  }
  /* CAD ground line under the machine: rule + 45° end caps (signature) */
  .hero-product::after {
    content: ""; display: block; order: 3;
    width: 72%; height: 8px; margin-top: 10px;
    background:
      linear-gradient(90deg, rgba(159,179,204,.9) 0 calc(100% - 12px), transparent calc(100% - 12px)),
      linear-gradient(45deg, transparent 2.5px, rgba(159,179,204,.9) 2.5px 5.5px, transparent 5.5px) 100% 0 / 8px 8px no-repeat,
      linear-gradient(-45deg, transparent 2.5px, rgba(159,179,204,.9) 2.5px 5.5px, transparent 5.5px) 0 0 / 8px 8px no-repeat;
    background-position: 0 100%, calc(100% - 8px) 100%, 0 100%;
    background-size: 100% 2px, 8px 8px, 8px 8px;
    background-repeat: no-repeat;
  }
}
@media (max-width: 620px) {
  .hero .hero-kicker { margin-bottom: 8px; font-size: .74rem; }
  .hero h1 { font-size: 1.45rem; line-height: 1.12; }
  /* dedicated short lede on phones — no truncation */
  .hero .hero-lede-full { display: none; }
  .hero .hero-lede-short { display: block; }
  .hero .lede {
    font-size: .95rem; line-height: 1.5; margin-top: 10px;
  }
  .hero-ctas { margin-top: 12px; gap: 10px; }
  .hero-ctas .btn-lg { padding: 10px 18px; font-size: .9rem; min-height: 42px; }
  .hero-grid { padding-block: 24px 28px; row-gap: 10px; }
  .hero-product img { width: 250px; }
  .hero-product::after {
    width: 268px; margin-top: -6px;
    background:
      linear-gradient(90deg, rgba(159,179,204,1) 0 calc(100% - 14px), transparent calc(100% - 14px)),
      linear-gradient(45deg, transparent 2.5px, #DCE3EC 2.5px 5.5px, transparent 5.5px) 100% 0 / 12px 12px no-repeat,
      linear-gradient(-45deg, transparent 2.5px, #DCE3EC 2.5px 5.5px, transparent 5.5px) 0 0 / 12px 12px no-repeat;
    background-position: 0 100%, calc(100% - 12px) 100%, 0 100%;
    background-size: 100% 3px, 12px 12px, 12px 12px;
    background-repeat: no-repeat;
  }
  /* stats as a 2×2 data plate on phones */
  .hero .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 0; padding-top: 0;
  }
  .hero .hero-stats .stat { padding: 10px 12px; }
  .hero .hero-stats .stat .num { font-size: 1.7rem; }
  .hero .hero-stats .stat .lbl { font-size: .62rem; margin-top: 5px; }
  /* keep the WhatsApp float clear of the composition */
  .wa-float { transform: scale(.88); inset-inline-end: 12px; bottom: 12px; }
}

/* applications index: name caption overlaid on the card image (blueprint label) */
.app-media { display: block; position: relative; }
.app-media-cap {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 34px 16px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(11,27,49,.72) 55%, rgba(11,27,49,.9) 100%);
  pointer-events: none;
}
.app-media-cap h3 {
  color: #fff; font-size: 1.06rem; line-height: 1.25;
  margin: 0; position: relative; padding-top: 10px;
  letter-spacing: -.01em;
}
.app-media-cap h3::before {
  content: ""; position: absolute; top: 0; inset-inline-start: 0;
  width: 26px; height: 2px; background: #9FB3CC;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Header: tablet & mobile ---------- */
@media (max-width: 960px) {
  .topbar { display: none; }
  .header-inner { height: 64px; gap: 8px; }
  .brand-logo { height: 34px; }
  .nav-toggle { display: grid; margin-inline-start: 8px; }
  .main-nav {
    position: fixed; inset: 64px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    padding: 0 20px 20px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line-soft); }
  .main-nav > ul > li:last-child { border-bottom: 0; }
  .main-nav a { padding: 15px 2px; font-size: 1rem; }
  .main-nav a::after { display: none; }
  .main-nav .has-drop { position: static; }
  .main-nav .drop {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: 0;
    padding: 0 0 12px 18px; min-width: 0;
  }
  .main-nav .drop a { padding: 10px 2px; font-size: .95rem; color: var(--slate); }
  .main-nav .drop a:hover { background: transparent; color: var(--navy); }
  .header-cta { margin-inline-start: auto; gap: 8px; }
  .header-cta .btn { padding: 9px 14px; font-size: .7rem; }
  .site-header { box-shadow: 0 6px 16px rgba(16,35,61,.12); }
  .site-header::after { opacity: .5; }
}

@media (max-width: 860px) {
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 1.12rem; letter-spacing: .06em; }
  .brand-sub { font-size: .56rem; letter-spacing: .22em; }
  /* quieter blueprint grid on small screens */
  .hero, .page-hero, .cta-band, .section--ink, .price-panel { background-size: 48px 48px; }
  /* spec table → stacked label-over-value on tablet & phone */
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th {
    background: none; width: auto;
    border-left: 3px solid var(--navy);
    padding: 12px 12px 2px;
    font-size: .72rem;
  }
  .spec-table td { padding: 2px 12px 14px; border-bottom: 1px solid var(--line-soft); line-height: 1.55; overflow-wrap: break-word; }
}

/* Tablet: single-column layouts before the desktop two-column kick-in */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; gap: 12px 0; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* Tablet / small laptop: full nav stays, compacted */
@media (min-width: 961px) and (max-width: 1240px) {
  .main-nav ul { gap: 0; }
  .main-nav a { padding: 10px 9px; font-size: .86rem; }
  .main-nav a::after { inset-inline: 9px; }
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 9px 14px; font-size: .7rem; }
  .header-inner { gap: 10px; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 8px 12px; font-size: .68rem; letter-spacing: .06em; }
  .hero h1 { font-size: 1.7rem; line-height: 1.1; overflow-wrap: break-word; }
  .hero-grid { gap: var(--space-4); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .btn-whatsapp { background: transparent; color: #C6D2E2; border: 1px solid rgba(255,255,255,.35); }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .hero-stats--4 { grid-template-columns: 1fr 1fr; }
  .hero-stats--2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-stats .stat .num { font-size: 1.5rem; }
  .hero-stats--divider .stat .num { font-size: .85rem; }
  .feature-list { grid-template-columns: 1fr; gap: 12px 0; }
  .feature-list li { font-size: .95rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding-block: var(--space-6); }
  .btn-lg { padding: 13px 22px; }
  .plate-cap { font-size: .62rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ---------- Mobile experience pass (<=620px) ---------- */
@media (max-width: 620px) {
  html { scroll-padding-top: 64px; }
  .page-hero { padding-block: 40px; }
  .hero-grid { padding-block: 32px; }
  .hero-stats { margin-top: 24px; padding-top: 24px; }
  .section-head { margin-bottom: 24px; }
  .topbar { display: none; } /* contact strip lives in footer on phones */
  .section, .section-tight { padding-block: 48px; }
  .section-head { margin-bottom: 32px; }
  .btn { min-height: 48px; }
  .card-body { padding: 20px; }
  .card-body h3 { font-size: 1.12rem; }
  .card-body p, .pcard-summary { font-size: .95rem; line-height: 1.6; }
  .pcard-media img { aspect-ratio: auto; }
  .card-meta { font-size: .78rem; }
  .gallery-grid { gap: 10px; }
  input, select, textarea { font-size: 16px; } /* kills iOS focus auto-zoom */
  .form-card { padding: 20px; }
  .feature-list li { font-size: 1rem; line-height: 1.6; }
  .price-line { font-size: 1rem; }
  .footer-grid { gap: 32px; padding-block: 48px; }
}
/* ---------- FAQ numbered engineering list ---------- */
.faq-list { max-width: 880px; }
.faq-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 4px 24px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-num {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em;
  color: var(--navy); padding-top: 5px;
}
.faq-item h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 10px; }
.faq-item p { font-size: .96rem; line-height: 1.68; color: var(--slate); max-width: 74ch; }

/* BLUEPRINT PRO: FAQ index numbers → outlined drawing chips */
.faq-num {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500;
  letter-spacing: .06em;
  color: var(--slate);
}
.faq-item:hover .faq-num { border-color: var(--navy); color: var(--navy); }

/* ---------- Thank-you page ---------- */
.thank-card { max-width: 720px; margin: 0 auto; text-align: center; padding-block: 8px; }
.thank-card h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.thank-card .lede { margin: 18px auto 0; max-width: 58ch; }
.thank-card .eyebrow { justify-content: center; }
.thank-card .eyebrow::before, .thank-card .eyebrow::after { display: none; }
.thank-check { width: 96px; height: 96px; margin-bottom: 28px; }
.thank-product { margin-top: 14px; font-size: .95rem; color: var(--slate); }
.thank-product strong { color: var(--ink); }
.thank-card .contact-cards { margin-top: 28px; text-align: start; }
.thank-card .btn-row { margin-top: 28px; }
