/* Extra home page styles from the original index.html inline <style>. */
/* ─────────────────────────────────────────────
   TOKENS
   ───────────────────────────────────────────── */
:root {
  --bg:          #ffffff;
  --bg-alt:      #f6f5f1;
  --ink:         #0f1117;
  --ink-off:     #374151;
  --dim:         #6b7280;
  --dimmer:      #9ca3af;
  --border:      rgba(0, 0, 0, 0.09);
  --border-soft: rgba(0, 0, 0, 0.05);
  --accent:      #4BA8D4;
  --accent-b:    #5BB8DC;
  --pad-x:       60px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Familjen Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.overline {
  font-size: 11px;
  font-weight: 500;
  color: var(--dimmer);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  font-family: 'Familjen Grotesk', sans-serif;
}

/* ─────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  height: 68px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.cta { color: var(--accent); }
.nav-links a.cta:hover { color: var(--accent-b); }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 30px; height: 30px;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: 0.25s; }

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.42) 45%, rgba(0,0,0,0.08) 100%);
}
.hero-inner {
  position: relative; z-index: 10;
  padding: 0 var(--pad-x) 84px;
  width: 100%;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(12px, 1.1vw, 13px);
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  margin-bottom: 22px;
  animation: rise 0.8s ease 0.1s both;
}
.hero-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 7.8vw, 112px);
  line-height: 0.93;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  max-width: 20ch;
  margin-bottom: 28px;
  animation: rise 0.9s ease 0.24s both;
}
.hero-sub {
  max-width: 50ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.72;
  color: rgba(255,255,255,0.68);
  margin-bottom: 42px;
  animation: rise 0.9s ease 0.42s both;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: rise 0.9s ease 0.58s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  padding: 14px 28px;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.22s;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-b); border-color: var(--accent-b); }
.btn-outline { background: transparent; color: rgba(255,255,255,0.82); border-color: rgba(255,255,255,0.32); }
.btn-outline:hover { border-color: rgba(255,255,255,0.70); color: #fff; }

/* video controls */
.video-controls {
  position: absolute; bottom: 28px; right: var(--pad-x); z-index: 20;
  display: flex; gap: 10px;
}
.vc-btn {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.vc-btn:hover { background: rgba(255,255,255,0.22); }

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.34);
}
.scroll-cue .line {
  width: 1px; height: 30px; background: rgba(255,255,255,0.26);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.28} 50%{opacity:.78} }

/* ─────────────────────────────────────────────
   SECTION SCAFFOLD
   ───────────────────────────────────────────── */
.section { border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.section-head { padding: 72px var(--pad-x) 56px; }
.section-head .overline { margin-bottom: 15px; }
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 22ch;
}
.section-lede {
  margin-top: 22px;
  max-width: 66ch;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-off);
  line-height: 1.80;
}

/* ─────────────────────────────────────────────
   MISSION
   ───────────────────────────────────────────── */
.mission-block {
  padding: 72px var(--pad-x) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mission-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mission-left .section-title {
  margin: 0;
}
.mission-statement {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.3vw, 35px);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.mission-statement .accent { color: var(--accent); }
.mission-copy p {
  font-size: clamp(15px, 1.15vw, 16.5px);
  color: var(--ink-off);
  line-height: 1.84;
  margin-bottom: 18px;
}
.mission-copy p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────────
   STAT BAR
   ───────────────────────────────────────────── */
.stat-bar {
  display: grid;
  border-top: 1px solid var(--border);
}
.stat-bar.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat-bar.cols-4 { grid-template-columns: repeat(4, 1fr); }

.stat-cell {
  padding: 48px var(--pad-x);
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stat-cell:last-child { border-right: none; }
.stat-cell::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s;
}
.stat-cell:hover::after { background: var(--accent); }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 5.8vw, 80px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}
.stat-num .u { color: var(--accent); font-size: 0.62em; vertical-align: baseline; }
.stat-label {
  font-size: 11.5px;
  color: var(--dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   MFG BAND
   ───────────────────────────────────────────── */
.mfg-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.mfg-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}
.mfg-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.mfg-image:hover img { transform: scale(1.04); }
.mfg-copy {
  padding: 64px var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
  background: #fff;
}
.section-alt .mfg-copy { background: var(--bg-alt); }
.mfg-copy .overline { margin-bottom: 12px; }
.mfg-copy h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 42px);
  text-transform: uppercase;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 20px;
}
.mfg-copy p {
  font-size: 15.5px;
  color: var(--ink-off);
  line-height: 1.78;
  max-width: 46ch;
}

/* flipped row: copy on left, image on right */
.mfg-band.flip .mfg-copy {
  border-left: none;
  border-right: 1px solid var(--border);
  order: -1;
}

/* ─────────────────────────────────────────────
   SUPPLY CHAIN STACK
   ───────────────────────────────────────────── */
.chain-stack { border-top: 1px solid var(--border); }
.chain-row {
  display: grid;
  grid-template-columns: 72px 1fr 1.6fr;
  align-items: center;
  padding: 28px var(--pad-x);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  position: relative;
}
.chain-row:last-child { border-bottom: none; }
.chain-row:hover { background: var(--bg-alt); }
.chain-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.25s ease;
}
.chain-row:hover::before { width: 3px; }
.cr-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--dimmer);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.chain-row:hover .cr-num { color: var(--accent); }
.cr-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 26px);
  text-transform: uppercase;
  line-height: 1.06;
  color: var(--ink);
  padding-right: 28px;
}
.cr-desc {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.74;
  max-width: 58ch;
}

