/* =============================================================================
   WESTMAN — INDUSTRIAL TOOLS
   Main stylesheet (single shared file for every page)
   -----------------------------------------------------------------------------
   CONTENTS
   01. Design tokens (CSS variables)
   02. Fonts
   03. Reset & base elements
   04. Layout utilities (container, grid, stack, section)
   05. Typography components
   06. Buttons & links
   07. Header / navigation (desktop + mobile drawer)
   08. Hero & page hero
   09. Cards (feature, product, spec, capability)
   10. Statistics & counters
   11. Timeline (manufacturing stages)
   12. Accordion (FAQ)
   13. Tables (specifications)
   14. Gallery & lightbox
   15. Modal (product details)
   16. Forms (enquiry)
   17. Map placeholder
   18. CTA banner
   19. Footer
   20. Back-to-top button & toast notification
   21. Scroll reveal animations
   22. Utilities, placeholders & print
   -----------------------------------------------------------------------------
   HOW TO REBRAND: edit the variables inside :root in section 01 only.
   ============================================================================= */


/* =============================================================================
   01. DESIGN TOKENS
   ============================================================================= */
:root {
  /* --- Brand accent ------------------------------------------------------ */
  --brand: #f26522;              /* signature industrial orange */
  --brand-dark: #d14f10;
  --brand-light: #ff8c4d;
  --brand-soft: rgba(242, 101, 34, 0.12);
  --brand-red: #a5191f;          /* deep red, used sparingly */

  /* --- Graphite / charcoal neutrals -------------------------------------- */
  --ink-900: #08090b;
  --ink-800: #0e1013;
  --ink-700: #14171b;
  --ink-600: #1b1f24;
  --ink-500: #262b31;
  --ink-400: #353b43;
  --steel-600: #4b525b;
  --steel-500: #6a727c;
  --steel-400: #8b939d;
  --steel-300: #b1b8c0;
  --steel-200: #d7dce1;
  --steel-100: #e9ecef;
  --paper: #f5f6f8;
  --white: #ffffff;

  /* --- Semantic ---------------------------------------------------------- */
  --text: #191d22;
  --text-soft: #5b636d;
  --text-faint: #858d97;
  --text-invert: #ffffff;
  --text-invert-soft: rgba(255, 255, 255, 0.68);
  --text-invert-faint: rgba(255, 255, 255, 0.45);

  --line: rgba(10, 12, 15, 0.10);
  --line-strong: rgba(10, 12, 15, 0.18);
  --line-dark: rgba(255, 255, 255, 0.10);
  --line-dark-strong: rgba(255, 255, 255, 0.20);

  /* --- Surfaces ---------------------------------------------------------- */
  --bg-body: #ffffff;
  --bg-soft: var(--paper);
  --bg-dark: var(--ink-800);
  --bg-darker: var(--ink-900);

  /* --- Shadows ----------------------------------------------------------- */
  --shadow-xs: 0 1px 2px rgba(8, 9, 11, 0.06);
  --shadow-sm: 0 2px 4px rgba(8, 9, 11, 0.05), 0 4px 12px rgba(8, 9, 11, 0.06);
  --shadow-md: 0 6px 16px rgba(8, 9, 11, 0.08), 0 18px 40px rgba(8, 9, 11, 0.08);
  --shadow-lg: 0 12px 28px rgba(8, 9, 11, 0.12), 0 34px 70px rgba(8, 9, 11, 0.16);
  --shadow-accent: 0 8px 22px rgba(242, 101, 34, 0.30);

  /* --- Shape ------------------------------------------------------------- */
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius: 5px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  /* --- Metrics ----------------------------------------------------------- */
  --container: 1280px;
  --container-narrow: 880px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 82px;
  --section-y: clamp(64px, 7vw, 112px);

  /* --- Motion ------------------------------------------------------------ */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.18s;
  --dur: 0.32s;
  --dur-slow: 0.6s;

  /* --- Type -------------------------------------------------------------- */
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}


/* =============================================================================
   02. FONTS
   Loaded from Google Fonts. If the visitor is offline the system fallbacks
   declared in :root are used, so the layout still looks correct.
   ============================================================================= */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");


/* =============================================================================
   03. RESET & BASE
   ============================================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* keep in-page anchors clear of the sticky header */
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  background: var(--bg-body);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* guards against accidental horizontal scroll */
}

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

/* The scripts toggle the enquiry form and its confirmation block with the
   `hidden` attribute; author display rules would otherwise win over the
   browser default. */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: 0; }

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--section-y) 0;
}

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

/* Focus ring — visible for keyboards, quiet for mouse users */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

:focus:not(:focus-visible) { outline: none; }

/* Accessible skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.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;
}


/* =============================================================================
   04. LAYOUT UTILITIES
   ============================================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

/* Dark / light section variants */
.section--dark {
  background: var(--bg-dark);
  color: var(--text-invert);
}
.section--dark-alt {
  background: var(--bg-darker);
  color: var(--text-invert);
}
.section--soft { background: var(--bg-soft); }
.section--steel {
  background: var(--ink-700);
  color: var(--text-invert);
}
.section--light-line { border-top: 1px solid var(--line); }

