/* ==========================================================================
   AITEMAAD PACKAGES, "PRESS & FOLD" design system
   One stylesheet. No external CSS deps. Tokens per design/DESIGN_DNA.md.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Self-hosted fonts (woff2, font-display:swap)
   Space Grotesk + Plus Jakarta Sans are variable fonts (one file, weight axis).
   Space Mono is static (two files).
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/jakarta-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-mono-700.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Navy */
  --navy-300: #4A6BA8;   /* lines on dark */
  --navy-500: #184080;   /* brand */
  --navy-700: #12305F;
  --navy-900: #0C2144;   /* hero / footer / CTA text on amber */
  --navy-950: #081833;   /* footer base */

  /* Amber */
  --amber-100: #FCEBCF;
  --amber-400: #F0A840;  /* brand accent, fill behind DARK text only */
  --amber-500: #E0912A;
  --amber-600: #8F580D;  /* amber TEXT on light, ≥4.5:1 on paper/white/amber-100 */

  /* Paper */
  --paper-50:  #FAFAF8;  /* page bg */
  --paper-100: #F4F3EF;  /* alt bg */
  --paper-200: #E9E7E0;  /* borders */

  /* Ink / slate */
  --ink:       #0B1A33;  /* body on light */
  --slate-500: #5A6B85;
  --slate-200: #D5DEEC;  /* body on navy */

  /* Kraft (material accents) */
  --kraft-400: #C9A87C;
  --kraft-600: #A8825A;

  /* Semantic */
  --success: #059669;
  --error:   #DC2626;

  /* Fonts */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Fluid type scale */
  --fs-display-1: clamp(2.75rem, 6vw, 5.25rem);
  --fs-display-2: clamp(2.25rem, 5vw, 4rem);
  --fs-h2:        clamp(2rem, 4vw, 3.25rem);
  --fs-h3:        clamp(1.35rem, 2.2vw, 1.75rem);
  --fs-h4:        1.25rem;
  --fs-body:      1.0625rem;
  --fs-small:     0.875rem;
  --fs-overline:  0.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-y: clamp(4rem, 8vw, 7rem);

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Radii */
  --r-sm: 4px;
  --r:    8px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Elevation (soft, precise, never heavy) */
  --shadow-1: 0 1px 2px rgba(12,33,68,0.06), 0 1px 1px rgba(12,33,68,0.04);
  --shadow-2: 0 6px 18px rgba(12,33,68,0.08), 0 2px 6px rgba(12,33,68,0.05);
  --shadow-3: 0 18px 48px rgba(12,33,68,0.14), 0 6px 16px rgba(12,33,68,0.08);

  /* Motion */
  --ease-fold: cubic-bezier(0.16, 1, 0.3, 1); /* expo.out feel */
  --dur: 0.7s;

  /* Nav */
  --nav-h: 64px;
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--navy-500); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy-700); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

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

:focus-visible {
  /* Two-tone ring: a dark outline (visible on light backgrounds) plus an amber
     halo (visible on dark/navy sections), readable on every background. WCAG 1.4.11. */
  outline: 3px solid var(--navy-900);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(240, 185, 66, .55);
  border-radius: var(--r-sm);
}

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--amber-400); color: var(--navy-900);
  padding: .75rem 1.25rem; font-weight: 600; border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.display-1, h1 { font-size: var(--fs-display-1); line-height: 1.05; letter-spacing: -0.025em; }
.display-2 { font-size: var(--fs-display-2); line-height: 1.05; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 500; }

p { max-width: 68ch; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.6; color: var(--slate-500); }

strong { font-weight: 600; }

/* Overline / eyebrow, mono uppercase, amber-600 on light */
.overline {
  font-family: var(--font-mono);
  font-size: var(--fs-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-600);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.overline::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--amber-500);
  flex: none;
}
.overline--plain::before { display: none; }

.mono { font-family: var(--font-mono); }
.tnum { font-variant-numeric: tabular-nums; }

/* Tabular numerals for display numbers/prices */
.display-1, .display-2, h1, h2, .stat__num, .price, .tier-table { font-variant-numeric: tabular-nums; }

/* Amber text helper (contrast-safe on light) */
.t-amber { color: var(--amber-600); }
.t-navy  { color: var(--navy-900); }
.t-slate { color: var(--slate-500); }

/* --------------------------------------------------------------------------
   5. Layout & section rhythm (paper -> navy alternation)
   -------------------------------------------------------------------------- */
.wrap, .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--paper { background: var(--paper-50); color: var(--ink); }
.section--paper-alt { background: var(--paper-100); color: var(--ink); }

.section--navy {
  background: var(--navy-900);
  color: var(--slate-200);
}
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy .overline { color: var(--amber-400); }
.section--navy .overline::before { background: var(--amber-400); }
.section--navy .lead { color: var(--slate-200); }
.section--navy a { color: #fff; }

/* Kraft paper grain on paper sections (<=5%), film grain on navy, inline SVG, no request */
.section--paper::after,
.section--paper-alt::after,
.section--navy::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.section--paper::after, .section--paper-alt::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: 0.04;
}
.section--navy::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
  opacity: 0.05;
}
.section > .wrap, .section > .container { position: relative; z-index: 1; }

.section__head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { margin-top: .5rem; }
.section__head .lead { margin-top: 1rem; }

/* Registration / crop mark ⌖, one subtle corner accent per section */
.reg-mark {
  position: absolute;
  width: 24px; height: 24px;
  color: var(--slate-200);
  opacity: .5;
  z-index: 1;
}
.section--navy .reg-mark { color: var(--navy-300); opacity: .55; }
.reg-mark--tr { top: 20px; right: 20px; }
.reg-mark--tl { top: 20px; left: 20px; }
.reg-mark--br { bottom: 20px; right: 20px; }
.reg-mark svg { width: 100%; height: 100%; }

/* Generic grid helpers */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.cluster { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-arrow: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-align: center;
  transition: transform .25s var(--ease-fold), background-color .2s ease, color .2s ease, box-shadow .25s ease, border-color .2s ease;
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn .btn__arrow { transition: transform .3s var(--ease-fold); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Primary, amber fill + navy text (passes contrast, premium) */
.btn--primary {
  background: var(--amber-400);
  color: var(--navy-900);
  box-shadow: var(--shadow-2);
}
.btn--primary:hover { background: var(--amber-500); color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-3); }
.btn--primary:active { transform: translateY(0); }

/* Secondary, navy fill + white text */
.btn--secondary {
  background: var(--navy-900);
  color: #fff;
}
.btn--secondary:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }

/* Outline, navy line, transparent */
.btn--outline {
  background: transparent;
  color: var(--navy-900);
  box-shadow: inset 0 0 0 1.5px var(--navy-500);
}
.btn--outline:hover { background: var(--navy-900); color: #fff; box-shadow: inset 0 0 0 1.5px var(--navy-900); }

/* Ghost on navy */
.section--navy .btn--outline,
.btn--on-navy {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px var(--navy-300);
}
.section--navy .btn--outline:hover,
.btn--on-navy:hover { background: #fff; color: var(--navy-900); box-shadow: inset 0 0 0 1.5px #fff; }

/* Mono micro-label variant */
.btn--mono {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 42px;
}

.btn--sm { min-height: 40px; padding: 0 1rem; font-size: .9375rem; }
.btn--block { display: flex; width: 100%; }

/* Magnetic hook, JS translates via CSS var on fine pointers only */
@media (pointer: fine) {
  .btn[data-magnetic] { transform: translate(var(--mx, 0), var(--my, 0)); }
}

/* --------------------------------------------------------------------------
   7. Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(250,250,248,0.85);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* Glass on scroll */
.site-header.is-scrolled {
  background: rgba(250,250,248,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--paper-200);
  box-shadow: var(--shadow-1);
}
.site-header__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.brand-logo { display: inline-flex; align-items: center; color: var(--navy-900); }
.brand-logo:hover { color: var(--navy-900); }
.brand-logo svg, .brand-logo img { height: 44px; width: auto; display: block; }
.brand-logo picture { display: inline-flex; }
@media (max-width: 600px) { .brand-logo svg, .brand-logo img { height: 38px; } }
.brand-logo--light { color: #fff; }

.nav-primary { justify-self: center; }
.nav-primary ul { display: flex; gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.nav-primary a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  padding: .4rem 0;
  position: relative;
}
.nav-primary a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--amber-400);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-fold);
}
.nav-primary a:hover, .nav-primary a.is-active { color: var(--navy-900); }
.nav-primary a:hover::after, .nav-primary a.is-active::after { transform: scaleX(1); }

