/* ─────────────────────────────────────────────────────────────
   ValensAir design system
   Colour carries meaning: amber = heat, moisture, contamination;
   cyan = cooled, dried, cleaned. Silver/graphite = structure.
   ───────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-var.woff?v=dd8523c973') format('woff');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --white: #f3f5f7;
  --paper: #fbfcfd;
  --ink: #0d1826;
  --ink-2: #3a4552;
  --steel: #5c6875;
  --silver: #aeb9c4;
  --silver-2: #c9d2db;
  --line: #d7dde3;
  --line-2: #e6eaee;
  --midnight: #08131f;
  --midnight-2: #0d1d2f;
  --midnight-3: #13283f;
  --graphite: #262d36;
  --cyan: #1fd5f5;
  --cyan-ink: #08758f;
  --teal: #2bb3a3;
  --amber: #f0a43a;
  --amber-ink: #95570b;

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --wide: 116%;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-md: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: 1.5625rem;
  --t-2xl: clamp(1.75rem, 1.2rem + 1.6vw, 2.44rem);
  --t-3xl: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem);
  --t-4xl: clamp(2.6rem, 1.4rem + 4.6vw, 5.2rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header-h: 72px;
  --radius: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: 'kern', 'liga', 'lnum';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
p {
  margin: 0 0 1em;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 640;
  font-stretch: var(--wide);
  letter-spacing: -0.018em;
  line-height: 1.06;
  text-wrap: balance;
}
h1 {
  font-size: var(--t-4xl);
  letter-spacing: -0.03em;
  line-height: 0.98;
}
h2 {
  font-size: var(--t-3xl);
  letter-spacing: -0.025em;
}
h3 {
  font-size: var(--t-xl);
}
h4 {
  font-size: var(--t-lg);
}
.lead {
  font-size: var(--t-lg);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 38em;
}
.measure {
  max-width: 40em;
}
.num {
  font-variant-numeric: tabular-nums;
  font-stretch: 112%;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--cyan);
  color: var(--midnight);
  padding: 10px 16px;
  font-weight: 600;
}
.skip:focus {
  left: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

/* ── Bands ─────────────────────────────────────────────── */
.band {
  padding-block: clamp(64px, 9vw, 136px);
}
.band.tight {
  padding-block: clamp(48px, 6vw, 88px);
}
.dark {
  background: var(--midnight);
  color: var(--silver-2);
}
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark strong {
  color: #fff;
}
.dark .lead {
  color: var(--silver);
}
.deep {
  background: linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
}
.paper {
  background: var(--paper);
}

/* Section head: title left, supporting copy right */
.head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.head p {
  margin: 0;
  max-width: 34em;
}
.head .kicker {
  grid-column: 1 / -1;
}
@media (max-width: 860px) {
  .head {
    grid-template-columns: 1fr;
  }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-sm);
  font-weight: 560;
  color: var(--cyan-ink);
  margin-bottom: 14px;
}
.dark .kicker {
  color: var(--cyan);
}
.kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
}

/* Signature: the airflow rule, amber in, cyan out */
.airline {
  position: relative;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.dark .airline {
  background: rgba(255, 255, 255, 0.08);
}
.airline::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 22%;
  background: linear-gradient(90deg, transparent, var(--amber) 30%, var(--cyan) 70%, transparent);
  animation: airline 6s linear infinite;
}
@keyframes airline {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(560%);
  }
}

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(8, 19, 31, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.brand svg {
  width: 34px;
  height: 34px;
}
.brand-word {
  font-size: 1.28rem;
  font-weight: 680;
  font-stretch: 122%;
  letter-spacing: -0.02em;
}
.brand-word span {
  font-weight: 380;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--silver-2);
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: #fff;
}
.nav a[aria-current='page'] {
  box-shadow: inset 0 -2px 0 var(--cyan);
  border-radius: 0;
}
.nav-item {
  position: relative;
}
.nav-item > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  opacity: 0.6;
}
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 10px;
  background: var(--midnight-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.22s var(--ease);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 10px;
}
.dropdown a:hover {
  background: rgba(255, 255, 255, 0.04);
}
.dropdown .sil {
  grid-row: span 2;
  width: 40px;
  height: 40px;
}
.dropdown b {
  font-weight: 560;
  color: #fff;
}
.dropdown small {
  font-size: var(--t-xs);
  color: var(--silver);
}
.header-cta {
  flex-shrink: 0;
}
.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 4px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: 0.25s;
}
.menu-open .menu-btn span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}
.menu-open .menu-btn span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}
@media (max-width: 1080px) {
  .nav,
  .header-cta {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .menu-open .nav {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--gutter) 40px;
    background: var(--midnight);
    overflow-y: auto;
  }
  .menu-open .nav a {
    font-size: var(--t-xl);
    font-stretch: var(--wide);
    font-weight: 560;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: #fff;
  }
  .menu-open .nav a[aria-current='page'] {
    box-shadow: none;
    color: var(--cyan);
  }
  .menu-open .dropdown {
    position: static;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: 0;
    box-shadow: none;
    grid-template-columns: 1fr;
    padding: 0 0 8px 12px;
  }
  .menu-open .dropdown a {
    font-size: var(--t-md);
    border: 0;
    padding: 8px 0;
  }
  .menu-open .dropdown small {
    display: none;
  }
  .menu-open .nav .mobile-cta {
    display: flex;
    margin-top: 24px;
    text-align: center;
    border: 0;
    color: var(--midnight);
  }
  .menu-open .nav-item > a::after {
    display: none;
  }
}
.nav .mobile-cta {
  display: none;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  --bg: var(--cyan);
  --fg: var(--midnight);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--bg);
  border-radius: 4px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 620;
  font-stretch: 108%;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
  will-change: transform;
}
.btn:hover {
  box-shadow: 0 10px 30px -10px rgba(31, 213, 245, 0.55);
}
.btn.ghost {
  --bg: transparent;
  --fg: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn.ghost:hover {
  border-color: #fff;
  box-shadow: none;
}
.light-btns .btn.ghost,
.btn.ghost.on-light {
  --fg: var(--ink);
  border-color: var(--silver);
}
.btn.ghost.on-light:hover {
  border-color: var(--ink);
}
.btn.ink {
  --bg: var(--ink);
  --fg: #fff;
}
.btn.ink:hover {
  box-shadow: 0 10px 30px -12px rgba(8, 19, 31, 0.6);
}
.btn.small {
  min-height: 40px;
  padding: 8px 16px;
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--cyan-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.dark .text-link {
  color: var(--cyan);
}

/* ── Status badges ─────────────────────────────────────── */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-xs);
  font-weight: 600;
  line-height: 1;
  padding: 7px 11px 7px 9px;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
}
.status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.status--installed {
  color: #067a63;
  background: #e3f6f1;
  border-color: #a8e1d3;
}
.status--developed {
  color: var(--cyan-ink);
  background: #e2f5fa;
  border-color: #a9dfec;
}
.status--available {
  color: var(--ink-2);
  background: #eef1f4;
  border-color: var(--line);
}
.status--dev {
  color: var(--amber-ink);
  background: #fdf3e3;
  border-color: #f1d3a3;
}
.status--dev::before {
  background: none;
  border: 1.5px solid currentColor;
  width: 5px;
  height: 5px;
}
.dark .status--installed {
  color: #5fe3c3;
  background: rgba(43, 179, 163, 0.12);
  border-color: rgba(95, 227, 195, 0.35);
}
.dark .status--developed {
  color: var(--cyan);
  background: rgba(31, 213, 245, 0.1);
  border-color: rgba(31, 213, 245, 0.35);
}
.dark .status--available {
  color: var(--silver-2);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}
