/* Hallmark v2.0.0 · redesign · genre: modern-minimal · theme: custom "Mill" (deal: manual; theme and script files not shipped with the skill) · shape: video hero, ruled facts, index of capabilities, type-only reasons band, photo tiles, logo band, certificates, quote band · signature: the plant at work, edge to edge, behind the promise */
/* Critique: the old page leaned on uppercase type and repeated eyebrow labels; this one lets the real plant and real parts carry it, with sentence-case labels and one quiet accent. */
/* waive 9 (eyebrow) on inner pages: none left after the redesign; answered 1: @font-face family names declare faces, they are not uses. */

/* Sood Poly Products — shared stylesheet
   Brand tokens follow the 2026 company deck: navy + teal, bold serif headings. */

/* Self-hosted fonts (SIL OFL, from Fontsource) — no third-party font requests.
   Body/brand fonts use swap (text shows at once). Headings (Poppins) use optional with the main
   weight preloaded, so the large headings never re-flow and shift the page (CLS). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: optional; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: optional; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: optional; src: url("/assets/fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-800-normal.woff2") format("woff2"); }
/* Metric-matched fallbacks so text doesn't jump when the web fonts arrive (less layout shift). */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%; }
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); ascent-override: 92.83%; descent-override: 30.94%; line-gap-override: 8.84%; size-adjust: 113.73%; }

:root {
  --navy: #0f3446;
  --navy-2: #163f53;
  --navy-3: #1d4a60;
  --teal: #16777d;          /* text/links on light backgrounds (AA on white) */
  --teal-bright: #2a9d9a;   /* accents, buttons on navy */
  --mint: #8cc7c4;          /* eyebrow/stat text on navy */
  --blue: #3a64a8;
  --ink: #12303f;           /* body text on light */
  --muted: #4a6270;
  --line: #d6e1e5;
  --card: #e8eff2;
  --bg: #ffffff;
  --bg-soft: #f2f6f8;

  --font-head: "Poppins", "Poppins Fallback", "Inter", system-ui, sans-serif;
  --font-brand: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(15, 52, 70, .06), 0 6px 20px rgba(15, 52, 70, .08);
  --maxw: 1280px;
  --gutter: clamp(16px, 3vw, 32px);
  --section-y: clamp(40px, 5.5vw, 76px);
  --header-h: 72px;

  --shade: rgba(11, 40, 54, .82);
  --tone-reasons: #c9dcdf;
  /* every other colour the sheet uses, named once */
  --white: #ffffff;
  --black: #000000;
  --scrim-1: rgba(11, 40, 54, .38);
  --scrim-2: rgba(11, 40, 54, .50);
  --scrim-3: rgba(11, 40, 54, .82);
  --tone-2: #d9e7ea;
  --tone-3: #c3d8dc;
  --tone-4: rgba(255,255,255,.6);
  --tone-5: rgba(255,255,255,.97);
  --tone-6: rgba(15,52,70,.10);
  --tone-7: rgba(15,52,70,.16);
  --tone-8: rgba(42,157,154,.12);
  --tone-9: rgba(0,0,0,.35);
  --tone-10: #a9c4ca;
  --tone-11: rgba(140,199,196,.18);
  --tone-12: #c9dcdf;
  --tone-13: #dfe8eb;
  --tone-14: #e3ecef;
  --tone-15: #edf3f5;
  --tone-16: #2a9d9a;
  --tone-17: #fafcfc;
  --tone-18: rgba(140,199,196,.4);
  --tone-19: rgba(15,52,70,.06);
  --tone-20: rgba(15,52,70,.12);
  --tone-21: #c5d8dd;
  --tone-22: #b9cdd3;
  --tone-23: rgba(42,157,154,.25);
  --tone-24: #b3261e;
  --tone-25: #e6f4f1;
  --tone-26: #fdecea;
  --tone-27: #8a1c14;
  --tone-28: rgba(42,157,154,.14);
  --tone-29: #0b2836;
  --tone-30: #b6ccd1;
  --tone-31: #e3eef0;
  --tone-32: rgba(255,255,255,.1);
  --tone-33: rgba(6,20,28,.9);
  --tone-34: rgba(11,40,54,.94);
  --tone-35: rgba(15,52,70,.82);
  --tone-36: rgba(15,52,70,.45);
  --tone-37: #d3e4e7;
  --tone-38: #b8cfd4;
  --tone-39: rgba(15,52,70,.14);
  --tone-40: #eef3f5;
  --tone-41: #f5f8f9;
  --tone-42: #135f73;
  --tone-43: rgba(255,255,255,.06);
  --tone-44: #cdeeed;
  --tone-45: #e6f4f4;
  --tone-47: rgba(6,30,40,.25);
  --tone-48: rgba(255,255,255,.05);
  --tone-49: rgba(8,32,44,.95);
  --tone-50: rgba(11,40,54,.9);
  --tone-51: rgba(15,52,70,.72);
  --tone-52: rgba(6,30,40,.18);
  --tone-53: rgba(15,52,70,.8);
  --tone-54: rgba(11,40,54,.4);
  --tone-55: rgba(11,40,54,.85);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { overflow-wrap: break-word; min-width: 0; font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: var(--tone-2); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark a:not(.btn) { color: var(--mint); }
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split--reverse > :first-child { order: 2; } }

/* ---------- Section heading block ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  letter-spacing: 0; text-transform: none; color: var(--teal); margin-bottom: .75rem;
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--mint); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }
.section--dark .lead, .hero .lead, .page-hero .lead { color: var(--tone-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--font-body); padding: .95em 1.4em; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.section--dark .btn--primary, .hero .btn--primary, .page-hero .btn--primary, .cta-band .btn--primary { background: var(--teal-bright); color: var(--navy); }
.section--dark .btn--primary:hover, .hero .btn--primary:hover, .page-hero .btn--primary:hover, .cta-band .btn--primary:hover { background: var(--white); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.section--dark .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost, .cta-band .btn--ghost { color: var(--white); border-color: var(--tone-4); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .cta-band .btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--tone-5);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px var(--tone-6); }
.site-header > .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-brand); font-weight: 800; font-size: 1.6rem; letter-spacing: .02em; }
.brand-sub { font-size: .72rem; letter-spacing: 0; text-transform: none; color: var(--teal); font-weight: 700; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 10px; border-radius: 8px; white-space: nowrap; }
.nav-link:hover { color: var(--teal); }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-link { color: var(--teal); font-weight: 700; box-shadow: inset 0 -3px 0 var(--teal-bright); border-radius: 0; }
.sub-toggle { background: none; border: 0; padding: 8px 6px 8px 0; margin-left: -6px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px var(--tone-7);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 120;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.submenu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .94rem; }
.submenu a:hover, .submenu a:focus-visible { background: var(--card); color: var(--navy); }
.submenu a[aria-current="page"] { color: var(--teal); font-weight: 700; background: var(--bg-soft); }
@media (min-width: 1061px) {
  .nav-item:hover > .submenu, .nav-item:focus-within > .submenu, .sub-toggle[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: none; }
}
.nav .btn { margin-left: 10px; padding: .75em 1.2em; min-height: 44px; }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; border-radius: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white); flex-direction: column; align-items: stretch;
    padding: 8px var(--gutter) 24px; gap: 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 14px 4px; font-size: 1.05rem; }
  .nav-link[aria-current="page"], .nav-item.is-current > .nav-link { box-shadow: none; }
  .sub-toggle { margin: 0; padding: 0 8px; min-width: 48px; min-height: 48px; justify-content: center; }
  .submenu { position: static; flex-basis: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 10px 12px; opacity: 1; visibility: visible; transform: none; display: none; }
  .sub-toggle[aria-expanded="true"] + .submenu { display: block; }
  .nav .btn { margin: 16px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: var(--white); overflow: hidden;
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
}
.hero::after { /* deck-style swirl ring */
  content: ""; position: absolute; right: -180px; top: -120px; width: 620px; height: 620px; border-radius: 50%;
  border: 38px solid var(--tone-8); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lead { max-width: 56ch; }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 50px var(--tone-9); aspect-ratio: 16 / 10; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 700; }