/* Hairline grid overlay used on dark sections for a technical feel */
.grid-lines {
  position: relative;
  isolation: isolate;
}
.grid-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}

/* --- Grids --------------------------------------------------------------- */
.grid { display: grid; gap: clamp(18px, 2.2vw, 30px); }

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Auto-responsive grids: no media queries needed */
.grid--auto-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--auto-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--auto-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.grid--auto-5 { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }

.grid--sidebar {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}
.grid--sidebar-left { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.grid--sidebar-right { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

/* --- Stacks -------------------------------------------------------------- */
.stack > * + * { margin-top: var(--stack-gap, 18px); }
.stack--sm { --stack-gap: 12px; }
.stack--lg { --stack-gap: 30px; }
.stack--xl { --stack-gap: 46px; }

.flow-tight { margin-top: 14px; }
.flow { margin-top: 22px; }
.flow-lg { margin-top: 38px; }

.text-center { text-align: center; }
.text-center .section-head { align-items: center; }

/* Split layout helper: image beside text */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.split--top { align-items: start; }
.split__media { position: relative; }
.split__body > * + * { margin-top: 22px; }


/* =============================================================================
   05. TYPOGRAPHY
   ============================================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.05rem); }
h3 { font-size: clamp(1.28rem, 2vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.08rem; line-height: 1.3; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.75;
  color: var(--text-soft);
}
.section--dark .lead,
.section--dark-alt .lead,
.section--steel .lead { color: var(--text-invert-soft); }

.text-muted { color: var(--text-soft); }
.section--dark .text-muted,
.section--dark-alt .text-muted,
.section--steel .text-muted { color: var(--text-invert-soft); }

.text-accent { color: var(--brand); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Eyebrow: the small label above every heading ------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--muted { color: var(--steel-500); }
.eyebrow--muted::before { background: var(--steel-500); }

/* --- Section header block ----------------------------------------------- */
.section-head { max-width: 760px; }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

/* Heading with an accented word */
.accent-word {
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}

/* Big statement heading (hero / section titles) */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  line-height: 0.98;
}

/* Numbered section index, e.g. "01" */
.index-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--brand);
}


/* =============================================================================
   06. BUTTONS & LINKS
   ============================================================================= */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-align: center;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  will-change: transform;
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
}

.btn:active { transform: translateY(0); }

/* Primary — orange fill */
.btn--primary { box-shadow: var(--shadow-sm); }
.btn--primary:hover {
  --btn-bg: var(--brand-dark);
  box-shadow: var(--shadow-accent);
}

/* Dark fill (on light backgrounds) */
.btn--dark { --btn-bg: var(--ink-700); }
.btn--dark:hover { --btn-bg: var(--ink-900); box-shadow: var(--shadow-md); }

/* Outline on dark backgrounds */
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: var(--line-dark-strong);
}
.btn--outline:hover {
  --btn-bg: #fff;
  --btn-fg: var(--ink-800);
  border-color: #fff;
}

/* Ghost on light backgrounds */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  --btn-bg: var(--ink-700);
  --btn-fg: #fff;
  border-color: var(--ink-700);
}

.btn--sm { padding: 11px 18px; font-size: 0.72rem; }
.btn--lg { padding: 18px 36px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* Text link with sliding arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.link-arrow::after {
  content: "→";
  font-size: 1.05em;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow:hover::after { transform: translateX(5px); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Tag / badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--steel-100);
  border-radius: var(--radius-xs);
}
.badge--accent { background: var(--brand-soft); color: var(--brand-dark); }
.badge--dark { background: rgba(255, 255, 255, 0.08); color: var(--text-invert-soft); }
.badge--outline { background: transparent; border: 1px solid var(--line-strong); }

.note {
  display: flex;
  gap: 12px;
  padding: 15px 18px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-soft);
  background: var(--bg-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.note strong { color: var(--text); }
.section--dark .note,
.section--dark-alt .note { background: rgba(255, 255, 255, 0.04); color: var(--text-invert-soft); }
.section--dark .note strong,
.section--dark-alt .note strong { color: #fff; }


/* =============================================================================
   07. HEADER / NAVIGATION
   ============================================================================= */

/* --- Top utility bar (hidden on small screens) --------------------------- */
.topbar {
  background: var(--ink-900);
  color: var(--text-invert-soft);
  font-size: 0.76rem;
  border-bottom: 1px solid var(--line-dark);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding-block: 6px;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
.topbar a:hover { color: var(--brand); }
.topbar__tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-invert-faint);
}
.topbar__tag b { color: var(--brand); font-weight: 500; }

/* --- Main header --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 16, 19, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-stuck {
  background: rgba(8, 9, 11, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
  transition: min-height var(--dur) var(--ease);
}
.site-header.is-stuck .header__inner { min-height: 68px; }

/* --- Brand / logo (swap the mark for an <img> later) --------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform var(--dur) var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.brand__sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-invert-faint);
}
.brand:hover .brand__name { color: #fff; }

/* --- Primary navigation -------------------------------------------------- */
.nav { display: flex; align-items: center; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.5vw, 10px);
}
.nav__link {
  position: relative;
  display: block;
  padding: 10px clamp(6px, 0.75vw, 11px);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-invert-soft);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: clamp(6px, 0.75vw, 11px);
  right: clamp(6px, 0.75vw, 11px);
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { margin-left: 10px; }

/* --- Hamburger ----------------------------------------------------------- */
.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--brand); }
.nav-toggle__bar {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease), width var(--dur) var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 15px; }
.nav-toggle__bar:nth-child(2) { top: 22px; width: 15px; }
.nav-toggle__bar:nth-child(3) { top: 29px; }