.dark .status--dev {
  color: #ffc773;
  background: rgba(240, 164, 58, 0.1);
  border-color: rgba(240, 164, 58, 0.4);
}

/* ── Placeholders for evidence not yet supplied ───────── */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  padding: 24px;
  border: 1.5px dashed var(--silver);
  border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(92, 104, 117, 0.05) 14px 15px);
  color: var(--steel);
  text-align: center;
  font-size: var(--t-sm);
}
.ph b {
  display: block;
  color: var(--ink-2);
  font-weight: 600;
}
.dark .ph {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--silver);
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255, 255, 255, 0.025) 14px 15px);
}
.dark .ph b {
  color: #fff;
}
.ph-icon {
  width: 34px;
  height: 34px;
  opacity: 0.7;
}
.tbc {
  color: var(--steel);
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tbc::before {
  content: '';
  width: 14px;
  border-top: 1.5px dashed currentColor;
}

/* ── Page hero (inner pages) ───────────────────────────── */
.page-hero {
  position: relative;
  padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  max-width: 14em;
  margin-bottom: 24px;
}
.page-hero .lead {
  margin-bottom: 0;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  font-size: var(--t-xs);
  color: var(--silver);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  opacity: 0.5;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: #fff;
}
.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-lines path {
  fill: none;
  stroke-width: 1;
}

/* ── Home hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: radial-gradient(120% 90% at 75% 40%, #10243a 0%, var(--midnight) 60%);
}
.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding-block: clamp(48px, 8vh, 96px);
}
.hero h1 {
  font-size: clamp(2.7rem, 1.2rem + 5.2vw, 6rem);
  font-stretch: 120%;
  font-weight: 660;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 28px;
}
.hero .lead {
  max-width: 31em;
  margin-bottom: 36px;
}
.hero-equip {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  width: 100%;
  justify-self: end;
}
.hero-equip .sil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 1.2s var(--ease), transform 1.6s var(--ease);
  color: rgba(201, 210, 219, 0.9);
}
.hero-equip .sil.is-on {
  opacity: 1;
  transform: none;
}
.hero-equip-label {
  position: absolute;
  left: 0;
  bottom: -8px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--t-sm);
  color: var(--silver);
}
.hero-equip-label b {
  color: #fff;
  font-weight: 560;
}
.hero-dots {
  display: flex;
  gap: 6px;
}
.hero-dots button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.hero-dots button::after {
  content: '';
  position: absolute;
  left: 3px;
  right: 3px;
  top: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
}
.hero-dots button[aria-pressed='true']::after {
  background: var(--cyan);
}
.ref-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 19, 31, 0.6);
  backdrop-filter: blur(6px);
}
.ref-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 40px;
  padding-block: 20px;
}
.ref-strip dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin: 0;
}
.ref-strip dt {
  font-size: var(--t-xs);
  color: var(--silver);
}
.ref-strip dd {
  margin: 0;
  color: #fff;
  font-size: var(--t-lg);
  font-weight: 620;
  font-stretch: 116%;
  font-variant-numeric: tabular-nums;
}
.ref-strip .text-link {
  margin-left: auto;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-equip {
    max-width: 340px;
    justify-self: center;
    order: -1;
    margin-bottom: 8px;
  }
  .hero-equip-label {
    display: none;
  }
  .ref-strip .text-link {
    margin-left: 0;
  }
}

/* Silhouettes */
.sil .sl {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.sil .sl.thin {
  stroke-width: 1.1;
  opacity: 0.6;
}
.sil .al {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  opacity: 0.85;
}
.sil .al.dirty {
  stroke: var(--amber);
}
.sil .al.water {
  stroke: var(--teal);
  stroke-dasharray: 2 9;
}
.hero-equip .sil .al,
.card:hover .sil .al,
.card:focus-within .sil .al,
.dropdown a:hover .sil .al {
  animation: dash 1.4s linear infinite;
}
.hero-equip .sil .al.water,
.card:hover .sil .al.water {
  animation-direction: normal;
  animation-duration: 0.9s;
}
@keyframes dash {
  to {
    stroke-dashoffset: -32;
  }
}

/* ── Product discovery ─────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.card {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--midnight-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--silver-2);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
.card:hover {
  border-color: rgba(31, 213, 245, 0.4);
}
.card.feature {
  grid-column: span 6;
  min-height: 520px;
}
.card.feature .sil {
  height: 280px;
}
.card .sil {
  width: 100%;
  height: 210px;
  margin: 18px 0 20px;
  color: var(--silver-2);
  transition: transform 0.8s var(--ease);
}
.card:hover .sil {
  transform: scale(1.04);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.card-cat {
  font-size: var(--t-xs);
  color: var(--silver);
}
.card h2,
.card h3 {
  color: #fff;
  font-size: var(--t-xl);
  letter-spacing: -0.018em;
  margin: 6px 0 10px;
}
.card p {
  font-size: var(--t-sm);
  margin: 0 0 20px;
  max-width: 30em;
}
.card-spec {
  display: flex;
  gap: 24px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--t-sm);
}
.card-spec b {
  color: #fff;
  font-weight: 620;
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
}
.card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.card:hover::after,
.card:focus-visible::after {
  transform: scaleX(1);
}
@media (max-width: 1000px) {
  .card,
  .card.feature {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .card,
  .card.feature {
    grid-column: 1 / -1;
    min-height: 0;
  }
  .card .sil,
  .card.feature .sil {
    height: 170px;
  }
}

/* ── Diagrams ──────────────────────────────────────────── */
.diagram {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  border-radius: var(--radius);
  background: var(--midnight-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--silver-2);
  overflow: hidden;
}
.diagram.wide {
  grid-template-columns: 1fr;
}
.diagram-stage {
  position: relative;
  padding: clamp(12px, 2vw, 28px);
  min-width: 0;
}
.diagram-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
}
.diagram.wide .diagram-side {
  border-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 48px;
}
.diagram.wide .diagram-info {
  flex: 1 1 320px;
}
.diagram-info h4 {
  color: #fff;
  font-size: var(--t-lg);
  margin-bottom: 8px;
}
.diagram-info p {
  font-size: var(--t-sm);
  margin: 0;
  color: var(--silver);
}
.diagram-hint {
  font-size: var(--t-xs);
  color: var(--silver);
  opacity: 0.8;
}
.diagram figcaption {
  font-size: var(--t-xs);
  color: var(--silver);
  opacity: 0.85;
}
.legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-xs);
}
.diagram.wide .legend {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.legend i {
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: var(--c);
}
@media (max-width: 980px) {
  .diagram {
    grid-template-columns: 1fr;
  }
  .diagram-side {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
}

.range {
  display: grid;
  gap: 8px;
  font-size: var(--t-sm);
}
.range-head {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-weight: 560;
}
.range-head output {
  color: var(--cyan);
  font-weight: 600;
}
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  border-radius: 2px;
}
input[type='range']::-moz-range-track {
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  border-radius: 2px;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8.5px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--midnight-2);
  box-shadow: 0 0 0 1.5px var(--cyan);
}
input[type='range']::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--midnight-2);
  box-shadow: 0 0 0 1.5px var(--cyan);
}
.meter {
  display: grid;
  gap: 6px;
  font-size: var(--t-sm);
}
.meter-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.meter-head span:last-child {
  color: #fff;
  font-weight: 560;
}
.meter-bar {
  --v: 0.3;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.meter-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(var(--v));
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  background-size: calc(100% / max(var(--v), 0.05)) 100%;
}