.hero-stats li { color: var(--white); }
.hero-stats span { color: var(--mint); font-weight: 500; }
.cert-line { margin-top: 18px; font-size: .9rem; color: var(--tone-10); font-style: italic; }

/* Inner-page hero */
.page-hero { background: var(--navy); color: var(--white); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -140px; bottom: -220px; width: 460px; height: 460px; border-radius: 50%; border: 30px solid var(--tone-8); }
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: .85rem; color: var(--tone-10); margin-bottom: 14px; }
.breadcrumb a { color: var(--mint); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin: 0 .3em; }

/* ---------- Stat tiles ---------- */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stats--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stat { background: var(--card); border-radius: var(--radius); padding: 26px 16px; text-align: center; box-shadow: var(--shadow); }
.stat-value { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--teal); line-height: 1.1; }
.stat-label { display: block; margin-top: 8px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.section--dark .stat { background: var(--navy-2); border: 1px solid var(--tone-11); box-shadow: none; }
.section--dark .stat-value { color: var(--mint); }
.section--dark .stat-label { color: var(--tone-2); }

/* ---------- Cards ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { margin: .4em 0 0; font-size: .96rem; color: var(--muted); }
.card li { margin: .25em 0; }
.card--white { background: var(--white); border: 1px solid var(--line); }
.section--dark .card { background: var(--navy-2); border: 1px solid var(--tone-11); box-shadow: none; color: var(--tone-12); }
.icon-badge {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; flex-shrink: 0;
}
.icon-badge svg { width: 26px; height: 26px; }
.section--dark .icon-badge { background: var(--teal-bright); color: var(--navy); }
.feature-value { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--teal); line-height: 1.1; margin-bottom: 4px; }
.section--dark .feature-value { color: var(--mint); }

/* Image card with caption */
.figure { margin: 0; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tone-13); }
.figure--contain img { object-fit: contain; background: var(--white); padding: 10px; }
.figure--wide img { aspect-ratio: 16 / 9; }
.figure--tall img { aspect-ratio: 3 / 4; }
.figure figcaption { padding: 12px 16px; font-weight: 600; font-size: .92rem; color: var(--navy); text-align: center; }