/* Open state → animated cross */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scrim behind the drawer */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(8, 9, 11, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

/* --- Mobile drawer ------------------------------------------------------- */
@media (max-width: 1060px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    width: min(400px, 88vw);
    height: 100dvh;
    padding: 26px 26px 40px;
    background: var(--ink-800);
    border-left: 1px solid var(--line-dark);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform var(--dur-slow) var(--ease-out),
      visibility var(--dur-slow) var(--ease-out);
  }
  body.nav-open .nav { transform: translateX(0); visibility: visible; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 8px;
  }
  .nav__list > li {
    opacity: 0;
    transform: translateX(26px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  body.nav-open .nav__list > li {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(60ms + var(--i, 0) * 40ms);
  }
  .nav__link {
    padding: 15px 2px;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line-dark);
    color: var(--text-invert);
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--brand); }

  .nav__cta { margin: 26px 0 0; }
  .nav__cta .btn { width: 100%; }

  .nav__foot {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line-dark);
    font-size: 0.86rem;
    color: var(--text-invert-soft);
  }
  .nav__foot p + p { margin-top: 10px; }
  .nav__foot strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-invert-faint);
    margin-bottom: 4px;
  }
  body.nav-open { overflow: hidden; }
}

/* On desktop the drawer footer is not needed */
.nav__foot { display: none; }
@media (max-width: 1060px) { .nav__foot { display: block; } }


/* =============================================================================
   08. HERO & PAGE HERO
   ============================================================================= */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 78vh, 820px);
  padding-block: clamp(64px, 9vw, 120px);
  background: var(--ink-900);
  color: var(--text-invert);
  overflow: hidden;
}

/* Background photograph with dark industrial overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.5;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease-out) forwards;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.82) 42%, rgba(8, 9, 11, 0.35) 100%),
    linear-gradient(to top, rgba(8, 9, 11, 0.96) 0%, transparent 45%);
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

.hero__inner { position: relative; max-width: 940px; }
.hero__title {
  font-size: clamp(2.5rem, 6.4vw, 4.9rem);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.hero__title span { display: block; }
.hero__text {
  max-width: 620px;
  margin-top: 26px;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--text-invert-soft);
}
.hero__actions { margin-top: 38px; }

/* Small spec list under the hero copy */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 3px; }
.hero__meta-item b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.hero__meta-item span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-invert-faint);
}

/* Diagonal accent bar at the very bottom of the hero */
.hero__stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 45%, transparent 100%);
}

/* --- Trust strip (optional bar directly under the hero) ----------------- */
.trustbar {
  background: var(--ink-700);
  color: var(--text-invert);
  border-top: 1px solid var(--line-dark);
}
.trustbar__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
  border-left: 1px solid var(--line-dark);
}
.trustbar__item:first-child { border-left: 0; padding-left: 0; }
.trustbar__item svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.trustbar__item b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.trustbar__item span { font-size: 0.8rem; color: var(--text-invert-faint); }

/* --- Inner page hero ----------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--ink-900);
  color: var(--text-invert);
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 9, 11, 0.97) 0%, rgba(8, 9, 11, 0.8) 55%, rgba(8, 9, 11, 0.55) 100%),
    linear-gradient(to top, rgba(8, 9, 11, 0.9), transparent 60%);
}
.page-hero__title { max-width: 900px; }
.page-hero__text { max-width: 660px; margin-top: 22px; color: var(--text-invert-soft); }
.page-hero__inner > * + * { margin-top: 0; }
.page-hero .eyebrow { margin-bottom: 20px; }

/* --- Breadcrumb ---------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-invert-faint);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-invert-soft); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--brand);
}
.breadcrumb [aria-current="page"] { color: var(--brand); }


/* =============================================================================
   09. CARDS
   ============================================================================= */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card__body { padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; flex: 1; }
