/* ==========================================================================
   Henster Industrial — Epoxy Curing Agents
   Global stylesheet | https://hardener.huibai.ltd
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0b1519;
  --ink-soft: #14262c;
  --ink-line: #1f343b;
  --slate: #40565e;
  --muted: #6d818a;
  --line: #e3ded4;
  --line-soft: #eee9e0;
  --paper: #f7f4ee;
  --paper-2: #efeae1;
  --white: #ffffff;
  --copper: #b2733c;
  --copper-bright: #cf8f52;
  --copper-dark: #8f5a2c;
  --teal: #1d4a4a;

  --font-sans: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Instrument Serif", "Times New Roman", Georgia, serif;

  --wrap: 1240px;
  --wrap-narrow: 900px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(64px, 9vw, 132px);

  --radius-s: 4px;
  --radius: 8px;
  --radius-l: 18px;

  --shadow-s: 0 1px 2px rgba(11, 21, 25, 0.05), 0 8px 24px -16px rgba(11, 21, 25, 0.18);
  --shadow: 0 24px 60px -32px rgba(11, 21, 25, 0.32);
  --shadow-l: 0 40px 100px -40px rgba(11, 21, 25, 0.42);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

h1, h2 { font-family: var(--font-display); font-weight: 400; }

h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.9vw, 3.3rem); }
h3 { font-size: clamp(1.16rem, 1.6vw, 1.35rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }

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

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

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

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

.wrap-narrow {
  max-width: var(--wrap-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #e9eeec; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- Typography components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.35rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}
.section--ink .eyebrow { color: var(--copper-bright); }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.62;
  color: var(--slate);
  max-width: 62ch;
}
.section--ink .lead { color: #b8c6c4; }

.muted { color: var(--muted); }
.small { font-size: 0.86rem; line-height: 1.6; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(34px, 4.4vw, 62px);
}
.section-head h2 { margin-bottom: 0; max-width: 20ch; }
.section-head .lead { margin-bottom: 4px; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--copper);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  padding: 0.95em 1.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--copper-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(11, 21, 25, 0.28);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn--light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--solid-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--solid-light:hover { background: var(--copper); color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid rgba(11, 21, 25, 0.25);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow:hover { color: var(--copper); border-color: var(--copper); }
.link-arrow .arrow { transition: transform 0.3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }
.section--ink .link-arrow { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.section--ink .link-arrow:hover { color: var(--copper-bright); border-color: var(--copper-bright); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -28px rgba(11, 21, 25, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand img { width: 132px; height: auto; }
.brand__text { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
}
.nav a {
  position: relative;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--copper); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--copper); }

.header-cta { display: flex; align-items: center; gap: 14px; }

/* Light-on-dark header while sitting over a dark hero */
.dark-hero .site-header:not(.is-stuck) .nav a { color: rgba(255, 255, 255, 0.88); }
.dark-hero .site-header:not(.is-stuck) .nav a:hover { color: var(--copper-bright); }
.dark-hero .site-header:not(.is-stuck) .nav a[aria-current="page"] { color: var(--copper-bright); }
.dark-hero .site-header:not(.is-stuck) .brand img { filter: brightness(1) invert(1); }
.dark-hero .site-header:not(.is-stuck) .nav-toggle { border-color: rgba(255, 255, 255, 0.32); }
.dark-hero .site-header:not(.is-stuck) .nav-toggle span,
.dark-hero .site-header:not(.is-stuck) .nav-toggle span::before,
.dark-hero .site-header:not(.is-stuck) .nav-toggle span::after { background: #fff; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(11, 21, 25, 0.2);
  border-radius: var(--radius-s);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav,
  .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }

  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 78px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 28px var(--gutter) 48px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav.is-open a {
    width: 100%;
    padding: 18px 0;
    font-size: 1.02rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav.is-open a::after { display: none; }
  /* keep menu links readable on the light panel even over dark heroes */
  .nav.is-open a { color: var(--ink) !important; }
  .nav.is-open a[aria-current="page"] { color: var(--copper) !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: 140px;
  padding-bottom: clamp(48px, 7vw, 92px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: heroDrift 24s var(--ease) forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.09); }
  to { transform: scale(1.0); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 19, 23, 0.78) 0%, rgba(9, 19, 23, 0.46) 38%, rgba(9, 19, 23, 0.9) 100%),
    linear-gradient(90deg, rgba(9, 19, 23, 0.72) 0%, rgba(9, 19, 23, 0.16) 62%, rgba(9, 19, 23, 0.36) 100%);
}

