/* =========================================================
   SEEK LABS — shared.css
   Cross-page: tokens, reset, header, nav, footer, utilities
   ========================================================= */

/* --- DESIGN TOKENS --- */
:root {
  --teal: #0072CE;
  --teal-light: #3A9FE8;
  --teal-dark: #005AA0;
  --amber: #C46B3A;
  --amber-light: #D4875A;
  --cream: #F7F9FC;
  --cream-dark: #E2E8F0;
  --ink: #1A1E26;
  --ink-light: #3A3F4A;
  --ink-muted: #6B7280;
  --white: #FFFFFF;
  --dark-bg: #1E2A3A;
  --dark-surface: #243347;
  --dark-border: rgba(255,255,255,0.10);

  --font-display: 'Cabinet Grotesk', system-ui, sans-serif;
  --font-body: 'General Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --max-width: 1200px;
  --max-width-narrow: 720px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
/* overflow-x: clip (not hidden) — clips horizontal overflow without creating a scroll container.
   Using 'hidden' on html or body breaks GSAP ScrollTrigger by changing the scroll reference. */
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.sr-only:focus {
  position: static; width: auto; height: auto;
  padding: 8px 16px; margin: 0; clip: auto;
  white-space: normal; background: var(--white); color: var(--ink);
}

/* --- CONTAINERS --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 var(--space-6); }

/* --- SECTION DEFAULTS --- */
.section { padding: clamp(var(--space-20), 10vw, var(--space-32)) 0; }
/* Zero out any WordPress-generated block gap on our custom sections.
   blockGap is set to 0 in theme.json; this is a belt-and-suspenders fallback
   in case WordPress regenerates it. Our .section padding already handles spacing. */
.section { margin-block-start: 0 !important; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-3);
  font-weight: 500;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--ink);
  margin-bottom: var(--space-4);
}
.section-desc {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 56ch;
  line-height: 1.65;
}

/* =========================================================
   SITE TOP — wraps utility bar + main header, fixed together
   ========================================================= */
.site-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
}

/* =========================================================
   UTILITY BAR — thin dark bar above main nav (Investors/Careers)
   ========================================================= */
.utility-bar {
  background: #0F1820;
  color: rgba(255,255,255,0.72);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.utility-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: var(--space-5);
}
.utility-link {
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  padding: 2px 0;
  transition: color var(--transition-interactive);
  position: relative;
}
.utility-link:hover { color: var(--white); }
.utility-link + .utility-link { border-left: 1px solid rgba(255,255,255,0.14); padding-left: var(--space-5); }

/* Utility bar — INVESTIGATIONAL notice (left side) */
.utility-investigational {
  display: none;
  align-items: center;
  gap: 0.5em;
  font-size: 0.75rem;
}
body.page-template-page-therapeutics .utility-investigational--tx { display: flex; }
body.page-template-page-diagnostics .utility-investigational--dx { display: flex; }
.utility-investigational-badge {
  background: #f59e0b;
  color: #0a0f18;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
}
.utility-investigational-text {
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
}
.utility-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto !important;
}

/* Utility bar — social icons (LinkedIn / X / Instagram) */
.utility-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: var(--space-4);
  padding-left: var(--space-5);
  border-left: 1px solid rgba(255,255,255,0.14);
}
.utility-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: rgba(255,255,255,0.72);
  transition: color var(--transition-interactive);
}
.utility-social-link:hover { color: var(--white); }
.utility-social-link svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* Investigational status indicator inside the utility bar */
.utility-status {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  padding: 2px 0;
  transition: color var(--transition-interactive);
}
.utility-status:hover { color: var(--white); }
.utility-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E0B341;
  box-shadow: 0 0 0 2px rgba(224, 179, 65, 0.18);
}
.utility-status-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #E0B341;
}
.utility-status-text {
  color: rgba(255,255,255,0.62);
  font-size: 0.72rem;
}
@media (max-width: 720px) {
  .utility-status-text { display: none; }
}

