/* ==========================================================================
   ETECHPARTS — site styles
   Palette: Deep Navy / Steel Blue / Signal Amber
   ========================================================================== */

:root {
  --navy-950: #051327;
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --steel-500: #3e7cb1;
  --steel-300: #9db8d6;
  --steel-100: #e6eef7;
  --amber-500: #f4a51c;
  --amber-600: #d98c06;
  --amber-100: #fdf1da;
  --ink: #0f1c2e;
  --muted: #5b6b7f;
  --line: #dde4ec;
  --paper: #f4f6f9;
  --white: #ffffff;

  --font-head: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(7, 26, 51, .06), 0 2px 8px rgba(7, 26, 51, .05);
  --shadow-md: 0 8px 28px rgba(7, 26, 51, .12);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--steel-500); text-decoration: none; }
a:hover { color: var(--navy-700); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--navy-800);
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-800); color: var(--steel-100); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--amber-500); border-radius: 2px; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--steel-300); }

.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.section--navy .lead { color: var(--steel-300); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--amber-500); color: var(--navy-900); padding: 8px 14px; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--amber-500); color: var(--navy-900); }
.btn--primary:hover { background: var(--amber-600); color: var(--navy-900); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; color: var(--navy-800); }
.link-arrow::after { content: "→"; color: var(--amber-600); transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Top bar & header ------------------------------------------------------- */
.topbar { background: var(--navy-950); color: var(--steel-300); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--steel-300); }
.topbar a:hover { color: var(--white); }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info > span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__info svg { width: 14px; height: 14px; flex: 0 0 14px; color: var(--amber-500); }
.topbar .placeholder { background: rgba(244, 165, 28, .14); color: var(--amber-500); }
.topbar__badge { font-family: var(--font-head); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--amber-500); }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy-800);
  position: relative;
}
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--amber-500); transform: scaleX(0); transform-origin: left; transition: transform .2s; border-radius: 2px; }
.nav__link:hover { color: var(--navy-800); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 14px; padding: 11px 20px; font-size: .95rem; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy-800); }
.nav-toggle svg { width: 30px; height: 30px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; color: var(--white); background: var(--navy-900); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(5, 19, 39, .94) 0%, rgba(7, 26, 51, .82) 42%, rgba(7, 26, 51, .25) 100%); }
.hero__inner { position: relative; z-index: 2; padding: 128px 0 150px; max-width: 700px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--amber-500); }
.hero p { font-size: 1.25rem; color: var(--steel-100); max-width: 590px; margin-bottom: 34px; }

.hero-stats { position: relative; z-index: 3; margin-top: -64px; }
.hero-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.hero-stats__grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 28px 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--navy-800); line-height: 1; }
.stat__num span { color: var(--amber-600); }
.stat__label { color: var(--muted); font-size: .95rem; margin-top: 6px; }

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero { position: relative; color: var(--white); background: var(--navy-900); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5, 19, 39, .95) 0%, rgba(7, 26, 51, .78) 55%, rgba(7, 26, 51, .45) 100%); }
.page-hero .container { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 92px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 760px; }
.page-hero p { color: var(--steel-100); font-size: 1.2rem; max-width: 640px; margin: 0; }
.breadcrumb { font-size: .9rem; color: var(--steel-300); margin-bottom: 18px; }
.breadcrumb a { color: var(--steel-300); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* Grids & cards ---------------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-md); }

.cat-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; color: var(--ink); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--ink); }
.cat-card__media { background: var(--white); aspect-ratio: 4 / 3; display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.cat-card__index { font-family: var(--font-head); font-weight: 700; color: var(--amber-600); letter-spacing: .12em; font-size: .9rem; }
.cat-card h3 { margin: 6px 0 10px; }
.cat-card p { color: var(--muted); font-size: 1rem; flex: 1; }

.feature { padding: 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.section--navy .feature { background: rgba(255, 255, 255, .04); border-color: rgba(157, 184, 214, .18); }
.feature__icon { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; background: var(--amber-100); color: var(--amber-600); margin-bottom: 18px; }
.section--navy .feature__icon { background: rgba(244, 165, 28, .14); color: var(--amber-500); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; }
.feature p { color: var(--muted); font-size: 1rem; margin: 0; }
.section--navy .feature p { color: var(--steel-300); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--amber-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23071a33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* CTA band --------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-800); color: var(--white); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 72px; padding-bottom: 72px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--steel-100); margin: 0; font-size: 1.15rem; }

/* Products --------------------------------------------------------------- */
.filter-bar { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.filter-bar .container { display: flex; gap: 8px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; }
.chip { flex: 0 0 auto; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-800); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--navy-800); }
.chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.chip small { font-weight: 500; opacity: .7; margin-left: 4px; }

.product-group { padding: 72px 0 24px; }
.product-group[hidden] { display: none; }
.product-group__head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; margin-bottom: 36px; }
.product-group__num { font-family: var(--font-head); font-weight: 800; font-size: 4.4rem; line-height: .85; color: var(--steel-100); -webkit-text-stroke: 1.5px var(--steel-300); }
.product-group__head p { color: var(--muted); max-width: 760px; margin: 0; }