/* SVG internals */
.dg {
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--font);
}
.dg .grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.035);
  stroke-width: 1;
}
.dg .hatch {
  fill: none;
  stroke: rgba(201, 210, 219, 0.28);
  stroke-width: 1;
}
.dg .box,
.dg .casing,
.dg .stack,
.dg .basin,
.dg .room,
.dg .valve,
.dg .fan-housing,
.dg .gauge,
.dg .header,
.dg .heater {
  fill: rgba(255, 255, 255, 0.02);
  stroke: var(--silver-2);
  stroke-width: 1.5;
}
.dg .casing {
  stroke-width: 2.2;
  fill: none;
}
.dg .faint {
  stroke-opacity: 0.4;
}
.dg .panel-line,
.dg .tubesheet,
.dg .slab,
.dg .ceiling,
.dg .rod,
.dg .tap {
  fill: none;
  stroke: rgba(201, 210, 219, 0.4);
  stroke-width: 1.2;
}
.dg .slab {
  stroke-width: 3;
  stroke-opacity: 0.3;
}
.dg .tap {
  stroke-dasharray: 3 4;
}
.dg .duct {
  fill: none;
  stroke: rgba(201, 210, 219, 0.6);
  stroke-width: 1.5;
}
.dg .regen-duct {
  stroke: rgba(240, 164, 58, 0.55);
}
.dg .pipe {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.32;
}
.dg .hot-pipe {
  stroke: var(--amber);
}
.dg .cold-pipe {
  stroke: var(--cyan);
}
.dg .pump {
  fill: var(--midnight-2);
  stroke: var(--silver-2);
  stroke-width: 1.5;
}
.dg .pump-tri {
  fill: var(--silver-2);
}
.dg .louver,
.dg .elim,
.dg .filter-pleat,
.dg .filter-bag,
.dg .grille,
.dg .damper path {
  fill: none;
  stroke: var(--silver-2);
  stroke-width: 1.4;
}
.dg .elim {
  stroke-width: 1.2;
  opacity: 0.8;
}
.dg .nozzle {
  fill: var(--silver-2);
}
.dg .motor {
  fill: var(--silver);
}
.dg .water-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.2;
  opacity: 0.6;
}
.dg .coil circle {
  fill: none;
  stroke-width: 1.5;
}
.dg .coil path {
  fill: none;
  stroke: rgba(201, 210, 219, 0.35);
  stroke-width: 1;
}
.dg .cold-coil circle {
  stroke: var(--cyan);
}
.dg .hot-coil circle {
  stroke: var(--amber);
}
.dg .drain-pan {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  opacity: 0.7;
}
.dg .heater-coil {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
}
.dg .hepa {
  fill: rgba(31, 213, 245, 0.12);
  stroke: var(--cyan);
  stroke-width: 1.2;
}
.dg .room {
  stroke-dasharray: 5 5;
  fill: rgba(31, 213, 245, 0.025);
}
.dg .pressure {
  fill: var(--cyan);
  font-size: 30px;
}
.dg .valve-sym {
  fill: var(--midnight-2);
  stroke: var(--silver-2);
  stroke-width: 1.2;
}
.dg .impeller path,
.dg .valve-rotor path {
  fill: none;
  stroke: var(--silver-2);
  stroke-width: 1.4;
}
.dg .hub {
  fill: var(--midnight-3);
  stroke: var(--silver-2);
  stroke-width: 1.4;
}
.dg .blade {
  fill: var(--silver-2);
  transform-box: fill-box;
  transform-origin: center;
  animation: blade 0.42s linear infinite;
}
.dg .blade.b2 {
  animation-delay: -0.21s;
}
@keyframes blade {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(-1);
  }
  100% {
    transform: scaleX(1);
  }
}
.dg .impeller,
.dg .valve-rotor {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 1.1s linear infinite;
}
.dg .valve-rotor {
  animation-duration: 4s;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.dg .lbl {
  fill: var(--silver-2);
  font-size: 13px;
  font-weight: 450;
}
.dg .lbl.strong {
  fill: #fff;
  font-weight: 600;
}
.dg .lbl.small {
  font-size: 11.5px;
  fill: var(--silver);
}
.dg .leader {
  fill: none;
  stroke: rgba(201, 210, 219, 0.4);
  stroke-width: 1;
}
.dg .hot {
  cursor: pointer;
  outline: none;
}
.dg .hot-dot {
  fill: var(--midnight-2);
  stroke: var(--cyan);
  stroke-width: 1.6;
  transition: fill 0.2s;
}
.dg .hot:hover .hot-dot,
.dg .hot.is-active .hot-dot,
.dg .hot:focus-visible .hot-dot {
  fill: var(--cyan);
}
.dg .hot:hover .lbl,
.dg .hot.is-active .lbl,
.dg .hot:focus-visible .lbl {
  fill: var(--cyan);
}
.dg .sec-hit {
  fill: transparent;
  stroke: none;
  transition: fill 0.2s;
}
.dg .hot:hover .sec-hit,
.dg .hot.is-active .sec-hit,
.dg .hot:focus-visible .sec-hit {
  fill: rgba(31, 213, 245, 0.06);
  stroke: rgba(31, 213, 245, 0.5);
  stroke-dasharray: 4 4;
}
.dg .stream {
  fill: none;
  stroke: rgba(255, 255, 255, 0.045);
  stroke-width: 1;
  stroke-dasharray: 2 6;
  pointer-events: none;
}
.dg.is-static .stream {
  stroke: rgba(31, 213, 245, 0.55);
  stroke-dasharray: 4 6;
  stroke-width: 1.3;
}
.dg.is-static .stream[data-kind='dust'],
.dg.is-static .stream[data-idle='1'] {
  stroke: transparent;
}
.dg .particles {
  pointer-events: none;
}
.dg .pt-water {
  filter: none;
}

/* Exploded view */
.dg .ex {
  transform: translateY(calc(var(--ex, 0) * var(--dy)));
  transition: transform 0.15s linear;
}
.dg .ex-fade {
  opacity: calc(1 - var(--ex, 0) * 1.6);
  transition: opacity 0.2s;
}
.dg.is-exploded .streams {
  opacity: 0;
}

/* Dust collector */
.dg .bag-body {
  fill: rgba(255, 255, 255, 0.025);
  stroke: var(--silver-2);
  stroke-width: 1.3;
  transform-box: fill-box;
  transform-origin: top center;
}
.dg .cake {
  fill: none;
  stroke-width: 3.5;
  stroke-opacity: 0.2;
}
.dg .blowpipe {
  fill: none;
  stroke: var(--silver-2);
  stroke-width: 2;
}
.dg .jet {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0;
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
}
.dg .bag.is-pulsing .jet {
  animation: jet 0.55s ease-out;
}
.dg .bag.is-pulsing .bag-body {
  animation: flex 0.45s ease-out;
}
@keyframes jet {
  0% {
    opacity: 0.95;
    stroke-dashoffset: 230;
  }
  60% {
    opacity: 0.6;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}
@keyframes flex {
  30% {
    transform: scaleX(1.35);
  }
  60% {
    transform: scaleX(0.92);
  }
}
.dg .gauge-arc {
  fill: none;
  stroke: url(#dc-grid);
  stroke: rgba(240, 164, 58, 0.5);
  stroke-width: 4;
  stroke-dasharray: 1 5;
}
.dg .dp-needle {
  stroke: var(--amber);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: transform 0.3s;
}

/* Desiccant wheel */
.dg .sector {
  stroke: rgba(8, 19, 31, 0.55);
  stroke-width: 0.8;
}
.dg .ring {
  fill: none;
  stroke: rgba(8, 19, 31, 0.3);
  stroke-width: 1;
}
.dg .wheel-edge {
  fill: none;
  stroke: var(--silver-2);
  stroke-width: 3;
}
.dg .rim-back {
  fill: #0a1828;
  stroke: rgba(201, 210, 219, 0.4);
  stroke-width: 1.5;
}
.dg .rim-side {
  stroke: rgba(201, 210, 219, 0.4);
  stroke-width: 1.5;
}
.dg .seal {
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
}
.dg .regen-zone {
  fill: rgba(255, 255, 255, 0.06);
  stroke: none;
}
.dg .rotor-face {
  fill: rgba(31, 213, 245, 0.12);
  stroke: var(--silver-2);
  stroke-width: 1.5;
}
.dg .rotor-rim {
  fill: none;
  stroke: rgba(201, 210, 219, 0.35);
}
.dg .rotor-lines path {
  stroke: rgba(201, 210, 219, 0.35);
}
.dg .heat-glow {
  animation: glow 3s ease-in-out infinite;
}
@keyframes glow {
  50% {
    opacity: 0.55;
  }
}

/* Story emphasis on the wheel */
[data-story-figure] .zone-process,
[data-story-figure] .zone-regen {
  transition: opacity 0.4s;
}
[data-story-figure][data-step='1'] .zone-regen,
[data-story-figure][data-step='3'] .zone-process,
[data-story-figure][data-step='4'] .zone-process {
  opacity: 0.3;
}

/* ── Story layout (sticky figure + steps) ──────────────── */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.story-figure {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  order: 2;
}
.story-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.story-steps li {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0 24px 64px;
  position: relative;
  opacity: 0.35;
  transition: opacity 0.5s;
  counter-increment: step;
}
.story-steps li.is-current {
  opacity: 1;
}
.story-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.story-steps li.is-current::before {
  border-color: var(--cyan);
  color: var(--cyan);
}
.story-steps h3 {
  margin-bottom: 10px;
}
.story-steps p {
  max-width: 28em;
  margin: 0;
}
@media (max-width: 980px) {
  .story {
    grid-template-columns: 1fr;
  }
  .story-figure {
    position: relative;
    top: 0;
    order: 0;
  }
  .story-steps li {
    min-height: 0;
    opacity: 1;
  }
}

/* ── Proven engineering block ──────────────────────────── */
.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 32px 0;
  border-top: 1px solid var(--line);
}
.dark .stats {
  border-color: rgba(255, 255, 255, 0.1);
}
.stats div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.dark .stats div {
  border-color: rgba(255, 255, 255, 0.1);
}
.stats div:nth-child(odd) {
  padding-right: 20px;
}
.stats dt {
  font-size: var(--t-xs);
  color: var(--steel);
}
.dark .stats dt {
  color: var(--silver);
}
.stats dd {
  margin: 4px 0 0;
  font-size: var(--t-2xl);
  font-weight: 640;
  font-stretch: 118%;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.dark .stats dd {
  color: #fff;
}
.stats dd small {
  display: block;
  font-size: var(--t-sm);
  font-weight: 450;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--steel);
}
.dark .stats dd small {
  color: var(--silver);
}
@media (max-width: 980px) {
  .proof {
    grid-template-columns: 1fr;
  }
}

/* ── Industries selector ───────────────────────────────── */
.ind {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.ind-tabs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.ind-tabs button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font: inherit;
  font-size: var(--t-xl);
  font-weight: 560;
  font-stretch: 112%;
  letter-spacing: -0.01em;
  color: var(--steel);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, padding 0.3s var(--ease);
}
.ind-tabs button:hover {
  color: var(--ink);
}
.ind-tabs button[aria-selected='true'] {
  color: var(--ink);
  padding-left: 16px;
  box-shadow: inset 3px 0 0 var(--cyan-ink);
}
.ind-tabs small {
  font-size: var(--t-xs);
  font-weight: 450;
  font-stretch: 100%;
  color: var(--steel);
}
.ind-panel {
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.ind-panel[hidden] {
  display: none;
}
.ind-panel h3 {
  margin-bottom: 12px;
}
.cond {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 24px;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}
.cond div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cond dt {
  font-size: var(--t-xs);
  color: var(--steel);
}
.cond dd {
  margin: 2px 0 0;
  font-weight: 560;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips a,
.chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: var(--t-sm);
  text-decoration: none;
  background: #fff;
}
.chips a:hover {
  border-color: var(--cyan-ink);
  color: var(--cyan-ink);
}
@media (max-width: 900px) {
  .ind {
    grid-template-columns: 1fr;
  }
  .ind-tabs button {
    font-size: var(--t-lg);
  }
}

/* ── CTA band ──────────────────────────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-size: var(--t-4xl);
  max-width: 13em;
  margin-bottom: 32px;
}
.cta .hero-lines {
  opacity: 0.7;
}

/* ── Product page ──────────────────────────────────────── */
.p-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: end;
}
.p-hero .sil {
  width: 100%;
  max-width: 340px;
  justify-self: end;
  color: var(--silver-2);
}
.p-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 28px;
  font-size: var(--t-sm);
  color: var(--silver);
}
@media (max-width: 860px) {
  .p-hero {
    grid-template-columns: 1fr;
  }
  .p-hero .sil {
    display: none;
  }
}
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(251, 252, 253, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav .wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav a {
  flex-shrink: 0;
  padding: 16px 12px;
  font-size: var(--t-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--steel);
}
.subnav a:hover {
  color: var(--ink);
}
.subnav .btn {
  margin-left: auto;
  flex-shrink: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
  border-top: 1px solid var(--line);
}
.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(s);
  grid-row: span 2;
  font-weight: 640;
  font-stretch: 116%;
  font-size: var(--t-lg);
  color: var(--cyan-ink);
  font-variant-numeric: tabular-nums;
}
.dark .steps,
.dark .steps li {
  border-color: rgba(255, 255, 255, 0.1);
}
.dark .steps li::before {
  color: var(--cyan);
}
.steps h3 {
  font-size: var(--t-lg);
}
.steps p {
  margin: 0;
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.dark .steps p {
  color: var(--silver);
}

.spec-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
  min-width: 560px;
}
.spec caption {
  text-align: left;
  padding: 16px 20px;
  font-size: var(--t-xs);
  color: var(--steel);
  caption-side: bottom;
  border-top: 1px solid var(--line);
}
.spec th,
.spec td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
.spec thead th {
  font-weight: 620;
  font-stretch: 112%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.spec tbody th {
  font-weight: 500;
  color: var(--steel);
  width: 32%;
}
.spec td {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.spec tr:last-child th,
.spec tr:last-child td {
  border-bottom: 0;
}

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.col h3 {
  font-size: var(--t-lg);
  margin-bottom: 10px;
}
.col p {
  font-size: var(--t-sm);
  color: var(--ink-2);
  margin: 0;
}
.dark .col p {
  color: var(--silver);
}
.col {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.dark .col {
  border-color: rgba(255, 255, 255, 0.5);
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.ticks li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-sm);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 21px;
  width: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
}
.dark .ticks,
.dark .ticks li {
  border-color: rgba(255, 255, 255, 0.1);
}

.docs {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.doc {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.doc svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--steel);
}
.doc span {
  flex: 1;
  font-weight: 560;
}
.doc small {
  font-size: var(--t-xs);
  color: var(--steel);
}
a.doc:hover span {
  color: var(--cyan-ink);
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}
.gallery .ph:first-child {
  grid-row: span 2;
  min-height: 380px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery .ph:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 240px;
  }
}

.note {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #fdf6ea;
  border: 1px solid #f1dcb8;
  color: #6b4610;
  font-size: var(--t-sm);
}
.note.info {
  background: #eaf6f9;
  border-color: #bfe3ec;
  color: #0b5466;
}
.dark .note {
  background: rgba(240, 164, 58, 0.08);
  border-color: rgba(240, 164, 58, 0.3);
  color: #f6d199;
}

.rfq-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 24px 48px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--midnight);
  color: var(--silver-2);
  position: relative;
  overflow: hidden;
}
.rfq-band h2 {
  color: #fff;
  font-size: var(--t-2xl);
  margin-bottom: 8px;
}
.rfq-band p {
  margin: 0;
}
@media (max-width: 760px) {
  .rfq-band {
    grid-template-columns: 1fr;
  }
}