/* =========================================================
   HEADER — fixed, transparent on dark hero → solid on scroll
   ========================================================= */
.header {
  position: relative;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
/* When the site-top is the parent, header positioning is handled by site-top */
.site-top .header { position: relative; }
/* Legacy fallback when header is not inside site-top */
header.header:not(.site-top .header) {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.header.scrolled,
.header.is-scrolled,
.header--scrolled {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo { display: flex; align-items: center; position: relative; }
.logo-img { height: 28px; width: auto; transition: opacity 0.3s var(--ease-out); }
.logo-light { opacity: 1; position: relative; }
.logo-dark { position: absolute; top: 0; left: 0; opacity: 0; }

/* WordPress wp:site-logo block renders <img class="custom-logo"> inside
   <div class="logo wp-block-site-logo">. Constrain it the same way the
   static site constrained .logo-img. */
.header .wp-block-site-logo,
.site-top .wp-block-site-logo { line-height: 0; flex: 0 0 auto; }
.header .wp-block-site-logo img,
.header .custom-logo,
.site-top .wp-block-site-logo img,
.site-top .custom-logo {
  height: 28px !important;
  width: auto !important;
  max-width: none;
  display: block;
}
.footer .wp-block-site-logo img,
.footer .custom-logo {
  height: 24px !important;
  width: auto !important;
  max-width: 160px;
  display: block;
}
.header.scrolled .logo-light,
.header.is-scrolled .logo-light,
.header--scrolled .logo-light { opacity: 0; }
.header.scrolled .logo-dark,
.header.is-scrolled .logo-dark,
.header--scrolled .logo-dark { opacity: 1; }

/* Desktop nav */
.nav-desktop { display: flex; align-items: center; gap: var(--space-6); }
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition-interactive);
  padding: var(--space-1) 0;
  position: relative;
}
.header.scrolled .nav-link,
.header.is-scrolled .nav-link,
.header--scrolled .nav-link { color: var(--ink-light); }
.nav-link:hover { color: var(--white); }
.header.scrolled .nav-link:hover,
.header.is-scrolled .nav-link:hover,
.header--scrolled .nav-link:hover { color: var(--teal); }

/* Active page indicator */
.nav-link.is-active,
.nav-link[aria-current="page"] {
  color: var(--white);
}
.nav-link.is-active::after,
.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}
.header.scrolled .nav-link.is-active,
.header.is-scrolled .nav-link.is-active,
.header--scrolled .nav-link.is-active,
.header.scrolled .nav-link[aria-current="page"],
.header.is-scrolled .nav-link[aria-current="page"],
.header--scrolled .nav-link[aria-current="page"] {
  color: var(--teal);
}

