/* ============================================================
   HUAFENG 华丰环保 — Environmental Protection Equipment
   Design system: engineering-grade dark editorial
   ============================================================ */

@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-latin-0.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PlexMono';
  src: url('../fonts/mono-latin-0.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PlexMono';
  src: url('../fonts/mono-latin-1.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a1014;
  --ink-2: #0d151a;
  --surface: #111c22;
  --surface-2: #16232a;
  --line: rgba(233, 240, 242, .10);
  --line-2: rgba(233, 240, 242, .18);
  --line-3: rgba(233, 240, 242, .30);
  --text: #e9eff1;
  --muted: #90a2a7;
  --dim: #738a90;
  --teal: #14a9bc;
  --teal-2: #3ec6d8;
  --teal-soft: rgba(20, 169, 188, .13);
  --lime: #a8ce3b;
  --paper: #f2f4f0;
  --paper-2: #e7eae4;
  --paper-ink: #0f1619;
  --paper-muted: #5c6a6d;
  --font-sans: 'Sora', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
               'Noto Sans SC', 'Source Han Sans SC', sans-serif;
  --font-mono: 'PlexMono', ui-monospace, 'SF Mono', Consolas, monospace;
  --gut: clamp(20px, 5vw, 68px);
  --maxw: 1340px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--teal); color: #04161a; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- grain ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.sec {
  position: relative;
  padding-block: clamp(76px, 10vw, 148px);
}
.sec--tight { padding-block: clamp(56px, 7vw, 96px); }
.paper {
  background: var(--paper);
  color: var(--paper-ink);
}
.paper .rule { background: var(--paper-2); }
.paper h1, .paper h2, .paper h3, .paper h4 { color: var(--paper-ink); }
.paper .lead, .paper .muted { color: var(--paper-muted); }

/* ---------- type ---------- */
.h1, .h2, .h3, .h4, h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.028em;
  margin: 0;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.45rem, 5.6vw, 4.9rem); letter-spacing: -.035em; }