/* ─────────────────────────────────────────────
   TECHNOLOGY SPEC CARDS
   ───────────────────────────────────────────── */
.spec-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 80px;
}
.spec-card {
  background: #fff;
  padding: 44px 40px;
  transition: background 0.22s;
}
.section-alt .spec-card { background: var(--bg-alt); }
.spec-card:hover { background: var(--bg-alt); }
.section-alt .spec-card:hover { background: #fff; }

.sc-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(75,168,212,0.30);
  padding: 3px 8px;
  margin-bottom: 18px;
}
.sc-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 28px);
  text-transform: uppercase;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 13px;
}
.sc-desc {
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.76;
}

/* ─────────────────────────────────────────────
   COMPANY
   ───────────────────────────────────────────── */
.company-split {
  padding: 72px var(--pad-x) 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.company-split h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 68px);
  text-transform: uppercase;
  line-height: 0.96;
  color: var(--ink);
}
.company-split p {
  font-size: 15.5px;
  color: var(--ink-off);
  line-height: 1.82;
  margin-bottom: 16px;
}
.company-split p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────────
   NEWS
   ───────────────────────────────────────────── */
.news-grid {
  padding: 52px var(--pad-x) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 20px;
}
.news-card {
  border: 1px solid var(--border);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.news-card:hover {
  border-color: rgba(75,168,212,0.40);
  box-shadow: 0 4px 28px rgba(0,0,0,0.06);
}
.news-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.22s;
}
.news-card:hover::after { background: var(--accent); }
.nc-date {
  font-size: 11px;
  color: var(--dimmer);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.nc-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 23px);
  text-transform: uppercase;
  line-height: 1.14;
  color: var(--ink);
}
.nc-desc {
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.72;
  flex: 1;
}
.nc-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  margin-top: 4px;
}
.news-card:hover .nc-link { gap: 10px; }

.news-card-archive {
  border-color: transparent;
}
.news-card-archive:hover {
  border-color: transparent;
  box-shadow: none;
}
.news-card-archive::after,
.news-card-archive:hover::after { background: transparent; }
@media (max-width: 767px) {
  .news-card-archive {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.50);
  padding: 64px var(--pad-x) 28px;
  border-top: 1px solid var(--border);
}
.f-top {
  display: flex;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.f-logo-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.f-logo p {
  max-width: 30ch;
  font-size: 13px;
  color: rgba(255,255,255,0.36);
  line-height: 1.72;
}
.f-nav {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 0 52px;
}
.f-col-head {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  margin-bottom: 14px;
}
.f-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.36);
  padding: 4px 0;
  transition: color 0.18s;
}
.f-col a:hover { color: rgba(255,255,255,0.82); }
.f-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.f-legal { font-size: 12px; color: rgba(255,255,255,0.24); }
.f-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.24);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
}
.f-newsletter {
  padding: 36px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.f-newsletter-copy .f-col-head { margin-bottom: 4px; }
.f-newsletter-copy p {
  font-size: 13px;
  color: rgba(255,255,255,0.36);
  line-height: 1.6;
}
.f-newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}
.f-newsletter-form input[type="email"] {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-right: none;
  color: #fff;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 13.5px;
  padding: 11px 16px;
  width: 240px;
  outline: none;
  transition: border-color 0.2s;
}
.f-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.28); }
.f-newsletter-form input[type="email"]:focus { border-color: var(--accent); }
.f-newsletter-form button {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 11px 20px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.f-newsletter-form button:hover { background: var(--accent-b); border-color: var(--accent-b); }
@media (max-width: 720px) {
  .f-newsletter { flex-direction: column; align-items: flex-start; }
  .f-newsletter-form input[type="email"] { width: 100%; }
  .f-newsletter-form { width: 100%; }
}

/* ─────────────────────────────────────────────
   REVEAL
   ───────────────────────────────────────────── */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-reveal .reveal.in { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad-x: 40px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .mission-block { grid-template-columns: 1fr; gap: 36px; }
  .mfg-band { grid-template-columns: 1fr; }
  .mfg-copy { border-left: none !important; border-right: none !important; border-top: 1px solid var(--border); }
  .mfg-band.flip .mfg-copy { order: 0; }
  .company-split { grid-template-columns: 1fr; gap: 36px; }
  .chain-row { grid-template-columns: 52px 1fr; row-gap: 10px; }
  .cr-desc { grid-column: 1 / -1; }
  .f-nav { grid-template-columns: repeat(2, max-content); gap: 32px 48px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 8px 0;
  }
  .nav-links.open a { width: 100%; padding: 14px var(--pad-x); }
  .nav-links.open a::after { display: none; }
  .nav-toggle { display: flex; }
  .spec-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .stat-bar.cols-4 { grid-template-columns: 1fr 1fr; }
  .stat-bar.cols-3 { grid-template-columns: 1fr; }
  .stat-cell { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: none; }
  .scroll-cue { display: none; }
}
@media (max-width: 460px) {
  :root { --pad-x: 22px; }
  .stat-bar.cols-4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