.hero__inner { position: relative; width: 100%; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 19ch;
  margin-bottom: 1.1rem;
  color: #fff;
}
.hero h1 em {
  font-style: italic;
  color: var(--copper-bright);
}
.hero__sub {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.84);
  max-width: 54ch;
  margin-bottom: 2.1rem;
}
.hero .eyebrow { color: var(--copper-bright); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  margin-top: clamp(46px, 6vw, 76px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1;
  color: #fff;
  display: block;
  margin-bottom: 0.45rem;
}
.stat__num sup { font-size: 0.5em; top: -0.7em; color: var(--copper-bright); }
.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
  display: block;
}
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: 120px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(120px, 15vw, 180px);
  padding-bottom: clamp(48px, 6vw, 84px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/img/banner.jpg");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.42;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(9, 19, 23, 0.94) 12%, rgba(9, 19, 23, 0.72) 54%, rgba(9, 19, 23, 0.86) 100%);
}
.page-hero h1 { color: #fff; max-width: 24ch; margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255, 255, 255, 0.8); }
.page-hero .eyebrow { color: var(--copper-bright); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 26px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.8); transition: color 0.25s var(--ease); }
.breadcrumb a:hover { color: var(--copper-bright); }
.breadcrumb span[aria-current] { color: rgba(255, 255, 255, 0.5); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink-soft);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  padding: 15px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker 42s linear infinite;
}
.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-inline: 26px;
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__track span::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--copper);
  border-radius: 50%;
  flex: 0 0 auto;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Feature / value cards ---------- */
.feature {
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-s);
  border-color: #d3cabb;
}
.feature__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--copper);
  border: 1px solid rgba(178, 115, 60, 0.35);
  border-radius: 50%;
}
.feature h3 { margin-bottom: 0.5em; }
.feature p { font-size: 0.94rem; color: var(--slate); margin: 0; }

/* ---------- Product cards ---------- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #d6cdbe;
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #f2eee6 0%, #e8e3d9 100%);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 100px;
}
.product-card__body {
  padding: clamp(18px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.product-card__code {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: 8px;
}
.product-card h3 {
  font-family: var(--font-sans);
  font-size: 1.06rem;
  margin-bottom: 0.55em;
  font-weight: 600;
}
.product-card p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 20px;
}
.product-card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-card__foot .link-arrow { border: 0; padding-bottom: 0; font-size: 0.72rem; }
.product-card__spec {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 3.4vw, 44px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.28s var(--ease);
}
.filter-btn:hover { border-color: var(--copper); color: var(--copper); }
.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- Application tiles ---------- */
.app-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--ink-soft);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.app-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 21, 25, 0.15) 0%, rgba(11, 21, 25, 0.9) 100%);
  transition: opacity 0.4s var(--ease);
}
.app-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.app-tile:hover img { transform: scale(1.06); }
.app-tile h3 { color: #fff; margin-bottom: 0.4em; font-size: 1.1rem; }
.app-tile p { font-size: 0.86rem; color: rgba(255, 255, 255, 0.76); margin: 0; }
.app-tile__idx {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Split / media block ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.split__body h2 { margin-bottom: 0.6em; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Stat blocks ---------- */
.metric {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.metric__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.metric__num span { color: var(--copper); font-size: 0.55em; }
.metric__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--ink .metric { border-color: rgba(255, 255, 255, 0.16); }
.section--ink .metric__num { color: #fff; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 12px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.timeline__item {
  position: relative;
  padding: 0 0 34px 34px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px var(--paper);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}
.timeline__item p { font-size: 0.94rem; color: var(--slate); margin: 0; }
.timeline__item h3 { font-size: 0.98rem; margin-bottom: 6px; }

/* ---------- Patent strip ---------- */
.patent {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.patent:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
.patent img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.patent__cap {
  padding: 12px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  border-top: 1px solid var(--line-soft);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--copper); }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-top: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  opacity: 0.55;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item[open] summary { color: var(--ink); }
.faq-item__answer {
  padding: 0 0 24px;
  max-width: 76ch;
  color: var(--slate);
  font-size: 0.95rem;
}
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item__answer ul { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 140% at 88% 10%, rgba(178, 115, 60, 0.28) 0%, rgba(11, 21, 25, 0) 58%);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.55em; max-width: 20ch; }
.cta-band p { color: rgba(255, 255, 255, 0.76); max-width: 52ch; margin-bottom: 0; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 46px);
  box-shadow: var(--shadow-s);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
}
.field label .req { color: var(--copper); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236d818a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #cfc5b4; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(178, 115, 60, 0.14);
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa8ad; }

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 11px;
}
.field--check input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--copper);
}
.field--check label {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--slate);
  line-height: 1.55;
}