.card__body > * + * { margin-top: 12px; }
.card__title { font-size: 1.3rem; line-height: 1.15; }
.card__text { font-size: 0.92rem; color: var(--text-soft); line-height: 1.65; }
.card__foot { margin-top: auto; padding-top: 18px; }

/* Cards on dark backgrounds */
.section--dark .card,
.section--dark-alt .card,
.section--steel .card {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-dark);
  color: var(--text-invert);
}
.section--dark .card__text,
.section--dark-alt .card__text,
.section--steel .card__text { color: var(--text-invert-soft); }

/* --- Media block with hover zoom ---------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--steel-100);
  aspect-ratio: 4 / 3;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out);
}
.card:hover .media img,
.media--zoom:hover img,
a:hover .media img { transform: scale(1.07); }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 16 / 9; }
.media--4x5 { aspect-ratio: 4 / 5; }

/* Thin orange rule that grows on hover (premium detail) */
.media__rule {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--brand);
  transition: width var(--dur-slow) var(--ease-out);
  z-index: 2;
}
.card:hover .media__rule { width: 100%; }

/* Floating category label on product images */
.media__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  background: rgba(8, 9, 11, 0.82);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
}

/* --- Feature card (icon based) ------------------------------------------ */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature:hover .feature__icon { background: var(--brand); color: #fff; }
.feature__body > * + * { margin-top: 8px; }
.feature__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.feature__text { font-size: 0.92rem; color: var(--text-soft); line-height: 1.65; }
.section--dark .feature__text,
.section--dark-alt .feature__text,
.section--steel .feature__text { color: var(--text-invert-soft); }

/* --- Category card (large image + title) --------------------------------- */
.cat-card {
  position: relative;
  display: block;
  min-height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.cat-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(8, 9, 11, 0.94) 4%, rgba(8, 9, 11, 0.45) 45%, rgba(8, 9, 11, 0.12) 100%);
  transition: opacity var(--dur) var(--ease);
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(22px, 2.4vw, 32px);
}
.cat-card__count {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.cat-card__title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 8px;
}
.cat-card__text {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-invert-soft);
  max-width: 42ch;
}
.cat-card:hover .cat-card__title { color: var(--brand-light); }
.cat-card__go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.cat-card__go::after { content: "→"; transition: transform var(--dur) var(--ease); }
.cat-card:hover .cat-card__go::after { transform: translateX(5px); }
.cat-card:hover { color: #fff; }

/* --- Product card -------------------------------------------------------- */
.product__code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.product__name { font-size: 1.24rem; line-height: 1.18; }
.product__cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.section--dark .product__cat,
.section--dark-alt .product__cat,
.section--steel .product__cat { color: var(--brand-light); }
.product__price-note { font-size: 0.76rem; color: var(--text-faint); }

/* --- Spec / capability card with big index number ----------------------- */
.cap-card {
  position: relative;
  padding: clamp(24px, 2.4vw, 32px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cap-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark-strong);
  transform: translateY(-4px);
}
.cap-card__num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.14);
  margin-bottom: 18px;
}
.cap-card__title { font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.04em; }
.cap-card__text { margin-top: 10px; font-size: 0.92rem; color: var(--text-invert-soft); line-height: 1.68; }

/* --- Checklist ----------------------------------------------------------- */
.checklist { display: grid; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 18px;
  height: 18px;
  background: var(--brand-soft);
  border-radius: 50%;
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.72em;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.section--dark .checklist li,
.section--dark-alt .checklist li,
.section--steel .checklist li { color: var(--text-invert-soft); }
.section--dark .checklist li::before,
.section--dark-alt .checklist li::before,
.section--steel .checklist li::before { background: rgba(242, 101, 34, 0.18); }

.checklist--dark li { color: var(--text-invert-soft); }
.checklist--dark li::before { background: rgba(242, 101, 34, 0.18); }

.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 30px; }


/* =============================================================================
   10. STATISTICS & COUNTERS
   ============================================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.stat {
  padding: clamp(24px, 2.6vw, 34px);
  text-align: center;
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.stat__num .suffix { color: var(--brand); }
.stat__label {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-invert-faint);
}

/* Light variant for use on white sections */
.stats--light {
  background: var(--bg-soft);
  border-color: var(--line);
}
.stats--light .stat { border-left-color: var(--line); }
.stats--light .stat__num { color: var(--text); }
.stats--light .stat__label { color: var(--text-faint); }


/* =============================================================================
   11. TIMELINE (manufacturing stages)
   ============================================================================= */
.timeline { position: relative; display: grid; gap: clamp(16px, 2vw, 24px); }

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  padding: clamp(22px, 2.4vw, 30px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.timeline__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.section--dark .timeline__item,
.section--dark-alt .timeline__item { background: rgba(255, 255, 255, 0.035); border-color: var(--line-dark); }
.section--dark .timeline__item:hover,
.section--dark-alt .timeline__item:hover { background: rgba(255, 255, 255, 0.06); }

.timeline__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--ink-700);
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.timeline__item:hover .timeline__num { background: var(--brand); transform: scale(1.06); }
.section--dark .timeline__num,
.section--dark-alt .timeline__num { background: rgba(255, 255, 255, 0.08); }