/* Photo placeholder (for images not yet supplied) */
.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, var(--tone-14) 0 12px, var(--tone-15) 12px 24px);
  color: var(--muted); font-size: .88rem; font-weight: 600; text-align: center; padding: 16px;
}
.placeholder svg { width: 34px; height: 34px; opacity: .6; }

/* ---------- Logo strip ---------- */
.logo-strip { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .logo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .logo-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.logo-strip li { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 14px; height: 104px; }
.logo-strip img { max-height: 72px; width: auto; object-fit: contain; }
.logo-strip { padding: 0; margin: 0; }
.also { margin-top: 16px; color: var(--muted); font-style: italic; font-size: .95rem; }

/* Industry chips row */
.industry-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); padding: 0; margin: 24px 0 0; }
.industry-row li { list-style: none; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.industry-row .icon-badge { width: 40px; height: 40px; margin: 0; background: var(--teal-bright); color: var(--navy); }
.industry-row .icon-badge svg { width: 20px; height: 20px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--teal); position: relative;
}
.section--dark .checklist li::before { background-color: var(--teal-bright); }
.checklist li { position: relative; }
.checklist li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 6px; height: 10px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; background: var(--white); }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--card); color: var(--navy); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* Clamping range bar */
.range-bar { height: 28px; border-radius: 6px; background: linear-gradient(90deg, var(--tone-16), var(--navy)); }
.range-scale { display: flex; justify-content: space-between; font-weight: 700; font-size: .9rem; margin-top: 8px; color: var(--navy); }
.section--dark .range-scale { color: var(--white); }

