/* ES Asia Technologies — lean EN static draft
   Layout polish 4-Nov-2026 (Derek authorize via Bot manager) */
:root {
  --brand: #275991;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #142033;
  --muted: #5a6778;
  --line: #e2e7ef;
  --accent: #0b4f8a;
  --accent-dark: #083a66;
  --accent-soft: #e8f1f8;
  --teal: #0d7377;
  --ok: #1b7f4a;
  --warn: #9a6b00;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(16, 36, 64, 0.07);
  --shadow-sm: 0 2px 8px rgba(16, 36, 64, 0.04);
  --max: 1200px; /* readable on laptop; widened vs 1120 to cut side-gutter look */
  --max-wide: 1360px; /* large desktop — still not edge-to-edge text */
  --section-y: 3.5rem;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --h1: clamp(1.9rem, 4.2vw, 2.85rem);
  --h2: clamp(1.4rem, 2.4vw, 1.85rem);
  --h3: 1.08rem;
  --body: 1rem;
  --small: 0.875rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
/* Full-bleed shell: section/band/hero backgrounds already sit on the section (edge-to-edge).
   Content stays in .container. On very wide monitors, stretch content slightly. */
@media (min-width: 1440px) {
  :root { --max: var(--max-wide); }
}
@media (min-width: 1800px) {
  :root { --max: 1440px; }
}

/* Draft ribbon — keep until go-live */
.draft-banner {
  background: #fff4d6;
  color: #6a4b00;
  border-bottom: 1px solid #f0d48a;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  text-align: center;
  line-height: 1.4;
}
.draft-banner strong { font-weight: 700; }

/* Header / nav */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand img,
.brand-logo {
  height: 56px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; min-width: 0; }
.brand-text strong {
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-text--tagline-only {
  max-width: 100%;
}
.brand-text--tagline-only strong { display: revert; }
.brand-text span {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.85rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.2rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { font-weight: 650; }

/* CTA hierarchy — one primary site-wide */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.72rem 1.3rem;
  font-weight: 650;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .12s;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(11, 79, 138, 0.22);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 6px 18px rgba(11, 79, 138, 0.28); }
.btn-secondary {
  background: transparent;
  color: var(--accent) !important;
  border-color: #b7cde3;
  font-weight: 600;
  box-shadow: none;
}
.btn-secondary:hover { background: var(--accent-soft); border-color: var(--accent); }

/* Outline / ghost buttons on dark hero — high-contrast readable labels */
.hero .btn-secondary,
.hero .btn-ghost {
  color: #fff !important;
  border-color: rgba(255,255,255,.85) !important;
  background: rgba(255,255,255,.14) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  font-weight: 700;
}
.hero .btn-secondary:hover,
.hero .btn-ghost:hover {
  background: rgba(255,255,255,.24) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.5);
  font-weight: 600;
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.75); }
.btn-on-dark {
  background: #fff;
  color: var(--accent) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.btn-on-dark:hover { background: #f0f5fa; }
.nav .btn {
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  margin-left: 0.25rem;
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(8, 35, 64, 0.94) 0%, rgba(11, 79, 138, 0.82) 55%, rgba(13, 115, 119, 0.75) 100%),
    url("../images/serviceBg.jpg") center/cover no-repeat;
  padding: 4.25rem 0 3.75rem;
  overflow: hidden;
}
/* Home full-bleed part — left-weighted dark scrim for type hierarchy */
.hero.hero-photo {
  background-color: #06162a;
  background-image:
    linear-gradient(105deg,
      rgba(4, 14, 28, 0.88) 0%,
      rgba(6, 22, 42, 0.72) 32%,
      rgba(8, 36, 62, 0.42) 58%,
      rgba(10, 48, 78, 0.22) 100%),
    url("../images/postal-hero-gears-004.jpg");
  background-position: center, 72% 42%;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  padding: 4.75rem 0 4.25rem;
  min-height: 28rem;
}
.hero.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 32, 0.08) 0%, rgba(4, 16, 32, 0.18) 100%);
  pointer-events: none;
}
.hero.hero-photo > .container { position: relative; z-index: 1; }
.hero.compact { padding: 2.75rem 0 2.25rem; min-height: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.95fr);
  gap: 2.25rem;
  align-items: center;
}
.hero-copy { max-width: 36rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: #b9d7f5;
  margin-bottom: 0.85rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: var(--h1);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 750;
  max-width: 16ch;
  text-wrap: balance;
}
.hero p.lead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
  max-width: 36rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.25rem;
}
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
}
.hero-card h2 {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.stat-list li { display: grid; gap: 0.12rem; }
.stat-list strong { font-size: 1.2rem; color: #fff; letter-spacing: -0.01em; }
.stat-list span { font-size: 0.84rem; color: rgba(255,255,255,.78); line-height: 1.35; }

/* Trust badges — below CTAs, not crowding headline */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.trust-badge {
  display: grid;
  gap: 0.12rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  min-width: 8.25rem;
  color: inherit;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
a.trust-badge:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.5);
  text-decoration: none;
  transform: translateY(-1px);
}
.trust-badge strong {
  font-size: 0.98rem;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.trust-badge span {
  font-size: 0.72rem;
  color: rgba(255,255,255,.78);
  line-height: 1.35;
}
.hero-footprint {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,.82);
  letter-spacing: 0.01em;
  line-height: 1.45;
}
.hero-footprint .sep { opacity: .55; margin: 0 0.15rem; }
.trust-line {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 600;
}
.hero .trust-line,
.hero.compact .trust-line {
  color: rgba(255,255,255,.92);
  font-weight: 600;
}
.trust-callout {
  background: var(--accent-soft);
  border: 1px solid #c9dceb;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}
.trust-callout p { margin: 0; }

/* Sections — consistent rhythm */
section { padding: var(--section-y) 0; }
.section-head { margin-bottom: 1.85rem; max-width: 42rem; }
.section-head h2 {
  margin: 0 0 0.55rem;
  font-size: var(--h2);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.muted { color: var(--muted); }
.kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

/* Cards — equal heights via flex */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}
.card h3 {
  margin: 0 0 0.45rem;
  font-size: var(--h3);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  flex: 1;
}
.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 0.9rem;
  background: #eef1f5;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
/* Full-part view where Derek asked (high-temp / multi-tile grids) */
.card img[src*="derek-parts-grid"],
.card.flat img[src*="derek-parts-grid"],
.card img[src*="postal-parts-"],
.card.flat img[src*="postal-parts-"],
.card img[src*="derek-high-temp"],
.card img[src*="postal-hightemp-"],
.two-col img[src*="derek-high-temp"],
.two-col img[src*="postal-hightemp-"],
.two-col img[src*="derek-parts-grid"],
.two-col img[src*="postal-parts-"] {
  object-fit: contain;
  background: #fff;
}
.card img[src*="derek-parts-grid"],
.card.flat img[src*="derek-parts-grid"],
.card img[src*="postal-parts-"],
.card.flat img[src*="postal-parts-"] {
  height: 280px;
}
.card.flat { box-shadow: none; }

.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 0;
}
/* Balanced 2-col (Home Quality / About story) — equal cols, fills container */
.feature-row.feature-row--balanced {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  column-gap: clamp(1.5rem, 2.8vw, 2.75rem);
}
.feature-row.feature-row--balanced > * {
  min-width: 0;
}

/* Derek markup 5-Nov-2026: Home Quality — hug copy+CMM toward page center
   (not flush-left with empty right gutter). Same treatment on Quality page metrology. */
#quality-systems > .container,
.quality-band > .container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  justify-content: center;
}
#quality-systems .feature-row.feature-row--balanced,
.quality-band .feature-row.feature-row--balanced {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}
/* Pull text toward center from the left col; pull CMM toward center from the right col */
#quality-systems .feature-row.feature-row--balanced > div:first-child,
.quality-band .feature-row.feature-row--balanced > div:first-child,
.feature-row.feature-row--balanced.quality-band-row > div:first-child {
  width: 100%;
  max-width: 36rem;
  justify-self: end;
}
#quality-systems .feature-row.feature-row--balanced > img,
.quality-band .feature-row.feature-row--balanced > img,
.feature-row.feature-row--balanced.quality-band-row > img {
  width: 100%;
  max-width: 32rem;
  justify-self: start;
}
/* About — Derek CORRECT markup 5-Nov: two alternating rows
   1) story left | factory right
   2) mould1.jpg (gear) left | How we work right
   mould1.jpg file locked — do not replace. */