.timeline__body > * + * { margin-top: 10px; }
.timeline__title { font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.035em; }
.timeline__text { font-size: 0.95rem; color: var(--text-soft); line-height: 1.7; }
.section--dark .timeline__text,
.section--dark-alt .timeline__text { color: var(--text-invert-soft); }
.timeline__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.timeline__media {
  margin-top: 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.timeline__media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

/* Vertical connector line (desktop only) */
.timeline--vertical { position: relative; }
.timeline--vertical::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 31px;
  width: 1px;
  background: linear-gradient(to bottom, var(--brand), var(--line), transparent);
  z-index: 0;
}
.timeline--vertical .timeline__item { background: transparent; border: 0; }
.timeline--vertical .timeline__item:hover { transform: none; }
.timeline--vertical .timeline__card {
  padding: clamp(20px, 2.2vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.timeline--vertical .timeline__item:hover .timeline__card { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.timeline--vertical .timeline__num { z-index: 1; border: 4px solid var(--bg-body); box-sizing: content-box; margin-left: -1px; }
.section--dark .timeline--vertical::before { opacity: 0.5; }
.section--dark .timeline--vertical .timeline__card,
.section--dark-alt .timeline--vertical .timeline__card { background: rgba(255, 255, 255, 0.035); border-color: var(--line-dark); }
.section--dark .timeline--vertical .timeline__num,
.section--dark-alt .timeline--vertical .timeline__num { border-color: var(--bg-dark); }


/* =============================================================================
   12. ACCORDION (FAQ)
   ============================================================================= */
.accordion { display: grid; gap: 12px; }

.accordion__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.accordion__item.is-open { border-color: transparent; box-shadow: var(--shadow-md); }
.section--dark .accordion__item,
.section--dark-alt .accordion__item { background: rgba(255, 255, 255, 0.035); border-color: var(--line-dark); }
.section--dark .accordion__item.is-open,
.section--dark-alt .accordion__item.is-open { background: rgba(255, 255, 255, 0.06); }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: clamp(18px, 2vw, 24px);
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}
.section--dark .accordion__trigger,
.section--dark-alt .accordion__trigger { color: var(--text-invert); }
.accordion__trigger:hover { color: var(--brand); }
.section--dark .accordion__trigger:hover,
.section--dark-alt .accordion__trigger:hover { color: var(--brand-light); }

.accordion__icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item.is-open .accordion__icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: rotate(180deg);
}
.accordion__item.is-open .accordion__icon::after { opacity: 0; }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p {
  padding: 0 clamp(18px, 2vw, 24px) clamp(20px, 2.2vw, 26px);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-soft);
}
.section--dark .accordion__panel p,
.section--dark-alt .accordion__panel p { color: var(--text-invert-soft); }


/* =============================================================================
   13. TABLES (specifications)
   ============================================================================= */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.section--dark .table-wrap,
