/* =========================================================================
   Aravinth Polymers: theme
   design-system: DESIGN.md (IBM/Carbon structure, Aravinth red)

   1. Archivo throughout: body 400, card titles 600, h2/h3 700, h1 800.
   2. One accent, #C81E23, for primary actions, links, focus and the active
      nav marker. Product families are named, not coloured.
   3. Square corners (pills only for tags), no shadows, hairline sections.
   4. Light theme by default; dark uses the Carbon grey-100 ramp.

   Contents
   1 Tokens  2 Reset  3 Type  4 Layout  5 Buttons  6 Header/nav  7 Hero
   8 Cards  9 Bento  10 Process  11 Metrics  12 Tables  13 Forms
   14 Catalogue  15 Footer/floats  16 Utilities  17 Motion  18 Print
   ========================================================================= */

/* ---------- 1. Tokens (Light theme default) ---------- */
:root,
[data-theme="light"] {
  color-scheme: light;

  /* Surfaces (Carbon grey ramp, see DESIGN.md) */
  --canvas: #ffffff;
  --surface-1: #f4f4f4;
  --surface-2: #e0e0e0;
  --surface-3: #c6c6c6;
  --plate: #f4f4f4;
  --hairline: #e0e0e0;
  --hairline-soft: #ececec;
  --hairline-strong: #8d8d8d;

  /* Ink */
  --ink: #161616;
  --ink-muted: #525252;
  --ink-subtle: #6f6f6f;
  --inverse-canvas: #161616;
  --inverse-ink: #ffffff;

  /* The one accent: logo red, darkened for AA */
  --accent: #c81e23;
  --accent-hover: #a3161a;
  --on-accent: #ffffff;
  /* Same in both themes: the charcoal call-to-action ground */
  --cta-ground: #161616;
  --cta-ink: #ffffff;
  --cta-edge: #525252;
  --dark-line: #393939;
  --dark-ink-muted: #c6c6c6;
  --on-dark-accent: #ff7a7a;

  /* Links & semantics */
  --link: var(--accent);
  --link-hover: var(--accent-hover);
  --success: #198038;
  --success-bg: rgba(25, 128, 56, 0.1);
  --danger: #da1e28;
  --danger-bg: rgba(218, 30, 40, 0.09);

  /* Product families are named, not coloured (DESIGN.md rule 1) */
  --fam-industrial: var(--inverse-canvas);
  --fam-blister: var(--inverse-canvas);
  --fam-clamshell: var(--inverse-canvas);
  --fam-esd: var(--inverse-canvas);
  --fam-medical: var(--inverse-canvas);
  --fam-food: var(--inverse-canvas);
  --fam-component: var(--inverse-canvas);
  --on-industrial: var(--inverse-ink);
  --on-blister: var(--inverse-ink);
  --on-clamshell: var(--inverse-ink);
  --on-esd: var(--inverse-ink);
  --on-medical: var(--inverse-ink);
  --on-food: var(--inverse-ink);
  --on-component: var(--inverse-ink);

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --t-display-xl: clamp(2.5rem, 1.2rem + 4.6vw, 4.75rem);
  --t-display-lg: clamp(2rem, 1.3rem + 2.8vw, 3.75rem);
  --t-display-md: clamp(1.65rem, 1.3rem + 1.5vw, 2.625rem);
  --t-headline: clamp(1.4rem, 1.2rem + 0.8vw, 2rem);
  --t-card-title: clamp(1.2rem, 1.1rem + 0.4vw, 1.5rem);
  --t-subhead: 1.25rem;
  --t-body-lg: 1.125rem;
  --t-body: 1rem;
  --t-body-sm: 0.875rem;
  --t-caption: 0.8125rem;
  --t-button: 0.875rem;
  --t-eyebrow: 0.875rem;
  --t-label: 0.75rem;

  /* Space: 8px base */
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --section: clamp(48px, 5.5vw, 80px);

  /* Shape */
  /* Square: DESIGN.md rule 3 */
  --r-xs: 2px;
  --r-sm: 0px;
  --r-md: 0px;
  --r-lg: 0px;
  --r-xl: 0px;
  --r-xxl: 0px;
  --r-pill: 9999px;

  --container: 1280px;
  --container-narrow: 800px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Dark theme */
[data-theme="dark"] {
  color-scheme: dark;

  --canvas: #161616;
  --surface-1: #262626;
  --surface-2: #393939;
  --surface-3: #525252;
  --plate: #1f1f1f;
  --hairline: #393939;
  --hairline-soft: #2e2e2e;
  --hairline-strong: #8d8d8d;

  --ink: #f4f4f4;
  --ink-muted: #c6c6c6;
  --ink-subtle: #a8a8a8;
  --inverse-canvas: #f4f4f4;
  --inverse-ink: #161616;

  --link: #ff7a7a;
  --link-hover: #ffa3a3;
  --success: #3ec98a;
  --success-bg: rgba(62, 201, 138, 0.12);
  --danger: #ff7a85;
  --danger-bg: rgba(255, 122, 133, 0.12);


}

/* Blocks that stay dark in both themes carry their own token set.
   Everything else follows the active theme, so the light theme is genuinely light. */
.on-dark,
.cta-band,
.site-footer {
  --canvas: #161616;
  --surface-1: #262626;
  --surface-2: #393939;
  --surface-3: #525252;
  --hairline: #393939;
  --hairline-soft: #2e2e2e;
  --hairline-strong: #8d8d8d;
  --ink: #f4f4f4;
  --ink-muted: #c6c6c6;
  --ink-subtle: #a8a8a8;
  --inverse-canvas: #f4f4f4;
  --inverse-ink: #161616;
  --link: #ff7a7a;
  --link-hover: #ffa3a3;
  color: var(--ink-muted);
}

/* Family identity scopes */
[data-fam="industrial"] { --fam: var(--fam-industrial); --on-fam: var(--on-industrial); }
[data-fam="blister"] { --fam: var(--fam-blister); --on-fam: var(--on-blister); }
[data-fam="clamshell"] { --fam: var(--fam-clamshell); --on-fam: var(--on-clamshell); }
[data-fam="esd"] { --fam: var(--fam-esd); --on-fam: var(--on-esd); }
[data-fam="medical"] { --fam: var(--fam-medical); --on-fam: var(--on-medical); }
[data-fam="food"] { --fam: var(--fam-food); --on-fam: var(--on-food); }
[data-fam="component"] { --fam: var(--fam-component); --on-fam: var(--on-component); }

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--canvas);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-muted);
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, video { display: block; max-width: 100%; }
img { height: auto; }
svg { display: inline-block; vertical-align: middle; max-width: 100%; }
svg:not([width]):not([height]):not(.brand__logo-svg) { width: 24px; height: 24px; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--hairline); margin: var(--sp-xl) 0; }

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

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

::selection { background: var(--ink); color: var(--canvas); }

:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: var(--r-xs); }

