@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/poppins_400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/poppins_500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/poppins_600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/poppins_700.woff2') format('woff2');
}

:root {
  --navy: #0a1a33;
  --navy-2: #0f2440;
  --pink: #e6007e;
  --green: #63b32e;
  --blue: #0090d9;
  --orange: #ff8a00;

  --bg: #fbfbfc;
  --bg-raised: #ffffff;
  --ink: #0a1a33;
  --ink-soft: #6b7690;
  --ink-faint: #9aa4ba;
  --hairline: rgba(10, 26, 51, 0.08);
  --hairline-strong: rgba(10, 26, 51, 0.16);
  --accent: var(--blue);
}

/* Content sections always use the light palette — the brand-navy sections
   (hero, commitment, cta-footer) hardcode var(--navy) directly and are
   unaffected by this, so the site reads consistently regardless of the
   visitor's OS light/dark preference. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.015em;
}
p { margin: 0; }
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 64px);
}
.eyebrow {
  display: inline-flex;
  gap: 0.7em;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.eyebrow .swatch { width: 22px; height: 3px; background: var(--accent); flex-shrink: 0; }

.stripe-band {
  display: inline-flex;
  height: 0.85em;
  width: 2.4em;
  transform: skewX(-16deg);
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0.9;
}
.stripe-band span { flex: 1; }
.stripe-band .p { background: var(--pink); }
.stripe-band .g { background: var(--green); }
.stripe-band .b { background: var(--blue); }
.stripe-band .o { background: var(--orange); }

/* ---------- parallax field ---------- */
.parallax-field { position: absolute; inset: -10%; pointer-events: none; z-index: 1; }
.parallax-field .p-bar { position: absolute; width: 130%; height: 46%; left: -15%; transform: rotate(-10deg); will-change: transform; }
.parallax-field .p-bar.b1 { top: 2%; background: linear-gradient(90deg, transparent, rgba(230,0,126,0.16), transparent); }
.parallax-field .p-bar.b2 { top: 34%; background: linear-gradient(90deg, transparent, rgba(99,179,46,0.12), transparent); }
.parallax-field .p-bar.b3 { top: 66%; background: linear-gradient(90deg, transparent, rgba(0,144,217,0.14), transparent); }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view .rs-item { opacity: 1; transform: translateY(0); }
.rs-item { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .rs-item { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.navrow { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.98rem; letter-spacing: 0.06em; white-space: nowrap; }
.brand-logo { height: 32px; width: auto; display: block; }
nav.links { display: flex; gap: clamp(20px, 2.6vw, 40px); font-size: 0.85rem; font-weight: 400; }
nav.links a { text-decoration: none; color: var(--ink-soft); transition: color 0.2s ease; }
nav.links a:hover, nav.links a:focus-visible { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 2px;
  font-weight: 500; font-size: 0.85rem; letter-spacing: 0.02em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.primary:hover { opacity: 0.82; }
.btn.ghost { border-color: var(--hairline-strong); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink-soft); }
.btn.onnavy { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn.onnavy:hover { background: rgba(255,255,255,0.08); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; min-height: clamp(480px, 68vh, 700px); display: flex; align-items: center; padding: 0; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg-fade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    var(--navy) 0%,
    rgba(10, 26, 51, 0.95) 20%,
    rgba(10, 26, 51, 0.72) 40%,
    rgba(10, 26, 51, 0.32) 62%,
    rgba(10, 26, 51, 0.08) 82%,
    rgba(10, 26, 51, 0.02) 100%);
}
.hero .wrap {
  position: relative; z-index: 2;
  width: 100%;
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.hero-copy { max-width: 640px; }
.hero .eyebrow { color: rgba(255,255,255,0.55); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.12; margin: 0 0 22px; font-weight: 700; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--green), var(--blue), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede { font-size: 1.06rem; color: rgba(255,255,255,0.7); max-width: 40ch; margin-bottom: 36px; font-weight: 300; }
.hero .ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .ctas .btn { text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.05em; font-weight: 600; }
.btn.accent-blue { background: var(--blue); color: #fff; }
.btn.accent-blue:hover { background: #0079b4; }
.hero .scroll-cue {
  position: absolute; left: clamp(24px, 6vw, 64px); bottom: 34px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.hero .scroll-cue .line { width: 34px; height: 1px; background: rgba(255,255,255,0.35); }

.stat-strip { border-bottom: 1px solid var(--hairline); }
.stat-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(40px, 6vw, 64px) 0; gap: 24px; }
.stat-strip .stat { display: flex; align-items: center; gap: 16px; text-align: left; }
.stat-strip .stat-ic { width: 30px; height: 30px; flex-shrink: 0; color: var(--ink-faint); }
.stat-strip .num { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 300; font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: -0.02em; }
.stat-strip .lbl { font-size: 0.78rem; color: var(--ink-faint); margin-top: 6px; font-weight: 500; letter-spacing: 0.03em; }

section { padding: clamp(72px, 11vw, 140px) 0; }
.section-head { max-width: 58ch; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-top: 14px; font-weight: 500; }
.section-head p { color: var(--ink-soft); margin-top: 16px; font-size: 1.02rem; font-weight: 300; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 40px); }
.pillar { padding-top: 22px; border-top: 2px solid var(--c); }
.pillar .ic { width: 60px; height: 60px; margin-bottom: 18px; display: block; }
.pillar h3 { font-size: 1.02rem; font-weight: 600; }
.pillar p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 10px; font-weight: 300; }

/* ---------- commitment band ---------- */
.commitment { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.commitment .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.commitment .eyebrow { color: rgba(255,255,255,0.5); }
.commitment h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: 16px; font-weight: 500; }
.commitment h2 .accent { color: var(--green); }
.commitment p.lede { color: rgba(255,255,255,0.62); margin-top: 20px; max-width: 44ch; font-size: 1.05rem; font-weight: 300; }
.vision-block { border-left: 2px solid rgba(255,255,255,0.2); padding-left: 28px; }
.vision-block .tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); }
.vision-block p { margin-top: 14px; color: rgba(255,255,255,0.68); font-size: 1rem; font-weight: 300; line-height: 1.7; }

/* ---------- video scrub (scroll-driven playback) ---------- */
.video-scrub { position: relative; height: 400vh; background: var(--navy); padding: 0; }
.scrub-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
}
.scrub-sticky video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72;
}
.scrub-placeholder {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(155deg, var(--navy), var(--navy-2));
  padding: 40px;
}
.scrub-sticky.no-video .scrub-placeholder { display: flex; }
.scrub-sticky.no-video video { display: none; }
.scrub-sticky.no-video .scrub-caption { display: none; }
.scrub-placeholder-inner { max-width: 46ch; }
.scrub-placeholder-inner h3 { color: #fff; font-size: 1.5rem; font-weight: 500; margin-top: 14px; }
.scrub-placeholder-inner p { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-top: 14px; font-weight: 300; }
.scrub-placeholder-inner code { background: rgba(255,255,255,0.1); padding: 2px 7px; border-radius: 3px; font-size: 0.85em; }
.scrub-caption {
  position: relative; z-index: 2;
  max-width: 50ch; text-align: center; padding: 0 24px;
  pointer-events: none;
}
.scrub-caption .eyebrow { color: rgba(255,255,255,0.6); justify-content: center; }
.scrub-caption h3 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 500; margin-top: 16px; }