.nav-actions { justify-self: end; display: flex; align-items: center; gap: 1rem; }

/* Currency pill toggle */
.cur-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--r-pill);
  background: var(--paper-100);
  box-shadow: inset 0 0 0 1px var(--paper-200);
}
.cur-toggle button {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .45rem .8rem;
  min-height: 26px;            /* WCAG 2.5.8 minimum target size */
  border-radius: var(--r-pill);
  color: var(--slate-500);
  transition: background-color .2s ease, color .2s ease;
}
.cur-toggle button[aria-pressed="true"] {
  background: var(--navy-900);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--r);
  color: var(--navy-900);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* Mobile overlay */
.mobile-nav {
  position: fixed; inset: 0;
  z-index: 150;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .5s var(--ease-fold), visibility .5s;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); visibility: visible; }
.mobile-nav__close {
  position: absolute; top: 14px; right: var(--gutter);
  width: 44px; height: 44px; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-nav__close svg { width: 26px; height: 26px; }
.mobile-nav a.m-link {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  color: #fff;
  padding: .5rem 0;
  border-bottom: 1px solid var(--navy-700);
}
.mobile-nav a.m-link:hover { color: var(--amber-400); }
.mobile-nav__contact {
  margin-top: auto;
  display: grid;
  gap: .75rem;
  padding-top: 2rem;
}
.mobile-nav__contact a {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-mono); font-size: .95rem;
  color: var(--slate-200);
}
.mobile-nav__contact a svg { width: 20px; height: 20px; flex: none; color: var(--amber-400); }
.mobile-nav .cur-toggle { background: var(--navy-700); box-shadow: inset 0 0 0 1px var(--navy-300); align-self: flex-start; margin-top: 1.5rem; }
.mobile-nav .cur-toggle button { color: var(--slate-200); }
.mobile-nav .cur-toggle button[aria-pressed="true"] { background: var(--amber-400); color: var(--navy-900); }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--navy-950);
  color: var(--slate-200);
  overflow: hidden;
  padding-block: clamp(3.5rem, 6vw, 5rem) 0;
}
.site-footer__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3rem);
}
.footer-col .footer-hd {
  font-family: var(--font-mono);
  font-size: var(--fs-overline);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a, .footer-col p { color: var(--slate-200); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-brand__logo svg { height: 42px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 34ch; color: var(--slate-200); }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: .2rem; color: var(--amber-400); }

/* Big wordmark watermark */
.footer-watermark {
  position: absolute;
  left: 0; right: 0; bottom: -0.14em;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 18vw, 15rem);
  line-height: .8;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
  opacity: .04;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.footer-legal {
  position: relative; z-index: 2;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.25rem;
  border-top: 1px solid var(--navy-700);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--slate-200);
}
.footer-legal a { color: var(--slate-200); }
.footer-legal a:hover { color: #fff; }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 1rem; }

/* --------------------------------------------------------------------------
   9. Product card (dieline hover)
   -------------------------------------------------------------------------- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--paper-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .4s var(--ease-fold), box-shadow .4s var(--ease-fold), border-color .3s ease;
}
/* Hover: lift + a crisp 2px amber ring that follows the card's rounded corners
   EXACTLY (box-shadow ring = uniform thickness, no distortion at any size). */
.product-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--amber-400), var(--shadow-3);
}
/* The old SVG "dieline" outline stretched out of shape (preserveAspectRatio
   none made the strokes and corners uneven) — replaced by the ring above. */
.product-card__frame { display: none; }

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-100);
  overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-fold);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }

/* Designed placeholder (navy panel + dieline illustration) */
.product-card__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: var(--navy-900);
  color: var(--navy-300);
}
.product-card__placeholder svg { width: 46%; height: auto; color: var(--navy-300); }
.product-card__placeholder .ph-label {
  position: absolute; bottom: 12px; left: 14px;
  font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate-200); opacity: .7;
}

.product-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card__cat {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--amber-600);
}
.product-card__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--navy-900); line-height: 1.2; }
.product-card__desc { font-size: .9rem; color: var(--slate-500); line-height: 1.55; }
.product-card__foot { margin-top: auto; padding-top: .75rem; display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.product-card__price {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy-900);
}
.product-card__price small { font-family: var(--font-mono); font-size: .68rem; font-weight: 400; color: var(--slate-500); letter-spacing: .04em; }
.product-card__price--quote { font-family: var(--font-mono); font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--amber-600); }
.product-card__go {
  width: 34px; height: 34px; flex: none;
  border-radius: var(--r-pill);
  background: var(--paper-100);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-900);
  transition: background-color .3s ease, transform .3s var(--ease-fold);
}
.product-card:hover .product-card__go { background: var(--amber-400); transform: translateX(2px); }
.product-card__go svg { width: 16px; height: 16px; }
.product-card__link { position: absolute; inset: 0; z-index: 4; text-indent: -9999px; overflow: hidden; }

/* Dimension callout */
.dim-callout {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em;
  color: var(--slate-500); display: inline-flex; align-items: center; gap: .4rem;
}
.dim-callout::before, .dim-callout::after { content: ""; width: 8px; height: 1px; background: currentColor; }

/* --------------------------------------------------------------------------
   10. Stat tiles (count-up)
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat {
  padding: 1.5rem clamp(1rem, 2vw, 2rem);
  border-top: 1px solid var(--paper-200);
}
.section--navy .stat { border-top-color: var(--navy-700); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.section--navy .stat__num { color: #fff; }
.stat__num .unit { color: var(--amber-500); }
.section--navy .stat__num .unit { color: var(--amber-400); }
.stat__label {
  margin-top: .6rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.section--navy .stat__label { color: var(--slate-200); }

/* --------------------------------------------------------------------------
   11. Tier price table
   -------------------------------------------------------------------------- */
.tier-table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--paper-200); }
.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: .9rem;
  background: #fff;
}
.tier-table caption {
  text-align: left;
  padding: .9rem 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--amber-600);
  background: var(--paper-100);
  border-bottom: 1px solid var(--paper-200);
}
.tier-table th, .tier-table td { padding: .8rem 1rem; text-align: right; border-bottom: 1px solid var(--paper-200); }
.tier-table th:first-child, .tier-table td:first-child { text-align: left; }
.tier-table thead th {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate-500); background: var(--paper-50);
}
.tier-table tbody tr:last-child td { border-bottom: none; }
.tier-table tbody tr { transition: background-color .2s ease; }
.tier-table tbody tr.is-active { background: var(--amber-100); }
.tier-table tbody tr.is-active td { color: var(--navy-900); font-weight: 700; }
.tier-table .tier-price { color: var(--navy-900); font-weight: 700; }

/* --------------------------------------------------------------------------
   12. Forms
   -------------------------------------------------------------------------- */
.field { position: relative; margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: .45rem;
}
.field .req { color: var(--amber-600); }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: .85rem 1rem;
  background: #fff;
  border: 1.5px solid var(--paper-200);
  border-radius: var(--r);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%235A6B85' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--amber-400);
  box-shadow: 0 0 0 3px rgba(240,168,64,0.28);
}
.input::placeholder, .textarea::placeholder { color: var(--slate-500); opacity: 1; } /* full opacity keeps placeholder >=4.5:1 on white */
.field__error {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--error);
  margin-top: .4rem;
  display: none;
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.field.has-error .field__error { display: block; }
.field__hint { font-size: .8rem; color: var(--slate-500); margin-top: .4rem; }

/* File / dropzone */
.dropzone {
  border: 2px dashed var(--paper-200);
  border-radius: var(--r);
  padding: 1.75rem;
  text-align: center;
  color: var(--slate-500);
  transition: border-color .2s ease, background-color .2s ease;
}
.dropzone.is-drag { border-color: var(--amber-400); background: var(--amber-100); }

/* Honeypot (never shown) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fields row */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* --------------------------------------------------------------------------
   13. FAQ accordion (mono-numbered)
   -------------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--paper-200); counter-reset: faq; }