h2, .h2 { font-size: clamp(1.85rem, 3.5vw, 3.15rem); letter-spacing: -.03em; }
h3, .h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); letter-spacing: -.02em; line-height: 1.24; }
h4, .h4 { font-size: 1rem; letter-spacing: -.01em; line-height: 1.4; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
.lead {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  color: var(--muted);
  line-height: 1.78;
  max-width: 62ch;
}
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.tiny { font-size: .8rem; }

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin: 0 0 1.5em;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.paper .eyebrow { color: #0d8b9b; }
.eyebrow--lime { color: var(--lime); }
.num {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--dim);
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* section head */
.shead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(38px, 4.6vw, 68px);
}
.shead .lead { margin: 0; }
@media (max-width: 900px) {
  .shead { grid-template-columns: 1fr; align-items: start; gap: 22px; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .8em;
  padding: 1.02em 1.6em;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .06em;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .45s var(--ease), color .45s var(--ease);
}
.btn span { position: relative; z-index: 2; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--teal);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover { border-color: var(--teal); color: #04161a; }
.btn:hover::before { transform: translateY(0); }
.btn__arw {
  position: relative;
  z-index: 2;
  width: 14px; height: 14px;
  flex: 0 0 auto;
  transition: transform .45s var(--ease-out);
}
.btn:hover .btn__arw { transform: translate(3px, -3px); }

.btn--solid {
  background: var(--text);
  color: var(--ink);
  border-color: var(--text);
}
.btn--solid::before { background: var(--teal); }
.btn--solid:hover { color: #04161a; }

.btn--lime { border-color: rgba(168, 206, 59, .5); color: var(--lime); }
.btn--lime::before { background: var(--lime); }
.btn--lime:hover { color: #10160a; border-color: var(--lime); }

.link-arw {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--teal);
  padding-bottom: .3em;
  border-bottom: 1px solid rgba(20, 169, 188, .32);
  transition: gap .4s var(--ease-out), border-color .4s var(--ease);
}
.link-arw:hover { gap: 1em; border-color: var(--teal); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10, 16, 20, .82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 76px;
}
.nav.is-stuck .nav__in { height: 66px; }
.nav__logo img { width: clamp(128px, 13vw, 168px); height: auto; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 34px);
  margin-left: auto;
}
.nav__link {
  position: relative;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--muted);
  padding-block: .4em;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; padding: .8em 1.25em; font-size: .78rem; }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  position: relative;
}
.nav__burger i {
  position: absolute;
  left: 11px; right: 11px;
  height: 1px;
  background: var(--text);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav__burger i:nth-child(1) { top: 16px; }
.nav__burger i:nth-child(2) { top: 21px; }
.nav__burger i:nth-child(3) { top: 26px; }
body.menu-open .nav__burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav__burger i:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav__burger { display: block; }
  .nav__menu {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 28px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .45s var(--ease-out);
  }
  body.menu-open .nav__menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link {
    padding: 1.05em 0;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
  }
  .nav__link::after { display: none; }
  .nav__cta { margin: 18px 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(.78) contrast(1.06) brightness(.72);
  transform: scale(1.05);
  animation: heroIn 2.2s var(--ease-out) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 16, 20, .99) 0%, rgba(10, 16, 20, .96) 16%, rgba(10, 16, 20, .80) 38%,
      rgba(10, 16, 20, .48) 64%, rgba(10, 16, 20, .32) 82%, rgba(10, 16, 20, .70) 100%),
    linear-gradient(100deg, rgba(10, 16, 20, .90) 0%, rgba(10, 16, 20, .22) 55%, rgba(10, 16, 20, .10) 78%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .40;
  background-image:
    linear-gradient(to right, rgba(233, 240, 242, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(233, 240, 242, .05) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%, 100% 96px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 72%, transparent);
}
.hero__in {
  padding-top: 120px;
  padding-bottom: 0;
  width: 100%;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal-2);
  margin-bottom: clamp(20px, 3vw, 34px);
}
.hero__tag em {
  font-style: normal;
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(168, 206, 59, .16);
}
.hero h1 {
  max-width: 15em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .35);
}
.hero h1 .accent {
  display: block;
  color: var(--teal-2);
}
.hero__lead {
  margin-top: clamp(20px, 2.6vw, 30px);
  max-width: 44ch;
  color: #c3d0d3;
  font-size: clamp(.95rem, 1.25vw, 1.1rem);
  line-height: 1.8;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.4vw, 42px);
}
.hero__rail {
  margin-top: clamp(48px, 7vw, 92px);
  border-top: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero__stat {
  padding: 22px 0 26px;
  border-right: 1px solid var(--line);
  padding-right: 18px;
}
.hero__stat:last-child { border-right: 0; }
.hero__stat:not(:first-child) { padding-left: clamp(14px, 2vw, 30px); }
.hero__stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.9vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--text);
}
.hero__stat b i { font-style: normal; font-size: .52em; color: var(--teal); margin-left: .18em; }
.hero__stat span {
  display: block;
  margin-top: .7em;
  font-size: .74rem;
  letter-spacing: .09em;
  color: var(--dim);
  text-transform: uppercase;
  font-family: var(--font-mono);
}
@media (max-width: 760px) {
  .hero__rail { grid-template-columns: repeat(2, 1fr); }
  .hero__stat:nth-child(2) { border-right: 0; }
  .hero__stat:nth-child(3), .hero__stat:nth-child(4) { border-top: 1px solid var(--line); }
  .hero__stat:nth-child(3) { padding-left: 0; }
}

/* scroll cue */
.hero__cue {
  position: absolute;
  right: var(--gut);
  bottom: 108px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .22em;
  color: var(--dim);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}
.hero__cue::after {
  content: '';
  width: 1px; height: 54px;
  background: linear-gradient(var(--teal), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { opacity: .25; transform: scaleY(.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}
@media (max-width: 1020px) { .hero__cue { display: none; } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: 15px;
  --speed: 46s;
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: slide var(--speed) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2.2em;
  padding-inline: 2.2em;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::after {
  content: '';
  width: 4px; height: 4px;
  background: var(--teal);
  transform: rotate(45deg);
  opacity: .8;
}

/* ---------- generic grids ---------- */
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
}

/* ---------- statement ---------- */
.state {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: start;
}
.state__kicker {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--dim);
  padding-bottom: 1.2em;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.6em;
}
.state__quote {
  font-size: clamp(1.35rem, 2.35vw, 2.05rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -.022em;
}
.state__quote mark {
  background: none;
  color: var(--teal-2);
}
.pillars { display: grid; gap: 0; }
.pillar {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.pillar:first-child { border-top: 0; padding-top: 0; }
.pillar__n {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--teal);
  padding-top: .35em;
}
.pillar h4 { margin-bottom: .5em; }
.pillar p { font-size: .89rem; color: var(--muted); line-height: 1.7; margin: 0; }
@media (max-width: 900px) { .state { grid-template-columns: 1fr; } }

/* ---------- product card ---------- */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .5s var(--ease), background .5s var(--ease);
}
.pcard:hover { border-color: rgba(20, 169, 188, .45); background: var(--surface-2); }
.pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0c1418;
}
.pcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.82) brightness(.94);
  transition: transform 1s var(--ease-out), filter .7s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.055); filter: saturate(1) brightness(1); }