/* Honeypot — visually removed but present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
}

.form-alert {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-s);
  font-size: 0.92rem;
  margin-bottom: 22px;
  border: 1px solid transparent;
}
.form-alert.is-visible { display: flex; }
.form-alert--success {
  background: #eef6ef;
  border-color: #cbe3cd;
  color: #1e5c2b;
}
.form-alert--error {
  background: #fbf0ec;
  border-color: #eed3c6;
  color: #8a3c1c;
}
.form-alert__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.btn[disabled] { opacity: 0.62; cursor: progress; transform: none; }

/* ---------- Contact layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
}
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.info-panel {
  background: var(--ink);
  color: #e9eeec;
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.info-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 90% at 100% 0%, rgba(178, 115, 60, 0.24), transparent 60%);
}
.info-panel h2 { color: #fff; font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.info-panel .eyebrow { color: var(--copper-bright); }
.info-list { list-style: none; padding: 0; margin: 24px 0 0; }
.info-list li {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}
.info-list li:first-child { border-top: 0; }
.info-list strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
  font-weight: 700;
}

/* ---------- Product detail ---------- */
.pd-hero {
  padding-top: clamp(110px, 13vw, 150px);
  padding-bottom: clamp(38px, 5vw, 64px);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.pd-hero .breadcrumb { color: var(--muted); margin-bottom: 28px; }
.pd-hero .breadcrumb a { color: var(--slate); }
.pd-hero .breadcrumb span[aria-current] { color: #96a4a8; }

.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.5vw, 68px);
  align-items: center;
}
.pd-media {
  background: linear-gradient(165deg, #f6f2ea, #e9e3d8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pd-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pd-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 0.5em; }
.pd-hero .lead { margin-bottom: 1.4rem; }
.pd-code {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  border: 1px solid rgba(178, 115, 60, 0.4);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.chip {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--slate);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 14px;
}
@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-media { max-width: 460px; }
}

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 1000px) { .pd-layout { grid-template-columns: 1fr; } }

.pd-body > section { margin-bottom: clamp(38px, 4.6vw, 60px); }
.pd-body h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin-bottom: 0.7em;
}
.pd-body h3 {
  font-size: 1.02rem;
  margin: 1.9em 0 0.6em;
}
.pd-body h3:first-child { margin-top: 0; }
.pd-body p { color: var(--slate); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding: 0 0 0 26px;
  margin-bottom: 11px;
  font-size: 0.95rem;
  color: var(--slate);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--copper);
  background: rgba(178, 115, 60, 0.14);
}
.check-list strong { color: var(--ink); font-weight: 600; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-table caption {
  caption-side: top;
  text-align: left;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
}
.spec-table th,
.spec-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.spec-table th {
  font-weight: 600;
  color: var(--ink);
  width: 45%;
  background: #fdfcfa;
}
.spec-table td { color: var(--slate); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

.callout {
  border-left: 2px solid var(--copper);
  background: rgba(178, 115, 60, 0.06);
  padding: 18px 22px;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 0.9rem;
  color: var(--slate);
}
.callout p:last-child { margin-bottom: 0; }

.pd-aside {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pd-aside .form-card { padding: 26px; }
.pd-aside h3 { font-size: 1.06rem; margin-bottom: 0.5em; }
.pd-aside p { font-size: 0.87rem; color: var(--slate); }
.aside-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.aside-box h3 { font-size: 0.98rem; margin-bottom: 14px; }
.aside-box dl { margin: 0; }
.aside-box dt {
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.aside-box dd {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.aside-box dd:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
@media (max-width: 780px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(52px, 6vw, 84px);
  font-size: 0.9rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(26px, 3.4vw, 52px);
  padding-bottom: clamp(36px, 4vw, 54px);
}
.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
  font-family: var(--font-sans);
}
.footer-brand img {
  width: 148px;
  margin-bottom: 18px;
  /* logo artwork is dark — invert for dark footer */
  filter: brightness(1) invert(1);
}
.footer-brand p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); max-width: 34ch; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.89rem;
  transition: color 0.25s var(--ease);
}
.footer-links a:hover { color: var(--copper-bright); }
.footer-address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.75;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--copper-bright); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive grid fallbacks ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .ticker,
  .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}

.dark-hero .site-header:not(.is-stuck) .nav-toggle[aria-expanded="true"] span { background: transparent; }