.about-rows {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  /* width/margin intentionally unset so dual-class .container about-rows
     keeps .container { width: min(100% - 2rem, var(--max)); margin-inline: auto } */
  margin-block: 0;
}
.about-rows .feature-row.feature-row--balanced {
  margin: 0;
}
.about-row-how {
  /* second row: img first in DOM = gear left, text right */
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem 2.25rem;
  align-items: start;
  /* no width:100% — if paired with .container, keep container max */
  margin-block: 0;
}
.about-layout-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}
.about-layout-media {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-width: 0;
}
.about-layout img.about-factory,
.feature-row img.about-factory,
.about-story-media img.about-factory {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef1f5;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 10;
  max-height: 420px;
  min-height: 240px;
}
.about-layout img.about-mould,
.feature-row img.about-mould,
.about-story-media img.about-mould {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1 / 1;
  max-height: 340px;
}
.about-how-block {
  text-align: left;
}
.about-how-block .pill-row {
  justify-content: flex-start;
}
/* Keep legacy helpers so older drafts / notes do not break if referenced */
.about-how-center {
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
}
.about-how-center .about-how-inner {
  width: min(100%, 40rem);
  text-align: left;
}
.about-story-media {
  display: grid;
  gap: 0.85rem;
}
.about-story-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef1f5;
  object-fit: cover;
  max-height: 360px;
  aspect-ratio: 4 / 3;
}
.feature-row.feature-row-3 {
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
  gap: 1.25rem;
}
.feature-row.feature-row-3 img {
  max-height: 320px;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef1f5;
  object-fit: cover;
  max-height: 360px;
  aspect-ratio: 4 / 3;
}
.feature-row img.cover,
img.cover { object-fit: cover; }
.feature-row img.contain,
img.contain,
.feature-row img[src*="derek-high-temp"],
.feature-row img[src*="postal-hightemp-"] {
  object-fit: contain;
  aspect-ratio: auto;
  max-height: 380px;
  background: #fff;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.pill {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 5.5rem;
}
.metric strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.metric span { color: var(--muted); font-size: 0.86rem; line-height: 1.35; }