.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--inverse-canvas);
  color: var(--inverse-ink);
  padding: 10px 18px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-size: var(--t-button);
  font-weight: 600;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 0; color: var(--inverse-ink); }

/* ---------- 3. Type ---------- */
h1, .h1 { font-size: var(--t-display-lg); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; }
h2, .h2 { font-size: var(--t-display-md); line-height: 1.12; letter-spacing: -0.02em; }
h3, .h3 { font-size: var(--t-headline); line-height: 1.2; font-weight: 700; }
h4, .h4 { font-size: var(--t-card-title); line-height: 1.25; font-weight: 600; }
h5, .h5 { font-size: var(--t-subhead); line-height: 1.4; font-weight: 600; }

.eyebrow {
  display: block;
  font-size: var(--t-eyebrow);
  font-weight: 600;
  line-height: 1.29;
  color: var(--accent);
  margin: 0 0 var(--sp-md);
}
.eyebrow--fam { color: var(--fam, var(--ink-subtle)); }

.lead { font-size: var(--t-body-lg); line-height: 1.69; color: var(--ink-muted); max-width: 66ch; }
.subhead { font-size: var(--t-subhead); line-height: 1.35; color: var(--ink); font-weight: 600; }
.small { font-size: var(--t-body-sm); line-height: 1.71; }
.tiny { font-size: var(--t-caption); line-height: 1.38; letter-spacing: 0.2px; }
.muted { color: var(--ink-muted); }
.strong { color: var(--ink); font-weight: 600; }

.section-head { max-width: 68ch; margin-bottom: var(--sp-xxl); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--sp-md); }
.section-head--center .lead { margin-inline: auto; }

.prose { color: var(--ink-muted); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--t-headline); margin-top: 2em; }
.prose h3 { font-size: var(--t-card-title); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 1.75em 0;
  padding: var(--sp-lg);
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  color: var(--ink);
  font-size: var(--t-subhead);
  line-height: 1.5;
}
.prose blockquote footer { margin-top: 0.6em; font-size: var(--t-body-sm); color: var(--ink-subtle); }
.prose img { border-radius: var(--r-lg); }

.ticks { list-style: none; display: grid; gap: var(--sp-sm); }
.ticks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: var(--sp-sm);
  align-items: start;
  font-size: var(--t-body-sm);
  line-height: 1.71;
}
.ticks li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 0.42em;
  border-radius: var(--r-xs);
  background-color: var(--surface-2);
  border: 1px solid var(--hairline);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b2b6bd' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
[data-theme="light"] .ticks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a515b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
[data-theme="light"] .on-dark .ticks li::before,
[data-theme="light"] .section--dark .ticks li::before,
[data-theme="light"] .cta-band .ticks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b2b6bd' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section); background: var(--canvas); position: relative; }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--muted { background: var(--surface-1); }
.section--line { border-top: 1px solid var(--hairline); }
main > section + section, main > figure + section { border-top: 1px solid var(--hairline); }
.section--dark { background: var(--canvas); }
[data-theme="light"] .section--dark { background: var(--surface-1); }
[data-theme="light"] .section--dark .metric { background: var(--surface-1); }
[data-theme="light"] .section--dark .table-wrap,
[data-theme="light"] .section--dark .card { background: var(--canvas); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ink); }

.grid { display: grid; gap: var(--sp-lg); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 292px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr)); }

.split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  .split--sidebar { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
}
.split__media img { border-radius: var(--r-xl); width: 100%; border: 1px solid var(--hairline); }

.stack > * + * { margin-top: var(--sp-md); }
.stack-lg > * + * { margin-top: var(--sp-lg); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-sm); align-items: center; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding: 12px 16px;
  min-height: 48px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--t-button);
  font-weight: 600;
  line-height: 1.29;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease), opacity 0.16s var(--ease);
}
.btn:hover { color: var(--btn-fg); background: var(--surface-3); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--light, .btn--dark { --btn-bg: var(--inverse-canvas); --btn-fg: var(--inverse-ink); }
.btn--light:hover, .btn--dark:hover { background: var(--inverse-canvas); color: var(--inverse-ink); opacity: 0.86; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--hairline-strong); }
.btn--ghost:hover { background: var(--surface-1); color: var(--ink); }

.btn--fam { --btn-bg: var(--fam); --btn-fg: var(--on-fam); }
.btn--fam:hover { background: var(--fam); color: var(--on-fam); opacity: 0.9; }

.btn--sm { padding: 9px 14px; min-height: 40px; font-size: var(--t-caption); }
.btn--lg { padding: 14px 22px; min-height: 48px; font-size: var(--t-body); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-body-sm);
  font-weight: 600;
  color: var(--ink);
}
.link-arrow::after { content: "→"; transition: transform 0.16s var(--ease); }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- 6. Header / nav ---------- */
.topbar { background: var(--canvas); border-bottom: 1px solid var(--hairline); font-size: var(--t-caption); }
@media (max-width: 1079px) {
  .topbar { display: none !important; }
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px var(--sp-lg);
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding-block: 6px;
  color: var(--ink-muted);
}
.topbar a { color: var(--ink-muted); }
.topbar a:hover { color: var(--ink); }
.topbar__list { display: flex; flex-wrap: wrap; gap: 4px var(--sp-lg); list-style: none; align-items: center; }
.topbar__list li { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; opacity: 0.7; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.site-header__inner { display: flex; align-items: center; gap: var(--sp-md); min-height: var(--header-h); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}
.brand:hover { opacity: 0.92; color: var(--ink); }
.brand__logo-svg {
  height: 44px;
  width: auto;
  max-width: 210px;
  display: block;
}
@media (max-width: 768px) {
  .brand__logo-svg {
    height: 38px;
    max-width: 180px;
  }
}
@media (max-width: 480px) {
  .brand__logo-svg {
    height: 34px;
    max-width: 155px;
  }
}
.footer__brand-wrap {
  margin-bottom: var(--sp-md);
}
.footer__brand .brand__logo-svg {
  height: 48px;
  width: auto;
  max-width: 230px;
}
[data-theme="light"] .brand__logo-svg .ap-screw-lines {
  stroke: #ffffff;
}
[data-theme="dark"] .brand__logo-svg .ap-screw-lines {
  stroke: var(--canvas, #000000);
}
.brand__text { display: none; }
@media (min-width: 460px) { .brand__text { display: block; line-height: 1.15; } }
.brand__name { display: block; font-size: var(--t-body-sm); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.brand__tag { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--ink-subtle); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-size: var(--t-body-sm);
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}
.nav__link:hover { background: var(--surface-2); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); background: var(--surface-1); }
.nav__item { position: relative; }
.nav__caret { width: 13px; height: 13px; opacity: 0.7; transition: transform 0.16s var(--ease); }
.nav__item--has-menu:hover .nav__caret,
.nav__item--has-menu.is-open .nav__caret { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  padding: var(--sp-xs);
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s;
}
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu,
.nav__item--has-menu.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 10px 12px; border-radius: var(--r-md); color: var(--ink); font-size: var(--t-body-sm); font-weight: 600; }
.nav__menu a:hover { background: var(--surface-2); color: var(--ink); }
.nav__menu span { display: block; font-weight: 600; font-size: var(--t-caption); color: var(--ink-subtle); margin-top: 2px; }