/* ---------- Certifications ---------- */
.cert-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.cert { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.cert img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--tone-17); }
.cert strong { font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; }
.cert span { color: var(--teal); font-size: .9rem; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.cert-badges li { list-style: none; border: 1px solid var(--tone-18); border-radius: 999px; padding: 5px 12px; font-size: .82rem; font-weight: 600; }

/* ---------- Products catalog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font: 600 .92rem var(--font-body); padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--navy); cursor: pointer; min-height: 44px;
}
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.product-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.product-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
@media (min-width: 900px) { .product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px var(--tone-19); transition: box-shadow .2s, transform .2s, border-color .2s; }
.product-card:hover { box-shadow: 0 10px 28px var(--tone-20); transform: translateY(-2px); border-color: var(--tone-21); }
.product-card .media { position: relative; aspect-ratio: 4 / 3; background: var(--white); overflow: hidden; border-bottom: 1px solid var(--line); }
.product-card .media img, .product-card .media .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-card .media img { object-fit: contain; padding: 12px; }
.product-card .media .placeholder { aspect-ratio: auto; }
.product-card .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; text-align: center; align-items: center; }
.product-card h3 { font-size: 1.02rem; margin: 0; }
.product-card .meta { font-size: .82rem; color: var(--teal); font-weight: 600; margin: 0; }
.product-card .desc { font-size: .88rem; color: var(--muted); margin: 0; }
.product-card .link-btn { align-self: center; margin-top: auto; }
.product-card--slot { border: 2px dashed var(--tone-22); box-shadow: none; background: var(--bg-soft); }
.product-card--slot:hover { transform: none; box-shadow: none; }
.product-card--slot .media { background: transparent; }
.product-card--slot h3 { color: var(--muted); }
.catalog-count { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.tags li { list-style: none; font-size: .75rem; font-weight: 600; letter-spacing: 0; padding: 4px 10px; border-radius: 999px; background: var(--card); color: var(--teal); }

/* Sidebar + content layout (Products page) */
.with-sidebar { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
.with-sidebar > * { min-width: 0; }
@media (min-width: 992px) { .with-sidebar { grid-template-columns: 270px 1fr; gap: 36px; } }
.sidebar { position: relative; }
@media (min-width: 992px) { .sidebar { position: sticky; top: calc(var(--header-h) + 20px); } }
.sidebar-title { font: 600 .875rem var(--font-body); letter-spacing: 0; text-transform: none; color: var(--muted); margin: 0 0 10px; }
.side-group + .side-group { margin-top: 22px; }
.side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.side-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left;
  font: 600 .95rem var(--font-body); color: var(--white); background: var(--navy-3); border: 0; border-radius: 8px;
  padding: 13px 16px; cursor: pointer; min-height: 48px; transition: background .15s;
}
.side-btn:hover { background: var(--navy); }
.side-btn[aria-pressed="true"] { background: var(--teal-bright); color: var(--navy); }
.side-btn .count { font-weight: 700; font-size: .82rem; opacity: .85; }
.side-btn--light { background: var(--white); color: var(--navy); border: 1.5px solid var(--line); }
.side-btn--light:hover { background: var(--card); }
.side-btn--light[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
@media (max-width: 991px) {
  .side-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .side-list li { flex: 0 0 auto; }
  .side-btn { width: auto; white-space: nowrap; border-radius: 999px; padding: 10px 16px; min-height: 44px; }
}
.arrow-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.arrow-list li { display: flex; gap: 10px; align-items: flex-start; }
.arrow-list li::before { content: "\2192"; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.field .hint { font-size: .82rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--tone-22); border-radius: 8px; background: var(--white); color: var(--ink); width: 100%; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid var(--tone-23); outline-offset: 0; }
.req { color: var(--tone-24); }
.form-note { font-size: .88rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: 8px; background: var(--tone-25); color: var(--navy); font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-error { background: var(--tone-26); color: var(--tone-27); }
.honeypot { display: none; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: -120px; top: -160px; width: 380px; height: 380px; border-radius: 50%; border: 28px solid var(--tone-28); }
.cta-band .container { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: var(--white); margin: 0 0 .3em; }
.cta-band p { color: var(--tone-3); margin: 0; max-width: 56ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tone-29); color: var(--tone-30); padding: 56px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--mint); margin-bottom: 14px; }
.site-footer a { color: var(--tone-31); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand-sub { color: var(--mint); }
.footer-bottom { border-top: 1px solid var(--tone-32); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }

/* ---------- Misc ---------- */
.rounded-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.rounded-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.note { font-size: .92rem; color: var(--muted); font-style: italic; }
.mt-0 { margin-top: 0; } .mt-l { margin-top: clamp(28px, 4vw, 48px); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.btn-row--center { justify-content: center; }
.mt-m { margin-top: 32px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: var(--tone-33); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; width: auto; border-radius: 8px; background: var(--white); }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); font-size: 1.6rem; cursor: pointer; }
[data-lightbox] { cursor: zoom-in; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hm-hero-bg { transform: none; }
}

/* Text-style button (e.g. "View mould") and image buttons for lightbox */
.link-btn { background: none; border: 0; padding: 6px 0; font: 600 .9rem var(--font-body); color: var(--teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: flex-start; min-height: 32px; }
.link-btn:hover { color: var(--navy); }
.img-btn { display: block; width: 100%; background: none; border: 0; padding: 0; cursor: zoom-in; }
@media (min-width: 700px) { .stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* =====================================================================
   v2 components — patterns adapted from the reference sites
   ===================================================================== */

/* Inner-page banner: full-width photo with dark overlay (JBJ / Renata) */
.page-banner { position: relative; color: var(--white); background: var(--navy); overflow: hidden; }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--tone-34) 0%, var(--tone-35) 45%, var(--tone-36) 100%); }
.page-banner .container { position: relative; z-index: 1; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-banner h1 { color: var(--white); max-width: 20ch; margin-bottom: .35em; }
.page-banner .eyebrow { color: var(--mint); }
.page-banner .lead { color: var(--tone-37); max-width: 60ch; margin: 0; }
.page-banner .breadcrumb { color: var(--tone-38); }
.page-banner .breadcrumb a { color: var(--white); }
.page-banner .btn-row { margin-top: 24px; }

/* Split hero: colour panel + photo (Vignesh) */
.split-hero { display: grid; grid-template-columns: 1fr; background: var(--navy); color: var(--white); }
@media (min-width: 900px) { .split-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 380px; } }
.split-hero-text { padding: clamp(48px, 7vw, 88px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) { .split-hero-text { padding-left: var(--gutter); padding-right: 48px; } .split-hero-text > * { max-width: calc(var(--maxw) / 2 - var(--gutter)); margin-left: auto; width: 100%; } }
.split-hero-text h1 { color: var(--white); }
.split-hero-text .eyebrow { color: var(--mint); }
.split-hero-text .lead { color: var(--tone-37); }
.split-hero-media { min-height: 240px; }
.split-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Stats strip (thin band under hero) */
.stats-strip { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.stats-strip ul { list-style: none; margin: 0; padding: 22px 0; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .stats-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .stats-strip ul { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stats-strip li { text-align: center; }
.stats-strip strong { display: block; font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--teal); line-height: 1.1; }
.stats-strip span { font-size: .85rem; font-weight: 600; color: var(--navy); }

/* Link cards for hubs (capabilities, industries) */
.link-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px var(--tone-39); color: var(--ink); }
.link-card .media { aspect-ratio: 16 / 10; background: var(--tone-40); overflow: hidden; }
.link-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.link-card:hover .media img { transform: scale(1.04); }
.link-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.link-card h3 { margin: 0; font-size: 1.15rem; }
.link-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.link-card .more { margin-top: auto; padding-top: 6px; color: var(--teal); font-weight: 600; font-size: .92rem; }


/* Industry tiles (icon + name, dark) */
.industry-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); list-style: none; padding: 0; margin: 0; }
.industry-tile { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius-lg); background: var(--navy); color: var(--white); text-decoration: none; min-height: 150px; transition: background .2s, transform .2s; }
.industry-tile:hover { background: var(--navy-3); color: var(--white); transform: translateY(-2px); }
.industry-tile .icon-badge { margin: 0; background: var(--teal-bright); color: var(--navy); }
.industry-tile strong { font-family: var(--font-head); font-size: 1.08rem; }
.industry-tile span.more { margin-top: auto; color: var(--mint); font-size: .88rem; font-weight: 600; }


/* Zig-zag feature cards (Vignesh) */
.zigzag { display: grid; gap: 24px; }
.zz-card { display: grid; grid-template-columns: 1fr; gap: 0; background: var(--tone-41); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 860px) {
  .zz-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .zz-card:nth-child(even) .zz-media { order: 2; }
}
.zz-media { padding: 14px; }
.zz-media img, .zz-media .placeholder { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: 10px; }
.zz-text { padding: clamp(22px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.zz-text .eyebrow { margin-bottom: .4rem; }
.zz-text h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--teal); margin-bottom: .35em; }
.zz-text p { color: var(--muted); }
.zz-text .checklist { margin-top: 6px; }