.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.cta-band {
  background: linear-gradient(120deg, var(--accent-dark), var(--accent) 55%, var(--teal));
  color: #fff;
  padding: 2.75rem 0;
}
.cta-band h2 {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.cta-band p { margin: 0 0 0; color: rgba(255,255,255,.9); max-width: 40rem; line-height: 1.5; }
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.list-check { margin: 0.75rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.list-check li { margin: 0.4rem 0; line-height: 1.45; }
.list-check li::marker { color: var(--accent); }

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 1.75rem;
}
.anchor-nav a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.84rem;
  color: var(--ink);
  text-decoration: none;
}
.anchor-nav a:hover { border-color: var(--accent); color: var(--accent); }

.cap-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.1rem;
  scroll-margin-top: 5.5rem;
  box-shadow: var(--shadow-sm);
}
.cap-block h3 { margin: 0 0 0.55rem; font-size: var(--h3); }
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.35rem;
  align-items: start;
}
.two-col img {
  border-radius: 10px;
  border: 1px solid var(--line);
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: center;
  background: #eef1f5;
}
.two-col img[src*="derek-high-temp"],
.two-col img[src*="postal-hightemp-"],
.two-col img[src*="derek-sector-gear"],
.two-col img[src*="derek-worm-gear"],
.two-col img[src*="postal-worm-"],
.two-col img[src*="derek-lsr"] {
  object-fit: contain;
  background: #fff;
  max-height: 320px;
}