.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--white); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__tag { position: absolute; top: 14px; left: 14px; background: var(--navy-800); color: var(--white); font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.product-card__body { padding: 20px 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; flex: 1; }
.product-card__sku { font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: .1em; color: var(--steel-500); }
.product-card h3 { font-size: 1.3rem; margin: 4px 0 8px; }
.product-card p { color: var(--muted); font-size: .97rem; margin-bottom: 16px; flex: 1; }
.product-card .link-arrow { font-size: .88rem; }

/* Manufacturing ---------------------------------------------------------- */
.process { counter-reset: step; display: grid; gap: 80px; }
.process__step .split__media img { aspect-ratio: 16 / 11; }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .14em; color: var(--amber-600); text-transform: uppercase; margin-bottom: 8px; display: block; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); width: 38%; letter-spacing: .02em; }
.spec-table tr:hover td, .spec-table tr:hover th { background: var(--paper); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; color: var(--white); font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; background: linear-gradient(transparent, rgba(5, 19, 39, .85)); }

.cert { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.cert__seal { flex: 0 0 64px; height: 64px; border-radius: 50%; border: 3px solid var(--amber-500); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--navy-800); font-size: .9rem; text-align: center; line-height: 1; }
.cert h4 { margin-bottom: 4px; }
.cert p { margin: 0; color: var(--muted); font-size: .97rem; }

/* About ------------------------------------------------------------------ */

.value { border-top: 3px solid var(--amber-500); padding-top: 22px; }
.value p { color: var(--muted); margin: 0; }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: start; }
.info-card { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-card:first-of-type { padding-top: 0; }
.info-card__icon { flex: 0 0 48px; height: 48px; border-radius: 10px; background: var(--navy-800); color: var(--amber-500); display: grid; place-items: center; }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h4 { margin-bottom: 2px; }
.info-card p { margin: 0; color: var(--muted); }
.placeholder { background: var(--amber-100); color: #7a4d00; padding: 0 6px; border-radius: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; white-space: nowrap; }
.site-footer .placeholder { background: rgba(244, 165, 28, .12); color: var(--amber-500); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; letter-spacing: .03em; color: var(--navy-800); font-size: 1rem; }
.field label .req { color: var(--amber-600); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #c9d3df; border-radius: var(--radius); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel-500); box-shadow: 0 0 0 3px rgba(62, 124, 177, .18); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: 5px; accent-color: var(--navy-800); }
.form-note { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--steel-100); color: var(--navy-800); font-size: .95rem; display: none; }
.form-note.is-visible { display: block; }
.form-note--error { background: #fdf1dc; color: #7a4a00; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 22px; min-height: 65px; }

.map-placeholder { margin-top: 28px; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); border: 2px dashed var(--steel-300); background: repeating-linear-gradient(45deg, var(--paper), var(--paper) 12px, var(--white) 12px, var(--white) 24px); display: grid; place-items: center; color: var(--muted); font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 20px; }

/* Legal ------------------------------------------------------------------ */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal__nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.legal__nav a { padding: 10px 14px; border-radius: var(--radius); color: var(--navy-800); font-family: var(--font-head); font-weight: 600; letter-spacing: .03em; border-left: 3px solid transparent; }
.legal__nav a:hover { background: var(--paper); }
.legal__nav a[aria-current="page"] { background: var(--paper); border-left-color: var(--amber-500); }
.legal__body { max-width: 780px; }
.legal__body h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body ul { padding-left: 1.2em; }
.legal__body li { margin-bottom: .4em; }
.legal__meta { color: var(--muted); font-size: .95rem; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--steel-300); font-size: .97rem; }
.site-footer a { color: var(--steel-300); }
.site-footer a:hover { color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding: 72px 0 56px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: var(--white); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--amber-500); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(157, 184, 214, .16); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-disclaimer { font-size: .82rem; color: #7f93ab; padding-bottom: 26px; margin: 0; }

/* Reveal on scroll ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  /* Drops down from the bottom edge of the sticky header, wherever the header currently sits */
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--white); padding: 12px 24px 28px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--steel-500); }
  .nav .btn { margin: 18px 0 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > :first-child { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-stats__grid--3 { grid-template-columns: repeat(3, 1fr); }
  .hero-stats__grid--3 .stat { border-bottom: 0; border-right: 1px solid var(--line); }
  .hero-stats__grid--3 .stat:last-child { border-right: 0; }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal__nav { position: static; grid-template-columns: repeat(3, auto); justify-content: start; overflow-x: auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 68px 0; }
  .topbar__info > span:nth-child(n+2), .topbar__badge { display: none; }
  .brand img { height: 36px; }
  .hero__inner { padding: 88px 0 120px; }
  .grid--2, .grid--3, .grid--4, .form-grid { grid-template-columns: 1fr; }
  .stat { padding: 20px; }
  .hero-stats__grid--3 { grid-template-columns: 1fr; }
  .hero-stats__grid--3 .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stats__grid--3 .stat:last-child { border-bottom: 0; }
  .stat__num { font-size: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .product-group__head { grid-template-columns: 1fr; gap: 8px; }
  .product-group__num { font-size: 3rem; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery figure:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .form-card { padding: 24px 18px; }
  .legal__nav { grid-template-columns: 1fr; }
  .cta-band .container { padding-top: 56px; padding-bottom: 56px; }
}