.section--dark-alt .table-wrap { border-color: var(--line-dark); background: rgba(255, 255, 255, 0.03); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table caption {
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.spec-table th,
.spec-table td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  width: 38%;
  font-weight: 600;
  color: var(--text);
  background: rgba(10, 12, 15, 0.02);
}
.spec-table td { color: var(--text-soft); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.section--dark .spec-table th,
.section--dark-alt .spec-table th { color: #fff; background: rgba(255, 255, 255, 0.04); }
.section--dark .spec-table td,
.section--dark-alt .spec-table td { color: var(--text-invert-soft); border-bottom-color: var(--line-dark); }
.section--dark .spec-table th,
.section--dark-alt .spec-table th { border-bottom-color: var(--line-dark); }
.section--dark .spec-table caption,
.section--dark-alt .spec-table caption { background: rgba(255, 255, 255, 0.05); }


/* =============================================================================
   14. GALLERY & LIGHTBOX
   ============================================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}
.gallery__item {
  position: relative;
  display: block;
  padding: 0;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--steel-100);
  text-align: left;
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter var(--dur) var(--ease);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 11, 0.85), transparent 55%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; }
.gallery__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery__item:hover .gallery__caption,
.gallery__item:focus-visible .gallery__caption { opacity: 1; transform: translateY(0); }
.gallery__caption b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
.gallery__caption span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.gallery__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: rgba(8, 9, 11, 0.72);
  color: #fff;
  border-radius: var(--radius-xs);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery__zoom svg { width: 16px; height: 16px; }
.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: scale(1); }

/* --- Lightbox overlay ---------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(6, 7, 9, 0.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: min(1100px, 100%); max-height: 100%; }
.lightbox__img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox__caption {
  margin-top: 16px;
  color: #fff;
  text-align: center;
}
.lightbox__caption b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lightbox__caption span { font-size: 0.88rem; color: var(--text-invert-soft); }
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: var(--brand); transform: scale(1.06); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover, .lightbox__next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__close svg, .lightbox__prev svg, .lightbox__next svg { width: 20px; height: 20px; }


/* =============================================================================
   15. MODAL (product details)
   ============================================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 40px);
  background: rgba(6, 7, 9, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal__dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: min(90vh, 860px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(22px) scale(0.98);
  transition: transform var(--dur-slow) var(--ease-out);
}
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: rgba(8, 9, 11, 0.62);
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease);
}
.modal__close:hover { background: var(--brand); }
.modal__close svg { width: 18px; height: 18px; }

.modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.modal__media { position: relative; background: var(--steel-100); min-height: 260px; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(24px, 3vw, 38px); }
.modal__body > * + * { margin-top: 14px; }
.modal__title { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.08; }
.modal__code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

body.modal-open,
body.lightbox-open { overflow: hidden; }


/* =============================================================================
   16. FORMS
   ============================================================================= */
.form { display: grid; gap: 20px; }
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.field__label .req { color: var(--brand); }
.field__hint { font-size: 0.78rem; color: var(--text-faint); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.textarea { min-height: 148px; resize: vertical; line-height: 1.65; }

.select {
  /* custom arrow so the control matches the industrial look on all platforms */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b636d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: #c92a2a; }
.field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(201, 42, 42, 0.15); }

.field__error {
  display: none;
  font-size: 0.78rem;
  color: #c92a2a;
}
.field.has-error .field__error { display: block; }

/* Checkbox / consent */
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-soft);
  cursor: pointer;
}
.check input {
  appearance: none;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.check input:checked {
  background: var(--brand);
  border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.form__status {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #0f6b3f;
  background: rgba(15, 107, 63, 0.08);
  border: 1px solid rgba(15, 107, 63, 0.28);
  border-radius: var(--radius-sm);
}
.form__status.is-visible { display: flex; }
.form__status svg { width: 20px; height: 20px; flex: none; color: #0f6b3f; margin-top: 1px; }

.form__status--error {
  color: #a5191f;
  background: rgba(165, 25, 31, 0.07);
  border-color: rgba(165, 25, 31, 0.28);
}
.form__status--error svg { color: #a5191f; }

.form-footnote { font-size: 0.8rem; color: var(--text-faint); line-height: 1.6; }


/* =============================================================================
   17. MAP PLACEHOLDER (no API key required)
   ============================================================================= */
.map-embed {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(10, 12, 15, 0.05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(10, 12, 15, 0.05) 39px 40px),
    var(--bg-soft);
}
.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--brand);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: var(--shadow-md);
}
.map-pin svg { width: 22px; height: 22px; transform: rotate(45deg); }
.map-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: 300px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-soft);
}
.map-note b { display: block; color: var(--text); font-size: 0.85rem; }


/* --- Contact info blocks ------------------------------------------------- */
.info-list { display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
}
.info-item__icon svg { width: 21px; height: 21px; }
.info-item__label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 5px;
}
.info-item__value { font-size: 0.98rem; line-height: 1.6; }
.info-item__value a { border-bottom: 1px solid var(--line-strong); }
.info-item__value a:hover { border-bottom-color: var(--brand); }


/* =============================================================================
   18. CTA BANNER
   ============================================================================= */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-800);
  color: var(--text-invert);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(8, 9, 11, 0.95) 0%, rgba(8, 9, 11, 0.72) 55%, rgba(242, 101, 34, 0.16) 100%);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
  padding-block: clamp(48px, 6vw, 80px);
}
.cta-band__text { max-width: 660px; }
.cta-band__text > * + * { margin-top: 16px; }
.cta-band__title {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.02;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }


/* =============================================================================
   19. FOOTER
   ============================================================================= */
.site-footer {
  background: var(--ink-900);
  color: var(--text-invert-soft);
  font-size: 0.92rem;
  border-top: 1px solid var(--line-dark);
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr);
  gap: clamp(28px, 3vw, 48px);
  padding-block: clamp(48px, 6vw, 76px);
}
.footer__col > * + * { margin-top: 18px; }
.footer__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer__links { display: grid; gap: 11px; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-invert-soft);
  font-size: 0.9rem;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer__links a::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--brand);
  opacity: 0.6;
  transition: width var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.footer__links a:hover { color: #fff; transform: translateX(3px); }
.footer__links a:hover::before { width: 20px; opacity: 1; }

.footer__about { max-width: 40ch; line-height: 1.75; }
.footer__brand { margin-bottom: 20px; }
.footer__brand .brand__name { font-size: 1.75rem; }
.footer__brand .brand__mark { width: 46px; height: 46px; font-size: 1.75rem; }

.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; flex: none; color: var(--brand); margin-top: 4px; }
.footer__contact span { line-height: 1.6; }