.pcard__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 20, .78), rgba(10, 16, 20, .05) 58%);
}
.pcard__tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-2);
  background: rgba(6, 20, 24, .68);
  border: 1px solid rgba(20, 169, 188, .3);
  padding: .34em .7em;
  backdrop-filter: blur(6px);
}
.pcard__body {
  padding: 18px clamp(16px, 1.5vw, 22px) 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .5em;
}
.pcard__code {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  color: var(--dim);
}
.pcard h3 { font-size: 1.02rem; letter-spacing: -.015em; }
.pcard h3 a { transition: color .35s var(--ease); }
.pcard:hover h3 a { color: var(--teal-2); }
.pcard__en {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .05em;
  color: var(--dim);
  text-transform: uppercase;
}
.pcard__meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}
.pcard__meta svg { width: 13px; height: 13px; color: var(--teal); transition: transform .45s var(--ease-out); }
.pcard:hover .pcard__meta svg { transform: translate(2px, -2px); }

/* ---------- split feature ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}
.frame {
  position: relative;
  overflow: hidden;
  background: #0c1418;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--43 { aspect-ratio: 4 / 3; }
.frame--169 { aspect-ratio: 16 / 10; }
.frame--11 { aspect-ratio: 1; }
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(233, 240, 242, .08);
  pointer-events: none;
}
/* corner ticks */
.tick { position: relative; }
.tick::before, .tick::after {
  content: '';
  position: absolute;
  width: 13px; height: 13px;
  border: 1px solid var(--teal);
  opacity: .6;
  pointer-events: none;
}
.tick::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.tick::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- spec table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(233, 240, 242, .015);
}
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  min-width: 520px;
}
table.spec caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
table.spec th {
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-2);
  text-align: left;
  padding: 12px 16px;
  background: rgba(20, 169, 188, .06);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.spec td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(233, 240, 242, .055);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