.header__cta { display: none; gap: var(--sp-xs); align-items: center; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  color: var(--ink-muted);
  cursor: pointer;
  flex: none;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--ink); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }
[data-theme="light"] .theme-toggle__sun { display: none; }

.theme-toggle--desktop { display: inline-flex; }
.theme-toggle--mobile { display: inline-flex; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 8px 12px;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: var(--t-caption);
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .theme-toggle--mobile { display: none !important; }
}

@media (max-width: 1079px) {
  .theme-toggle--desktop { display: none !important; }
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--canvas);
  transform: translateX(100%);
  transition: transform 0.26s var(--ease);
  overflow-y: auto;
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--gutter);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  background: var(--canvas);
}
.drawer__close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 8px 12px;
  color: var(--ink);
  font-size: var(--t-caption);
  font-weight: 600;
  cursor: pointer;
}
.drawer__close svg { width: 18px; height: 18px; }
.drawer__body { padding: var(--sp-lg) var(--gutter) var(--sp-xxl); }
.drawer__list { list-style: none; display: grid; }
.drawer__list > li > a,
.drawer__group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xs);
  padding: 14px 2px;
  font-size: var(--t-subhead);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
}
.drawer__group > summary { list-style: none; }
.drawer__group > summary::-webkit-details-marker { display: none; }
.drawer__list > li > a svg,
.drawer__group > summary svg { width: 16px; height: 16px; flex: none; color: var(--ink-subtle); transition: transform 0.16s var(--ease); }
.drawer__group[open] > summary svg { transform: rotate(180deg); }
.drawer__sub { list-style: none; padding: 6px 0 12px 2px; display: grid; }
.drawer__sub a { display: block; padding: 10px 8px; color: var(--ink-muted); font-size: var(--t-body-sm); font-weight: 600; border-radius: var(--r-md); }
.drawer__sub a:hover { background: var(--surface-1); color: var(--ink); }
.drawer__actions { display: grid; gap: var(--sp-sm); margin-top: var(--sp-lg); }
body.no-scroll { overflow: hidden; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(24px, 4vw, 40px); padding-block: clamp(56px, 8vw, 104px); }
.hero__copy { min-width: 0; max-width: 62rem; }
.hero__copy h1 { max-width: 20ch; }
.hero h1 { font-size: var(--t-display-xl); line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--ink-muted); }
.hero__lead { margin-top: var(--sp-lg); font-size: var(--t-body-lg); line-height: 1.69; color: var(--ink-muted); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); margin-top: var(--sp-xl); }
.hero__proof {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--hairline);
}
.hero__stat-num {
  display: block;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  white-space: nowrap;
}
.hero__stat-num b {
  color: inherit;
  font-weight: 600;
  font-size: 0.85em;
  margin-left: 2px;
}
.hero__stat-label {
  display: block;
  margin-top: 8px;
  font-size: var(--t-caption);
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.35;
}

.hero__badge {
  font-size: var(--t-eyebrow);
  color: var(--ink-subtle);
  margin-bottom: var(--sp-md);
}
.hero__badge b { color: var(--ink-muted); font-weight: 400; }
.hero__badge b::before { content: "\00B7"; margin: 0 var(--sp-xs); }

/* Marquee / infinite-scroll ticker */
.marquee {
  overflow: hidden;
  padding: var(--sp-md) 0;
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
  display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee--light { background: var(--surface-1); }
.marquee__track {
  display: flex;
  gap: var(--sp-xl);
  flex-shrink: 0;
  padding-right: var(--sp-xl);
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}
.marquee__item {
  flex: none;
  font-size: var(--t-body-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  white-space: nowrap;
}
.marquee__item::after {
  content: "\00b7";
  margin-left: var(--sp-xl);
  color: var(--hairline-strong);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* Breadcrumbs */
.crumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  font-size: var(--t-caption);
  color: var(--ink-subtle);
}
.crumbs li {
  display: flex;
  align-items: center;
}
.crumbs li + li::before {
  content: "/";
  margin: 0 var(--sp-xs);
  color: var(--ink-subtle);
  opacity: 0.5;
}
.crumbs a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}
.crumbs a:hover {
  text-decoration: underline;
}
.crumbs [aria-current="page"] {
  color: var(--ink-muted);
  font-weight: 600;
}

/* Page hero (interior pages) */
.page-hero {
  padding-block: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 40px);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 {
  font-size: var(--t-display-md);
  letter-spacing: -0.028em;
  line-height: 1.2;
  color: var(--ink);
  margin-top: var(--sp-sm);
}
.page-hero p {
  color: var(--ink-muted);
  font-size: var(--t-body);
  line-height: 1.6;
  max-width: 62ch;
  margin-top: var(--sp-sm);
}
.page-hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--sp-lg);
  margin-top: var(--sp-xs);
}
.page-hero__aside {
  margin-left: auto;
  flex: none;
}

.plant-band {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: var(--sp-xl);
}
.plant-band .container {
  position: relative;
}
.plant-band img {
  width: 100%;
  max-width: 1140px;
  aspect-ratio: 21 / 9;
  max-height: 480px;
  object-fit: cover;
  object-position: center 52%;
  margin-inline: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
}
@media (max-width: 768px) {
  .plant-band img {
    aspect-ratio: 16 / 10;
    max-height: 320px;
  }
}
.plant-band figcaption {
  max-width: 1140px;
  margin: var(--sp-sm) auto 0;
  font-size: var(--t-caption);
  color: var(--ink-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-row { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 0.95fr 1.05fr; }
  .feature-row--flip .feature-row__media { order: 2; }
}
.feature-row__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline-strong);
  background: var(--surface-1);
}
.feature-row__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s var(--ease);
  display: block;
}

.cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  height: 100%;
  color: var(--ink-muted);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.cat-card:hover {
  background: var(--surface-2);
  border-color: var(--hairline-strong);
  color: var(--ink-muted);
}
.cat-card__img {
  aspect-ratio: 16 / 11;
  background: var(--plate);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.35s var(--ease);
}
.cat-card__body { padding: var(--sp-lg); display: grid; gap: var(--sp-xs); flex: 1; align-content: start; }
.cat-card__body h3 { font-size: var(--t-card-title); color: var(--ink); }
.cat-card__body p { font-size: var(--t-body-sm); line-height: 1.71; }
.cat-card__meta { margin-top: auto; padding-top: var(--sp-sm); font-size: var(--t-caption); color: var(--ink-subtle); }

.steps { display: grid; gap: var(--sp-lg); counter-reset: step; }
@media (min-width: 760px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--5 { grid-template-columns: repeat(5, 1fr); } }
.step { counter-increment: step; padding-top: var(--sp-xl); position: relative; }
.step::before {
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-size: var(--t-caption);
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--ink-subtle);
}
.step h3 { font-size: var(--t-card-title); color: var(--ink); margin-bottom: 6px; }
.step p { font-size: var(--t-body-sm); line-height: 1.71; color: var(--ink-muted); }