/* Advantages band (SPR) */
.adv-band { background: linear-gradient(120deg, var(--teal) 0%, var(--tone-42) 100%); color: var(--white); padding: clamp(48px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.adv-band::after { content: ""; position: absolute; right: -8%; top: 0; bottom: 0; width: 38%; background: var(--tone-43); transform: skewX(-18deg); }
.adv-band .container { position: relative; z-index: 1; }
.adv-band h2 { color: var(--white); font-size: clamp(1.35rem, 2.6vw, 2rem); }
.adv-band .eyebrow { color: var(--tone-44); }
.adv-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .adv-list--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; } }
.adv-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; color: var(--tone-45); }
.adv-list li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--white); box-shadow: inset 0 0 0 4px var(--teal), inset 0 0 0 10px var(--white); }
.adv-list strong { color: var(--white); }
.adv-band .closing { margin: 22px 0 0; font-weight: 700; color: var(--white); }

/* Category rows (JBJ) — used on industry pages */
.cat-row { padding: clamp(36px, 5vw, 60px) 0; }
.cat-row:nth-of-type(even) { background: var(--bg-soft); }
.cat-row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 20px; }
.cat-row-head h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0; }
.cat-row-head p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Logo marquee (JBJ carousel) */
.logo-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, var(--black) 6%, var(--black) 94%, transparent); mask-image: linear-gradient(90deg, transparent, var(--black) 6%, var(--black) 94%, transparent); }
.logo-track { display: flex; gap: 16px; width: max-content; animation: marquee 32s linear infinite; list-style: none; padding: 0; margin: 0; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-track li { flex: 0 0 auto; width: 190px; height: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 14px; }
.logo-track img { max-height: 70px; width: auto; object-fit: contain; }
.logo-track .logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); letter-spacing: .02em; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .logo-track [aria-hidden="true"] { display: none; } }

/* CTA with overlapping card (Renata) */
.cta-overlap { background: var(--teal); padding: clamp(48px, 7vw, 90px) 0; }
.cta-overlap .container { display: grid; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .cta-overlap .container { grid-template-columns: 5fr 7fr; } }
.cta-overlap-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); box-shadow: 0 24px 50px var(--tone-47); position: relative; z-index: 2; }
@media (min-width: 900px) { .cta-overlap-card { margin-right: -90px; } }
.cta-overlap-card h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.cta-overlap-card p { color: var(--muted); }
.cta-overlap-media { border-radius: var(--radius-lg); overflow: hidden; min-height: 260px; margin-top: -30px; }
@media (min-width: 900px) { .cta-overlap-media { margin-top: 0; min-height: 380px; } }
.cta-overlap-media img { width: 100%; height: 100%; object-fit: cover; }

/* Footer v2 — address card (Renata) */
.site-footer { border-top: 4px solid var(--teal-bright); }
@media (min-width: 760px) { .footer-grid--4 { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }
.address-card { background: var(--tone-48); border: 1px solid var(--tone-32); border-radius: var(--radius); padding: 18px; }
.address-card h3 { font-family: var(--font-body); color: var(--white); font-size: .95rem; margin: 0 0 8px; }
.footer-contact-line { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; }
.footer-contact-line svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--mint); }

/* Spec table accent */
.spec-table th { width: 38%; }

/* ---- Review fixes (Opus) ---- */
/* Stronger banner overlay so text stays readable on bright photos */
.page-banner::before { background: linear-gradient(90deg, var(--tone-49) 0%, var(--tone-50) 50%, var(--tone-51) 100%); }
.page-banner h1, .page-banner .lead, .page-banner .breadcrumb, .page-banner .eyebrow { text-shadow: 0 1px 12px var(--tone-9); }
/* Stat values stay on one line */
.stats-strip strong { white-space: nowrap; font-size: clamp(1.15rem, 2vw, 1.75rem); }
/* CTA photo fills its frame */
.cta-overlap-media { position: relative; }
.cta-overlap-media img { position: absolute; inset: 0; }
/* Tall sticky sidebar scrolls within the viewport */
@media (min-width: 992px) { .sidebar { max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; } }
/* Three certificates side by side */
@media (min-width: 560px) { .cert-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- Fable review fixes ---- */
/* #1 banner overlay must sit above the photo, text above the overlay */
.page-banner::before { z-index: 1; }
.page-banner .container { z-index: 2; }
/* #9 no orphan cards in 4-up grids on tablets */
@media (min-width: 560px) and (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* #14 products: sidebar no longer clipped; narrower cards next to it adapt */
@media (min-width: 992px) { .sidebar { max-height: none; overflow: visible; position: static; } }
@media (min-width: 992px) and (max-width: 1199px) { .with-sidebar .product-grid--3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.catalog-empty { grid-column: 1 / -1; padding: 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); text-align: center; }
/* #22 horizontal filter rows on mobile show there is more to scroll */
@media (max-width: 991px) { .side-list { -webkit-mask-image: linear-gradient(90deg, var(--black) 85%, transparent); mask-image: linear-gradient(90deg, var(--black) 85%, transparent); padding-right: 32px; } }
/* index infra heading keeps zig-zag styling as an h2 */
.zz-text .zz-title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--teal); margin-bottom: .35em; }
/* #6 page doesn't scroll behind the lightbox */
body.lightbox-open { overflow: hidden; }