/* data-page auto-active: highlight nav link matching current page */
body[data-page="home"] .nav-link[data-nav="home"],
body[data-page="diagnostics"] .nav-link[data-nav="diagnostics"],
body[data-page="therapeutics"] .nav-link[data-nav="therapeutics"],
body[data-page="about"] .nav-link[data-nav="about"],
body[data-page="news"] .nav-link[data-nav="news"],
body[data-page="contact"] .nav-link[data-nav="contact"],
body[data-page="investors"] .nav-link[data-nav="investors"],
body[data-page="careers"] .nav-link[data-nav="careers"] {
  color: var(--white);
}
body[data-page="home"] .nav-link[data-nav="home"]::after,
body[data-page="diagnostics"] .nav-link[data-nav="diagnostics"]::after,
body[data-page="therapeutics"] .nav-link[data-nav="therapeutics"]::after,
body[data-page="about"] .nav-link[data-nav="about"]::after,
body[data-page="news"] .nav-link[data-nav="news"]::after,
body[data-page="contact"] .nav-link[data-nav="contact"]::after,
body[data-page="investors"] .nav-link[data-nav="investors"]::after,
body[data-page="careers"] .nav-link[data-nav="careers"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

/* CTA pill (Partner With Us) is its own active state — suppress the underline */
.nav-link.btn-nav::after,
.nav-link.btn-nav.is-active::after,
.nav-link.btn-nav[aria-current="page"]::after,
body[data-page="contact"] .nav-link.btn-nav[data-nav="contact"]::after {
  content: none !important;
  display: none !important;
}
body[data-page="home"] .header.scrolled .nav-link[data-nav="home"],
body[data-page="diagnostics"] .header.scrolled .nav-link[data-nav="diagnostics"],
body[data-page="therapeutics"] .header.scrolled .nav-link[data-nav="therapeutics"],
body[data-page="about"] .header.scrolled .nav-link[data-nav="about"],
body[data-page="news"] .header.scrolled .nav-link[data-nav="news"],
body[data-page="contact"] .header.scrolled .nav-link[data-nav="contact"],
body[data-page="investors"] .header.scrolled .nav-link[data-nav="investors"],
body[data-page="home"] .header.is-scrolled .nav-link[data-nav="home"],
body[data-page="diagnostics"] .header.is-scrolled .nav-link[data-nav="diagnostics"],
body[data-page="therapeutics"] .header.is-scrolled .nav-link[data-nav="therapeutics"],
body[data-page="about"] .header.is-scrolled .nav-link[data-nav="about"],
body[data-page="news"] .header.is-scrolled .nav-link[data-nav="news"],
body[data-page="contact"] .header.is-scrolled .nav-link[data-nav="contact"],
body[data-page="investors"] .header.is-scrolled .nav-link[data-nav="investors"],
body[data-page="careers"] .header.scrolled .nav-link[data-nav="careers"],
body[data-page="careers"] .header.is-scrolled .nav-link[data-nav="careers"] {
  color: var(--teal);
}

/* Nav CTA */
.btn-nav {
  background: var(--teal);
  color: var(--white) !important;
  padding: var(--space-2) var(--space-5);
  border-radius: 8px;
  font-weight: 600;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}
.btn-nav:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background var(--transition-interactive), color var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-secondary {
  background: var(--ink);
  color: var(--white);
}
.btn-secondary:hover { background: var(--ink-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--cream-dark);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* Ghost button — applied directly on the <a> element (btn btn-ghost on the link)
   Override theme.json's ink-bg + 999px pill defaults. */
.wp-block-button__link.btn-ghost,
a.btn-ghost {
  background: rgba(255,255,255,0.06) !important;
  color: rgba(255,255,255,0.9) !important;
  border: 1.5px solid rgba(255,255,255,0.35) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.wp-block-button__link.btn-ghost:hover,
a.btn-ghost:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.6) !important;
  color: var(--white) !important;
}

/* =========================================================
   MOBILE MENU
   ========================================================= */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: var(--space-2);
  min-width: 44px;
  min-height: 44px;
  z-index: 110;
}
.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.header.scrolled .mobile-menu-btn span,
.header.is-scrolled .mobile-menu-btn span,
.header--scrolled .mobile-menu-btn span { background: var(--ink); }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu-btn.active span { background: var(--ink) !important; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out);
}
.mobile-nav.open,
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav-inner { text-align: center; }
.mobile-nav-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-3);
}
.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  padding: var(--space-3) 0;
  transition: color var(--transition-interactive);
}
.mobile-nav-link:hover { color: var(--teal); }
.mobile-nav-link.is-active { color: var(--teal); }
.mobile-nav-divider { width: 40px; height: 1px; background: var(--cream-dark); margin: var(--space-4) auto; }
.mobile-nav-cta { color: var(--teal) !important; }

/* =========================================================
   FOOTER
   ========================================================= */
/* Footer base — colors handled by style.css (light theme to match static design).
   shared.css only sets layout-level rules so style.css can own the color theme. */