.timeline { list-style: none; display: grid; }
.timeline li { position: relative; padding: 0 0 var(--sp-lg) var(--sp-lg); border-left: 1px solid var(--hairline); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-subtle); }
.timeline b { display: block; color: var(--ink); font-size: var(--t-card-title); font-weight: 600; letter-spacing: -0.014em; }
.timeline span { display: block; margin-top: 4px; font-size: var(--t-body-sm); line-height: 1.71; color: var(--ink-muted); }

.quote-card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  height: 100%;
  display: grid;
  gap: var(--sp-sm);
  align-content: start;
}
.quote-card p { color: var(--ink-muted); font-size: var(--t-body-sm); line-height: 1.71; }
.quote-card footer { font-size: var(--t-caption); color: var(--ink-subtle); }
.quote-card footer b { display: block; color: var(--ink); font-size: var(--t-body-sm); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  color: var(--ink-muted);
  font-size: var(--t-caption);
  font-weight: 600;
  white-space: nowrap;
}
.chip--accent, .chip--navy { color: var(--ink); }
.chip--outline { background: transparent; }

.accordion { display: grid; gap: var(--sp-sm); }
.acc { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
.acc[open] { background: var(--surface-2); }
.acc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  cursor: pointer;
  font-size: var(--t-body);
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: currentColor;
  opacity: 0.5;
  clip-path: polygon(46% 0, 54% 0, 54% 46%, 100% 46%, 100% 54%, 54% 54%, 54% 100%, 46% 100%, 46% 54%, 0 54%, 0 46%, 46% 46%);
}
.acc[open] > summary::after { clip-path: polygon(0 46%, 100% 46%, 100% 54%, 0 54%); }
.acc__body { padding: 0 var(--sp-lg) var(--sp-lg); font-size: var(--t-body-sm); line-height: 1.71; color: var(--ink-muted); }
.acc__body > * + * { margin-top: var(--sp-sm); }

.cta-band { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--r-xxl); padding: clamp(24px, 4vw, 48px); }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-muted); }
.cta-band__grid { display: grid; gap: var(--sp-lg); align-items: center; }
@media (min-width: 900px) { .cta-band__grid { grid-template-columns: 1.35fr 0.65fr; } }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }
@media (min-width: 900px) { .cta-band__actions { justify-content: flex-end; } }

.note {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-lg);
  font-size: var(--t-body-sm);
  line-height: 1.71;
  color: var(--ink-muted);
}
.note--accent { border-left-color: var(--fam, var(--ink-subtle)); }

.sidebar-card { position: static; }
@media (min-width: 960px) {
  .sidebar-card { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- 8. Cards ---------- */
.card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  color: var(--ink-muted);
  text-decoration: none;
}
.card h3, .card h4 { color: var(--ink); font-size: var(--t-card-title); margin-top: var(--sp-sm); }
.card p { font-size: var(--t-body-sm); line-height: 1.71; margin-top: var(--sp-xs); }
.card--hover {
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.card--hover:hover {
  background: var(--surface-2);
  border-color: var(--hairline-strong);
}
.card__link { display: block; }

/* Icon badges: contained 40 × 40 circles with small 20px icons */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--link);
  flex-shrink: 0;
}
.icon-badge svg {
  width: 22px;
  height: 22px;
}
.icon-badge--accent {
  background: rgba(127, 168, 255, 0.12);
  color: var(--link);
}
[data-theme="light"] .icon-badge {
  background: rgba(74, 103, 224, 0.08);
  color: var(--fam-industrial);
}
[data-theme="light"] .icon-badge--accent {
  background: rgba(74, 103, 224, 0.10);
  color: var(--fam-industrial);
}

/* Tick lists (feature lists with checkmarks) */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-sm); }
.ticks li {
  display: flex;
  gap: var(--sp-sm);
  font-size: var(--t-body-sm);
  line-height: 1.71;
  color: var(--ink-muted);
}
.ticks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--success);
  border-radius: 50%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-size: 12px;
  mask-size: 12px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Section headings */
.section-head { max-width: 52rem; margin-bottom: clamp(24px, 4vw, 48px); }
.section-head .eyebrow { margin-bottom: var(--sp-sm); }
.section-head .lead { margin-top: var(--sp-sm); }

/* ---------- 9. Bento (product families showcase) ---------- */
.bento {
  display: grid;
  gap: var(--sp-sm);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 639px) {
  .bento__cell { padding: var(--sp-md); }
  .bento__cell h3 { font-size: var(--t-body); }
  .bento__media { margin-top: var(--sp-sm); }
}
@media (min-width: 1040px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


.bento__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.bento__cell:hover {
  border-color: var(--hairline-strong);
  background: var(--surface-1);
  color: var(--ink);
}


.bento__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
  z-index: 1;
}

.bento__num {
  font-size: var(--t-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fam, var(--link));
  text-transform: uppercase;
}

.bento__count {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  color: var(--ink-muted);
}

.bento__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}

.bento__cell h3 {
  font-size: var(--t-card-title);
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.bento__cell--big h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  letter-spacing: -0.025em;
}

.bento__desc {
  font-size: var(--t-body-sm);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 44ch;
  margin-top: 4px;
}

.bento__body .link-arrow {
  margin-top: 6px;
  font-size: var(--t-caption);
  font-weight: 600;
  color: var(--link);
}

.bento__media {
  position: relative;
  margin-top: var(--sp-md);
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: var(--r-lg);
  background: var(--plate);
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.bento__cell--big .bento__media {
  aspect-ratio: 16 / 11;
  margin-top: auto;
  padding: 16px;
}

.bento__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ---------- 10. Process rail ---------- */
.proc__grid { display: grid; gap: clamp(24px, 4vw, 56px); }
.proc__aside { position: relative; }
@media (min-width: 960px) {
  .proc__grid { grid-template-columns: 0.82fr 1.18fr; align-items: start; }
  .proc__aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (max-width: 959px) {
  .proc__aside {
    position: relative !important;
    top: auto !important;
  }
}
.proc__meter { margin-top: var(--sp-lg); height: 2px; background: var(--hairline); border-radius: 2px; overflow: hidden; }
.proc__meter i { display: block; height: 100%; width: var(--p, 0%); background: var(--ink); transition: width 0.35s var(--ease); }
.proc__list { list-style: none; counter-reset: proc; display: grid; }
.proc__item {
  counter-increment: proc;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-md);
  padding: var(--sp-lg) 0;
  border-top: 1px solid var(--hairline);
  opacity: 0.5;
  transition: opacity 0.35s var(--ease);
}
@media (max-width: 959px) {
  .proc__item {
    opacity: 1 !important;
    padding: var(--sp-md) 0;
  }
}
.proc__item:last-child { border-bottom: 1px solid var(--hairline); }
.proc__item.is-active { opacity: 1; }
.proc__item::before {
  content: "0" counter(proc);
  font-size: var(--t-caption);
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--ink-subtle);
  padding-top: 4px;
}
.proc__item h3 { font-size: var(--t-card-title); color: var(--ink); }
.proc__item p { margin-top: 6px; font-size: var(--t-body-sm); line-height: 1.71; color: var(--ink-muted); }