/* ---- Owner feedback, Oct 2026 ---- */
/* CTA card and photo side by side (no overlap) on every page */
.cta-overlap .container { gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .cta-overlap .container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.cta-overlap-card { margin-right: 0 !important; box-shadow: 0 12px 30px var(--tone-52); display: flex; flex-direction: column; justify-content: center; }
.cta-overlap-media { margin-top: 0 !important; min-height: 240px; }
@media (min-width: 900px) { .cta-overlap-media { min-height: 0; } }
/* Less white space: wider content, tighter sections */
.section-head { margin-bottom: clamp(20px, 2.6vw, 32px); }
.page-banner .container { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero { padding: clamp(44px, 6.5vw, 88px) 0 clamp(40px, 5.5vw, 72px); }
.cat-row { padding: clamp(28px, 4vw, 44px) 0; }
.cta-overlap { padding: clamp(36px, 5vw, 60px) 0; }
.split-hero-text { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.site-footer { padding-top: 44px; }
/* Quality: inspection cards 2 x 2 beside a full-height photo */
.qa-layout { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .qa-layout { grid-template-columns: 1.15fr 1fr; } }
.qa-layout .qa-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .qa-layout .qa-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.qa-layout .qa-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 280px; position: relative; }
.qa-layout .qa-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qa-layout .qa-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: var(--tone-53); color: var(--white); font-weight: 600; font-size: .9rem; }
/* Industry rows with 1–2 parts: compact cards aligned left instead of a stretched 3-column row */
@media (min-width: 560px) { .product-grid--3.product-grid--few { grid-template-columns: repeat(auto-fill, minmax(250px, 330px)); } }
/* Small photos (e.g. Maggi cap) are not blown up past their real size */
.product-card .media img[width="198"] { object-fit: scale-down; }
/* Same-height media in contain-figures (tool-room gallery) */
.figure--contain img { aspect-ratio: 4 / 3; object-fit: contain; }
/* 5-card and 8-card grids without orphans on wide screens */
@media (min-width: 1100px) { .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .grid-4x2 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Industry tiles: two per row on phones */
@media (max-width: 480px) { .industry-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .industry-tile { padding: 16px; min-height: 0; } }

/* =====================================================================
   Homepage redesign, Oct 2026 (Claude Design handoff)
   ===================================================================== */
:root { --maxw: 1280px; --gutter: clamp(14px, 2vw, 24px); --header-h: 84px; }

/* Header: taller, pill quote button */
.site-header { border-bottom-color: var(--tone-14); }
.site-header .brand img { width: 44px; height: 44px; }
.nav-link { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-link { font-weight: 600; box-shadow: inset 0 -2px 0 var(--teal-bright); }
.nav .btn { margin-left: 12px; font-size: 14px; font-weight: 600; padding: 12px 22px; min-height: 44px; }
.btn { white-space: nowrap; }
@media (max-width: 1060px) {
  .nav-link { font-size: 1.05rem; }
  .nav-link[aria-current="page"], .nav-item.is-current > .nav-link { box-shadow: none; }
  .nav .btn { margin: 16px 0 0; }
}

/* Smaller secondary text */
.eyebrow { font-size: 12px; }
.product-card .meta { font-size: 12.5px; }
.link-card p, .product-card .desc { font-size: 14px; }
.site-footer { font-size: 14px; }
.footer-bottom { font-size: 12.5px; }

/* Home page section rhythm */
.home .section { padding: clamp(56px, 7vw, 88px) 0; }
.home .section-head { margin-bottom: clamp(28px, 3.4vw, 40px); }
.home .section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.home #what-title { max-width: 20ch; }

/* Hero — full-bleed tinted photo, centred copy, slanted bottom edge */
.hero--tinted {
  position: relative; min-height: 700px; padding: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--tone-29); clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.hero--tinted::after { display: none; }
.hero--tinted .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: grayscale(.4); }
.hero--tinted::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--tone-54), var(--tone-55)); }
.hero-content {
  position: relative; z-index: 2; max-width: 860px; padding: 96px 28px 150px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero--tinted .eyebrow { margin: 0 0 20px; font-size: 12px; color: var(--mint); }
.hero--tinted h1 {
  margin: 0; max-width: none; color: var(--white); font-family: var(--font-head); font-weight: 700;
  font-size: clamp(36px, 5.4vw, 66px); line-height: 1.06; letter-spacing: -.02em;
  text-wrap: balance;
}
.hero--tinted h1 span { color: var(--teal-bright); }
.hero--tinted .lead { margin: 24px 0 0; max-width: 52ch; font-size: 16px; color: var(--tone-3); text-wrap: pretty; }
.hero--tinted .btn-row { justify-content: center; margin-top: 34px; }
.hero--tinted .btn { font-size: 15px; min-height: 0; }
.hero--tinted .btn--primary { font-weight: 700; padding: 15px 30px; }
.hero--tinted .btn--ghost { font-weight: 600; padding: 13px 28px; }
.hero-scroll { display: inline-flex; margin-top: 56px; color: var(--white); opacity: .8; border-radius: 50%; }
.hero-scroll:hover { color: var(--white); opacity: 1; }
.hero-scroll svg { width: 28px; height: 28px; }
@media (max-width: 600px) {
  .hero--tinted { min-height: 640px; }
  .hero-content { padding: 72px 20px 120px; }
  .hero-scroll { margin-top: 40px; }
}

/* Industries — product photo tiles, max four per row */
.industry-photo-tiles {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(180px, calc((100% - 48px) / 4))), 1fr));
}
.industry-photo-tile { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: var(--white); text-decoration: none; transition: background .2s, transform .2s; }
.industry-photo-tile:hover { background: var(--navy-3); color: var(--white); transform: translateY(-2px); }
.ipt-media { display: block; aspect-ratio: 4 / 3; background: var(--white); position: relative; overflow: hidden; }
.ipt-media img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.ipt-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; min-height: 52px; }
.ipt-bar strong { font-family: var(--font-head); font-size: 14px; line-height: 1.3; }
.ipt-bar span { color: var(--mint); font-size: 16px; font-weight: 600; }
@media (max-width: 420px) { .industry-photo-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .ipt-bar { padding: 10px 12px; } .ipt-bar strong { font-size: 13px; } }