.faq-item { border-bottom: 1px solid var(--paper-200); }
.faq-q {
  width: 100%;
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--navy-900);
}
.faq-q::before {
  counter-increment: faq;
  content: counter(faq, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  color: var(--amber-600);
  padding-top: .3rem;
  flex: none;
}
.faq-q .faq-icon {
  margin-left: auto; flex: none;
  width: 24px; height: 24px;
  position: relative;
  transition: transform .3s var(--ease-fold);
}
.faq-q .faq-icon::before, .faq-q .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2px; background: var(--navy-500);
  transform: translate(-50%,-50%);
}
.faq-q .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .3s var(--ease-fold); }
.faq-item.open .faq-q .faq-icon::after { transform: translate(-50%,-50%) rotate(0); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease-fold);
}
.faq-a__inner { padding: 0 0 1.5rem 2.6rem; color: var(--slate-500); max-width: 68ch; }
.faq-item.open .faq-a { max-height: 600px; }

/* --------------------------------------------------------------------------
   14. Corrugated divider
   -------------------------------------------------------------------------- */
.divider { display: block; line-height: 0; position: relative; z-index: 2; }
.divider svg { display: block; width: 100%; height: clamp(18px, 3vw, 32px); }

/* --------------------------------------------------------------------------
   15. CTA band + rotating stamp seal
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  isolation: isolate;
}
.cta-band__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  opacity: .28;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(8,24,51,0.92), rgba(12,33,68,0.7));
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band .lead { color: var(--slate-200); max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Rotating stamp seal */
.stamp {
  position: relative;
  width: clamp(96px, 12vw, 132px);
  aspect-ratio: 1;
  flex: none;
  color: var(--amber-400);
}
.stamp__ring { animation: stamp-spin 20s linear infinite; transform-origin: center; }
.stamp text { font-family: var(--font-mono); font-size: 8.2px; letter-spacing: 1.5px; fill: currentColor; text-transform: uppercase; }
.stamp__core { fill: none; stroke: currentColor; stroke-width: 1.2; opacity: .5; }
.stamp__mark { fill: currentColor; }
@keyframes stamp-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   16. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs { padding-block: 1rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .03em; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; color: var(--slate-500); }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--paper-200); }
.section--navy .breadcrumbs li:not(:last-child)::after { color: var(--navy-300); }
.breadcrumbs a { color: var(--slate-500); }
.breadcrumbs a:hover { color: var(--amber-600); }
.breadcrumbs li[aria-current] { color: var(--navy-900); }
.section--navy .breadcrumbs a, .section--navy .breadcrumbs li { color: var(--slate-200); }
.section--navy .breadcrumbs li[aria-current] { color: #fff; }

/* --------------------------------------------------------------------------
   17. Industries strip
   -------------------------------------------------------------------------- */
.industries-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--paper-200); border: 1px solid var(--paper-200); border-radius: var(--r-lg); overflow: hidden; }
.industry-cell {
  position: relative;
  background: #fff;
  padding: 1.5rem 1.4rem;
  min-height: 150px;
  display: flex; flex-direction: column; gap: .5rem;
  transition: background-color .3s ease, transform .3s var(--ease-fold);
}
.industry-cell:hover { background: var(--navy-900); }
.industry-cell:hover .industry-cell__name,
.industry-cell:hover .industry-cell__desc { color: #fff; }
.industry-cell:hover .industry-cell__icon { color: var(--amber-400); }
.industry-cell__icon { width: 34px; height: 34px; color: var(--navy-500); transition: color .3s ease; }
.industry-cell__name { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--navy-900); margin-top: auto; transition: color .3s ease; }
.industry-cell__desc { font-size: .82rem; color: var(--slate-500); transition: color .3s ease; }
.industry-cell__link { position: absolute; inset: 0; text-indent: -9999px; overflow: hidden; }

/* --------------------------------------------------------------------------
   18. Testimonial
   -------------------------------------------------------------------------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--paper-200);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}
.testimonial__quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; color: var(--navy-900); }
.testimonial__quote::before { content: "\201C"; font-size: 2.5em; line-height: 0; color: var(--amber-400); vertical-align: -0.35em; margin-right: .05em; }
.testimonial__stars { display: inline-flex; gap: 2px; margin-bottom: 1rem; color: var(--amber-600); } /* ≥3:1 on the white card (WCAG 1.4.11) */
.testimonial__stars svg { width: 18px; height: 18px; }
.testimonial__foot { margin-top: 1.5rem; display: flex; align-items: center; gap: .85rem; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--navy-900); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.testimonial__logo { height: 32px; width: auto; }
.testimonial__who { font-weight: 600; color: var(--navy-900); font-size: .95rem; }
.testimonial__role { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .03em; color: var(--slate-500); }

/* --------------------------------------------------------------------------
   19. Quote CTA (inline) + quote basket
   -------------------------------------------------------------------------- */
.quote-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  background: var(--amber-100);
  border: 1px solid var(--amber-400);
  border-radius: var(--r-lg);
}
.quote-cta__text { display: flex; flex-direction: column; gap: .25rem; }
.quote-cta__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--navy-900); }
.quote-cta__sub { font-size: .92rem; color: var(--navy-700); }