/* ── Catalogue filters ─────────────────────────────────── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.filter-group {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filter-group legend {
  float: left;
  margin-right: 8px;
  font-size: var(--t-xs);
  color: var(--silver);
}
.filter-group button {
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: none;
  color: var(--silver-2);
  font: inherit;
  font-size: var(--t-sm);
  cursor: pointer;
  transition: 0.2s;
}
.filter-group button:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.filter-group button[aria-pressed='true'] {
  background: #fff;
  border-color: #fff;
  color: var(--midnight);
}
.filter-empty {
  padding: 48px 0;
  color: var(--silver);
}
.card[hidden] {
  display: none;
}

/* ── Case study ────────────────────────────────────────── */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 32px;
  margin: 0;
  border-top: 1px solid var(--line);
}
.facts div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-size: var(--t-xs);
  color: var(--steel);
}
.facts dd {
  margin: 4px 0 0;
  font-weight: 560;
}
.project-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}
.project-row .sil {
  width: 100%;
  max-width: 360px;
  margin: auto;
  color: var(--silver-2);
}
.project-row:hover .sil .al {
  animation: dash 1.4s linear infinite;
}
.project-row h2 {
  font-size: var(--t-3xl);
  margin: 12px 0 16px;
}
@media (max-width: 860px) {
  .project-row {
    grid-template-columns: 1fr;
  }
  .project-row .sil {
    max-width: 220px;
  }
}