/* Featured products — up to four per row, equal image boxes */
.product-grid--feat { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(190px, calc((100% - 54px) / 4))), 1fr)); }
.product-card--compact .body { gap: 4px; }
.product-card--compact h3 { font-size: 15.5px; }
@media (max-width: 460px) { .product-grid--feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .product-card--compact .body { padding: 12px 10px 14px; } .product-card--compact h3 { font-size: 14px; } }

/* Clients — rotating logos inside a white rounded card */
.logo-marquee--card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--black) 8%, var(--black) 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--black) 8%, var(--black) 92%, transparent);
}
.logo-marquee--card .logo-track { gap: 0; animation: sppMarquee 28s linear infinite; }
.logo-marquee--card .logo-track li { width: 170px; height: 74px; padding: 0 18px; border: 0; border-radius: 0; background: none; }
.logo-marquee--card .logo-track img { max-height: 64px; max-width: 100%; }
@keyframes sppMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee--card .logo-track { animation: none; } }

/* CTA — card and photo side by side, never overlapping */
.home .cta-overlap { padding: clamp(48px, 7vw, 80px) 0; }
.cta-overlap-card { padding: clamp(26px, 4vw, 44px); }
@media (min-width: 900px) { .cta-overlap-media { min-height: 360px; } }
.home #qual-title + p + .checklist { gap: 9px; font-size: 14.5px; }
.home #qual-title + p + .checklist strong { color: var(--navy); }

/* Zig-zag cards: photo fills its half without stretching the card; stacked cards share one height */
@media (min-width: 860px) {
  .zigzag { grid-auto-rows: 1fr; }
  .zz-media { position: relative; min-height: 300px; }
  .zz-media img, .zz-media .placeholder { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); min-height: 0; }
}
@media (max-width: 859px) { .zz-media img { aspect-ratio: 4 / 3; height: auto; min-height: 0; } }

/* =====================================================================
   Hallmark redesign, Nov 2026: home page ("Mill")
   ===================================================================== */
/* Buttons: one primary style, squarer corners, a quiet text-style second action */
.btn { border-radius: var(--radius); }
.nav .btn { border-radius: var(--radius); }
.btn--quiet { background: transparent; color: var(--navy); border-color: transparent; padding-left: .4em; padding-right: .4em; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.btn--quiet:hover { color: var(--teal); transform: none; }
.btn--quiet:active, .btn--primary:active, .btn--ghost:active { transform: translateY(1px); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; transition: none; }

.home .hm-h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); max-width: 22ch; margin-bottom: clamp(24px, 3vw, 36px); text-wrap: balance; }

/* Hero: the plant at work, edge to edge, the promise centred over it */
.hm-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; text-align: center;
  min-height: clamp(520px, calc(100svh - var(--header-h)), 760px); background: var(--navy); color: var(--white); }
.hm-hero-bg { position: absolute; inset: -8% 0; z-index: -2; transform: translate3d(0, var(--hero-shift, 0px), 0); will-change: transform; }
.hm-hero-bg > img, .hm-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-hero-video { opacity: 0; transition: opacity .6s; filter: saturate(1.1) contrast(1.08); }
.hm-hero-video.is-playing { opacity: 1; }
.hm-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--scrim-1) 0%, var(--scrim-2) 55%, var(--scrim-3) 100%); }
.hm-hero-inner { width: 100%; max-width: 920px; padding: clamp(56px, 9vw, 104px) var(--gutter); display: flex; flex-direction: column; align-items: center; }
.hm-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.06; letter-spacing: -.025em; max-width: 18ch; margin: 0 auto; text-wrap: balance; text-shadow: 0 1px 16px var(--tone-9); }
.hm-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 40ch; margin: 22px 0 0; text-wrap: pretty; }
.hm-hero .hm-lead { color: var(--white); max-width: 46ch; margin: 22px auto 0; text-shadow: 0 1px 12px var(--tone-9); }
.hm-hero .btn-row { margin-top: 30px; justify-content: center; align-items: center; }
.hm-hero .btn--primary { background: var(--teal-bright); color: var(--navy); }
.hm-hero .btn--primary:hover { background: var(--white); color: var(--navy); }
.hm-hero .btn--quiet { color: var(--white); }
.hm-hero .btn--quiet:hover { color: var(--mint); }
.hm-hero-toggle { position: absolute; right: var(--gutter); bottom: 16px; min-height: 44px; padding: 8px 14px; font: 600 .8125rem var(--font-body);
  color: var(--white); background: var(--shade); border: 1px solid var(--tone-4); border-radius: var(--radius); cursor: pointer; transition: opacity .15s; }