/* ---------- 11. Metrics ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.metric { background: var(--canvas); padding: var(--sp-xl) var(--sp-lg); }
.section--muted .metric { background: var(--surface-1); }
.metric b { display: block; font-size: var(--t-display-md); font-weight: 600; line-height: 1.19; letter-spacing: -0.03em; color: var(--ink); }
.metric span { display: block; margin-top: var(--sp-xs); font-size: var(--t-caption); color: var(--ink-subtle); }
.metric i { display: none; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: var(--sp-lg); }
.kpi b { display: block; font-size: var(--t-display-md); font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1.19; }
.kpi span { display: block; margin-top: 6px; font-size: var(--t-caption); color: var(--ink-subtle); }

/* ---------- 12. Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  -webkit-overflow-scrolling: touch;
}
table.data { width: 100%; border-collapse: collapse; font-size: var(--t-body-sm); min-width: 560px; color: var(--ink-muted); }
table.data caption {
  caption-side: bottom;
  padding: var(--sp-sm) var(--sp-lg);
  color: var(--ink-subtle);
  font-size: var(--t-caption);
  text-align: left;
  border-top: 1px solid var(--hairline-soft);
}
table.data th, table.data td { padding: 12px var(--sp-lg); text-align: left; vertical-align: top; }
table.data thead th {
  background: var(--surface-2);
  color: var(--ink);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--hairline);
}
table.data tbody tr + tr { border-top: 1px solid var(--hairline-soft); }
table.data tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.data tbody tr:hover { background: var(--surface-2); }

.spec-list { list-style: none; border-top: 1px solid var(--hairline); }
.spec-list li {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: var(--sp-xs) var(--sp-sm);
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: var(--t-body-sm);
  min-width: 0;
}
.spec-list b { color: var(--ink-subtle); font-weight: 600; }
.spec-list span { color: var(--ink); font-weight: 600; min-width: 0; word-break: break-word; overflow-wrap: anywhere; }

/* Editorial / Article cards (16:9 aspect ratio) */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  color: var(--ink-muted);
  text-decoration: none;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.article-card:hover {
  background: var(--surface-2);
  border-color: var(--hairline-strong);
}
.article-card__img {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
  display: block;
}
.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}
.article-card__body {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--sp-xs);
}
.article-card__body h3 {
  font-size: var(--t-card-title);
  color: var(--ink);
  margin-top: var(--sp-xs);
}
.article-card__body p {
  font-size: var(--t-body-sm);
  line-height: 1.68;
}
.article-card__meta {
  margin-top: auto;
  font-size: var(--t-caption);
  color: var(--ink-subtle);
}

.article-hero-media {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  margin-bottom: var(--sp-md);
}
.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 13. Forms ---------- */
.form-grid { display: grid; gap: var(--sp-md); }
@media (min-width: 700px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .span-2 { grid-column: span 2; }
}
.field { display: grid; gap: 6px; }
.field > label { font-size: var(--t-body-sm); font-weight: 600; color: var(--ink); }
.field .hint, .hint { font-size: var(--t-caption); color: var(--ink-subtle); }
.req { color: var(--danger); }

.input, .select, .textarea {
  width: 100%;
  padding: 11px 16px;
  min-height: 48px;
  border: 1px solid transparent;
  border-bottom-color: var(--hairline-strong);
  border-radius: var(--r-md);
  background: var(--surface-1);
  color: var(--ink);
  font-size: var(--t-body);
  transition: border-color 0.14s var(--ease), background-color 0.14s var(--ease);
}
.textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23878d97' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-subtle); }
.input:focus, .select:focus, .textarea:focus { border-bottom-color: var(--accent); box-shadow: inset 0 -1px 0 var(--accent); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: var(--t-caption); color: var(--danger); font-weight: 600; }

.check-row { display: flex; flex-wrap: wrap; gap: var(--sp-xs); }
.check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  font-size: var(--t-body-sm);
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--surface-1);
  cursor: pointer;
}
.check:has(input:checked) { border-color: var(--ink); color: var(--ink); background: var(--surface-2); }

.filedrop {
  display: block;
  position: relative;
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  padding: var(--sp-lg);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.14s var(--ease), background-color 0.14s var(--ease);
}
.filedrop:hover, .filedrop.is-hover { border-color: var(--ink); background: var(--surface-2); }
.filedrop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.filedrop > svg { width: 22px; height: 22px; margin: 0 auto var(--sp-xs); color: var(--ink-muted); }
.filedrop b { display: block; color: var(--ink); font-size: var(--t-body-sm); }
.filedrop > span { display: block; font-size: var(--t-caption); color: var(--ink-subtle); }
.filedrop__names { margin-top: var(--sp-xs); font-size: var(--t-caption); color: var(--ink); word-break: break-all; }

.form-status { display: none; border-radius: var(--r-md); padding: 12px var(--sp-md); font-size: var(--t-body-sm); font-weight: 600; }
.form-status.is-shown { display: block; }
.form-status--ok { background: var(--success-bg); color: var(--success); border: 1px solid var(--hairline); }
.form-status--err { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--hairline); }

fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: var(--t-card-title); font-weight: 600; color: var(--ink); padding: 0; margin-bottom: var(--sp-md); letter-spacing: -0.014em; }

/* ---------- 14. Catalogue (Modern compact filter bar) ---------- */
.filters {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
  transition: box-shadow 0.2s ease;
}

.filters__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.filter-search {
  position: relative;
  flex: 1 1 260px;
  min-width: 180px;
}
.filter-search input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  min-height: 38px;
  font-size: var(--t-body-sm);
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.filter-search input:focus {
  border-color: var(--link);
  box-shadow: 0 0 0 2px var(--accent);
}
.filter-search svg,
.filter-search .filter-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--ink-subtle);
  pointer-events: none;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
}

.filter-select {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.filter-select select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 8px 34px 8px 14px;
  min-height: 38px;
  font-size: var(--t-caption);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.filter-select select:hover {
  background: var(--surface-2);
  border-color: var(--hairline-strong);
}
.filter-select select:focus {
  border-color: var(--link);
  box-shadow: 0 0 0 2px var(--accent);
}
.filter-select .select-caret {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  pointer-events: none;
  color: var(--ink-subtle);
}

.filters__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.filters__count {
  font-size: var(--t-caption);
  color: var(--ink-muted);
  font-weight: 600;
  white-space: nowrap;
}
.filters__count strong {
  color: var(--ink);
  font-weight: 600;
}

.filter-reset-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  min-height: 34px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  color: var(--ink-muted);
  font-size: var(--t-caption);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.filter-reset-btn:hover {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--hairline-strong);
}