/* ---------- facility (clean white section, contained photo card) ---------- */
.facility { background: var(--bg-raised); }
.facility .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.facility-frame {
  aspect-ratio: 1 / 1;
  max-width: 460px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 40px 70px -40px rgba(10, 26, 51, 0.28);
}
.facility-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 42%; }
.facility-copy { max-width: 480px; }
.facility-copy .section-head { margin-bottom: 0; }

/* ---------- categories ---------- */
.categories { display: flex; flex-direction: column; }
.cat-row { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--hairline); }
.categories .cat-row:last-child { border-bottom: 1px solid var(--hairline); }
.cat-row .cat-name { display: flex; align-items: center; gap: 12px; }
.cat-row .cat-name .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.cat-row h3 { font-size: 1.02rem; font-weight: 500; }
.cat-row p { color: var(--ink-soft); font-size: 0.96rem; max-width: 62ch; font-weight: 300; }

/* ---------- industries ---------- */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.industry { display: flex; align-items: center; gap: 14px; padding: 26px 28px; font-weight: 400; font-size: 0.98rem; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.industry .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex-shrink: 0; }

/* ---------- trust / why grids ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); }
.feature-list { display: flex; flex-direction: column; gap: 0; list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--hairline); }
.feature-list li:last-child { border-bottom: 1px solid var(--hairline); }
.feature-list .fnum { font-size: 0.78rem; font-weight: 600; color: var(--ink-faint); flex-shrink: 0; padding-top: 3px; font-variant-numeric: tabular-nums; }
.feature-list h4 { font-size: 0.98rem; font-weight: 500; }
.feature-list p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 6px; font-weight: 300; }

/* ---------- CTA / footer ---------- */
.cta-footer { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.cta-footer .wrap { position: relative; z-index: 2; padding-top: clamp(72px, 10vw, 110px); }
.cta-footer .eyebrow { color: rgba(255,255,255,0.5); }
.cta-footer h2 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); max-width: 15ch; margin-top: 16px; font-weight: 500; }
.cta-footer h2 .accent { color: var(--green); }
.cta-footer .lede { color: rgba(255,255,255,0.62); margin-top: 18px; max-width: 50ch; font-size: 1.04rem; font-weight: 300; }
.cta-footer .ctas { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.foot-grid { margin-top: 90px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.12); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; font-size: 0.9rem; }
.foot-grid .brand { color: #fff; margin-bottom: 14px; }
.foot-grid p, .foot-grid a { color: rgba(255,255,255,0.62); text-decoration: none; font-weight: 300; }
.foot-grid h5 { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-bottom: 16px; font-weight: 600; }
.foot-grid .flinks { display: flex; flex-direction: column; gap: 11px; }
.foot-bottom { margin-top: 48px; padding: 26px 0 36px; border-top: 1px solid rgba(255,255,255,0.09); display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.42); flex-wrap: wrap; gap: 10px; }