/* Floating quote basket */
.quote-basket {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: min(340px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--paper-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  transform: translateY(140%);
  transition: transform .5s var(--ease-fold);
}
.quote-basket.has-items { transform: translateY(0); }
.quote-basket__head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; border: 0; cursor: pointer; text-align: left; gap: .75rem;
  padding: .9rem 1.1rem; background: var(--navy-900); color: #fff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.quote-basket.is-collapsed .quote-basket__head { border-radius: var(--r-lg); }
.quote-basket.is-collapsed .quote-basket__body,
.quote-basket.is-collapsed .quote-basket__foot { display: none; }
.quote-basket__title { font-family: var(--font-mono); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.quote-basket__count { background: var(--amber-400); color: var(--navy-900); font-family: var(--font-mono); font-weight: 700; font-size: .72rem; min-width: 22px; height: 22px; border-radius: var(--r-pill); display: inline-grid; place-items: center; padding: 0 .4rem; }
.quote-basket__body { max-height: 260px; overflow-y: auto; }
.quote-basket__item { display: flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem; border-bottom: 1px solid var(--paper-100); font-size: .88rem; }
.quote-basket__item .qb-name { flex: 1; color: var(--navy-900); }
.quote-basket__item .qb-qty { font-family: var(--font-mono); font-size: .76rem; color: var(--slate-500); }
.quote-basket__item .qb-remove { color: var(--slate-500); width: 24px; height: 24px; display: inline-grid; place-items: center; }
.quote-basket__item .qb-remove:hover { color: var(--error); }
.quote-basket__foot { padding: .9rem 1.1rem; }
.quote-basket__empty { padding: 1.25rem 1.1rem; color: var(--slate-500); font-size: .88rem; text-align: center; }
.quote-basket__item .qb-qty { width: 56px; text-align: center; border: 1px solid var(--paper-200); border-radius: var(--r-sm, 6px); padding: .2rem .3rem; }

/* Add-to-quote chip on product cards (sits above the full-card overlay link) */
.product-card__add {
  position: absolute; top: .6rem; right: .6rem; z-index: 5;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .32rem .6rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92); color: var(--navy-900);
  font-family: var(--font-mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  box-shadow: var(--shadow-1); cursor: pointer;
  transition: background-color .25s ease, transform .25s var(--ease-fold);
}
.product-card__add svg { width: 13px; height: 13px; }
.product-card__add:hover { background: var(--amber-400); transform: translateY(-1px); }
.product-card__add.is-added { background: var(--success, #1c9d63); color: #fff; }

/* Quote wizard (built by quote-builder.js; no-JS shows every step + one submit) */
.wizard-rail {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  margin: 0 0 1.75rem; padding: 0; counter-reset: wz;
}
.wizard-rail__step {
  counter-increment: wz; position: relative;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .03em;
  color: var(--slate-500); display: flex; align-items: center; gap: .5rem;
}
.wizard-rail__step::before {
  content: counter(wz); display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper-100); color: var(--slate-500);
  font-weight: 700; flex: none;
}
.wizard-rail__step.is-active { color: var(--navy-900); }
.wizard-rail__step.is-active::before { background: var(--amber-400); color: var(--navy-900); }
.wizard-rail__step.is-done::before { background: var(--navy-900); color: #fff; }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.wizard-nav .btn { min-width: 130px; justify-content: center; }

.qb-review__list { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .9rem; color: var(--navy-700); }
.qb-review__list li { margin: .15rem 0; }
.qb-review__list span { font-family: var(--font-mono); color: var(--navy-900); }

/* --------------------------------------------------------------------------
   20. Reveal-on-scroll ("press & fold")
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px) rotateX(8deg);
  transform-origin: top center;
  will-change: transform, opacity;
  transition: opacity .7s var(--ease-fold), transform .7s var(--ease-fold);
}
.reveal.in { opacity: 1; transform: none; }
/* Stagger children */
.reveal-group > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-fold), transform .6s var(--ease-fold); }
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-group.in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-group.in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-group.in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-group.in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-group.in > *:nth-child(6) { transition-delay: 350ms; }
.reveal-group.in > *:nth-child(7) { transition-delay: 420ms; }
.reveal-group.in > *:nth-child(8) { transition-delay: 490ms; }

/* Failsafe: once page has loaded, never leave content hidden */
.loaded .reveal:not(.in),
.loaded .reveal-group:not(.in) > * { opacity: 1; transform: none; transition: none; }
/* No-JS: show everything */
html:not(.js) .reveal,
html:not(.js) .reveal-group > * { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   21. Hero mount (Three.js is a LATER phase, static poster now)
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; z-index: 0; }
.hero__poster { position: absolute; inset: 0; z-index: 0; }
.hero__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(5rem, 12vw, 9rem); }
.hero h1 { color: #fff; }
.hero .lead { color: var(--slate-200); }

/* --------------------------------------------------------------------------
   22. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.actions--center { justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: var(--r-pill);
  background: var(--amber-100); color: var(--amber-600);
}
.section--navy .badge { background: rgba(240,168,64,0.16); color: var(--amber-400); }
.hairline { height: 1px; background: var(--paper-200); border: 0; }
.section--navy .hairline { background: var(--navy-700); }

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-primary, .nav-actions .cur-toggle, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { gap: .5rem; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .quote-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   24. Reduced motion, kill all non-essential animation
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; }
  .stamp__ring { animation: none !important; }
  .product-card:hover,
  .work-card:hover,
  .machine-card:hover { transform: none; }
}

/* Hero background-video pause/play control (WCAG 2.2.2 Pause, Stop, Hide) */
.hero-video__toggle {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #fff;
  background: rgba(11, 22, 45, .45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  transition: background-color .2s ease;
}
.hero-video__toggle:hover { background: rgba(11, 22, 45, .72); }
.hero-video__toggle svg { width: 18px; height: 18px; }
.hero-video__toggle .icon-play { display: none; }
.hero-video__toggle.is-paused .icon-pause { display: none; }
.hero-video__toggle.is-paused .icon-play { display: inline; }

/* Print */
@media print {
  .site-header, .mobile-nav, .quote-basket, .cta-band, .stamp { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   25. Page components (pages layer), split hero, process story, product
       detail, spec list, capability/value cards, portfolio & blog grids,
       tracking timeline, bank-details, page-head. Composes the section-6
       primitives above; no new design tokens.
   ========================================================================== */

/* Generic page head (inner pages) */
.page-head { padding-block: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lead { max-width: 60ch; }

/* --- Split hero (homepage) ------------------------------------------------ */
.hero--split .hero__inner {
  display: grid; align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero__copy { max-width: 42rem; }
.hero__copy .lead { max-width: 46ch; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--navy-700);
}
.hero-trust__item {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .02em;
  color: var(--slate-200);
}
.hero-trust__item svg { width: 1.05rem; height: 1.05rem; color: var(--amber-400); flex: none; }
.hero__media {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--r-lg, 16px);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-3);
}
.hero__media #hero-canvas { position: absolute; inset: 0; z-index: 2; }
.hero__media .hero__poster { position: absolute; inset: 0; z-index: 1; }
.hero__media .hero__poster img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.hero__media-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: #fff;
  background: rgba(12,33,68,0.7); backdrop-filter: blur(6px);
  padding: .35rem .6rem; border-radius: var(--r-pill);
}
@media (max-width: 900px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16 / 11; max-height: 420px; order: -1; }
}

/* --- Media frame (reusable picture wrapper) ------------------------------- */
.media-frame {
  position: relative; overflow: hidden;
  border-radius: var(--r); background: var(--navy-950);
}
.media-frame picture { display: block; width: 100%; height: 100%; }
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* --- Category card -------------------------------------------------------- */
.cat-card {
  position: relative; display: block;
  border-radius: var(--r); overflow: hidden;
  background: var(--navy-900); color: #fff;
  aspect-ratio: 4 / 3; isolation: isolate;
  box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease-fold), box-shadow .35s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transition: transform .6s var(--ease-fold);
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8,24,51,0.92) 6%, rgba(8,24,51,0.30) 55%, rgba(8,24,51,0.15) 100%);
}
.cat-card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.25rem 1.35rem; }
.cat-card__over { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-400); }
.cat-card__name { color: #fff; font-family: var(--font-display); font-size: 1.3rem; margin: .25rem 0 0; }
.cat-card__desc { color: var(--slate-200); font-size: .9rem; margin: .35rem 0 0; }
.cat-card__go { display: inline-flex; align-items: center; gap: .35rem; margin-top: .6rem; font-family: var(--font-mono); font-size: .75rem; color: #fff; }
.cat-card__go svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease-fold); }
.cat-card:hover .cat-card__go svg { transform: translateX(4px); }

/* --- Process story (Design -> Print -> Cut -> Fold -> Ship) --------------- */
.process { counter-reset: step; }
.process__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.process__step { position: relative; padding-top: 1.5rem; }
.process__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: .8rem; font-weight: 700;
  color: var(--amber-400); letter-spacing: .05em;
}
.process__rule { height: 2px; background: var(--navy-700); margin: .75rem 0 1rem; position: relative; overflow: hidden; }
.process__rule::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--amber-400); }
.process__step h3 { color: #fff; font-size: 1.15rem; margin: 0 0 .4rem; }
.process__step p { color: var(--slate-200); font-size: .9rem; margin: 0; }
.process__figure { margin-top: 3rem; border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 6; }
.process__figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .process__track { grid-template-columns: 1fr 1fr; }
  .process__figure { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) { .process__track { grid-template-columns: 1fr; } }

/* --- Capabilities / value cards ------------------------------------------ */
.value-card {
  background: var(--paper-50); border: 1px solid var(--paper-200);
  border-radius: var(--r); padding: 1.75rem;
  transition: transform .3s var(--ease-fold), box-shadow .3s ease, border-color .3s ease;
}
.section--navy .value-card { background: var(--navy-950); border-color: var(--navy-700); }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--amber-400); }
.value-card__icon { width: 44px; height: 44px; color: var(--amber-600); margin-bottom: 1rem; }
.section--navy .value-card__icon { color: var(--amber-400); }
.value-card h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.value-card p { margin: 0; color: var(--slate-500); font-size: .95rem; }
.section--navy .value-card p { color: var(--slate-200); }

/* --- Product detail ------------------------------------------------------- */
.product-detail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; } }
.gallery__main { border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1; background: var(--navy-950); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; } /* 2026-08-23: real product photos are mostly portrait, show them whole on navy (same rule as .work-hero) */
.gallery__thumbs { display: flex; gap: .75rem; margin-top: .85rem; flex-wrap: wrap; }
.gallery__thumb { width: 76px; height: 60px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--navy-950); cursor: pointer; padding: 0; }
.gallery__thumb.is-active { border-color: var(--amber-400); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.buy-panel { position: sticky; top: 92px; }
.buy-panel__price { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.4rem); color: var(--navy-900); }
.buy-panel__price .unit { font-family: var(--font-mono); font-size: .85rem; color: var(--slate-500); }
.qty-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--paper-200); border-radius: var(--r); overflow: hidden; }
.qty-stepper button { width: 46px; border: 0; background: var(--paper-100); font-size: 1.3rem; color: var(--navy-900); cursor: pointer; }
.qty-stepper button:hover { background: var(--amber-100); }
.qty-stepper input { width: 90px; border: 0; text-align: center; font-family: var(--font-mono); font-size: 1rem; }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--paper-200); }
.calc-line .price { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-900); }
.meta-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.meta-list li { display: flex; gap: .75rem; padding: .5rem 0; font-size: .92rem; border-bottom: 1px solid var(--paper-200); }
.meta-list li svg { width: 1.1rem; height: 1.1rem; color: var(--amber-600); flex: none; }