table.spec td:first-child { color: var(--text); font-family: var(--font-mono); font-size: .78rem; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec tbody tr { transition: background .3s; }
table.spec tbody tr:hover { background: rgba(233, 240, 242, .03); }

/* ---------- data list ---------- */
.dlist { display: grid; gap: 0; }
.dlist__row {
  display: grid;
  grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: .87rem;
}
.dlist__row dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: .25em;
}
.dlist__row dd { margin: 0; color: var(--text); }
.paper .dlist__row dd { color: var(--paper-ink); }
.paper .dlist__row dt { color: #7c8b8e; }

/* ---------- stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__cell {
  padding: clamp(26px, 3.4vw, 44px) 24px;
  border-right: 1px solid var(--line);
}
.stats__cell:last-child { border-right: 0; }
.stats__cell b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.stats__cell b i { font-style: normal; font-size: .5em; color: var(--teal); }
.stats__cell span {
  display: block;
  margin-top: .85em;
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .04em;
}
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__cell:nth-child(2) { border-right: 0; }
  .stats__cell:nth-child(1), .stats__cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}
.paper .stats { border-color: rgba(15, 22, 25, .14); }
.paper .stats__cell { border-color: rgba(15, 22, 25, .14); }
.paper .stats__cell span { color: var(--paper-muted); }

/* ---------- gallery mosaic ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(8px, 1vw, 14px);
}
.mosaic figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0c1418;
}
.mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.8) brightness(.9);
  transition: transform 1.1s var(--ease-out), filter .8s var(--ease);
}
.mosaic figure:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.mosaic figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 16px 14px;
  background: linear-gradient(to top, rgba(6, 12, 15, .92), transparent);
  font-size: .76rem;
  color: #cdd9dc;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease-out);
}
.mosaic figure:hover figcaption { opacity: 1; transform: none; }
.m-a { grid-column: span 6; aspect-ratio: 16 / 10; }
.m-b { grid-column: span 3; aspect-ratio: 4 / 5; }
.m-c { grid-column: span 3; aspect-ratio: 4 / 5; }
.m-d { grid-column: span 4; aspect-ratio: 1; }
.m-e { grid-column: span 4; aspect-ratio: 1; }
.m-f { grid-column: span 4; aspect-ratio: 1; }
.m-g { grid-column: span 8; aspect-ratio: 21 / 9; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .m-a, .m-g { grid-column: span 2; }
  .m-b, .m-c, .m-d, .m-e, .m-f { grid-column: span 1; aspect-ratio: 1; }
}

/* ---------- film strip ---------- */
.films {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 34px);
  align-items: start;
}
.film {
  position: relative;
  background: #0b1215;
  border: 1px solid var(--line);
  overflow: hidden;
}
.film__vp { position: relative; aspect-ratio: 9 / 16; background: #060b0d; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.film__t { font-size: .88rem; font-weight: 500; }
.film__s {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: .3em;
}
.film__play {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color .4s, background .4s, color .4s;
}
.film__play svg { width: 13px; height: 13px; }
.film__play:hover { background: var(--teal); border-color: var(--teal); color: #04161a; }
@media (min-width: 900px) {
  /* vertical films read as a pair of set pieces, not a full-bleed feed */
  .films { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
}
@media (max-width: 700px) { .films { grid-template-columns: 1fr; } }

/* ---------- industries ---------- */
.ind {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.ind__i {
  padding: 26px 22px 30px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background .45s var(--ease);
  position: relative;
}
.ind__i:nth-child(4n) { border-right: 0; }
.ind__i:hover { background: var(--surface); }
.ind__i b { display: block; font-size: 1rem; font-weight: 500; margin-bottom: .45em; }
.ind__i span {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dim);
}
.ind__i::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 2px; width: 0;
  background: var(--teal);
  transition: width .5s var(--ease-out);
}
.ind__i:hover::after { width: 100%; }
@media (max-width: 900px) {
  .ind { grid-template-columns: repeat(2, 1fr); }
  .ind__i:nth-child(2n) { border-right: 0; }
  .ind__i:nth-child(4n) { border-right: 0; }
  .ind__i:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ---------- certs ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.cert {
  border: 1px solid var(--line);
  padding: 24px 22px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color .45s var(--ease), transform .5s var(--ease-out);
}
.cert:hover { border-color: var(--line-3); transform: translateY(-3px); }
.cert__ic {
  width: 34px; height: 34px;
  color: var(--teal);
  margin-bottom: 18px;
}
.cert h4 { font-size: .96rem; margin-bottom: .55em; }
.cert p { font-size: .79rem; color: var(--muted); margin: 0; line-height: 1.65; }
.certs > :nth-child(3n+1):last-child:not(:only-child) { grid-column: 2 / 3; }
@media (max-width: 860px) { .certs { grid-template-columns: 1fr; } }

/* ---------- cta ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0c1a1f, #0f2a31 58%, #103038);
  border-block: 1px solid var(--line);
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 169, 188, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 169, 188, .07) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse at 78% 40%, #000, transparent 72%);
  pointer-events: none;
}
.cta__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.cta h2 { max-width: 18em; }
.cta__side { display: grid; gap: 12px; justify-items: start; }
@media (max-width: 900px) { .cta__in { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot {
  background: #070d10;
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 80px);
}
.foot__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.foot__brand img { width: 152px; margin-bottom: 20px; }
.foot__brand p { font-size: .82rem; color: var(--dim); max-width: 30ch; line-height: 1.75; }
.foot h5 {
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 16px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot li { font-size: .84rem; color: var(--muted); }
.foot li a { transition: color .3s; }
.foot li a:hover { color: var(--text); }
.foot__c { font-size: .84rem; color: var(--muted); display: grid; gap: 12px; }
.foot__c b { color: var(--text); font-weight: 500; display: block; margin-bottom: .2em; }
.foot__c a { font-family: var(--font-mono); font-size: .82rem; color: var(--teal-2); }
.foot__bot {
  border-top: 1px solid var(--line);
  padding-block: 20px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .08em;
  color: #46585d;
}
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__top { grid-template-columns: 1fr; } }

/* ---------- page header ---------- */
.phead {
  position: relative;
  padding-top: clamp(120px, 16vw, 190px);
  padding-bottom: clamp(34px, 4.5vw, 62px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.phead::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(233, 240, 242, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(233, 240, 242, .04) 1px, transparent 1px);
  background-size: calc(100% / 5) 100%, 100% 84px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
  pointer-events: none;
}
.phead__in { position: relative; }
.phead .crumbs {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  gap: .8em;
  margin-bottom: 22px;
}
.phead .crumbs a:hover { color: var(--teal-2); }
.phead h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
.phead__lead { margin-top: 20px; }

/* ---------- filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 66px;
  z-index: 60;
  background: rgba(10, 16, 20, .9);
  backdrop-filter: blur(14px);
}
.chip {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .6em 1em;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--line-3); color: var(--text); }
.chip.is-on {
  background: var(--teal);
  border-color: var(--teal);
  color: #04161a;
}

/* ---------- empty / misc ---------- */
.center { text-align: center; }
.mt-l { margin-top: clamp(34px, 4vw, 60px); }
.mt-m { margin-top: 26px; }
.mb-m { margin-bottom: 26px; }
.stack { display: grid; gap: 14px; }

/* ---------- product detail ---------- */
.pd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(26px, 4vw, 66px);
  align-items: center;
}
@media (max-width: 900px) { .pd-hero { grid-template-columns: 1fr; } }
.pd-block + .pd-block { margin-top: clamp(34px, 4vw, 56px); }
.pd-block h3 {
  display: flex;
  align-items: baseline;
  gap: .7em;
  padding-bottom: .6em;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.3em;
}
.pd-block h3 em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
}
.feat { display: grid; gap: 0; }
.feat li {
  list-style: none;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: .89rem;
  color: var(--muted);
  line-height: 1.65;
}
.feat li b { color: var(--text); font-family: var(--font-mono); font-size: .7rem; padding-top: .3em; }
.feat { padding: 0; margin: 0; }

/* ---------- contact ---------- */
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.8vw, 22px); }
@media (max-width: 760px) { .offices { grid-template-columns: 1fr; } }
.office {
  border: 1px solid var(--line);
  padding: clamp(20px, 2.4vw, 30px);
  position: relative;
  transition: border-color .45s var(--ease), background .45s var(--ease);
}
.office:hover { border-color: rgba(20, 169, 188, .4); background: var(--surface); }
.office__role {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.office h4 { font-size: 1.05rem; margin-bottom: .7em; }
.office p { font-size: .84rem; color: var(--muted); margin: 0 0 .7em; line-height: 1.7; }
.office a { font-family: var(--font-mono); font-size: .84rem; color: var(--text); transition: color .3s; }
.office a:hover { color: var(--teal-2); }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}
.field input, .field textarea, .field select {
  background: rgba(233, 240, 242, .04);
  border: 1px solid var(--line);
  padding: .85em 1em;
  font-size: .88rem;
  border-radius: 2px;
  transition: border-color .35s, background .35s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(20, 169, 188, .05);
}
.field textarea { resize: vertical; min-height: 118px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__note { font-size: .74rem; color: var(--dim); line-height: 1.7; }

/* ---------- timeline ---------- */
.tl { position: relative; display: grid; gap: 0; }
.tl::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--teal), rgba(20, 169, 188, .1));
}
.tl__i {
  position: relative;
  padding: 0 0 30px 34px;
}
.tl__i:last-child { padding-bottom: 0; }
.tl__i::before {
  content: '';
  position: absolute;
  left: 3px; top: 7px;
  width: 9px; height: 9px;
  background: var(--ink);
  border: 1px solid var(--teal);
  transform: rotate(45deg);
}
.tl__y {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--teal-2);
  margin-bottom: .4em;
}
.tl__i h4 { margin-bottom: .4em; }
.tl__i p { font-size: .86rem; color: var(--muted); margin: 0; }

/* a lone trailing gallery tile is centred rather than left hanging in a 3-up grid */
.grid.g3 > :nth-child(3n+1):last-child:not(:only-child) { grid-column: 2 / 3; }

/* ---------- reveal ---------- */
/* content is visible by default; the reveal only engages once JS confirms it can undo it */
html.js .rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform 1s var(--ease-out);
}
html.js .rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; }
}
@media print {
  html.js .rv { opacity: 1 !important; transform: none !important; }
}

/* ---------- accordion (product specs on mobile) ---------- */
.hide-sm { display: block; }
@media (max-width: 780px) { .hide-sm { display: none; } }
.nowrap { white-space: nowrap; }

/* ---------- language switcher ---------- */
.nav__lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  overflow: hidden;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.nav__lang a,
.nav__lang .is-on {
  padding: .55em .72em;
  color: var(--dim);
  transition: color .3s var(--ease), background .3s var(--ease);
  line-height: 1;
}
.nav__lang a:hover { color: var(--text); background: rgba(233, 240, 242, .07); }
.nav__lang .is-on { color: var(--text); background: rgba(233, 240, 242, .10); }
@media (max-width: 1020px) {
  .nav__lang { margin: 16px 0 0; align-self: flex-start; }
}