@media (max-width: 640px) {
  .filters__bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .filter-search {
    width: 100%;
    flex: 1 1 100%;
  }
  .filter-controls {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 6px;
    align-items: center;
  }
  .filter-select {
    position: relative;
    display: block;
    width: 100%;
  }
  .filter-select select {
    width: 100%;
    padding: 7px 26px 7px 10px;
    font-size: 0.75rem;
    min-height: 36px;
  }
  .filter-select .select-caret {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px !important;
    height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
    pointer-events: none;
  }
  .filters__count {
    display: none;
  }
  .filter-reset-btn {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: var(--sp-md); }
@media (max-width: 560px) {
  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .prod__body {
    padding: 10px;
  }
  .prod__body h3 {
    font-size: 0.875rem;
  }
  .prod__body p {
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .btn-add {
    padding: 6px 8px;
    min-height: 32px;
    font-size: 0.75rem;
  }
}
@media (max-width: 330px) {
  .prod-grid {
    grid-template-columns: 1fr;
  }
}
.prod {
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.prod:hover {
  background: var(--surface-2);
  border-color: var(--hairline-strong);
}
.prod.is-hidden { display: none; }
.prod__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--plate);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s var(--ease);
}
.prod__zoom {
  position: absolute;
  right: var(--sp-xs);
  top: var(--sp-xs);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.14s var(--ease);
}
.prod:hover .prod__zoom, .prod__zoom:focus-visible { opacity: 1; }
.prod__zoom svg { width: 16px; height: 16px; }
.prod__tag {
  position: absolute;
  left: var(--sp-xs);
  bottom: var(--sp-xs);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.4px;
}
.prod__body { padding: var(--sp-md); display: grid; gap: 6px; flex: 1; align-content: start; }
.prod__body h3 { font-size: var(--t-body); font-weight: 600; letter-spacing: -0.012em; color: var(--ink); }
.prod__body h3 a { color: inherit; }
.prod__body p { font-size: var(--t-caption); line-height: 1.5; color: var(--ink-muted); }
.prod__meta { display: flex; flex-wrap: wrap; gap: 4px; }
.prod__foot { margin-top: auto; padding-top: var(--sp-sm); display: flex; }
.prod__foot .btn-add { width: 100%; justify-content: center; min-height: 44px; }
.prod__foot .link-arrow { font-size: var(--t-caption); }

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface-2);
  font-size: var(--t-caption);
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
}
.btn-add svg { width: 13px; height: 13px; }
.btn-add:hover { color: var(--ink); border-color: var(--hairline-strong); }
.btn-add.is-added { background: var(--success-bg); color: var(--success); }

.empty-state {
  display: none;
  text-align: center;
  padding: clamp(32px, 6vw, 64px) var(--sp-lg);
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--r-lg);
  background: var(--surface-1);
}
.empty-state.is-shown { display: block; }

.tray {
  position: fixed;
  right: var(--gutter);
  bottom: var(--sp-lg);
  z-index: 90;
  display: none;
  align-items: center;
  gap: var(--sp-sm);
  padding: 10px 12px 10px var(--sp-md);
  background: var(--inverse-canvas);
  color: var(--inverse-ink);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  font-size: var(--t-body-sm);
}
.tray.is-shown { display: flex; }
.tray b { font-weight: 600; }
.tray__count { background: var(--inverse-ink); color: var(--inverse-canvas); border-radius: var(--r-pill); padding: 1px 8px; font-size: var(--t-caption); font-weight: 600; }
.tray .btn--accent { --btn-bg: var(--inverse-ink); --btn-fg: var(--inverse-canvas); }
.tray__clear { background: none; border: 0; color: var(--inverse-ink); opacity: 0.65; cursor: pointer; font-size: var(--t-caption); text-decoration: underline; }
.tray__clear:hover { opacity: 1; }
@media (max-width: 700px) { .tray { bottom: 72px; left: var(--gutter); right: var(--gutter); justify-content: space-between; } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(0, 0, 0, 0.9);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(96vw, 1000px); max-height: 84vh; width: auto; border-radius: var(--r-lg); background: #fff; }
.lightbox figcaption { color: #b2b6bd; text-align: center; margin-top: var(--sp-sm); font-size: var(--t-body-sm); }
.lightbox__close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  border: 1px solid rgba(178, 182, 189, 0.3);
  background: #17181c;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox__close svg { width: 20px; height: 20px; }

/* ---------- 15. Footer & floats ---------- */
.site-footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding-top: clamp(48px, 6vw, 72px); font-size: var(--t-body-sm); }
.site-footer .container { max-width: none; padding-inline: clamp(20px, 4vw, 72px); }
.site-footer h4, .site-footer .footer__h { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.32px; text-transform: uppercase; color: var(--ink-subtle); margin-bottom: var(--sp-md); }
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: var(--ink); }
.footer__grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.6fr; } }
.footer__brand { font-size: var(--t-card-title); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.footer__list { list-style: none; display: grid; gap: 10px; font-size: var(--t-body-sm); }
.footer__contact { display: grid; gap: var(--sp-sm); font-size: var(--t-body-sm); }
.footer__contact div { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.footer__contact svg { width: 15px; height: 15px; margin-top: 2px; color: var(--ink-subtle); }
.social { display: flex; gap: var(--sp-xs); margin-top: var(--sp-md); }
.social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  color: var(--ink-muted);
  background: var(--surface-1);
}
.social a:hover { background: var(--surface-2); color: var(--ink); }
.social svg { width: 16px; height: 16px; }
/* Instant quote estimator (technology.html) */
.est-figure {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}
.est-figure .est-unit { font-size: var(--t-body); font-weight: 600; color: var(--ink-subtle); }
#est-out .spec-list li { grid-template-columns: minmax(120px, 45%) 1fr; }

.footer__legal {
  margin-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--hairline);
  padding-top: var(--sp-lg);
}
.footer__legal p { line-height: 1.7; }
.footer__legal strong { color: var(--ink); }

.footer__bottom {
  margin-top: var(--sp-lg);
  border-top: 1px solid var(--hairline);
  padding-block: var(--sp-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs) var(--sp-lg);
  align-items: center;
  justify-content: space-between;
  font-size: var(--t-caption);
  color: var(--ink-subtle);
}
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-xs) var(--sp-md); }

.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a { display: grid; place-items: center; gap: 2px; padding: 10px 6px; font-size: 0.75rem; font-weight: 600; color: var(--ink-muted); }
.mobile-bar a + a { border-left: 1px solid var(--hairline); }
.mobile-bar svg { width: 18px; height: 18px; }
.mobile-bar a.is-primary { color: var(--ink); }
@media (min-width: 701px) { .mobile-bar { display: none; } }
@media (max-width: 700px) { body { padding-bottom: 60px; } }