/* ---------- product catalog (homepage grid) ---------- */
.catalog-filter { display: flex; gap: 10px; margin-bottom: clamp(28px, 4vw, 40px); flex-wrap: wrap; }
.catalog-filter button {
  font-family: inherit; background: none; cursor: pointer;
  border: 1px solid var(--hairline-strong); color: var(--ink-soft);
  padding: 9px 18px; border-radius: 2px; font-size: 0.82rem; font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.catalog-filter button:hover { border-color: var(--ink-soft); color: var(--ink); }
.catalog-filter button.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 32px); }
.product-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border: 1px solid var(--hairline);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.product-card .shot { aspect-ratio: 4 / 5; overflow: hidden; background: #f2f3f5; }
.product-card .shot img { width: 100%; height: 100%; object-fit: cover; }
.product-card .info { padding: 18px 20px 22px; border-top: 2px solid var(--c); }
.product-card .cat-tag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); }
.product-card h3 { font-size: 1.02rem; font-weight: 600; margin-top: 8px; }
.product-card .code { font-size: 0.78rem; color: var(--ink-faint); margin-top: 3px; font-variant-numeric: tabular-nums; }

/* ---------- product detail page ---------- */
.product-hero { padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 8vw, 88px); }
.product-hero .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 72px); align-items: start; }
.product-photo { border: 1px solid var(--hairline); overflow: hidden; }
.product-photo img { width: 100%; display: block; }
.crumb { font-size: 0.8rem; color: var(--ink-faint); }
.crumb a { text-decoration: none; color: var(--ink-faint); }
.crumb a:hover { color: var(--ink); }
.tag-pill {
  display: inline-block; padding: 6px 14px; border-radius: 3px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  color: #fff; background: var(--c); margin: 18px 0 14px;
}
.product-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.product-title h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 600; }
.product-title .code { font-size: 1.05rem; color: var(--c); font-weight: 500; font-variant-numeric: tabular-nums; }
.product-type { color: var(--ink-soft); font-size: 0.95rem; margin-top: 10px; }
.product-desc { margin-top: 18px; color: var(--ink-soft); font-size: 1.02rem; max-width: 62ch; font-weight: 300; line-height: 1.75; }
.attr-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 18px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.attr-row div { text-align: center; }
.attr-row .ic { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--c); }
.attr-row .lbl { font-size: 0.76rem; color: var(--ink-soft); font-weight: 500; line-height: 1.3; }
.spec-table { margin-top: 32px; border: 1px solid var(--hairline); }
.spec-table .row { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--hairline); }
.spec-table .row:first-child { border-top: none; }
.spec-table .row > div { padding: 13px 18px; font-size: 0.9rem; }
.spec-table .row .k { font-weight: 600; color: var(--ink); background: var(--bg); }
.spec-table .row .v { color: var(--ink-soft); font-weight: 300; }
.spec-note {
  margin-top: 32px; padding: 20px 24px; border: 1px dashed var(--hairline-strong);
  color: var(--ink-soft); font-size: 0.92rem; font-weight: 300;
}
.spec-note a { color: var(--blue); font-weight: 500; }
.applications-row { margin-top: clamp(48px, 6vw, 72px); }
.applications-row h3 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 22px; font-weight: 600; }
.applications-row .icons { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 18px; }
.applications-row .icons div { text-align: center; }
.applications-row .ic { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--ink-faint); }
.applications-row .lbl { font-size: 0.8rem; color: var(--ink-soft); font-weight: 500; }
.related-row { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 6vw, 56px); border-top: 1px solid var(--hairline); }

@media (max-width: 880px) {
  nav.links { display: none; }
  .hero-copy { max-width: none; }
  .hero-bg-fade {
    background: linear-gradient(180deg,
      rgba(10, 26, 51, 0.88) 0%,
      rgba(10, 26, 51, 0.82) 45%,
      rgba(10, 26, 51, 0.6) 70%,
      rgba(10, 26, 51, 0.3) 100%);
  }
  .stat-strip .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .commitment .wrap, .two-col { grid-template-columns: 1fr; }
  .facility .wrap { grid-template-columns: 1fr; }
  .facility-frame { max-width: 360px; margin: 0 auto; }
  .facility-copy { max-width: none; text-align: center; }
  .vision-block { border-left: none; border-top: 2px solid rgba(255,255,255,0.2); padding-left: 0; padding-top: 24px; }
  .cat-row { grid-template-columns: 1fr; gap: 10px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero .wrap { grid-template-columns: 1fr; }
  .spec-table .row { grid-template-columns: 140px 1fr; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .stat-strip .wrap { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
}