.img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  align-items: stretch;
}
.img-pair figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.img-pair img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.img-pair figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 1rem 0; }
.cert-badge {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ok);
  border-radius: 10px;
  padding: 1.2rem 1.2rem;
  min-width: min(100%, 280px);
  flex: 1;
  box-shadow: var(--shadow-sm);
}
.cert-badge .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ok);
  font-weight: 700;
}
.cert-badge h3 { margin: 0.35rem 0; font-size: 1.08rem; }
.cert-badge p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }

.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}
.loc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.loc-card .tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  margin-bottom: 0.65rem;
  align-self: flex-start;
}
.loc-card h3 { margin: 0 0 0.5rem; font-size: var(--h3); }
.loc-card address { font-style: normal; color: var(--muted); font-size: 0.92rem; line-height: 1.5; flex: 1; }

/* Form — tap targets, clear required */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem;
  box-shadow: var(--shadow);
  max-width: 720px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink);
}
label .req, label .required-mark {
  color: #b42318;
  font-weight: 700;
}
input, select, textarea {
  font: inherit;
  font-weight: 400;
  border: 1px solid #c5d0de;
  border-radius: 8px;
  padding: 0.72rem 0.85rem;
  min-height: 2.75rem;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6778' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid #9fc3e8;
  outline-offset: 1px;
  border-color: var(--accent);
}
input:invalid:not(:placeholder-shown):not(:focus),
select:invalid:not(:focus):not([value=""]),
textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #e8a0a0;
}
.form-note {
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--accent-dark);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 1.15rem 0;
}
.form-card .btn-primary {
  min-height: 2.85rem;
  padding-inline: 1.5rem;
  width: auto;
}
.form-status {
  display: none;
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #e8f6ee;
  color: var(--ok);
  font-size: 0.92rem;
}
.form-status.show { display: block; }
.mailto-fallback {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}
.mailto-fallback strong { font-weight: 600; color: var(--muted); }

/* Footer — compact, consistent */
.site-footer {
  background: #0f1b2d;
  color: #d5deea;
  padding: 2rem 0 1.25rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 1fr;
  gap: 1.35rem 1.75rem;
  margin-bottom: 1.35rem;
}
.site-footer h3 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.site-footer p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: #c5d0e0; }
.site-footer a { color: #c5d6ea; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; font-size: 0.88rem; }
.footer-meta {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 0.9rem;
  font-size: 0.78rem;
  color: #8fa0b5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
  justify-content: space-between;
}
.draft-tag {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.68rem;
  background: #fff4d6;
  color: #6a4b00;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  vertical-align: middle;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Process strip — equal steps; mobile scroll without overflow */
.process-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 2.35rem 0;
}
.process-band .section-head { margin-bottom: 1.15rem; }
.process-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
  counter-reset: step;
}
.process-strip li {
  position: relative;
  background: var(--accent-soft);
  border: 1px solid #c9dceb;
  border-radius: 10px;
  padding: 0.95rem 0.75rem 0.9rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  min-height: 5.25rem;
}
.process-strip li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.process-strip strong {
  font-size: 0.92rem;
  color: var(--accent-dark);
  padding-right: 1.4rem;
  line-height: 1.25;
}
.process-strip span {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
  margin-top: auto;
}