.wa-float {
  position: fixed;
  left: var(--gutter);
  bottom: var(--sp-lg);
  z-index: 88;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.wa-float:hover { background: var(--surface-2); color: var(--ink); }
.wa-float svg { width: 22px; height: 22px; }
@media (max-width: 700px) { .wa-float { display: none; } }

.to-top {
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--sp-lg) + 56px);
  z-index: 86;
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity 0.18s var(--ease), visibility 0.18s;
}
.to-top.is-shown { opacity: 1; visibility: visible; }
.to-top svg { width: 18px; height: 18px; }
@media (max-width: 700px) { .to-top { display: none; } }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--ink);
  z-index: 150;
  pointer-events: none;
}

/* ---------- 16. Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.full { width: 100%; }
.mt-2 { margin-top: var(--sp-xs); }
.mt-3 { margin-top: var(--sp-md); }
.mt-4 { margin-top: var(--sp-lg); }
.mt-5 { margin-top: var(--sp-xl); }
.mt-6 { margin-top: var(--sp-xxl); }
.mb-3 { margin-bottom: var(--sp-md); }
.mb-4 { margin-bottom: var(--sp-lg); }
.mb-5 { margin-bottom: var(--sp-xl); }
.mt-0 { margin-top: 0 !important; }
.rounded { border-radius: var(--r-md); }
.rounded-lg { border-radius: var(--r-lg); }
.shadow { box-shadow: none; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.divider { height: 1px; background: var(--hairline); border: 0; }

.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.logo-strip div {
  background: var(--surface-1);
  padding: var(--sp-md);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: var(--t-caption);
  font-weight: 600;
  color: var(--ink-subtle);
}

.map-frame { border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; background: var(--surface-1); }
.map-frame iframe { width: 100%; height: clamp(260px, 40vw, 420px); border: 0; display: block; }

/* ---------- 17. Motion ---------- */

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

/* Retired decorations from the previous iteration, neutralised so any
   left-over markup cannot reintroduce gradients, grain or tick marks. */
.hero__bg, .hero__blueprint, .hero__glow, .hero__stat, .trustbar { display: none !important; }
.duo::after, .duo::before, .glowable::before, .ticked::before, .ticked::after { content: none !important; display: none !important; }
.duo img { filter: none !important; }

/* ---------- 18. Print ---------- */
@media print {
  :root { --canvas: #fff; --ink: #000; --ink-muted: #222; --ink-subtle: #444; --surface-1: #fff; --surface-2: #fff; --hairline: #ccc; }
  .site-header, .topbar, .mobile-bar, .wa-float, .to-top, .tray, .filters, .social, .scroll-progress { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 16px; }
  .card, .prod, .table-wrap { border: 1px solid #ccc; break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* Home hero: copy beside the plant photo */
.hero__media { margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--hairline); }
.hero__media figcaption { margin-top: var(--sp-xs); font-size: var(--t-caption); color: var(--ink-subtle); }
@media (min-width: 1000px) {
  .hero__inner--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
  .hero__media img { aspect-ratio: 4 / 5; }
}

/* Industries: one grid of compact cards */
.ind-grid { display: grid; gap: var(--sp-lg); grid-template-columns: 1fr; }
@media (min-width: 720px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ind-card { border: 1px solid var(--hairline); background: var(--canvas); display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 24px); }
.ind-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--hairline); }
.ind-card__body { padding: var(--sp-lg); display: flex; flex-direction: column; flex: 1; }
.ind-card__body .link-arrow { margin-top: auto; }
@media (min-width: 1100px) { .ind-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Review fixes 2026-11-06: contrast on dark grounds, 44px touch targets */
[data-theme="dark"] .eyebrow, .on-dark .eyebrow, .cta-band .eyebrow, .site-footer .eyebrow { color: var(--link); }
.nav-toggle, .drawer__close, .theme-toggle, .social a, .prod__zoom, .filter-reset-btn { min-height: 44px; min-width: 44px; }
.filter-select select, .filter-search input { min-height: 44px; }
@media (hover: none) { .prod__zoom { opacity: 1; } }
@media (max-width: 560px) { .prod__body h3, .prod__body p { font-size: var(--t-body-sm); } }
.btn--sm, .btn-add { min-height: 44px; }
.split > *, .grid > * { min-width: 0; }
.bento .bento__cell--cta, .bento .bento__cell--cta:hover { background: var(--cta-ground); color: var(--cta-ink); border-color: var(--cta-edge); justify-content: space-between; }
.bento .bento__cell--cta h3, .bento .bento__cell--cta p { color: var(--cta-ink); }
.bento .bento__cell--cta:hover { border-color: var(--accent); }

/* Product photography: one light studio ground in both themes; white backgrounds blend away */
.prod__media, .bento__media, .product-photo { background: #f4f4f4; }
.prod__media img, .bento__media img, .product-photo { mix-blend-mode: multiply; }
.prod__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }

/* Material finder (home) */
.finder { display: grid; gap: var(--sp-xl); }
@media (min-width: 1000px) { .finder { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; } }
.finder__opts { display: flex; flex-wrap: wrap; gap: var(--sp-xs); }
.finder__opt {
  min-height: 44px; padding: 10px 16px; border: 1px solid var(--hairline-strong); background: var(--canvas);
  color: var(--ink); font-weight: 600; font-size: var(--t-body-sm); cursor: pointer; text-align: left;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.finder__opt:hover { border-color: var(--ink); }
.finder__opt[aria-pressed="true"] { background: var(--inverse-canvas); color: var(--inverse-ink); border-color: var(--inverse-canvas); }
.finder__panels { border: 1px solid var(--hairline); background: var(--canvas); padding: var(--sp-xl); }
.finder__panel + .finder__panel:not([hidden]) { margin-top: var(--sp-xl); }
.finder__q { font-size: var(--t-body-sm); color: var(--ink-subtle); }
.finder__mats { margin-top: var(--sp-xs); font-size: var(--t-display-md); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.finder__why { margin: var(--sp-md) 0 var(--sp-lg); color: var(--ink-muted); }

/* Family grid: the 17-product industrial family gets the large tile */
@media (min-width: 1040px) {
  .bento { grid-auto-flow: dense; }
  .bento__cell--big { grid-column: span 2; grid-row: span 2; }
  .bento__cell--wide { grid-column: span 2; }
}
@media (max-width: 560px) { .prod__zoom, .prod__tag { display: none; } }

/* Forms: solid inputs, even rows */
.input, .select, .textarea { background: var(--canvas); border: 1px solid var(--hairline-strong); min-height: 52px; padding: 13px 16px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.field__error:empty { display: none; }
.field { align-content: start; }

/* Light token scope inside dark bands (the quote card) */
.on-light {
  --canvas: #ffffff; --surface-1: #f4f4f4; --surface-2: #e0e0e0; --hairline: #e0e0e0; --hairline-strong: #8d8d8d;
  --ink: #161616; --ink-muted: #525252; --ink-subtle: #6f6f6f; --link: #c81e23; --link-hover: #a3161a;
  color: var(--ink-muted);
}

/* Home quote band */
.quote-band__grid { display: grid; gap: var(--sp-xxl); align-items: start; }
@media (min-width: 1000px) { .quote-band__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.quote-band h2 { color: var(--ink); font-size: var(--t-display-lg); }
.quote-steps { margin-top: var(--sp-xl); display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--hairline); }
.quote-steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; column-gap: var(--sp-md); padding: var(--sp-md) 0; border-bottom: 1px solid var(--hairline); }
.quote-steps li::before { content: counter(step); grid-row: span 2; font-size: var(--t-headline); font-weight: 800; color: var(--link); line-height: 1; }
.quote-steps b { color: var(--ink); font-size: var(--t-body-lg); font-weight: 700; }
.quote-steps span { color: var(--ink-muted); font-size: var(--t-body-sm); }
.quote-contacts { margin-top: var(--sp-xl); display: grid; gap: var(--sp-sm); }
.quote-contacts a { display: flex; align-items: center; gap: var(--sp-md); color: var(--ink); font-size: var(--t-body-lg); font-weight: 700; text-decoration: none; min-height: 44px; }
.quote-contacts a:hover { color: var(--link); }
.quote-contacts svg { width: 22px; height: 22px; color: var(--link); flex: none; }
.quote-contacts small { display: block; font-size: var(--t-caption); font-weight: 400; color: var(--ink-subtle); }
.quote-card { background: var(--canvas); padding: clamp(24px, 4vw, 48px); }

/* Home v3: full-bleed hero, proof band, market tiles (patterns shared by leading packaging sites) */
.hero-xl { position: relative; min-height: clamp(520px, 78vh, 760px); display: grid; align-items: end; color: var(--cta-ink); overflow: hidden; background: var(--cta-ground); }
.hero-xl__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-xl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.62) 45%, rgba(10,10,10,0.15) 100%); }
.hero-xl__inner { position: relative; z-index: 1; padding-block: clamp(64px, 10vw, 120px); max-width: var(--container); }
.hero-xl h1 { color: var(--cta-ink); font-size: clamp(2.6rem, 1.2rem + 5vw, 5.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; max-width: 14ch; }
.hero-xl__kicker { font-weight: 600; color: var(--cta-ink); margin-bottom: var(--sp-md); }
.hero-xl__lead { margin-top: var(--sp-lg); font-size: var(--t-body-lg); color: rgba(255,255,255,0.86); max-width: 44ch; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.7); }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; }
.proof-band { background: var(--cta-ground); color: var(--cta-ink); border-top: 1px solid var(--dark-line); }
.proof-band__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .proof-band__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.proof-band__list li { padding: var(--sp-lg) var(--sp-md); border-left: 1px solid var(--dark-line); display: grid; gap: 4px; }
.proof-band__list li:first-child { border-left: 0; padding-left: 0; }
.proof-band__list b { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.proof-band__list span { font-size: var(--t-body-sm); color: var(--dark-ink-muted); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-md); }
.market-grid { display: grid; gap: var(--sp-md); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.market { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cta-ground); color: var(--cta-ink); text-decoration: none; }
.market img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s var(--ease); }
.market::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.1) 60%); }
.market__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: var(--sp-lg); display: grid; gap: 4px; }
.market__body b { font-size: var(--t-card-title); font-weight: 700; color: var(--cta-ink); }
.market__body span { font-size: var(--t-body-sm); color: var(--dark-ink-muted); }
.market:hover img { opacity: 0.85; }
.market:hover .market__body b { text-decoration: underline; text-underline-offset: 4px; }
.family-links { margin-top: var(--sp-xl); display: flex; flex-wrap: wrap; gap: var(--sp-xs) var(--sp-lg); align-items: center; font-size: var(--t-body-sm); }
.family-links span { color: var(--ink-subtle); }
.family-links a { color: var(--ink); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.family-links small { color: var(--ink-subtle); font-weight: 400; margin-left: 4px; }
.proof-band__list b { white-space: nowrap; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); }
.section-head.section-head--row { max-width: none; }