.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text-invert-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer__social a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-3px);
}
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 24px;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-invert-faint);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a { color: var(--text-invert-faint); }
.footer__legal a:hover { color: var(--brand); }


/* =============================================================================
   20. BACK-TO-TOP & TOAST
   ============================================================================= */
.back-to-top {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-dark); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(460px, calc(100vw - 32px));
  padding: 15px 22px;
  color: #fff;
  background: var(--ink-700);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; flex: none; color: var(--brand); }


/* =============================================================================
   21. SCROLL REVEAL
   Hidden only when JS is active, so the page still reads without JavaScript.
   ============================================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="zoom"] { transform: scale(0.96); }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Filtered-out products are removed from the flow entirely */
.product.is-hidden { display: none; }


/* =============================================================================
   22. UTILITIES
   ============================================================================= */
.full-bleed {
  width: 100vw;
  max-width: 100%;
  margin-inline: calc(50% - 50vw);
}

/* Diagonal "hazard" stripe divider */
.hazard {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--brand) 0 14px,
    var(--ink-800) 14px 28px
  );
}

/* Offset/technical corner detail for image blocks */
.tech-frame { position: relative; }
.tech-frame::before,
.tech-frame::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border: 2px solid var(--brand);
  pointer-events: none;
}
.tech-frame::before { top: -14px; left: -14px; border-right: 0; border-bottom: 0; }
.tech-frame::after { bottom: -14px; right: -14px; border-left: 0; border-top: 0; }

/* Corner label overlay on images */
.corner-label {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 16px;
  background: var(--ink-800);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 0 var(--radius-sm) 0 0;
}

/* Filter bar (products page) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filter-btn {
  padding: 10px 18px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.filter-btn:hover { color: var(--brand-dark); border-color: var(--brand); transform: translateY(-2px); }
.filter-btn[aria-pressed="true"] {
  color: #fff;
  background: var(--ink-700);
  border-color: var(--ink-700);
}
.filter-btn__count { opacity: 0.55; margin-left: 6px; font-family: var(--font-mono); }

.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.filter-result {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.search-box { position: relative; flex: 1 1 240px; max-width: 340px; }
.search-box .input { padding-left: 42px; }
.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-faint);
  pointer-events: none;
}

/* Empty state for filtering */
.empty-state {
  padding: 64px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty-state h3 { margin-bottom: 10px; }

/* Process stage grid (alternative to timeline) */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 24px); }

.process-card {
  position: relative;
  padding: clamp(24px, 2.4vw, 30px) clamp(20px, 2.2vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.process-card__num {
  position: absolute;
  top: 6px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(10, 12, 15, 0.05);
  transition: color var(--dur) var(--ease);
}
.process-card:hover .process-card__num { color: var(--brand-soft); }
.process-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
}
.process-card__icon svg { width: 24px; height: 24px; }
.process-card__title { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.process-card__text { margin-top: 10px; font-size: 0.92rem; color: var(--text-soft); line-height: 1.68; }

.section--dark .process-card,
.section--dark-alt .process-card { background: rgba(255, 255, 255, 0.035); border-color: var(--line-dark); }
.section--dark .process-card__title,
.section--dark-alt .process-card__title { color: #fff; }
.section--dark .process-card__text,
.section--dark-alt .process-card__text { color: var(--text-invert-soft); }
.section--dark .process-card__num,
.section--dark-alt .process-card__num { color: rgba(255, 255, 255, 0.06); }
.section--dark .process-card:hover .process-card__num,
.section--dark-alt .process-card:hover .process-card__num { color: rgba(242, 101, 34, 0.22); }

/* Value / values grid on about page */
.value-card {
  padding: clamp(24px, 2.4vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--brand);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card__num { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--brand); }
.value-card__title { margin-top: 12px; font-size: 1.22rem; text-transform: uppercase; letter-spacing: 0.04em; }
.value-card__text { margin-top: 10px; font-size: 0.92rem; color: var(--text-soft); line-height: 1.68; }

/* Mission / vision split */
.mv-card {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background: var(--ink-700);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mv-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.mv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, rgba(8, 9, 11, 0.95), rgba(8, 9, 11, 0.35));
}
.mv-card > * { position: relative; z-index: 1; }
.mv-card__title { font-size: clamp(1.5rem, 2.4vw, 2rem); text-transform: uppercase; letter-spacing: 0.03em; }
.mv-card__text { margin-top: 14px; font-size: 0.96rem; color: var(--text-invert-soft); line-height: 1.75; }

/* Inline "spec strip" used on category pages */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-strip__item { padding: 22px 24px; border-left: 1px solid var(--line); }
.spec-strip__item:first-child { border-left: 0; }
.spec-strip__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.spec-strip__value { margin-top: 7px; font-size: 0.95rem; color: var(--text); line-height: 1.5; }
.section--dark .spec-strip,
.section--dark-alt .spec-strip { border-color: var(--line-dark); }
.section--dark .spec-strip__item,
.section--dark-alt .spec-strip__item { border-left-color: var(--line-dark); }
.section--dark .spec-strip__value,
.section--dark-alt .spec-strip__value { color: #fff; }
.section--dark .spec-strip__label,
.section--dark-alt .spec-strip__label { color: var(--text-invert-faint); }

/* Social proof / client type logos placeholder row */
.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.logo-row__item {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 16px;
  background: #fff;
  text-align: center;
}
.section--dark .logo-row,
.section--dark-alt .logo-row { background: var(--line-dark); border-color: var(--line-dark); }
.section--dark .logo-row__item,
.section--dark-alt .logo-row__item { background: var(--ink-800); color: var(--text-invert-faint); }
.logo-row__item span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 0.75;
}
.section--dark .logo-row__item span,
.section--dark-alt .logo-row__item span { color: var(--text-invert-faint); }


/* =============================================================================
   RESPONSIVE
   ============================================================================= */

/* Large desktop */
@media (max-width: 1440px) {
  :root { --container: 1240px; }
}

/* Small desktop / large tablet */
@media (max-width: 1100px) {
  :root { --header-h: 74px; }

  .footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col--brand { grid-column: 1 / -1; }
  .trustbar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trustbar__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trustbar__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line-dark); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line-dark); }
  .stats--light .stat:nth-child(3) { border-left: 0; }
  .stats--light .stat:nth-child(-n + 2) { border-bottom-color: var(--line); }
  .spec-strip__item:nth-child(odd) { border-left: 0; }
}