.hm-hero-toggle:hover { background: var(--navy); }
.hm-hero-toggle:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; }
@keyframes hmRise { from { opacity: 0; transform: translateY(14px); } }
.hm-hero-inner > * { animation: hmRise .7s cubic-bezier(.2,.7,.2,1) both; }
.hm-hero-inner > :nth-child(2) { animation-delay: .1s; }
.hm-hero-inner > :nth-child(3) { animation-delay: .2s; }
@media (max-width: 700px) { .hm-hero { min-height: min(86svh, 620px); } .hm-hero-bg { inset: 0; transform: none; } }

/* Facts: one ruled row of real numbers */
.hm-facts { border-bottom: 1px solid var(--line); }
.hm-facts dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-facts dl > div { padding: 20px 16px 18px 0; border-top: 1px solid var(--line); }
.hm-facts dt { font-size: .875rem; color: var(--muted); }
.hm-facts dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--navy); white-space: nowrap; }
@media (min-width: 700px) { .hm-facts dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hm-facts dl { grid-template-columns: repeat(6, minmax(0, 1fr)); } .hm-facts dl > div { border-top: 0; padding-top: 24px; padding-bottom: 22px; } .hm-facts dl > div + div { border-left: 1px solid var(--line); padding-left: 20px; } }

/* Capabilities: one feature, three rows beside it */
.hm-index { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hm-index { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; } }
.hm-feature { position: relative; display: block; min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: var(--white); text-decoration: none; }
.hm-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hm-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--shade)); }
.hm-feature-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; display: grid; gap: 4px; }
.hm-feature strong { font-family: var(--font-head); font-size: clamp(1.3rem, 2vw, 1.6rem); }
.hm-feature:hover { color: var(--white); }
.hm-feature:hover img { transform: scale(1.03); }
.hm-rows { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.hm-rows li { border-bottom: 1px solid var(--line); }
.hm-rows a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 0; text-decoration: none; color: var(--ink); }
.hm-rows img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hm-rows strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.hm-rows a > span > span { color: var(--muted); font-size: .9375rem; }
.hm-rows a:hover strong { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }

/* Reasons: type only, on navy */
.hm-reasons { background: var(--navy); color: var(--tone-reasons); padding: clamp(48px, 7vw, 88px) 0; }
.hm-reasons .hm-h2 { color: var(--white); }
.hm-reasons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.hm-reasons li { border-top: 2px solid var(--teal-bright); padding-top: 16px; display: grid; gap: 6px; }
.hm-reasons strong { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--white); }
.hm-reasons span { max-width: 26ch; }

/* Industries: real parts on white */
.hm-industries { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .hm-industries { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.hm-industries a { display: grid; gap: 10px; text-decoration: none; color: var(--navy); }
.hm-ind-media { display: block; aspect-ratio: 4 / 3; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.hm-ind-media img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; transition: transform .3s; }
.hm-industries strong { font-family: var(--font-head); font-size: 1.05rem; }
.hm-industries a:hover strong { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.hm-industries a:hover img { transform: scale(1.04); }

/* Clients marquee keeps its own card; quieter edge */
.home .logo-marquee--card { border-radius: var(--radius-lg); }

/* Quality */
.hm-quality { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .hm-quality { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.hm-certlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 560px) { .hm-certlist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
.hm-certlist li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.hm-certlist strong { display: block; color: var(--navy); font-size: 1rem; }
.hm-certs { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-certs img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }

/* Quote band */
.hm-cta { background: var(--navy); color: var(--tone-reasons); padding: clamp(48px, 7vw, 88px) 0; }
.hm-cta .container { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .hm-cta .container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.hm-cta .hm-h2 { color: var(--white); margin-bottom: 12px; }
.hm-cta p { margin: 0 0 24px; }
.hm-cta img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius-lg); }
.hm-cta .btn--primary { background: var(--teal-bright); color: var(--navy); }
.hm-cta .btn--primary:hover { background: var(--white); color: var(--navy); }
.hm-cta .btn--quiet { color: var(--white); }
.hm-cta .btn--quiet:hover { color: var(--mint); }

@media (prefers-reduced-motion: reduce) { .hm-feature img, .hm-ind-media img { transition: none; } .hm-feature:hover img, .hm-industries a:hover img { transform: none; } }

/* Scroll motion, Nov 2026 */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js [data-reveal].is-in { opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
[data-count] { display: inline-block; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }
@media print { .js [data-reveal] { opacity: 1; transform: none; } }