.footer .container { max-width: var(--max-width); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

/* Footer — Follow column with social icons + label
   Color/hover are intentionally NOT set here so each page's existing
   .footer-col a rules (dark-on-white in style.css, light-on-dark in
   shared.css) control the link color naturally. We only handle layout. */
.footer-col--follow .footer-social-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  width: fit-content;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: inherit;
}
.footer-social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-brand .logo-img {
  margin-bottom: var(--space-2);
  height: 24px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.footer-tagline { line-height: 1.6; max-width: 28ch; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-6);
}
.footer-disclaimer p { max-width: 1100px; }
.footer-legal { display: flex; gap: var(--space-6); }

/* Newsletter form in footer */
.footer-newsletter {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.footer-newsletter-input {
  flex: 1;
  min-width: 0;
  padding: var(--space-2) var(--space-3);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}
.footer-newsletter-input::placeholder {
  color: rgba(255,255,255,0.4);
}
.footer-newsletter-input:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,0.12);
}
.footer-newsletter-btn {
  padding: var(--space-2) var(--space-4);
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}
.footer-newsletter-btn:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}
.footer-newsletter-btn:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .footer-newsletter {
    flex-direction: column;
  }
  .footer-newsletter-btn {
    width: 100%;
  }
}

/* Footer follow list — logo + text, stacked nav-style */
.footer-follow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-follow-list a {
  display: flex !important;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.65) !important;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0 !important;
  transition: color var(--transition-interactive);
}
.footer-follow-list a:hover { color: #fff; }
.footer-follow-list svg { flex-shrink: 0; opacity: 0.75; }
.footer-follow-list a:hover svg { opacity: 1; }

/* MC4WP form in footer — stacked layout for proper spacing */
.footer-col--newsletter .mc4wp-form { margin-top: var(--space-2); }
.footer-col--newsletter .mc4wp-form-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: stretch;
}
.footer-col--newsletter .mc4wp-form-fields p { margin: 0; flex: 1; min-width: 0; }
.footer-col--newsletter .mc4wp-form input[type="email"] {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}
.footer-col--newsletter .mc4wp-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.footer-col--newsletter .mc4wp-form input[type="email"]:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,0.12);
}
.footer-col--newsletter .mc4wp-form input[type="submit"] {
  padding: var(--space-2) var(--space-4);
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}
.footer-col--newsletter .mc4wp-form input[type="submit"]:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}
.footer-col--newsletter .mc4wp-response { font-size: 0.82rem; margin-top: var(--space-2); color: rgba(255,255,255,0.7); }
.footer-col--newsletter .mc4wp-response .mc4wp-alert-success { color: var(--teal-light); }
.footer-col--newsletter .mc4wp-response .mc4wp-alert-error { color: #ff8080; }

@media (max-width: 480px) {
  .footer-col--newsletter .mc4wp-form input[type="submit"] { width: 100%; }
}

/* =========================================================
   UTILITIES
   ========================================================= */
.text-mono { font-family: var(--font-mono); }
.text-muted { color: var(--ink-muted); }
.text-teal { color: var(--teal); }
.text-center { text-align: center; }

/* Focus visible */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: flex; }
  .utility-bar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .footer-col--follow a.footer-social-link { font-size: 0.9rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Footer IP / trademark / patents line */
.footer-ip {
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 var(--space-2) 0;
  max-width: 1100px;
}

/* Top-of-page investigational status banner (Therapeutics, Diagnostics).
   Mirrors the investor securities banner pattern; sits above the hero.
   Includes margin-top to clear the fixed .site-top header on initial load. */
/* Investigational status lives in the utility bar; no standalone banner needed.
   Hero pages (Therapeutics, Diagnostics) extend their dark color up behind
   the transparent nav. The hero content needs top padding so its overline /
   title clears the fixed header (utility bar ~32px + main nav ~66px ~= 98px)
   plus breathing room. */
body[data-page="therapeutics"] .hero {
  padding-top: 160px;
}
body[data-page="diagnostics"] .dx-hero {
  padding-top: 160px;
}

/* -- Footer · BioHive Utah supporter badge -- */
.footer-biohive {
  display: inline-block;
  margin-top: 16px;
  line-height: 0;
  opacity: 0.85;
  transition: opacity 0.18s ease;
  width: fit-content;
}
.footer-biohive:hover { opacity: 1; }
.footer-biohive-img {
  display: block;
  width: 160px;
  height: auto;
  max-width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.55;
}
.footer-biohive:hover .footer-biohive-img {
  opacity: 0.85;
}
@media (max-width: 640px) {
  .footer-biohive-img { width: 150px; }
}

/* ============================================================
   GLOBAL EYEBROW / MONO LABEL READABILITY PASS
   The all-caps mono labels carry critical context (WHAT'S MISSING,
   THE PROOF POINT, WHY NOW, BENEFITS, TIMELINE, etc.) but read
   too small + too light to register. Bump size, weight, and contrast
   across every page.
   ============================================================ */

.section-label,
.section-label-light,
.tx-arc-proof-label,
.tx-arc-step-num,
.tx-meet-card-num,
.tx-meet-card-tag,
.tx-meet-card-mark,
.tx-approach-step-num,
.tx-approach-step-tag,
.tx-taking-on-mark,
.tx-howbuilt-step-num,
.bio-step-num,
.bio-step-tag,
.bio-output-use,
.bio-safety-tag,
.bio-why-point-tag,
.bio-screenshot-caption,
.inv-why-label,
.dx-step-num,
.dx-step-tag,
.dx-arc-proof-label,
.mech-bio-narration-eyebrow,
.sat-anim-step-num,
.milestone-year,
.utility-status-text {
  font-size: 0.875rem !important;   /* 14px — was 12px / 0.75rem */
  font-weight: 600 !important;       /* was 500 */
  letter-spacing: 0.14em !important; /* dialed back from 0.18 since heavier */
}

/* Eyebrow specifically: a touch larger when it's the entry to a section */
.section-label,
.section-label-light {
  font-size: 0.9375rem !important;   /* 15px */
  letter-spacing: 0.13em !important;
}

/* Stronger contrast on dark sections */
.section-label-light,
.tx-arc-proof-label,
.dx-arc-proof-label,
.inv-why-label,
.bio-output-use,
.mech-bio-narration-eyebrow {
  color: var(--teal-light, #3A9FE8) !important;
}

/* Big numeric eyebrows (01, 02, 03 over cards) get a step up too —
   they were 14px in cramped card grids and disappeared. */
.tx-arc-step-num,
.tx-meet-card-num,
.tx-approach-step-num,
.tx-howbuilt-step-num,
.bio-step-num,
.dx-step-num,
.sat-anim-step-num {
  font-size: 1rem !important;        /* 16px */
}

/* =========================================================
   FOLLOW CTA BUTTONS — used in "Stay connected / Follow our
   progress." sections on news.html, careers.html, contact.html.
   Without this rule the inline SVGs render at intrinsic browser
   size and blow out the page.
   ========================================================= */
.follow-cta-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 var(--space-5);
}
.btn-follow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(11, 30, 63, 0.16);
  background: var(--white, #ffffff);
  color: #0B1E3F;
  font-family: 'General Sans', var(--font-body), system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1;
  transition: background var(--transition-interactive), color var(--transition-interactive), border-color var(--transition-interactive), transform var(--transition-interactive);
}
.btn-follow:hover {
  background: #0B1E3F;
  color: var(--white, #ffffff);
  border-color: #0B1E3F;
  transform: translateY(-1px);
}
.btn-follow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.btn-follow-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.btn-follow--linkedin { /* hooks for per-platform tweaks if needed */ }
.btn-follow--instagram { /* hooks for per-platform tweaks if needed */ }
.btn-follow--x { /* hooks for per-platform tweaks if needed */ }
.follow-cta-or {
  margin: 0 0 var(--space-4);
  font-family: 'General Sans', var(--font-body), system-ui, sans-serif;
  font-size: 0.95rem;
  color: rgba(11, 30, 63, 0.55);
  text-transform: lowercase;
}

/* ---- Page sub-nav: dx-page-nav-inner acts as .container ----
   All subnav patterns use .dx-page-nav-inner but the original CSS
   targeted .dx-page-nav .container. This makes both selectors equivalent. */
.dx-page-nav .dx-page-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: baseline;
  gap: var(--space-8, 32px);
}
@media (max-width: 760px) {
  .dx-page-nav .dx-page-nav-inner { flex-direction: column; gap: 0; padding-bottom: 8px; }
}

/* =========================================================
   Hero entrance animation — used by Home, Dx, BioSeeker
   (Tx uses GSAP for the same effect)
   ========================================================= */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Seek System / Flywheel section
   Moved here from homepage.css so it renders on BioSeeker
   and any other page the section is placed on.
   ========================================================= */
.flywheel {
  background: var(--home-navy, #0B1B26);
  padding: clamp(80px, 10vw, 130px) 0;
  color: #F7F9FC;
}
.flywheel-inner { display: block !important; }
.flywheel .section-label { color: rgba(0, 114, 206, 0.9); }
.flywheel .section-title {
  color: #F7F9FC;
  max-width: 30ch;
  margin-bottom: 20px;
}
.flywheel-lede {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(247, 249, 252, 0.65);
  margin: 0 0 40px;
  max-width: 64ch;
}
.flywheel-punch {
  color: rgba(247, 249, 252, 0.9);
  font-weight: 600;
}
.flywheel-diagram { display: none !important; }

.flywheel-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.flywheel-steps li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 32px 32px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
}
.flywheel-steps li:last-child { border-right: none; padding-right: 0; }
.flywheel-steps li + li { padding-left: 32px; }
.flywheel-steps li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -14px; top: 38px;
  font-size: 16px;
  color: rgba(0, 114, 206, 0.6);
  line-height: 1;
  pointer-events: none;
}
.flywheel-steps li:last-child::after {
  content: '↺';
  position: absolute;
  right: -4px; top: 36px;
  font-size: 22px;
  color: rgba(0, 114, 206, 0.8);
  font-weight: 700;
}
.flywheel-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #0072CE;
  font-weight: 700;
}
.flywheel-step-label {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 700;
  color: #F7F9FC;
  white-space: normal;
  line-height: 1.2;
}
.flywheel-step-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(247, 249, 252, 0.55);
}
@media (max-width: 900px) {
  .flywheel-steps {
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .flywheel-steps li {
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 24px 24px 24px 0;
  }
  .flywheel-steps li:nth-child(even) { padding-left: 24px; border-right: none; }
  .flywheel-steps li::after { display: none; }
}
@media (max-width: 560px) {
  .flywheel-steps { grid-template-columns: 1fr; }
  .flywheel-steps li { padding: 20px 0; border-right: none; }
  .flywheel-steps li + li { padding-left: 0; }
}

/* =========================================================
   Why Now section — shared across Home, Investors
   ========================================================= */
.why-now-section,
.why-now {
  background: var(--home-navy, #0B1B26);
  padding: clamp(80px, 10vw, 130px) 0;
  color: #F7F9FC;
}
.why-now-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #F7F9FC;
  max-width: 28ch;
  line-height: 1.1;
  margin: 16px 0 48px;
}
.why-now-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 40px;
}
.why-now-grid li { display: flex; flex-direction: column; gap: 12px; }
.why-now-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #0072CE;
  font-weight: 700;
  margin: 0;
}
.why-now-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(247, 249, 252, 0.65);
  margin: 0;
}
@media (max-width: 700px) {
  .why-now-grid { grid-template-columns: 1fr; gap: 32px; }
}