/* Tablet */
@media (max-width: 992px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--sidebar, .grid--sidebar-left, .grid--sidebar-right { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .split--reverse-mobile > :first-child { order: 2; }
  .modal__grid { grid-template-columns: minmax(0, 1fr); }
  .modal__media { aspect-ratio: 16 / 10; min-height: 0; }
  .timeline__item { grid-template-columns: 74px minmax(0, 1fr); }
  .timeline__num { width: 52px; height: 52px; font-size: 1.4rem; }
  .timeline--vertical::before { left: 26px; }
  .topbar__list--secondary { display: none; }
}

/* Mobile landscape / large phone */
@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .topbar { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--auto-2, .grid--auto-3 { grid-template-columns: minmax(0, 1fr); }
  .grid--auto-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--auto-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .brand__name { font-size: 1.4rem; }
  .brand__mark { width: 38px; height: 38px; font-size: 1.42rem; }
  .brand__sub { font-size: 0.55rem; letter-spacing: 0.18em; }

  .hero { min-height: auto; }
  .hero__bg img { opacity: 0.36; }
  .hero__meta { gap: 18px 26px; margin-top: 34px; }
  .hero__meta-item b { font-size: 1.35rem; }

  .trustbar__inner { grid-template-columns: minmax(0, 1fr); }
  .trustbar__item { border-left: 0; border-bottom: 1px solid var(--line-dark); padding-inline: 0; }
  .trustbar__item:last-child { border-bottom: 0; }
  .trustbar__item:nth-child(3) { border-left: 0; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 16px; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:not(:last-child) { border-bottom: 1px solid var(--line-dark); }
  .stats--light .stat:not(:last-child) { border-bottom-color: var(--line); }

  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__main { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .footer__legal { justify-content: center; }
  .cat-card { min-height: 320px; }
  .section-head--split { align-items: flex-start; }

  .filter-toolbar { gap: 14px; }
  .search-box { max-width: none; }
  .modal__actions .btn { flex: 1 1 100%; }

  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: 18px; }
  .lightbox__next { right: 18px; }
  .lightbox__prev:hover, .lightbox__next:hover { transform: scale(1.06); }
  .lightbox__img { max-height: 58vh; }
}

/* Small phones */
@media (max-width: 576px) {
  .btn { width: 100%; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .grid--auto-4, .grid--auto-5 { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__actions .btn { width: 100%; }
  .timeline__item { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .timeline--vertical::before { display: none; }
  .modal__body { padding: 22px 18px 28px; }
  .map-note { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .spec-strip__item { border-left: 0 !important; border-top: 1px solid var(--line); }
  .spec-strip__item:first-child { border-top: 0; }
  .section--dark .spec-strip__item { border-top-color: var(--line-dark); }
  .footer__legal { gap: 8px 14px; font-size: 0.78rem; }
}

@media (max-width: 380px) {
  .brand__sub { display: none; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .filter-btn { padding: 9px 14px; font-size: 0.72rem; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { border-left: 0 !important; border-bottom: 1px solid var(--line-dark); }
  .stat:last-child { border-bottom: 0; }
}

/* Wide screens: keep line lengths comfortable */
@media (min-width: 1600px) {
  :root { --container: 1400px; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .site-header, .topbar, .back-to-top, .toast, .cta-band, .site-footer,
  .nav-scrim, .lightbox, .modal { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding-block: 24px; }
  a { text-decoration: underline; }
}