/* ── Engineering process ───────────────────────────────── */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: p;
  gap: 0;
}
.process li {
  counter-increment: p;
  position: relative;
  padding: 56px 24px 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.process li::before {
  content: counter(p);
  position: absolute;
  top: 16px;
  left: 0;
  font-weight: 640;
  font-stretch: 116%;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.process li::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}
.process h3 {
  font-size: var(--t-lg);
  margin-bottom: 8px;
}
.process p {
  font-size: var(--t-sm);
  color: var(--silver);
  margin: 0;
}
@media (max-width: 900px) {
  .process {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .process {
    grid-template-columns: 1fr;
  }
}

/* ── Contact / RFQ form ────────────────────────────────── */
.rfq {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 980px) {
  .rfq {
    grid-template-columns: 1fr;
  }
}
.form {
  display: grid;
  gap: 40px;
}
.form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.form legend {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 0 0 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-xl);
  font-weight: 620;
  font-stretch: 114%;
  letter-spacing: -0.01em;
}
.form legend small {
  font-size: var(--t-xs);
  font-weight: 450;
  font-stretch: 100%;
  color: var(--steel);
  letter-spacing: 0;
}
.field {
  display: grid;
  gap: 6px;
  align-content: start;
}
.field.full {
  grid-column: 1 / -1;
}
.field label,
.field .label {
  font-size: var(--t-sm);
  font-weight: 560;
}
.field .opt {
  font-weight: 400;
  color: var(--steel);
}
.field .hint {
  font-size: var(--t-xs);
  color: var(--steel);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--silver);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: var(--t-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan-ink);
  box-shadow: 0 0 0 3px rgba(8, 117, 143, 0.15);
}
.field [aria-invalid='true'] {
  border-color: #c4361d;
}
.field .err {
  font-size: var(--t-xs);
  color: #b3311a;
  min-height: 0;
}
.unit {
  display: flex;
}
.unit input {
  border-radius: 4px 0 0 4px;
}
.unit select {
  width: auto;
  flex-shrink: 0;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background-color: var(--white);
}
.equip-pick {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.equip-pick label {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 4px 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.equip-pick input {
  position: absolute;
  opacity: 0;
}
.equip-pick .sil {
  width: 44px;
  height: 44px;
  grid-row: span 2;
  color: var(--ink-2);
}
.equip-pick .sil .al {
  stroke-width: 3;
}
.equip-pick b {
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1.25;
}
.equip-pick small {
  font-size: var(--t-xs);
  color: var(--steel);
}
.equip-pick label:hover {
  border-color: var(--silver);
}
.equip-pick input:checked + .sil + span,
.equip-pick label:has(input:checked) {
  border-color: var(--cyan-ink);
  box-shadow: inset 0 0 0 1px var(--cyan-ink);
}
.equip-pick input:focus-visible ~ span {
  outline: 2px solid var(--cyan-ink);
  outline-offset: 4px;
}
@media (max-width: 860px) {
  .equip-pick {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .form fieldset {
    grid-template-columns: 1fr;
  }
  .equip-pick {
    grid-template-columns: 1fr;
  }
}
.dyn {
  display: contents;
}
.dyn[hidden] {
  display: none;
}
.home-cards .card.quarter {
  grid-column: span 3;
  min-height: 440px;
}
@media (max-width: 1000px) {
  .home-cards .card.quarter {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .home-cards .card.quarter {
    grid-column: 1 / -1;
    min-height: 0;
  }
}
.dyn-note {
  grid-column: 1 / -1;
}
.drop {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 28px;
  border: 1.5px dashed var(--silver);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.drop.is-over {
  border-color: var(--cyan-ink);
  background: #f0fafc;
}
.drop input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.drop b {
  color: var(--cyan-ink);
}
.drop small {
  color: var(--steel);
  font-size: var(--t-xs);
}
.file-list {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: var(--t-sm);
  background: #fff;
}
.file-list button {
  border: 0;
  background: none;
  color: var(--steel);
  cursor: pointer;
  font: inherit;
  font-size: var(--t-xs);
  text-decoration: underline;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--t-sm);
}
.check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--cyan-ink);
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.form-status {
  font-size: var(--t-sm);
}
.form-status.is-error {
  color: #b3311a;
}
.form-done {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--midnight);
  color: var(--silver-2);
}
.form-done h2 {
  color: #fff;
  font-size: var(--t-2xl);
  margin-bottom: 12px;
}
.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 28px;
}
.aside-card dl {
  margin: 0;
  display: grid;
  gap: 18px;
}
.aside-card dt {
  font-size: var(--t-xs);
  color: var(--steel);
}
.aside-card dd {
  margin: 2px 0 0;
  font-weight: 560;
}
.aside-card dd a {
  text-decoration: none;
  border-bottom: 1px solid var(--silver);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ── About / generic prose ─────────────────────────────── */
.prose {
  max-width: 42em;
}
.prose h2 {
  font-size: var(--t-2xl);
  margin: 48px 0 16px;
}
.prose h3 {
  font-size: var(--t-lg);
  margin: 32px 0 10px;
}
.prose ul {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: 6px;
}
.big-quote {
  font-size: var(--t-3xl);
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 18em;
  margin: 0;
  color: #fff;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillars > div {
  padding: 32px 32px 32px 0;
  border-bottom: 1px solid var(--line);
}
.pillars > div + div {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.pillars h3 {
  margin-bottom: 12px;
}
.pillars p {
  margin: 0;
  color: var(--ink-2);
}
@media (max-width: 860px) {
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillars > div + div {
    padding-left: 0;
    border-left: 0;
  }
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--midnight);
  color: var(--silver);
  font-size: var(--t-sm);
  padding: clamp(56px, 7vw, 96px) 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
}
.foot-grid h2 {
  font-size: var(--t-sm);
  font-stretch: 100%;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}
.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.foot-grid a {
  text-decoration: none;
}
.foot-grid a:hover {
  color: #fff;
}
.foot-brand p {
  max-width: 26em;
  margin-top: 20px;
}
.foot-tag {
  color: #fff;
  font-weight: 560;
  font-stretch: 112%;
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--t-xs);
}
@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}