/* Materials: photo cards */
.mat-grid { display: grid; gap: var(--sp-md); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.mat-card { border: 1px solid var(--hairline); background: var(--canvas); display: flex; flex-direction: column; }
.mat-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mat-card__body { padding: var(--sp-lg); display: flex; flex-direction: column; gap: var(--sp-xs); flex: 1; }
.mat-card h3 { font-size: var(--t-headline); font-weight: 800; }
.mat-card__full { font-size: var(--t-body-sm); color: var(--ink-subtle); }
.mat-card__char { color: var(--ink-muted); }
.mat-card__specs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-sm); margin: var(--sp-sm) 0; padding-top: var(--sp-sm); border-top: 1px solid var(--hairline); }
.mat-card__specs dt { font-size: var(--t-caption); color: var(--ink-subtle); }
.mat-card__specs dd { margin: 0; font-weight: 700; color: var(--ink); }
.mat-card .link-arrow { margin-top: auto; }
@media (max-width: 899px) { .hero-xl::after { background: rgba(10, 10, 10, 0.72); } }

/* Touch targets: 44px floor on phones (mobile pass 2026-11-08) */
.prod { position: relative; }
.prod h3 a::after { content: ""; position: absolute; inset: 0; }
.prod button, .prod .btn, .prod form, .prod select, .prod input { position: relative; z-index: 1; }
.family-links small { font-size: 0.8125rem; }
@media (max-width: 768px) {
  .brand { min-height: 44px; display: flex; align-items: center; }
  .crumbs a,
  .spec-list a,
  .footer__list a,
  .footer__contact a,
  .footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__list { gap: 0; }
}

/* Phone layout fixes (2026-11-08): proof band, hero height, family links, stacked tables */
@media (max-width: 899px) {
  .proof-band__list li { border-left: 0; padding: var(--sp-md) 0; border-top: 1px solid var(--dark-line); }
  .proof-band__list li:nth-child(-n+2) { border-top: 0; }
  .proof-band__list li:nth-child(even) { border-left: 1px solid var(--dark-line); padding-left: var(--sp-md); }
  .proof-band__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .hero-xl { min-height: 0; }
  .hero-xl__inner { padding-block: 48px 36px; }
  .family-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .family-links > span { grid-column: 1 / -1; }
  .family-links a { justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--hairline); background: var(--canvas); line-height: 1.25; }
  .family-links small { margin-left: 0; }
  .table-wrap { overflow: visible; border: 0; }
  table.data { min-width: 0; }
  table.data caption { display: block; width: 100%; text-align: left; padding: 0 0 12px; caption-side: top; }
  table.data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.data, table.data tbody, table.data tr, table.data th, table.data td { display: block; width: 100%; }
  table.data tbody tr { padding: 12px 16px; border: 1px solid var(--hairline); background: var(--canvas); }
  table.data tbody tr + tr { border-top: 0; }
  table.data th, table.data td { padding: 2px 0; white-space: normal; }
  table.data tbody th { color: var(--ink); }
  table.data td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-subtle); margin-top: 6px; }
}