/* --- Spec table (definition rows from specs_json) ------------------------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--paper-200); vertical-align: top; }
.spec-table th { font-family: var(--font-mono); font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-500); width: 38%; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.feature-list li { display: flex; gap: .6rem; align-items: flex-start; }
.feature-list li svg { width: 1.1rem; height: 1.1rem; color: var(--amber-600); flex: none; margin-top: .1rem; }

/* --- Prose (policy / blog article) --------------------------------------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.25rem; font-size: 1.6rem; }
.prose h3 { margin-top: 1.75rem; font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .4rem; }
.prose a { color: var(--amber-600); text-decoration: underline; text-underline-offset: 3px; }

/* --- Portfolio + blog cards ---------------------------------------------- */
.tile {
  display: block; border-radius: var(--r); overflow: hidden;
  background: var(--paper-50); border: 1px solid var(--paper-200);
  transition: transform .3s var(--ease-fold), box-shadow .3s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tile__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-950); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-fold); }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__body { padding: 1.25rem 1.35rem; }
.tile__over { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-600); }
.tile__title { font-family: var(--font-display); font-size: 1.2rem; margin: .35rem 0 .4rem; color: var(--navy-900); }
.tile__excerpt { font-size: .92rem; color: var(--slate-500); margin: 0; }
.tile__meta { font-family: var(--font-mono); font-size: .72rem; color: var(--slate-500); margin-top: .6rem; }

/* --- Tracking timeline --------------------------------------------------- */
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--paper-200); }
.timeline li { position: relative; padding: 0 0 1.5rem .5rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.5rem - 1px); top: .25rem; width: 12px; height: 12px; border-radius: 50%; background: var(--paper-200); transform: translateX(-5px); }
.timeline li.is-current::before { background: var(--amber-400); box-shadow: 0 0 0 4px var(--amber-100); }
.timeline__status { font-weight: 600; text-transform: capitalize; }
.timeline__time { font-family: var(--font-mono); font-size: .75rem; color: var(--slate-500); }

/* --- Info / bank-details box --------------------------------------------- */
.info-box {
  background: var(--paper-100); border: 1px solid var(--paper-200);
  border-radius: var(--r); padding: 1.5rem 1.75rem;
}
.info-box--accent { border-left: 4px solid var(--amber-400); }
.info-box dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; margin: 0; }
.info-box dt { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; color: var(--slate-500); }
.info-box dd { margin: 0; font-weight: 600; color: var(--navy-900); }
.ref-badge { display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; letter-spacing: .05em; color: var(--navy-900); background: var(--amber-100); padding: .5rem .9rem; border-radius: var(--r); }

/* --- Multi-step quote form rail ------------------------------------------ */
.quote-form { max-width: 52rem; }
.step { border: 1px solid var(--paper-200); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1.5rem; background: var(--paper-50); }
.step__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-900); color: #fff; font-family: var(--font-mono); font-weight: 700; font-size: .85rem; flex: none; }
.step__title { font-family: var(--font-display); font-size: 1.2rem; margin: 0; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r); font-size: .95rem; display: none; }
.form-status.is-error { display: block; background: #FEECEC; color: var(--error); border: 1px solid #F5C2C2; }
.form-status.is-ok { display: block; background: #E7F6EF; color: var(--success); border: 1px solid #BFE6D2; }

/* --- Contact split -------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list svg { width: 1.25rem; height: 1.25rem; color: var(--amber-600); flex: none; margin-top: .15rem; }
.contact-list a { color: var(--navy-900); font-weight: 600; }

/* --- 404 ------------------------------------------------------------------ */
.err-code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 11rem); line-height: 1; color: var(--navy-900); letter-spacing: -0.04em; }
.section--navy .err-code { color: #fff; }

/* ==========================================================================
   T4 MOTION LAYER  (hero fold canvas, contact shadow, split-text, custom
   cursor, pinned process story). Layered ON TOP of the static design, every
   rule here is additive and degrades to the existing look with no JS.
   ========================================================================== */

/* --- Hero fold canvas + contact shadow ------------------------------------ */
#hero-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
/* Soft radial "contact shadow" under the 3D box (no WebGL shadows). */
.hero__contact-shadow {
  position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
  width: 62%; height: 15%; z-index: 1; pointer-events: none;
  opacity: 0; transition: opacity .8s ease;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.5), rgba(0,0,0,0) 70%);
  filter: blur(6px);
}
/* Once the 3D scene is live, fade the static poster and show the shadow. The
   poster stays in the DOM so it remains the no-JS / fallback default. */
.hero__media.canvas-live .hero__poster { opacity: 0; transition: opacity .8s ease; }
.hero__media.canvas-live .hero__contact-shadow { opacity: 1; }

/* --- Split-text stagger (hero H1) ----------------------------------------- */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; }
.split-inner { display: inline-block; will-change: transform; }

/* --- Pinned process story (enhanced only when JS drives it) --------------- */
.process--scenes .process__rule::after { width: var(--rule-fill, 0%); transition: none; }
.process--scenes .process__step { transition: opacity .4s ease; opacity: .5; }
.process--scenes .process__step.is-active,
.process--scenes .process__step.is-done { opacity: 1; }
.process--scenes .process__step.is-active h3 { color: var(--amber-400); }

/* --- Custom double-ring cursor (desktop fine-pointer only) ---------------- */
.ap-cursor-dot, .ap-cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%; mix-blend-mode: difference; opacity: 0;
  margin-left: 0; margin-top: 0; will-change: transform;
}
.ap-cursor-dot {
  width: 7px; height: 7px; background: #fff;
  transform: translate(-50%, -50%); margin: -3.5px 0 0 -3.5px;
}
.ap-cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid #fff; margin: -17px 0 0 -17px;
  transition: width .25s ease, height .25s ease, margin .25s ease, border-color .25s ease;
}
.ap-cursor-on .ap-cursor-dot, .ap-cursor-on .ap-cursor-ring { opacity: 1; }
.ap-cursor-ring.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.ap-cursor-ring.is-down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
/* Hide the native cursor while ours is active, but keep it on text fields. */
.has-ap-cursor.ap-cursor-on, .has-ap-cursor.ap-cursor-on a,
.has-ap-cursor.ap-cursor-on button, .has-ap-cursor.ap-cursor-on [data-magnetic] { cursor: none; }
.has-ap-cursor.ap-cursor-on input,
.has-ap-cursor.ap-cursor-on textarea,
.has-ap-cursor.ap-cursor-on select { cursor: auto; }

@media (max-width: 767px), (prefers-reduced-motion: reduce), (pointer: coarse) {
  .ap-cursor-dot, .ap-cursor-ring { display: none !important; }
}

/* ============================================================================
   CLEAN B2B PASS (2026-08-10), full-screen video hero + remove decorative bits
   Native scroll only; no smooth-scroll, no pin, no WebGL, no custom cursor.
   ========================================================================== */