/* Pre-engineering / after-sales tech cards */
.tech-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}
.tech-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tech-panel h3 {
  margin: 0 0 0.55rem;
  font-size: var(--h3);
  line-height: 1.3;
}
.tech-panel > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.tech-bullets {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.tech-bullets li {
  margin: 0.45rem 0;
  line-height: 1.45;
}
.tech-bullets li::marker { color: var(--accent); }
.tech-bullets strong { color: var(--ink); font-weight: 650; }
.tech-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}
.tech-panel .tech-actions { margin-top: auto; padding-top: 1.1rem; }
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}
.support-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}
.support-card h3 {
  margin: 0 0 0.45rem;
  font-size: var(--h3);
  line-height: 1.3;
}
.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}
.cap-block.highlight {
  border-color: #b7cde3;
  background: linear-gradient(180deg, #f7fbfe 0%, #fff 55%);
  box-shadow: var(--shadow);
}
.crosslink-note {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.band-soft {
  background: var(--accent-soft);
  border-block: 1px solid #d5e4f1;
}

@media (max-width: 920px) {
  .tech-split, .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .support-grid { grid-template-columns: 1fr; }
}

/* Engineering proof pair inside a card */
.card-img-pair {
  margin: 0 0 0.9rem;
  grid-template-columns: 1fr 1fr;
  flex-shrink: 0;
}
.card-img-pair img {
  height: 132px;
  max-height: 132px;
  margin: 0;
  background: #fff;
  object-fit: contain;
}
.card-img-pair figcaption {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

/* Sticky mobile Quote CTA (Capabilities) — clear of content */
.mobile-quote-cta { display: none; }

/* Honeypot (FormSubmit) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.cert-dl { margin: 0.85rem 0 0; }
.cert-dl .btn { padding: 0.48rem 0.95rem; font-size: 0.85rem; }
.cert-dl-inline { margin-top: 0.85rem; font-size: 0.9rem; }

.case-grid { grid-template-columns: 1fr 1fr; }
.case-card .case-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a4b00;
  background: #fff4d6;
  border: 1px solid #f0d48a;
  border-radius: 6px;
  padding: 0.28rem 0.55rem;
  margin-bottom: 0.75rem;
  align-self: flex-start;
  line-height: 1.3;
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 28rem;
    gap: 0.1rem 0.65rem;
  }
  .nav a { font-size: 0.86rem; }
}

@media (max-width: 920px) {
  .hero-grid, .feature-row, .feature-row.reverse, .feature-row.feature-row--balanced, .two-col, .footer-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  /* Quality unit stacks full-width on phone/tablet — reset desktop center-hug */
  #quality-systems .feature-row.feature-row--balanced > div:first-child,
  .quality-band .feature-row.feature-row--balanced > div:first-child,
  .feature-row.feature-row--balanced.quality-band-row > div:first-child,
  #quality-systems .feature-row.feature-row--balanced > img,
  .quality-band .feature-row.feature-row--balanced > img,
  .feature-row.feature-row--balanced.quality-band-row > img {
    max-width: none;
    justify-self: stretch;
    width: 100%;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .about-rows { gap: 2rem; }
  .feature-row img.about-factory { max-height: 300px; min-height: 180px; }
  .feature-row img.about-mould { max-height: 280px; }
  .about-layout img.about-factory {
    max-height: 320px;
    min-height: 200px;
  }
  .about-how-center .about-how-inner { width: 100%; }
  .about-story-media img.about-factory { max-height: 260px; }
  .container { width: min(100% - 1.25rem, var(--max)); }
  .card-grid, .metrics, .loc-grid { grid-template-columns: 1fr 1fr; }
  .hero.hero-photo {
    min-height: 0;
    padding: 3.5rem 0 3rem;
    background-image:
      linear-gradient(180deg,
        rgba(4, 14, 28, 0.82) 0%,
        rgba(6, 22, 42, 0.7) 45%,
        rgba(8, 36, 62, 0.55) 100%),
      url("../images/postal-hero-gears-004.jpg");
    background-position: center, 70% 40%;
  }
  .hero h1 { max-width: 20ch; }
  .hero-card { margin-top: 0.25rem; }
  .process-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.55rem;
    padding-bottom: 0.35rem;
    grid-template-columns: none;
  }
  .process-strip li {
    flex: 0 0 min(42vw, 9.5rem);
    scroll-snap-align: start;
    min-height: 5rem;
  }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0.15rem;
    padding: 0.35rem 0 0.85rem;
    border-top: 1px solid var(--line);
    margin-top: 0.35rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.55rem 0.15rem; }
  .nav .btn { margin-left: 0; margin-top: 0.35rem; width: 100%; }
  .header-inner { flex-wrap: wrap; }
  .brand img,
  .brand-logo { height: 44px; max-width: none; }
  .brand-text strong { font-size: 1rem; }
  .brand-text span { font-size: 0.65rem; max-width: 9.5rem; }
}

@media (max-width: 620px) {
  :root { --section-y: 2.75rem; }
  .container { width: min(100% - 1rem, var(--max)); }
  .about-how-center { margin-top: 1.75rem; }
  .card-grid, .metrics, .loc-grid, .form-grid, .case-grid { grid-template-columns: 1fr; }
  .img-pair { grid-template-columns: 1fr; }
  .img-pair img { max-height: 240px; }
  .hero { padding: 2.75rem 0 2.35rem; }
  .hero.hero-photo { padding: 2.85rem 0 2.5rem; }
  .hero h1 { font-size: clamp(1.7rem, 7.5vw, 2.15rem); max-width: none; }
  .hero p.lead { font-size: 0.98rem; margin-bottom: 1.15rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 9rem; }
  .trust-badges { margin-top: 1.25rem; padding-top: 1.05rem; gap: 0.4rem; }
  .trust-badge { flex: 1 1 calc(50% - 0.4rem); min-width: 0; }
  .process-strip li { flex-basis: min(58vw, 10.5rem); }
  .form-card { padding: 1.25rem 1.1rem; }
  .mobile-quote-cta {
    display: flex;
    position: fixed;
    left: max(0.85rem, env(safe-area-inset-left));
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    z-index: 60;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    border-radius: 999px;
    padding: 0.95rem 1.1rem;
    min-height: 3rem;
    box-shadow: 0 10px 28px rgba(11, 79, 138, 0.38);
  }
  body:has(.mobile-quote-cta) {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
  body:has(.mobile-quote-cta) .site-footer {
    padding-bottom: 1.25rem;
  }
}


/* —— Language switcher —— */
.lang-switch {
  position: relative;
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  min-width: 72px;
  border: 1.5px solid var(--brand, #275991);
  background: var(--brand, #275991); /* always brand — button shows active language */
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(39, 89, 145, 0.28);
}
.lang-switch-btn:hover {
  border-color: #1f4875;
  background: #1f4875;
  color: #fff;
}
.lang-switch.open .lang-switch-btn,
.lang-switch-btn[aria-expanded="true"] {
  background: #1f4875;
  border-color: #1f4875;
  color: #fff;
  box-shadow: 0 2px 8px rgba(39, 89, 145, 0.35);
}
.lang-switch-btn::after {
  content: "";
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  opacity: 0.85;
}
.lang-switch-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 9.5rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line, #d0d7e2);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 27, 45, 0.14);
  z-index: 80;
  display: none;
}
.lang-switch-menu[hidden] { display: none !important; }
.lang-switch.open .lang-switch-menu { display: block; }
.lang-switch.open .lang-switch-menu[hidden] { display: block !important; }
.lang-switch-menu [data-lang-option] {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
  color: var(--ink, #0f1b2d);
}
.lang-switch-menu [data-lang-option]:hover {
  background: rgba(39, 89, 145, 0.08);
  color: var(--brand, #275991);
}
.lang-switch-menu [data-lang-option].is-active,
.lang-switch-menu [data-lang-option][aria-selected="true"] {
  background: var(--brand, #275991);
  color: #fff;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
@media (max-width: 900px) {
  .header-actions {
    order: 2;
    margin-left: auto;
  }
  .lang-switch-btn {
    min-height: 44px;
    padding: 0.55rem 0.95rem;
    font-size: 0.95rem;
  }
  .lang-switch-menu { right: 0; left: auto; }
}

/* —— Final-look polish 2026-11-04 —— */
.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
.case-card > p:last-child { margin-top: auto; }
.card-grid > .card,
.loc-grid > .loc-card {
  height: 100%;
}
.cta-inner {
  align-items: center;
  gap: 1.25rem;
}
@media (max-width: 620px) {
  .cta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .cta-inner .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-actions .btn {
    justify-content: center;
  }
  .section-head p { max-width: none; }
}
