/* ============================================================
   Regenix Biosciences — Global stylesheet
   ============================================================ */

:root {
  --navy: #1B3A5C;
  --cerulean: #2EAAC8;
  --cerulean-light: #3CB8D0;
  --green: #6B9E3B;
  --gold: #E5A030;
  --gold-hover: #C88A1F;
  --text: #1B3A5C;
  --text-muted: #7A95AD;
  --bg: #F5FAFE;
  --bg-white: #FFFFFF;
  --border: #DDE7F0;
  --shadow-sm: 0 1px 2px rgba(27, 58, 92, 0.04), 0 2px 8px rgba(27, 58, 92, 0.04);
  --shadow-md: 0 4px 12px rgba(27, 58, 92, 0.06), 0 12px 28px rgba(27, 58, 92, 0.08);
  --shadow-lg: 0 12px 24px rgba(27, 58, 92, 0.08), 0 24px 48px rgba(27, 58, 92, 0.12);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 96px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--cerulean); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(30px, 3.5vw, 40px); line-height: 1.15; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; }
h4 { font-size: 19px; line-height: 1.35; }

p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cerulean);
  margin-bottom: 14px;
}

.muted { color: var(--text-muted); }
.lede  { font-size: 19px; color: #345878; max-width: 64ch; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}
.section--alt { background: var(--bg); }
.section--navy { background: var(--navy); color: #DCE9F4; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--cerulean-light); }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(229, 160, 48, 0.32);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}

.btn-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-on-dark:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--cerulean);
  padding: 10px 0;
  border: none;
  border-radius: 0;
  border-bottom: 1.5px solid var(--cerulean);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--navy); border-bottom-color: var(--navy); }

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Top navigation
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: height;
}
.nav.is-solid {
  height: 64px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(27, 58, 92, 0.04);
}
/* When the page does NOT have a dark hero, default to solid */
.nav.is-default-solid:not(.is-solid) {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--border);
}
/* Shrunk-nav: tighter logo + items */
.nav.is-solid .brand-logo-img { height: 44px; }
.nav.is-solid .nav-links a,
.nav.is-solid .nav-links .nav-trigger { padding: 8px 12px; font-size: 12px; }

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--cerulean));
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-text {
  display: flex; flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.nav.is-on-dark:not(.is-solid) .brand-name { color: #fff; }
.nav.is-on-dark:not(.is-solid) .brand-sub { color: rgba(255,255,255,0.7); }

/* Real logo lockup */
.brand-logo {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  text-decoration: none;
}
.brand-logo-img {
  height: 64px;
  width: auto;
  display: block;
  max-width: 320px;
  object-fit: contain;
  transition:
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.25s ease;
  will-change: height;
}
@media (max-width: 768px) {
  .brand-logo-img { height: 48px; max-width: 240px; }
}

/* On a dark hero (e.g. home page), invert the navy logo to white so it stays readable.
   When the user scrolls and the nav becomes solid white, the filter is removed and
   the logo reverts to its original navy colors. */
.nav.is-on-dark:not(.is-scrolled) .brand-logo-img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 6px;
  flex: 1;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0 12px 0 36px;
}

.nav-item { position: relative; }

.nav-links a,
.nav-links .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border-radius: 6px;
  text-decoration: none;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    font-size 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover,
.nav-links .nav-trigger:hover {
  background: rgba(46, 170, 200, 0.08);
  color: var(--cerulean);
}
.nav-links a.is-active,
.nav-item--group.is-active-group > .nav-trigger {
  color: var(--cerulean);
}

.nav.is-on-dark:not(.is-solid) .nav-links a,
.nav.is-on-dark:not(.is-solid) .nav-links .nav-trigger {
  color: rgba(255, 255, 255, 0.92);
}
.nav.is-on-dark:not(.is-solid) .nav-links a:hover,
.nav.is-on-dark:not(.is-solid) .nav-links .nav-trigger:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Dropdown caret */
.dd-caret {
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.nav-item--group.is-open .dd-caret { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}
/* Invisible bridge above the dropdown — keeps the cursor "inside" the group
   as it travels from the trigger down into the dropdown items.
   Without this bridge, mouseleave fires the moment the cursor crosses the
   trigger's bottom edge, closing the dropdown before the click can land. */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item--group.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--navy);
  background: transparent;
  white-space: normal;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  font-size: 14px;
}
.nav-dropdown a:hover {
  background: rgba(46, 170, 200, 0.08);
  color: var(--cerulean);
}
.nav-dropdown a.is-active {
  background: rgba(46, 170, 200, 0.06);
}
.nav-dropdown .dd-label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin-bottom: 2px;
}
.nav-dropdown .dd-desc {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.35;
  font-weight: 400;
}
/* On dark hero, the dropdown panel itself stays light */
.nav.is-on-dark:not(.is-solid) .nav-dropdown a { color: var(--navy); }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 1px;
}
.nav.is-on-dark:not(.is-solid) .nav-toggle span { background: #fff; }

/* Mobile: < 1100px */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { justify-content: space-between; }

  .nav.is-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: #fff; padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 2px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav.is-open .nav-links a,
  .nav.is-open .nav-links .nav-trigger {
    color: var(--navy);
    padding: 12px 8px;
    font-size: 16px;
    width: 100%;
    justify-content: space-between;
  }
  .nav.is-open .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 8px 12px;
    min-width: 0;
    display: none;
  }
  .nav.is-open .nav-item--group.is-open .nav-dropdown { display: block; }
  .nav.is-open .nav-dropdown a {
    padding: 10px 8px;
    font-size: 15px;
  }
  .nav.is-open .nav-dropdown .dd-desc { display: none; }
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--navy);
  color: #B7CBDC;
  padding: 80px 0 28px;
  font-size: 14.5px;
}
.footer h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col p { margin: 0 0 12px; line-height: 1.6; color: #B7CBDC; }
.footer-col a { color: #B7CBDC; display: block; padding: 6px 0; font-size: 14.5px; }
.footer-col a:hover { color: var(--cerulean-light); }
.footer-brand .brand-mark {
  width: 44px; height: 44px; font-size: 20px;
}
.footer-brand .brand-name { color: #fff; font-size: 18px; }
.footer-brand .brand-sub  { color: rgba(255,255,255,0.6); }

/* Footer logo on navy: white card backing for readability */
.brand-logo-footer { display: inline-flex; padding: 0; background: transparent; box-shadow: none; }
.brand-logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.brand-logo-plate img {
  height: 48px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .brand-logo-plate { padding: 8px 12px; }
  .brand-logo-plate img { height: 40px; max-width: 220px; }
}
.footer-contact-line {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 14px; line-height: 1.55;
  margin-bottom: 8px;
  color: #B7CBDC;
}
.footer-contact-line svg { flex-shrink: 0; margin-top: 3px; opacity: 0.7; }
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 18px;
  font-size: 13px; color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-disclaimer {
  max-width: 640px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.footer-socials { display: flex; gap: 12px; margin-top: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  padding: 0;
  color: #B7CBDC;
}
.footer-socials a:hover { background: var(--cerulean); color: #fff; }

/* ============================================================
   Generic page hero (non-home pages)
   ============================================================ */

.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: linear-gradient(180deg, #EAF4FB 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 0 0 16px; }
.page-hero .crumbs {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero .crumbs a { color: var(--text-muted); }
.page-hero .crumbs a:hover { color: var(--cerulean); }
.page-hero .lede { max-width: 70ch; }

/* ============================================================
   Cards
   ============================================================ */

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #C9DBEA;
}
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p  { font-size: 15px; color: #4A6680; margin: 0; }
.card-footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
}

/* ============================================================
   Placeholder image (striped SVG with mono label)
   ============================================================ */

.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      #E5EFF7 0 14px,
      #DDE9F2 14px 28px);
  display: grid; place-items: center;
  color: #5C7A95;
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}
.ph::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.5), transparent 60%);
  pointer-events: none;
}
.ph span {
  position: relative;
  background: rgba(245, 250, 254, 0.85);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(122, 149, 173, 0.25);
  max-width: 80%;
}
.ph--dark {
  background:
    repeating-linear-gradient(135deg,
      #1F4267 0 14px,
      #1A3956 14px 28px);
  color: #B7CBDC;
}
.ph--dark span {
  background: rgba(27, 58, 92, 0.6);
  border-color: rgba(255,255,255,0.15);
}

/* Real product photo replacing .ph placeholder */
.product-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(180deg,#F0F6FB,#E5EFF7);
}
.product-card .product-photo {
  border-bottom: 1px solid var(--border);
}
.product-photo--hero {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(27,58,92,0.10);
  background: linear-gradient(180deg,#F0F6FB,#E5EFF7);
}

/* ============================================================
   Tags / chips
   ============================================================ */

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #EAF4FB;
  color: var(--navy);
  border: 1px solid #D2E4F0;
}
.chip--green { background: #EBF4DD; color: #4F7A24; border-color: #D5E6BC; }
.chip--gold  { background: #FAEDD2; color: #8E5C13; border-color: #F0DBAB; }
.chip--cerulean { background: #DCF1F6; color: #1A6E83; border-color: #BBE2EB; }
.chip--muted { background: #ECF1F6; color: #4A6680; border-color: var(--border); }

.chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */

html { scroll-behavior: smooth; }

.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Direction variants — opt in by adding .reveal-left / .reveal-right / .reveal-zoom */
.reveal.reveal-left  { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.reveal-zoom  { transform: scale(0.92); }
.reveal.reveal-left.is-visible,
.reveal.reveal-right.is-visible,
.reveal.reveal-zoom.is-visible { transform: translate(0,0) scale(1); }

/* Staggered children — when a .reveal container holds a grid of cards, each child
   gets a small additional delay so they enter one after another */
.reveal.is-visible > .grid > *,
.reveal.is-visible > .cap-grid > *,
.reveal.is-visible > .stat-row > *,
.reveal.is-visible > .country-chips > *,
.reveal.is-visible > .vp-grid > * {
  animation: stagger-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.reveal.is-visible > .grid > *:nth-child(1),
.reveal.is-visible > .cap-grid > *:nth-child(1) { animation-delay: 0.05s; }
.reveal.is-visible > .grid > *:nth-child(2),
.reveal.is-visible > .cap-grid > *:nth-child(2) { animation-delay: 0.12s; }
.reveal.is-visible > .grid > *:nth-child(3),
.reveal.is-visible > .cap-grid > *:nth-child(3) { animation-delay: 0.19s; }
.reveal.is-visible > .grid > *:nth-child(4),
.reveal.is-visible > .cap-grid > *:nth-child(4) { animation-delay: 0.26s; }
.reveal.is-visible > .grid > *:nth-child(5),
.reveal.is-visible > .cap-grid > *:nth-child(5) { animation-delay: 0.33s; }
.reveal.is-visible > .grid > *:nth-child(6),
.reveal.is-visible > .cap-grid > *:nth-child(6) { animation-delay: 0.40s; }
.reveal.is-visible > .grid > *:nth-child(7) { animation-delay: 0.47s; }
.reveal.is-visible > .grid > *:nth-child(8) { animation-delay: 0.54s; }
.reveal.is-visible > .grid > *:nth-child(n+9) { animation-delay: 0.6s; }

@keyframes stagger-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ============================================================
   Scroll progress bar (top of page)
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--cerulean) 0%, var(--cerulean-light) 100%);
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(46, 170, 200, 0.4);
  transition: width 0.1s linear;
}

/* ============================================================
   Nav scroll-state — fades nav background in when scrolled past hero
   ============================================================ */
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(27, 58, 92, 0.08);
}
.nav.is-on-dark.is-scrolled .nav-links a { color: var(--navy); }
.nav.is-on-dark.is-scrolled .nav-links a.is-active { color: var(--cerulean); }
.nav.is-on-dark.is-scrolled .brand-logo-img { /* logo on white now, no special treatment needed */ }

/* ============================================================
   Reduced-motion override
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal.is-visible,
  .reveal.is-visible > .grid > *,
  .reveal.is-visible > .cap-grid > *,
  .reveal.is-visible > .stat-row > *,
  .reveal.is-visible > .country-chips > *,
  .reveal.is-visible > .vp-grid > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .scroll-progress { display: none; }
}

/* ============================================================
   Utility
   ============================================================ */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

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

/* ============================================================
   Facility video module (Manufacturing page)
   ============================================================ */
.facility-video-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.facility-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}
.facility-video-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
@media (max-width: 580px) {
  .facility-video-wrap { border-radius: var(--radius); }
}

/* Page-specific overrides loaded after this file */