/* Full-screen video hero */
.hero-video {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  /* Clean navy gradient shown until a hero.mp4 is added (no busy photo). */
  background:
    radial-gradient(120% 90% at 80% 0%, #1E3A6B 0%, rgba(30,58,107,0) 55%),
    linear-gradient(160deg, #0C2144 0%, #0B1A38 55%, #081428 100%);
}
/* Subtle dieline motif so the plain hero still feels crafted (very low contrast). */
.hero-video::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(240,168,64,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,168,64,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 70% at 75% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 70% at 75% 40%, #000 0%, transparent 75%);
}
.hero-video__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9,17,32,.90) 0%, rgba(9,17,32,.70) 45%, rgba(9,17,32,.40) 100%);
}
/* No-video state: the section gradient is already clean, so no dark overlay. */
.hero-video__overlay--solid { background: none; }
.hero-video__inner {
  position: relative; z-index: 2;
  max-width: 760px;
  padding-top: clamp(2.5rem, 7vw, 6rem);
  padding-bottom: clamp(2.5rem, 7vw, 6rem);
}
.hero-video .overline { color: var(--amber-500, #F0A840); }
.hero-video .display-1 { color: #fff; margin-bottom: .25em; }
.hero-video .lead { color: var(--slate-200, #cbd5e1); max-width: 46ch; }
.hero-video .hero-trust { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
@media (max-width: 768px) {
  .hero-video { min-height: 82vh; }
  .hero-video__overlay {
    background: linear-gradient(180deg, rgba(9,17,32,.72) 0%, rgba(9,17,32,.86) 100%);
  }
  .hero-video .lead { max-width: none; }
}

/* Removed decorative elements, belt-and-suspenders in case of cached markup */
.divider, .stamp, .reg-mark,
.ap-cursor-dot, .ap-cursor-ring { display: none !important; }
body, a, button, [data-magnetic] { cursor: auto; }        /* restore normal cursor */
[data-magnetic] { transform: none !important; }            /* neutralize magnetic offset */
.split-word { overflow: visible; }                         /* never clip headings */

/* ==========================================================================
   Contact map + directions (added 2026-08-12)
   ========================================================================== */
.contact-map { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.contact-map__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: .9rem; flex-wrap: wrap;
}
.contact-map__dir { display: inline-flex; align-items: center; gap: .45rem; }
.contact-map__dir svg { width: 16px; height: 16px; }
.contact-map__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 7;
  border: 1px solid var(--paper-200); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-1); background: var(--paper-100);
}
.contact-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 600px) { .contact-map__frame { aspect-ratio: 4 / 3; } }
.contact-list__dir {
  display: inline-block; margin-top: .25rem;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
  color: var(--amber-600);
}

/* ==========================================================================
   Sticky mobile quick-action bar, phones only (added 2026-08-12)
   ========================================================================== */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: flex; gap: .5rem;
    padding: .5rem calc(.6rem + env(safe-area-inset-right))
             calc(.5rem + env(safe-area-inset-bottom))
             calc(.6rem + env(safe-area-inset-left));
    background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--paper-200);
    box-shadow: 0 -6px 20px rgba(12,33,68,.10);
  }
  .mobile-cta__btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    min-height: 46px; padding: 0 .6rem; border-radius: 12px;
    font-family: var(--font-display); font-weight: 700; font-size: .92rem;
    background: var(--paper-100); color: var(--navy-900);
    border: 1px solid var(--paper-200); line-height: 1;
  }
  .mobile-cta__btn svg { width: 18px; height: 18px; }
  .mobile-cta__btn--primary {
    flex: 1.5; background: var(--amber-400); color: var(--navy-900);
    border-color: var(--amber-400); box-shadow: var(--shadow-2);
  }
  .mobile-cta__btn:active { transform: translateY(1px); }
  /* keep page content and the floating quote basket clear of the bar */
  body { padding-bottom: 64px; }
  .quote-basket { bottom: calc(64px + .75rem); }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .mobile-cta { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}

/* ==========================================================================
   26. REAL WORK / SECTIONS (2026-08-16)
   Work reel, machines, trusted-by, badges, media+text, gallery, video block,
   case study. Composes the section-6/25 primitives, .grid.grid--3 and .prose
   are reused as-is; the white-card-on-navy → navy-950 treatment follows the
   established .value-card convention. No new tokens, colours or fonts.
   ========================================================================== */

/* --- Work reel / case cards (whole card is an <a>) ------------------------ */
/* Grid comes from .grid.grid--3 already on the wrapper, nothing to add. */
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  background: #fff;
  border: 1px solid var(--paper-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease-fold), box-shadow .4s var(--ease-fold), border-color .3s ease;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: transparent;
  color: inherit;
}

.work-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-950);
  overflow: hidden;
}
.work-card__video,
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Centred play glyph, fades out on hover (JS starts the clip on hover). */
.work-card__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.92);
  color: var(--navy-900);
  box-shadow: var(--shadow-2);
  pointer-events: none;
  transition: opacity .3s var(--ease-fold), transform .3s var(--ease-fold);
}
.work-card__play svg { width: 22px; height: 22px; margin-left: 2px; }
.work-card:hover .work-card__play { opacity: 0; transform: translate(-50%, -50%) scale(.9); }

.work-card__body {
  display: flex; flex-direction: column;
  gap: .4rem;
  padding: 1.25rem 1.35rem 1.5rem;
}
.work-card__client {
  font-family: var(--font-mono);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber-600);
}
.work-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 500;
  line-height: 1.2;
  color: var(--navy-900);
  margin: 0;
}
.work-card__tag {
  align-self: flex-start;
  margin-top: .35rem;
  font-family: var(--font-mono);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--slate-500);
  background: var(--paper-100);
  padding: .28rem .6rem;
  border-radius: var(--r-pill);
}

/* On a navy section the card darkens to stay legible (mirrors .value-card). */
.section--navy .work-card { background: var(--navy-950); border-color: var(--navy-700); }
.section--navy .work-card:hover { border-color: var(--navy-300); }
.section--navy .work-card__client { color: var(--amber-400); }
.section--navy .work-card__title { color: #fff; }
.section--navy .work-card__tag { background: var(--navy-700); color: var(--slate-200); }

/* --- Machines & capabilities cards --------------------------------------- */
.machine-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--paper-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease-fold), box-shadow .4s var(--ease-fold), border-color .3s ease;
}
.machine-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); border-color: transparent; }
.machine-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-950);
  overflow: hidden;
}
.machine-card__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.machine-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.machine-card__body h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
.machine-card__body p { margin: 0; font-size: .95rem; color: var(--slate-500); }
.section--navy .machine-card { background: var(--navy-950); border-color: var(--navy-700); }
.section--navy .machine-card:hover { border-color: var(--navy-300); }
.section--navy .machine-card__body p { color: var(--slate-200); }

/* --- Trusted by (client logotype wall) ----------------------------------- */
.trusted__row {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vw, 2.75rem) clamp(2rem, 5vw, 3.5rem);
}
.trusted__item { display: inline-flex; align-items: center; }
.trusted__item img {
  max-height: 34px; width: auto;
  opacity: .72;
  transition: opacity .2s ease;
}
.trusted__item:hover img { opacity: 1; }
.trusted__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate-500);
}

/* --- Trust badges / certifications --------------------------------------- */
.badges__row {
  display: flex; flex-wrap: wrap;
  align-items: flex-start; justify-content: center;
  gap: clamp(1.75rem, 4vw, 3rem);
}
.badges__item { max-width: 220px; }
.badges__item,
.badges__link {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: .4rem;
}
.badges__link { color: inherit; transition: transform .25s var(--ease-fold); }
.badges__link:hover { color: inherit; transform: translateY(-2px); }
.badges__item img { max-height: 60px; width: auto; }
.badges__name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem;
  color: var(--navy-900);
}
.badges__link:hover .badges__name { color: var(--amber-600); }
.badges__desc {
  font-family: var(--font-mono);
  font-size: .75rem; letter-spacing: .02em;
  color: var(--slate-500);
  max-width: 26ch;
}

/* --- Media + text (two-column, flip-able) -------------------------------- */
.media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.media-text--flip .media-text__media { order: -1; }
.media-text__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-2);
}
.media-text__media img { width: 100%; height: auto; display: block; }

/* --- Gallery grid (3 / 2 / 1) -------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.gallery-grid__item { margin: 0; }
.gallery-grid__item img {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  background: var(--navy-950);
}
.gallery-grid__item figcaption {
  margin-top: .6rem;
  font-family: var(--font-mono);
  font-size: .75rem; letter-spacing: .02em;
  color: var(--slate-500);
}
.section--navy .gallery-grid__item figcaption { color: var(--slate-200); }

/* --- Single video block --------------------------------------------------- */
.video-block { display: flex; justify-content: center; }
.video-block__player {
  display: block;
  width: min(100%, 960px);
  height: auto;               /* video keeps its own aspect ratio */
  border-radius: var(--r-lg);
  background: var(--navy-950);
  box-shadow: var(--shadow-3);
}

/* --- Prose extras (base .prose already defined in §25) -------------------- */
.prose--center { text-align: center; }
.prose--center > * { margin-inline: auto; }
.prose blockquote {
  border-left: 3px solid var(--amber-400);
  padding-left: 1.1rem;
  color: var(--navy-700);
  font-style: italic;
}
.section--navy .prose a { color: var(--amber-400); }
.section--navy .prose blockquote { color: var(--slate-200); }

/* --- Case study head (text + media) -------------------------------------- */
.case-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.case-head__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-3);
}
.case-head__media img,
.case-head__media .case-video { width: 100%; height: auto; display: block; }
.case-video { border-radius: var(--r-lg); }
.case-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--paper-200);
}
.case-meta li { display: flex; flex-direction: column; gap: .2rem; }
.case-meta span {
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--slate-500);
}
.case-meta strong {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.05rem;
  color: var(--navy-900);
}