/* Utility spacing */
.mt-s {
  margin-top: 16px;
}
.mt-m {
  margin-top: 32px;
}
.mt-l {
  margin-top: clamp(48px, 6vw, 80px);
}
.mb-m {
  margin-bottom: 32px;
}
.center {
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .airline::after {
    display: none;
  }
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .site-header,
  .site-footer,
  .subnav,
  canvas {
    display: none;
  }
  .dark,
  .deep,
  .diagram {
    background: #fff !important;
    color: #000 !important;
  }
}

/* ── Late overrides ────────────────────────────────────── */
@media (max-width: 1080px) {
  .site-header .header-cta {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero-equip {
    max-width: 240px;
  }
}
@media (max-width: 700px) {
  .diagram-stage {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .diagram-stage .dg {
    min-width: 640px;
  }
  .diagram-stage::after {
    content: 'Swipe to explore the diagram';
    display: block;
    margin-top: 8px;
    font-size: var(--t-xs);
    color: var(--silver);
    position: sticky;
    left: 0;
  }
}
.dg-wheel .lbl {
  font-size: 16px;
}
.dg-wheel .lbl.small {
  font-size: 14px;
}
.story {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr);
}
@media (max-width: 980px) {
  .story {
    grid-template-columns: 1fr;
  }
}
.dg .rotor-stripes path {
  stroke: rgba(201, 210, 219, 0.35);
  stroke-width: 1;
}
.dg .rotor-stripes {
  animation: rotor-roll 3s linear infinite;
}
@keyframes rotor-roll {
  to {
    transform: translateY(18px);
  }
}
.stats.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
}
.stats.four div:nth-child(odd) {
  padding-right: 0;
}
.stats.four dd {
  font-size: var(--t-xl);
}
@media (max-width: 760px) {
  .stats.four {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Photography ───────────────────────────────────────── */
.bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.75) contrast(1.05);
}
.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 19, 31, 0.94) 0%, rgba(8, 19, 31, 0.78) 45%, rgba(8, 19, 31, 0.35) 100%),
    linear-gradient(0deg, rgba(8, 19, 31, 0.85) 0%, rgba(8, 19, 31, 0) 45%);
}
.hero.has-photo::before {
  z-index: 1;
}
.hero.has-photo canvas {
  z-index: 1;
}
.page-hero.has-photo .hero-lines {
  z-index: 1;
  opacity: 0.4;
}
.page-hero.has-photo {
  padding-top: clamp(96px, 12vw, 180px);
}
@media (max-width: 900px) {
  .has-photo::before {
    background: linear-gradient(0deg, rgba(8, 19, 31, 0.95) 0%, rgba(8, 19, 31, 0.7) 60%, rgba(8, 19, 31, 0.55) 100%);
  }
}
.hero.has-photo .hero-equip .sil {
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 2px 12px rgba(8, 19, 31, 0.8));
}
.card-photo {
  height: 210px;
  margin: 18px -28px 20px;
  overflow: hidden;
}
.card.feature .card-photo {
  height: 280px;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover .card-photo img {
  transform: scale(1.04);
}
.p-hero-photo {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  justify-self: end;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
@media (max-width: 860px) {
  .p-hero-photo {
    justify-self: stretch;
    max-width: none;
    aspect-ratio: 16 / 10;
  }
}
.project-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.proof-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.proof-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.proof-photos img:only-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}
.ind-photo {
  width: calc(100% + 2 * clamp(24px, 3vw, 40px));
  margin: calc(-1 * clamp(24px, 3vw, 40px)) calc(-1 * clamp(24px, 3vw, 40px)) 24px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  max-width: none;
}
.gallery img {
  aspect-ratio: 4 / 3;
}
.gallery img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}
.has-photo::before {
  z-index: 1;
}
.page-hero.has-photo .wrap {
  z-index: 2;
}

/* ── Supplied logo ─────────────────────────────────────── */
.brand .logo {
  width: auto;
  height: 48px;
}
.site-footer .brand .logo {
  height: 52px;
}
@media (max-width: 640px) {
  .brand .logo {
    height: 40px;
  }
}