/* --- Responsive: two-column content stacks (image below text) ------------ */
@media (max-width: 900px) {
  .media-text, .case-head { grid-template-columns: 1fr; }
  .media-text--flip .media-text__media { order: 0; }  /* image below text */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: 1fr; }
}

/* ==========================================================================
   §27. PREMIER-STYLE ROUND (2026-08-17)
   Utility topbar · header search · nav dropdowns · mega footer · WhatsApp
   float · quote rail · category carousels · video band · review invite ·
   quote configurator · product tabs · filters · FAQ search.
   Clean/fast lane: transform+opacity only, reduced-motion aware.
   ========================================================================== */

/* Screen-reader-only text (labels for search fields etc.) */
.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; }

/* ---- Utility topbar ---- */
.topbar { background: var(--navy-950); color: var(--slate-200); font-size: var(--fs-small); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .4rem; padding-bottom: .4rem; }
.topbar__note { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__links { display: flex; gap: 1.1rem; align-items: center; flex-shrink: 0; }
.topbar__links a { display: inline-flex; align-items: center; gap: .35rem; color: var(--slate-200); text-decoration: none; transition: color .2s; }
.topbar__links a:hover { color: #fff; }
.topbar__links svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .topbar__note, .topbar__links a.topbar__hide-sm { display: none; } .topbar__inner { justify-content: center; } }

/* ---- Header search ---- */
.header-search { display: flex; align-items: center; background: var(--paper-100); border: 1px solid var(--paper-200); border-radius: var(--r-pill); padding: 0 .25rem 0 .9rem; height: 38px; transition: box-shadow .2s, border-color .2s, width .25s var(--ease-fold); width: 170px; }
.header-search:focus-within { border-color: var(--navy-300); box-shadow: 0 0 0 3px rgba(24,64,128,.12); width: 230px; }
.header-search input { border: 0; background: transparent; font: inherit; font-size: var(--fs-small); color: var(--ink); width: 100%; outline: none; }
.header-search button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--navy-500); cursor: pointer; }
.header-search button:hover { background: var(--paper-200); }
.header-search svg { width: 16px; height: 16px; }
@media (max-width: 1180px) { .header-search { display: none; } }

/* ---- Nav dropdowns ---- */
.nav-primary .has-dd { position: relative; display: flex; align-items: center; gap: .1rem; }
.dd-toggle { display: grid; place-items: center; width: 20px; height: 20px; border: 0; background: transparent; color: var(--slate-500); cursor: pointer; border-radius: 4px; transition: transform .25s var(--ease-fold), color .2s; }
.dd-toggle svg { width: 14px; height: 14px; }
.has-dd:hover .dd-toggle, .has-dd.is-open .dd-toggle { color: var(--navy-500); transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); min-width: 240px; background: #fff; border: 1px solid var(--paper-200); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: .6rem; display: grid; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s var(--ease-fold), visibility .22s; z-index: 60; }
.dd-panel::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; } /* hover bridge */
.has-dd:hover .dd-panel, .has-dd:focus-within .dd-panel, .has-dd.is-open .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-panel a { display: block; padding: .55rem .8rem; border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: var(--fs-small); font-weight: 600; transition: background .15s, color .15s; }
.dd-panel a:hover { background: var(--paper-100); color: var(--navy-500); }
.dd-panel__all { border-top: 1px solid var(--paper-200); margin-top: .35rem; padding-top: .7rem !important; color: var(--amber-600) !important; }
@media (max-width: 1023px) { .dd-toggle, .dd-panel { display: none; } }

/* ---- Mobile nav extras ---- */
.mobile-nav__search { display: flex; gap: .5rem; margin: 0 0 1rem; }
.mobile-nav__search input { flex: 1; border: 1px solid var(--navy-300); background: rgba(255,255,255,.08); color: #fff; border-radius: var(--r-pill); padding: .6rem 1rem; font: inherit; }
.mobile-nav__search input::placeholder { color: var(--slate-200); }
.mobile-nav__search button { display: grid; place-items: center; width: 42px; border: 1px solid var(--navy-300); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.mobile-nav__search svg { width: 18px; height: 18px; }
.m-link--sub { font-size: .95rem; opacity: .8; padding-left: 1.25rem !important; }

/* ---- Mega footer ---- */
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 2.5rem; flex-wrap: wrap; }
.footer-tagline { font-family: var(--font-display); font-size: var(--fs-h4); color: #fff; margin-top: .75rem; max-width: 34ch; }
.footer-news { max-width: 420px; flex: 1 1 300px; }
.footer-news label { display: block; font-size: var(--fs-small); font-weight: 700; color: #fff; margin-bottom: .5rem; }
.footer-news__row { display: flex; gap: .5rem; }
.footer-news__row input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.07); color: #fff; border-radius: var(--r-pill); padding: .6rem 1.1rem; font: inherit; font-size: var(--fs-small); }
.footer-news__row input::placeholder { color: var(--slate-200); }
.footer-news__row input:focus { outline: 2px solid var(--amber-400); outline-offset: 2px; }
.footer-news__msg { font-size: var(--fs-small); color: #7ED9A7; margin-top: .5rem; }
.footer-news__msg.is-err { color: #FCA5A5; }
.footer-catalog { margin-top: 1rem; }
.footer-catalog svg { width: 16px; height: 16px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--slate-200); transition: color .2s, border-color .2s, transform .2s; }
.footer-social a:hover { color: #fff; border-color: var(--amber-400); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }

/* ---- WhatsApp float (desktop) + quote rail ---- */
.wa-float { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 70; display: none; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: var(--shadow-3); transition: transform .25s var(--ease-fold), box-shadow .25s; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 768px) { .wa-float { display: grid; } }
.quote-rail { position: fixed; right: 0; top: 50%; z-index: 69; display: none; transform: rotate(180deg) translateY(50%); writing-mode: vertical-rl; background: var(--navy-500); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-small); letter-spacing: .06em; padding: 1.1rem .55rem; border-radius: 0 var(--r) var(--r) 0; box-shadow: var(--shadow-2); transition: background .2s, padding .2s; }
.quote-rail:hover { background: var(--navy-700); padding-right: .8rem; }
@media (min-width: 1024px) { .quote-rail { display: block; } }

/* ---- Category carousels ---- */
.section--carousel { padding-top: calc(var(--section-y) * .55); padding-bottom: calc(var(--section-y) * .55); }
.carousel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.carousel-head__title { font-size: var(--fs-h3); }
.carousel-head__side { display: flex; align-items: center; gap: 1rem; }
.carousel-head__all { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: var(--fs-small); color: var(--amber-600); text-decoration: none; }
.carousel-head__all:hover { text-decoration: underline; }
.carousel-head__all svg { width: 15px; height: 15px; }
.carousel__nav { display: flex; gap: .4rem; }
.carousel__btn { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--paper-200); border-radius: 50%; background: #fff; color: var(--navy-500); cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.carousel__btn:hover:not(:disabled) { background: var(--navy-500); color: #fff; }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__btn svg { width: 17px; height: 17px; }
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 300px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1rem; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; display: flex; }
.carousel__item > * { width: 100%; }
@media (max-width: 767px) { .carousel__nav { display: none; } }

/* ---- Category tile hover video ---- */
.cat-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; pointer-events: none; }
.cat-card:hover .cat-card__video, .cat-card:focus-visible .cat-card__video { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cat-card__video { display: none; } }

/* ---- Full-width video band ---- */
.video-band { position: relative; min-height: clamp(380px, 55vh, 560px); display: grid; align-items: center; overflow: hidden; background: var(--navy-900); }
.video-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-band__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,24,51,.92) 0%, rgba(8,24,51,.72) 45%, rgba(8,24,51,.35) 100%); }
.video-band__inner { position: relative; z-index: 1; padding-top: var(--space-8); padding-bottom: var(--space-8); max-width: 640px; margin-right: auto; }
.video-band__inner h2 { color: #fff; font-size: var(--fs-h2); margin-top: .5rem; }
.video-band__inner .lead { color: var(--slate-200); }
.overline--light { color: var(--amber-400); }
.video-band__toggle { position: absolute; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: rgba(11, 22, 45, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); transition: background-color .2s ease; cursor: pointer; }
.video-band__toggle:hover { background: rgba(11, 22, 45, .72); }
.video-band__toggle svg { width: 18px; height: 18px; }
.video-band__toggle .icon-play { display: none; }
.video-band__toggle.is-paused .icon-pause { display: none; }
.video-band__toggle.is-paused .icon-play { display: inline; }

/* ---- Review invite ---- */
.review-invite__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }

/* ---- Quote configurator ---- */
.qc { background: #fff; border: 1px solid var(--paper-200); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: clamp(1.25rem, 3vw, 2.25rem); }
.qc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem 1.25rem; }
.qc__field label { display: block; font-size: var(--fs-small); font-weight: 700; margin-bottom: .35rem; color: var(--navy-900); }
.qc__field select, .qc__field input { width: 100%; border: 1px solid var(--paper-200); border-radius: var(--r); background: var(--paper-50); padding: .6rem .75rem; font: inherit; font-size: var(--fs-small); color: var(--ink); }
.qc__field select:focus, .qc__field input:focus { outline: 2px solid var(--navy-300); outline-offset: 1px; border-color: var(--navy-300); }
.qc__dims { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .5rem; align-items: end; }
.qc__dims .qc__unit select { min-width: 74px; }
.qc__addons { display: flex; flex-wrap: wrap; gap: .5rem .9rem; }
.qc__check { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.qc__check input { width: 16px; height: 16px; accent-color: var(--navy-500); }
.qc__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.qc__note { font-size: var(--fs-small); color: var(--slate-500); max-width: 46ch; }

/* ---- Product page tabs ---- */
.tabs__list { display: flex; gap: .25rem; border-bottom: 2px solid var(--paper-200); margin-bottom: 1.5rem; overflow-x: auto; }
.tab-btn { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: var(--fs-small); color: var(--slate-500); padding: .8rem 1.1rem; cursor: pointer; position: relative; white-space: nowrap; }
.tab-btn::after { content: ''; position: absolute; left: .6rem; right: .6rem; bottom: -2px; height: 2.5px; background: var(--navy-500); transform: scaleX(0); transition: transform .25s var(--ease-fold); }
.tab-btn.is-active { color: var(--navy-900); }
.tab-btn.is-active::after { transform: scaleX(1); }
.tab-panel[hidden] { display: none; }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.spec-table th, .spec-table td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--paper-200); vertical-align: top; }
.spec-table th { width: 34%; color: var(--navy-900); font-weight: 700; }

/* ---- Products filter bar ---- */
.filters-bar { display: flex; gap: .5rem 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.75rem; }
.filters-bar__chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip { display: inline-block; padding: .42rem .95rem; border: 1px solid var(--paper-200); border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: var(--fs-small); font-weight: 600; text-decoration: none; transition: all .18s; }
.chip:hover { border-color: var(--navy-300); color: var(--navy-500); }
.chip.is-active { background: var(--navy-500); border-color: var(--navy-500); color: #fff; }
.filters-bar__sort { margin-left: auto; display: flex; align-items: center; gap: .5rem; font-size: var(--fs-small); }
.filters-bar__sort select { border: 1px solid var(--paper-200); border-radius: var(--r); background: #fff; padding: .45rem .6rem; font: inherit; font-size: var(--fs-small); }

/* ---- FAQ search ---- */
.faq-search { position: relative; max-width: 520px; margin: 0 auto 2rem; }
.faq-search input { width: 100%; border: 1px solid var(--paper-200); border-radius: var(--r-pill); background: #fff; padding: .8rem 1.1rem .8rem 2.8rem; font: inherit; box-shadow: var(--shadow-1); }
.faq-search input:focus { outline: 2px solid var(--navy-300); outline-offset: 1px; }
.faq-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--slate-500); }
.faq-group__title { font-size: var(--fs-h4); color: var(--navy-900); margin: 2rem 0 .75rem; }

/* ---- Factory tour ---- */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.tour-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-2); aspect-ratio: 9 / 14; }
.tour-card--wide { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
@media (min-width: 768px) { .tour-card--wide { grid-column: span 2; aspect-ratio: 16 / 9; } }
.tour-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-card__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 2.2rem 1rem .9rem; background: linear-gradient(transparent, rgba(8,24,51,.85)); color: #fff; font-size: var(--fs-small); font-weight: 700; }

/* ---- Cinematic case studies ---- */
.work-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-950); aspect-ratio: 9 / 12; max-height: 74vh; }
@media (min-width: 900px) { .work-hero { aspect-ratio: 16 / 9; } }
.work-hero video, .work-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--navy-950); }

/* ==========================================================================
   §28. POLISH PASS (2026-08-17), micro-interactions + typography tightening.
   Transform/opacity only; every effect is disabled under reduced motion.
   ========================================================================== */
.product-card, .work-card, .cat-card, .ind-card { transition: transform .35s var(--ease-fold), box-shadow .35s; }
.product-card:hover, .work-card:hover, .ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.product-card .product-card__media img, .cat-card > img, .cat-card picture img { transition: transform .6s var(--ease-fold); }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.cat-card:hover > img, .cat-card:hover picture img { transform: scale(1.05); }
.gallery__thumb { transition: transform .25s var(--ease-fold), border-color .25s; }
.gallery__thumb:hover { transform: translateY(-2px); }
.btn { will-change: transform; }
.btn:active { transform: translateY(1px) scale(.99); }
.footer-col a, .dd-panel a, .topbar__links a { transition: color .18s, transform .18s; }
.footer-col a:hover { transform: translateX(2px); display: inline-block; }
.overline { letter-spacing: .14em; }
.section__head { max-width: 68ch; }
.section__head .lead { max-width: 58ch; }
h1, h2, h3 { text-wrap: balance; }
p, .lead { text-wrap: pretty; }
.tour-card { transition: transform .35s var(--ease-fold), box-shadow .35s; }
.tour-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-3); }
@media (prefers-reduced-motion: reduce) {
  .product-card, .work-card, .cat-card, .ind-card, .tour-card, .gallery__thumb, .btn,
  .product-card .product-card__media img, .cat-card > img, .cat-card picture img { transition: none !important; transform: none !important; }
}

/* ==========================================================================
   §29. SAFARI-SAFE STILL + VIDEO MEDIA (2026-08-17 fix)
   Safari ignores object-fit on a <video> poster, which left landscape stills
   letterboxed inside tall cards (the empty navy gap the client reported).
   Fix: always paint a real <img> underneath (object-fit IS honoured on <img>
   in every browser) and fade the muted clip in only while it actually plays.
   ========================================================================== */
.tour-card__still, .tour-card__vid,
.machine-card__media img, .machine-card__media video,
.work-card__media img, .work-card__media video,
.video-band__still, .video-band__vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.tour-card__still, .machine-card__still, .work-card__still, .video-band__still { z-index: 0; }
.tour-card__vid, .machine-card__media video, .work-card__video, .video-band__vid {
  z-index: 1; opacity: 0; transition: opacity .4s ease;
}
video.is-playing, .video-band__vid.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .tour-card__vid, .machine-card__media video, .work-card__video, .video-band__vid { display: none; }
}

/* ==========================================================================
   §30. BRANDED MEDIA PLACEHOLDERS (2026-08-17), used when a product or
   category has no real photo yet. Honest, on-brand, never AI. Fills parent.
   ========================================================================== */
.ph-media {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem;
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(240,168,64,.10), transparent 55%),
    linear-gradient(150deg, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #fff; overflow: hidden; text-align: center;
}
.ph-media::after { /* subtle dotted texture */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 16px 16px; opacity: .5;
}
.ph-media__mono {
  position: absolute; top: -.15em; right: .12em; z-index: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(5rem, 22vw, 11rem); line-height: 1;
  color: rgba(255,255,255,.05); letter-spacing: -.04em; pointer-events: none;
}
.ph-media__icon { position: relative; z-index: 1; width: 34%; max-width: 82px; height: auto; color: var(--amber-400); }
.ph-media__tag {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--slate-200);
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill);
  padding: .28rem .7rem;
}
/* Placeholder inside a product card: sit behind the +Quote button and link. */
.product-card__media .ph-media { border-radius: 0; }

/* Placeholder needs a positioned parent to fill (product gallery main). */
.gallery__main { position: relative; }
.cat-card--ph .ph-media__tag { display: none; }
.cat-card--ph .cat-card__scrim { background: linear-gradient(transparent 40%, rgba(8,24,51,.55)); }
