/* ==========================================================================
   COOSA MEDITECH — SURGICAL ROBOTICS DESIGN TOKENS (STAGE 1)
   Reference Standards: Intuitive da Vinci OS / Neuralink Telemetry Standard
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* --- 1. SURGICAL NEUTRAL FOUNDATION (Eliminates Cyan Fatigue) --- */
  --obsidian-base: #04070c;
  /* Sterile OR deep black */
  --obsidian-surface: #070d14;
  /* Telemetry background */
  --obsidian-elevated: #0c1622;
  /* Card background */
  --obsidian-border: #142334;
  /* Primary structural line */

  --clinical-white: #f8fafc;
  /* High-purity white background */
  --clinical-surface: #f1f5f9;
  /* Off-white resting panel */
  --clinical-border: rgba(15, 23, 42, 0.08);
  /* 1px hairline border */

  /* --- 2. BIOLUMINESCENT PHOTON ACCENTS (Focal Telemetry Only) --- */
  --photon-cyan: #00f2fe;
  /* Active ROS catalytic emission */
  --photon-cyan-glow: rgba(0, 242, 254, 0.35);
  --photon-teal-deep: #0077b6;
  /* High-contrast structural teal */
  --photon-amber: #ffaa00;
  /* Transient tissue redox surge */
  --photon-emerald: #10b981;
  /* Margin cleared / Concordant */

  /* --- 3. HARDENED WCAG 2.1 AA TEXT TOKENS --- */
  --text-pure: #ffffff;
  --text-primary: #0a1926;
  /* Deep surgical slate (Over light canvas) */
  --text-secondary: #334e68;
  /* Mid clinical blue-gray */
  --text-muted: #486581;
  /* 5.2:1 contrast ratio over clinical canvas */
  --text-inverse-muted: #829ab1;
  /* Legible micro-labels on dark panels */

  /* --- 4. OPTICAL FLUID TYPOGRAPHY SCALE --- */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, monospace;

  --text-display: clamp(2.4rem, 4.5vw, 4.2rem);
  --text-h1: clamp(2rem, 3.2vw, 3.2rem);
  --text-h2: clamp(1.5rem, 2.2vw, 2.25rem);
  --text-h3: clamp(1.2rem, 1.5vw, 1.5rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.72rem;

  /* --- 5. MULTI-TIERED OPTICAL DEPTH STACKS (Physics-Based Shadows) --- */
  --shadow-ambient-sm:
    0 1px 2px rgba(4, 7, 12, 0.06),
    0 3px 8px rgba(4, 7, 12, 0.08);
  --shadow-ambient-md:
    0 2px 4px rgba(4, 7, 12, 0.04),
    0 8px 24px rgba(4, 7, 12, 0.12),
    0 20px 40px rgba(0, 54, 87, 0.08);
  --shadow-specular-dark:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 16px 36px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(0, 242, 254, 0.06);

  /* --- 6. SUB-PIXEL HAIRLINE DEFINITIONS --- */
  --hairline-dark: 1px solid rgba(0, 242, 254, 0.16);
  --hairline-light: 1px solid rgba(0, 119, 182, 0.18);
  --specular-rim: inset 0 1px 0 0 rgba(255, 255, 255, 0.15);

  /* --- 7. PLATFORM CONTINUITY ALIASES --- */
  --header-height: 92px;
  --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
  --card-radius: 14px;
  --font-stack: var(--font-sans);
  --color-teal: var(--photon-teal-deep);
  --color-turquoise: #00b4d8;
  --color-frosted: #90e0ef;
  --color-cyan-light: #caf0f8;
  --surface-canvas: var(--clinical-white);
  --surface-card: #ffffff;
  --surface-elevated: var(--clinical-surface);
  --surface-glass: rgba(202, 240, 248, 0.88);
  --card-border: var(--clinical-border);
  --text-inverse: var(--text-pure);
  --status-success: var(--photon-emerald);
  --status-warning: var(--photon-amber);
  --status-alert: #dc2626;
  /* --- 8. PROCEDURAL OPTICAL GROUND-GLASS NOISE TOKEN (Stage 4) --- */
  --optical-noise-pattern: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.045'/%3E%3C/svg%3E");
}

/* Global High-Contrast WCAG 2.1 AA Accessible Focus-Visible Ring */
:focus-visible {
  outline: 2px solid var(--color-turquoise) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.28) !important;
  transition: outline-offset 140ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  background-color: var(--clinical-white);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* Base Typographic Rendering Engine */
body {
  font-family: var(--font-sans);
  background-color: var(--clinical-white);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Machined Optical Kerning on Large Display Titles */
h1,
h2,
h3,
.hero-title,
.section-title,
.chapter-title {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.038em;
  /* Tightens aperture gap on large scales */
  line-height: 1.1;
  font-feature-settings: "cv02" on, "cv03" on, "cv04" on, "cv11" on;
}

.hero-title {
  font-size: var(--text-display);
  letter-spacing: -0.045em;
  font-weight: 800;
}

.section-title {
  font-size: var(--text-h2);
}

/* Monospaced Precision Numbers & Telemetry */
.font-mono,
.hud-mono-tag,
.hud-num,
.spec-value {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1, "zero" 1;
  /* Tabular lining: numbers never shake on update */
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
}

/* Micro-Labels & Meta Badges (Military/Surgical Precision) */
.sub-label,
.badge,
.hud-freq-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  /* Expands optical breathing on small caps */
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Accessible Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   STICKY ENTERPRISE HEADER (FROSTED WATER GLASS WITH TEAL ACCENTS)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 82px;
  background: linear-gradient(135deg, rgba(214, 235, 249, 0.96) 0%, rgba(198, 227, 247, 0.96) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(0, 150, 214, 0.28);
  box-shadow: 0 4px 20px rgba(0, 70, 115, 0.10);
  z-index: 1000;
  display: block;
  transition: min-height 240ms cubic-bezier(0.16, 1, 0.3, 1),
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.header-container {
  position: relative;
  width: 100%;
  max-width: 1440px;
  min-height: 82px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: min-height 240ms cubic-bezier(0.16, 1, 0.3, 1), padding 240ms ease;
}

.brand-identity {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  z-index: 2;
}

.brand-logo-img {
  width: 174px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  filter: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-grow: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.28rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0b3954;
  text-decoration: none;
  border-radius: 8px;
  transition: all 200ms var(--ease-fluid);
  white-space: nowrap;
}

.nav-link:hover {
  color: #0077b6;
  background-color: rgba(0, 180, 216, 0.15);
}

.nav-link.active {
  color: var(--text-inverse);
  background: linear-gradient(135deg, var(--color-teal), var(--color-turquoise));
  box-shadow: 0 3px 12px rgba(0, 119, 182, 0.25);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--color-turquoise);
  border-radius: 2px;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 190px;
  padding: 0.4rem;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--color-frosted);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 119, 182, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.35rem);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 1010;
}

.nav-dropdown:hover>.dropdown-menu,
.nav-dropdown:focus-within>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 5px;
  transition: color 150ms ease, background 150ms ease;
}

.dropdown-link:hover,
.dropdown-link:focus {
  color: var(--color-teal);
  background: var(--color-frosted);
}

.nested-menu {
  top: -0.4rem;
  left: calc(100% + 0.4rem);
}

/* ==========================================================================
   DYNAMIC SCROLL COMPACTION (PRESERVES ORIGINAL AESTHETIC WHILE SAVING VIEWPORT)
   ========================================================================== */

.site-header.is-scrolled {
  min-height: 58px;
  background: linear-gradient(135deg, rgba(200, 227, 246, 0.98) 0%, rgba(186, 219, 243, 0.98) 100%);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(0, 150, 214, 0.35);
  box-shadow: 0 4px 20px rgba(0, 70, 115, 0.14);
}

.site-header.is-scrolled .header-container {
  min-height: 58px;
}

.site-header.is-scrolled .brand-logo-img {
  width: 145px;
  height: auto;
  max-height: 42px;
}

.site-header.is-scrolled .nav-link {
  padding: 0.38rem 0.68rem;
  font-size: 0.84rem;
}

@media (max-width: 1280px) {
  .header-container {
    padding: 0 1.25rem;
    gap: 0.75rem;
  }

  .brand-logo-img {
    width: 158px;
    max-height: 54px;
  }

  .nav-list {
    gap: 0.18rem;
  }

  .nav-link {
    padding: 0.45rem 0.62rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1080px) {
  .header-container {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .brand-logo-img {
    width: 142px;
    max-height: 49px;
  }

  .nav-list {
    gap: 0.12rem;
  }

  .nav-link {
    padding: 0.4rem 0.52rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: auto;
    padding: 0.75rem 0;
  }

  .site-header.is-scrolled {
    padding: 0.5rem 0;
  }

  .header-container {
    flex-direction: column;
    min-height: auto;
    gap: 0.65rem;
    padding: 0 1rem;
  }

  .site-header.is-scrolled .header-container {
    min-height: auto;
  }

  .brand-logo-img {
    height: 50px;
    width: auto;
  }

  .site-header.is-scrolled .brand-logo-img {
    height: 42px;
    width: auto;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
  }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.925rem;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--ease-fluid), box-shadow 200ms var(--ease-fluid);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-teal), var(--color-turquoise));
  color: var(--text-inverse);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.45);
}

.btn-primary-sm {
  background: #ffffff;
  border: 2px solid var(--color-teal);
  color: var(--color-teal);
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
}

.btn-primary-sm:hover {
  background: var(--color-teal);
  color: var(--text-inverse);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-teal);
  border: 2px solid var(--color-frosted);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.06);
}

.btn-secondary:hover {
  border-color: var(--color-turquoise);
  background: var(--color-cyan-light);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-teal), #0096c7);
  color: var(--text-inverse);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.25);
}

/* ==========================================================================
   HERO SECTION (LUMINOUS LIGHT BLUE & CLINICAL DEPTH)
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 2.5rem);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 2rem;
  background: url("../assets/images/sterile-or.jpg") center / cover no-repeat;
  border-bottom: 1px solid rgba(0, 168, 232, 0.18);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(ellipse 65% 55% at 75% 42%, rgba(0, 180, 216, 0.16), transparent 70%),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(252, 254, 255, 0.94) 48%,
      rgba(235, 248, 255, 0.84) 75%,
      rgba(218, 242, 254, 0.74) 100%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 255, 255, 0.15) 45%,
      rgba(244, 251, 252, 0.94) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 70vw);
  align-items: center;
}

.hero-content {
  max-width: 100%;
  text-align: left;
}

.page-ready .hero-content {
  animation: hero-content-enter 900ms var(--ease-fluid) both;
}

@keyframes hero-content-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.clinical-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  background: #ffffff;
  border: 2px solid var(--color-turquoise);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-teal);
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.2);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-turquoise);
  box-shadow: 0 0 10px var(--color-turquoise);
}

.hero-title {
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: #082846;
  margin-bottom: 1.35rem;
}

.hero-description {
  font-size: 1.12rem;
  color: #1e4768;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
}

/* ==========================================================================
   INSTITUTIONAL TRUST BAR (ENRICHED IN BRIGHT TEAL)
   ========================================================================== */

.trust-bar-section {
  position: relative;
  padding: 3.5rem 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 180, 216, 0.18), transparent 28%),
    linear-gradient(135deg, #e3f2fd 0%, #d0ebfa 50%, #bce2f9 100%);
  border-top: 2px solid rgba(0, 180, 216, 0.35);
  border-bottom: 2px solid rgba(0, 180, 216, 0.35);
  box-shadow: inset 0 2px 14px rgba(0, 119, 182, 0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.25rem;
}

.trust-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  min-height: 142px;
  padding: 1.25rem 0.75rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 168, 232, 0.28);
  border-radius: 12px;
  cursor: default;
  outline: none;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.08);
  transition: transform 220ms var(--ease-fluid), background-color 220ms ease,
    border-color 220ms ease, box-shadow 220ms ease;
}

.trust-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 3px;
  background: var(--color-turquoise);
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.4);
  transform: scaleX(0.35);
  transition: transform 220ms var(--ease-fluid);
}

.trust-item::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  right: -34px;
  bottom: -40px;
  border: 1px solid rgba(0, 168, 232, 0.2);
  border-radius: 50%;
  transition: transform 220ms var(--ease-fluid);
}

.trust-item:hover,
.trust-item:focus-visible {
  background: #ffffff;
  border-color: var(--color-teal);
  box-shadow: 0 10px 24px rgba(0, 119, 182, 0.16);
  transform: translateY(-6px);
}

.trust-item:hover::before,
.trust-item:focus-visible::before {
  transform: scaleX(1);
}

.trust-item:hover::after,
.trust-item:focus-visible::after {
  transform: scale(1.35);
}

.trust-number {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  font-weight: 800;
  color: #0077b6;
  text-shadow: none;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.15;
  transition: color 220ms ease, transform 220ms var(--ease-fluid);
}

.trust-item:hover .trust-number,
.trust-item:focus-visible .trust-number {
  color: var(--color-teal);
  transform: scale(1.03);
}

.trust-caption {
  font-size: 0.8rem;
  color: #082846;
  line-height: 1.35;
  font-weight: 700;
  opacity: 0.95;
}

/* ==========================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================== */

.section {
  padding: 6.5rem 0;
  border-bottom: 2px solid var(--color-frosted);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.75rem auto;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: #ffffff;
  border: 1.5px solid var(--color-turquoise);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.038em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.7;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms var(--ease-fluid),
    transform 700ms var(--ease-fluid);
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-group>.scroll-reveal:nth-child(2) {
  --reveal-delay: 90ms;
}

.scroll-reveal-group>.scroll-reveal:nth-child(3) {
  --reveal-delay: 180ms;
}

.scroll-reveal-group>.scroll-reveal:nth-child(4) {
  --reveal-delay: 270ms;
}

.scroll-reveal-group>.scroll-reveal:nth-child(5) {
  --reveal-delay: 360ms;
}

@media (prefers-reduced-motion: reduce) {

  .page-ready .hero-content,
  .scroll-reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   ABOUT US & GOVERNANCE
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 4.5rem;
}

.about-card {
  position: relative;
  background: linear-gradient(165deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(244, 251, 252, 0.92) 100%);
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 0 rgba(0, 54, 87, 0.04),
    0 1px 2px rgba(4, 7, 12, 0.04),
    0 6px 16px rgba(4, 7, 12, 0.06),
    0 20px 48px rgba(0, 54, 87, 0.08);
  transition:
    transform 280ms var(--ease-fluid),
    border-color 280ms ease,
    box-shadow 280ms var(--ease-fluid);
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 242, 254, 0.65) 50%,
      transparent 100%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 280ms ease;
}

.about-card:hover {
  border-color: rgba(0, 180, 216, 0.38);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 1),
    0 2px 4px rgba(4, 7, 12, 0.04),
    0 12px 28px rgba(4, 7, 12, 0.09),
    0 32px 64px rgba(0, 54, 87, 0.12),
    0 0 24px rgba(0, 242, 254, 0.14);
}

.about-card:hover::before {
  opacity: 1;
}

.about-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-teal);
  margin-bottom: 0.9rem;
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.98rem;
}

.corp-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  background: var(--color-cyan-light);
  border: 1px solid var(--color-turquoise);
  border-radius: 6px;
  color: var(--color-teal);
}

.subsection-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2.25rem;
  text-align: center;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.leader-card {
  background: #ffffff;
  border: 2px solid var(--color-frosted);
  border-radius: var(--card-radius);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 6px 18px rgba(0, 119, 182, 0.06);
}

.leader-role {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--color-turquoise);
  text-transform: uppercase;
}

.leader-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-teal);
}

.leader-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 4.5rem;
}

.about-story-card {
  position: relative;
  padding: 2.5rem;
  border-radius: var(--card-radius);
  border: 2px solid var(--color-frosted);
  background:
    linear-gradient(135deg, rgba(0, 119, 182, 0.95), rgba(0, 86, 132, 0.96)),
    var(--color-teal);
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(0, 86, 132, 0.18);
  overflow: hidden;
}

.about-story-card::after {
  content: "ROS";
  position: absolute;
  right: 1.5rem;
  bottom: -1.2rem;
  font-family: var(--font-mono);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(144, 224, 239, 0.12);
  pointer-events: none;
}

.about-card-kicker,
.about-panel-label {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-frosted);
}

.about-story-card h3 {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-bottom: 1.25rem;
  font-size: 1.8rem;
  line-height: 1.2;
}

.about-story-card p {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-top: 0.9rem;
  color: #e9fbff;
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-impact-stack {
  display: grid;
  gap: 1rem;
}

.about-impact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  background: #ffffff;
  border: 2px solid var(--color-frosted);
  border-left: 5px solid var(--color-turquoise);
  border-radius: var(--card-radius);
  box-shadow: 0 7px 20px rgba(0, 119, 182, 0.08);
  transition: transform 220ms var(--ease-fluid), box-shadow 220ms ease;
}

.about-impact-card:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 26px rgba(0, 180, 216, 0.18);
}

.about-impact-card strong {
  color: var(--color-teal);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  line-height: 1.35;
}

.about-impact-card span {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}

.about-platforms {
  margin-bottom: 4.5rem;
}

.about-subsection-heading {
  margin-bottom: 1.5rem;
}

.about-subsection-heading .section-subtitle {
  margin-bottom: 0.5rem;
}

.about-subsection-heading h3 {
  color: var(--text-primary);
  font-size: 1.65rem;
}

.about-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-platform-card {
  padding: 1.35rem;
  background: #ffffff;
  border: 1.5px solid var(--color-frosted);
  border-radius: 10px;
  transition: transform 220ms var(--ease-fluid), border-color 220ms ease;
}

.about-platform-card:hover {
  border-color: var(--color-turquoise);
  transform: translateY(-4px);
}

.about-platform-card>span {
  display: inline-flex;
  min-width: 3.1rem;
  justify-content: center;
  padding: 0.25rem 0.45rem;
  margin-bottom: 0.7rem;
  border-radius: 5px;
  background: var(--color-cyan-light);
  color: var(--color-teal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.about-platform-card h4 {
  margin-bottom: 0.35rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.about-platform-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.45;
}

.about-trust-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #e8f4fc, #d5edf8);
  border: 1px solid rgba(0, 168, 232, 0.28);
  border-radius: var(--card-radius);
  color: #082846;
  box-shadow: 0 12px 30px rgba(0, 119, 182, 0.08);
}

.about-trust-panel>div {
  padding-right: 1.5rem;
  border-right: 1px solid rgba(0, 168, 232, 0.25);
}

.about-trust-panel>div:last-child {
  padding-right: 0;
  border-right: 0;
}

.about-trust-panel strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #082846;
  font-size: 1.1rem;
}

.about-trust-panel p {
  color: #1e4768;
  font-size: 0.88rem;
  line-height: 1.55;
}

.achievements-section {
  background: linear-gradient(180deg, #f5fcfd 0%, #e8f8fa 100%);
}

.achievement-highlight {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 2.25rem;
  border-radius: var(--card-radius);
  background: linear-gradient(120deg, #e8f4fc, #d5edf8);
  border: 1px solid rgba(0, 168, 232, 0.3);
  color: #082846;
  box-shadow: 0 16px 32px rgba(0, 119, 182, 0.1);
}

.achievement-kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: #0077b6;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.achievement-highlight h3 {
  max-width: 360px;
  margin-bottom: 0.65rem;
  color: #082846;
  font-size: 1.65rem;
  line-height: 1.2;
}

.achievement-highlight-copy p {
  max-width: 390px;
  color: #1e4768;
  font-size: 0.9rem;
  line-height: 1.6;
}

.achievement-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.achievement-stat {
  min-height: 135px;
  padding: 1.1rem 0.85rem;
  border: 1px solid rgba(0, 168, 232, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.06);
  transition: background 220ms ease, transform 220ms var(--ease-fluid);
}

.achievement-stat:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.12);
}

.achievement-stat strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #082846;
  font-family: var(--font-mono);
  font-size: 1.55rem;
}

.achievement-stat strong em {
  color: #0077b6;
  font-style: normal;
  font-size: 1rem;
}

.achievement-stat span {
  display: block;
  color: #1e4768;
  font-size: 0.78rem;
  line-height: 1.4;
}

.achievement-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.achievement-pillar {
  position: relative;
  min-height: 305px;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--color-frosted);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(0, 119, 182, 0.07);
  transition: transform 220ms var(--ease-fluid), border-color 220ms ease, box-shadow 220ms ease;
}

.achievement-pillar:hover {
  border-color: var(--color-turquoise);
  box-shadow: 0 13px 25px rgba(0, 180, 216, 0.15);
  transform: translateY(-5px);
}

.achievement-pillar::after {
  position: absolute;
  right: -0.25rem;
  bottom: -1.5rem;
  content: attr(data-number);
  color: rgba(0, 180, 216, 0.06);
  font-family: var(--font-mono);
  font-size: 6rem;
  font-weight: 800;
  pointer-events: none;
}

.achievement-index {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 7px;
  background: var(--color-cyan-light);
  color: var(--color-teal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.achievement-pillar h3 {
  margin-bottom: 0.6rem;
  color: var(--color-teal);
  font-size: 1.12rem;
}

.achievement-pillar p {
  min-height: 82px;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
}

.achievement-pillar ul {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.achievement-pillar li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-primary);
  font-size: 0.76rem;
  line-height: 1.4;
}

.achievement-pillar li::before {
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-turquoise);
  content: "";
}

/* ==========================================================================
   ACHIEVEMENTS: 4 INTERACTIVE TABS & CORPORATE ROADMAP
   ========================================================================== */

.achievement-subtabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.5rem 0 2rem;
}

.achievement-subtabs-nav,
.facility-subtabs-nav {
  position: sticky;
  top: calc(var(--site-header-height, 82px) + 0.5rem);
  z-index: 900;
  padding: 0.75rem;
  border: 1px solid rgba(0, 119, 182, 0.12);
  border-radius: 14px;
  background: rgba(245, 252, 253, 0.96);
  box-shadow: 0 8px 24px rgba(0, 54, 87, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.achievement-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 119, 182, 0.22);
  border-radius: 999px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(4, 7, 12, 0.04);
}

.achievement-tab-btn:hover {
  background: #ffffff;
  color: var(--color-teal);
  border-color: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 119, 182, 0.12);
}

.achievement-tab-btn.active {
  background: linear-gradient(135deg, #0077b6, #00a8e8);
  border-color: var(--photon-cyan);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.28), 0 0 12px rgba(0, 242, 254, 0.25);
}

.achievement-tab-btn.active .tab-icon {
  filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.6));
}

.achievement-tab-pane {
  display: none;
}

.achievement-tab-pane.active {
  display: block;
  animation: achievementPaneFade 280ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes achievementPaneFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.achievement-tab-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.94));
  border: 1px solid rgba(0, 119, 182, 0.2);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-ambient-md);
  margin-bottom: 3.5rem;
}

.achievement-tab-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.achievement-tab-content h3 {
  color: var(--text-primary);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.achievement-tab-content .tab-lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.achievement-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.achievement-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #ffffff;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(0, 119, 182, 0.14);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(4, 7, 12, 0.03);
  transition: transform 200ms ease, border-color 200ms ease;
}

.achievement-bullet-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-teal);
}

.achievement-bullet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: rgba(0, 119, 182, 0.08);
  color: var(--color-teal);
  font-size: 1rem;
  flex-shrink: 0;
}

.achievement-bullet-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.achievement-bullet-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.achievement-pill-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.pill-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pill-teal {
  background: rgba(0, 119, 182, 0.1);
  color: var(--color-teal);
  border: 1px solid rgba(0, 119, 182, 0.25);
}

.pill-green {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pill-blue {
  background: rgba(0, 119, 182, 0.1);
  color: #0077b6;
  border: 1px solid rgba(0, 119, 182, 0.25);
}

/* Tab visual featured preview card */
.achievement-visual-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.22);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 54, 87, 0.12), 0 0 1px rgba(0, 242, 254, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.achievement-visual-card:hover {
  box-shadow: 0 16px 36px rgba(0, 54, 87, 0.18), 0 0 14px rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
}

.achievement-visual-frame {
  position: relative;
  width: 100%;
  height: 275px;
  background: radial-gradient(circle at center, #0a1322 0%, #03060a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  padding: 0.85rem;
}

.achievement-visual-frame::after {
  content: '\1F50D  Click to Inspect';
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(3, 8, 16, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #00f2fe;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 242, 254, 0.4);
  opacity: 0;
  transform: translateY(6px);
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.achievement-visual-card:hover .achievement-visual-frame::after {
  opacity: 1;
  transform: translateY(0);
}

.achievement-visual-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.achievement-visual-card:hover .achievement-visual-frame img {
  transform: scale(1.05);
}

.achievement-visual-caption {
  padding: 1.1rem 1.35rem;
  background: #ffffff;
  border-top: 1px solid rgba(0, 119, 182, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.achievement-visual-caption span {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ==========================================================================
   MILESTONE TIMELINE ROADMAP (2023 - 2026)
   ========================================================================== */

.milestones-roadmap-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.milestones-roadmap-header h3 {
  color: var(--text-primary);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.milestones-roadmap-header p {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.milestones-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.milestone-item-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: var(--card-radius);
  padding: 1.85rem 1.6rem;
  box-shadow: 0 4px 16px rgba(4, 7, 12, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms ease;
}

.milestone-item-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-teal);
  box-shadow: 0 14px 32px rgba(0, 54, 87, 0.12), 0 0 1px rgba(0, 242, 254, 0.25);
}

/* Champion Award Milestone Highlight (Phase 06) */
.milestone-item-card.milestone-champion {
  background: linear-gradient(155deg, #ffffff 0%, #fffdf5 60%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.16), 0 0 16px rgba(245, 158, 11, 0.1);
}

.milestone-item-card.milestone-champion:hover {
  transform: translateY(-6px);
  border-color: #d97706;
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.25), 0 0 24px rgba(245, 158, 11, 0.18);
}

.milestone-item-card.milestone-champion .milestone-year-badge {
  background: linear-gradient(135deg, #b45309, #f59e0b);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.milestone-item-card.milestone-champion .milestone-order-tag {
  color: #b45309;
  font-weight: 800;
}

.milestone-item-card.milestone-champion h4 {
  color: #78350f;
}

.milestone-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.milestone-year-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #0077b6, #00a8e8);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.2);
}

.milestone-order-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
}

.milestone-item-card h4 {
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.milestone-item-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.milestone-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: rgba(0, 119, 182, 0.08);
  border: 1px solid rgba(0, 119, 182, 0.2);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 0.04em;
  margin-top: 1.1rem;
  width: fit-content;
}

.milestone-item-card.milestone-champion .milestone-status-chip {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.4);
  color: #92400e;
}

/* ==========================================================================
   RECOGNITIONS & CERTIFICATIONS GALLERY
   ========================================================================== */

.achievement-gallery-section {
  position: relative;
  margin-top: 1rem;
}

.achievement-gallery-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2rem;
}

.achievement-gallery-header h3 {
  color: var(--text-primary);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.achievement-gallery-header p {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.achievement-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.achievement-gallery-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.18);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(4, 7, 12, 0.05);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms ease;
}

.achievement-gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-teal);
  box-shadow: 0 14px 32px rgba(0, 54, 87, 0.14), 0 0 1px rgba(0, 242, 254, 0.25);
}

/* Featured Winner Award Gallery Card */
.achievement-gallery-card.card-featured-winner {
  border: 2px solid #f59e0b;
  background: linear-gradient(170deg, #ffffff, #fffdf7);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.16);
}

.achievement-gallery-card.card-featured-winner:hover {
  border-color: #d97706;
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.26);
}

.achievement-gallery-card.card-featured-winner .achievement-gallery-tag {
  color: #b45309;
  font-weight: 800;
}

.achievement-gallery-card.card-featured-winner .btn-cert-inspect {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #b45309;
}

.achievement-gallery-card.card-featured-winner .btn-cert-inspect:hover {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #ffffff;
  border-color: #f59e0b;
}

.achievement-gallery-thumb {
  position: relative;
  width: 100%;
  height: 195px;
  background: radial-gradient(circle at center, #0a1322 0%, #03060a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow: hidden;
  cursor: pointer;
}

.achievement-gallery-thumb::after {
  content: '\1F50D  Inspect';
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(3, 8, 16, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #00f2fe;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(0, 242, 254, 0.35);
  opacity: 0;
  transform: translateY(4px);
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.achievement-gallery-card:hover .achievement-gallery-thumb::after {
  opacity: 1;
  transform: translateY(0);
}

.achievement-gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.achievement-gallery-card:hover .achievement-gallery-thumb img {
  transform: scale(1.06);
}

.achievement-gallery-body {
  padding: 1.15rem 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.achievement-gallery-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.achievement-gallery-body h4 {
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.achievement-gallery-body p {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

@media (max-width: 1100px) {
  .achievement-tab-grid {
    grid-template-columns: 1fr;
  }

  .milestones-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievement-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .achievement-subtabs-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .achievement-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .achievement-tab-card {
    padding: 1.5rem;
  }

  .milestones-timeline-grid {
    grid-template-columns: 1fr;
  }

  .achievement-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.achievement-ribbon-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.achievement-ribbon-items strong {
  padding: 0.45rem 0.7rem;
  border-radius: 5px;
  background: var(--color-cyan-light);
  color: var(--color-teal);
  font-size: 0.73rem;
}

*/ .rnd-section {
  background: #ffffff;
}

/* ==========================================================================
   CINEMATIC POLAR TRANSITION BAFFLES (STAGE 4)
   Eliminates Dark-to-Light Flashbangs & sRGB Mid-Tone Mud
   Multi-stop cubic-eased alpha curves model human pupil dilation.
   ========================================================================== */

/* --- 1. HERO EXIT BOUNDARY BAFFLE (Clean seamless boundary) --- */
.hero-boundary-baffle {
  display: none !important;
}

/* --- 2. STORY SCROLL TRACK: Entrance + Exit Polar Baffles --- */
.story-scroll-track {
  position: relative;
  width: 100%;
  height: 450vh;
  overflow: clip;
  background-color: var(--obsidian-base);
}

/* Shared base for both pseudo-elements */
.story-scroll-track::before,
.story-scroll-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 15;
}

/* Top Entrance: Clinical White -> Deep Obsidian (7-stop cubic) */
.story-scroll-track::before {
  top: 0;
  height: 260px;
  background:
    radial-gradient(ellipse 65% 45% at 50% 100%,
      rgba(0, 242, 254, 0.12) 0%,
      rgba(0, 242, 254, 0) 70%),
    linear-gradient(180deg,
      var(--clinical-white) 0%,
      rgba(248, 250, 252, 0.94) 8%,
      rgba(202, 240, 248, 0.65) 24%,
      rgba(0, 119, 182, 0.35) 48%,
      rgba(7, 14, 23, 0.82) 74%,
      rgba(4, 7, 12, 0.96) 90%,
      var(--obsidian-base) 100%);
}

/* Bottom Exit: Deep Obsidian -> Clinical White (7-stop cubic) */
.story-scroll-track::after {
  bottom: 0;
  height: 280px;
  background:
    radial-gradient(ellipse 65% 45% at 50% 0%,
      rgba(0, 242, 254, 0.10) 0%,
      rgba(0, 242, 254, 0) 70%),
    linear-gradient(0deg,
      var(--clinical-white) 0%,
      rgba(248, 250, 252, 0.95) 8%,
      rgba(202, 240, 248, 0.55) 24%,
      rgba(0, 54, 87, 0.45) 48%,
      rgba(7, 14, 23, 0.85) 74%,
      rgba(4, 7, 12, 0.97) 90%,
      var(--obsidian-base) 100%);
}

/* --- 3. PRE-FOOTER POLAR BAFFLE (Contact Section -> Light Blue Footer) --- */
.footer-polar-baffle {
  position: relative;
  width: 100%;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(180deg,
      var(--clinical-white) 0%,
      rgba(241, 248, 254, 0.7) 40%,
      #eaf4fc 100%);
}

.footer-polar-baffle::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--optical-noise-pattern);
  mix-blend-mode: overlay;
  opacity: 0.4;
  pointer-events: none;
}

/* High-DPI/Ultrawide: Extend transition distances */
@media (min-width: 1920px) {
  .story-scroll-track::before {
    height: 340px;
  }

  .story-scroll-track::after {
    height: 360px;
  }

  .hero-boundary-baffle {
    display: none !important;
  }
}

.story-sticky-viewport {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#story-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.story-vignette-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(6, 11, 19, 0.6) 65%, #060b13 100%),
    linear-gradient(180deg, #060b13 0%, transparent 10%, transparent 90%, #060b13 100%);
}

.story-sticky-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 75% 30%, rgba(0, 242, 254, 0.05) 0%, transparent 60%);
}

.story-hud-telemetry {
  position: absolute;
  top: 32px;
  right: 5%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(0, 242, 254, 0.4);
  font: 0.75rem/1.35 var(--font-mono);
  letter-spacing: 1.5px;
  text-align: right;
  pointer-events: none;
}

.story-content-layer {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 6%;
  pointer-events: none;
}

.story-chapter {
  position: absolute;
  top: 50%;
  max-width: 480px;
  isolation: isolate;
  opacity: 0;
  pointer-events: auto;
  padding: 1.15rem 1.35rem 1.25rem;
  border-left: 2px solid rgba(0, 242, 254, 0.7);
  border-radius: 0 14px 14px 0;
  transform: translateY(-50%) translateX(-20px);
  transition: opacity 0.5s var(--ease-fluid), transform 0.5s var(--ease-fluid);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.story-chapter::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -4rem 0 -1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-left: 0;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg,
      rgba(6, 11, 19, 0.94) 0%,
      rgba(6, 11, 19, 0.84) 62%,
      rgba(6, 11, 19, 0.38) 86%,
      rgba(6, 11, 19, 0) 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.story-chapter.active {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.chapter-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.3);
  color: #00f2fe;
}

.badge-amber {
  background: rgba(255, 170, 0, 0.12);
  border-color: rgba(255, 170, 0, 0.3);
  color: #ffaa00;
}

.badge-emerald {
  background: rgba(0, 255, 170, 0.12);
  border-color: rgba(0, 255, 170, 0.3);
  color: #00ffaa;
}

.chapter-title {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.chapter-lead {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.story-progress-indicator {
  position: absolute;
  top: 50%;
  right: 24px;
  z-index: 5;
  width: 2px;
  height: 140px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
}

.progress-bar-fill {
  width: 100%;
  height: 0%;
  border-radius: 2px;
  background: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
  transition: height 0.1s linear;
}

.story-scroll-track {
  contain: paint;
  will-change: transform;
}

.story-sticky-viewport {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@media (min-width: 769px) {
  .story-content-layer {
    position: absolute;
    inset: 0;
    max-width: none;
    padding: 0 3%;
  }

  .story-chapter {
    top: auto;
    bottom: 10%;
    transform: translateX(-20px);
  }

  .story-chapter.active {
    transform: translateX(0);
  }
}

/* Blueprint atmosphere for light clinical sections. The layered tint keeps
   linework visible without competing with headings or form controls. */
.products-section,
.workflow-section,
.about-section,
.facility-section,
.demo-section {
  background-color: #f4fbfc;
  background-image:
    linear-gradient(rgba(244, 251, 252, 0.9), rgba(244, 251, 252, 0.94)),
    url("../assets/frames/BG_frame.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
}

/* ================= SURGICAL HUD TELEMETRY ================= */
.story-hud-panel {
  position: absolute;
  top: 32px;
  right: 5%;
  z-index: 5;
  width: min(340px, 90vw);
  padding: 16px 18px;
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 12px;
  background: rgba(6, 11, 19, 0.85);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 242, 254, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e2f1f8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  pointer-events: none;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hud-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hud-oscilloscope-container {
  margin-bottom: 12px;
  padding: 8px 10px;
  background: rgba(0, 20, 35, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 8px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hud-oscilloscope-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font: 700 0.58rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--color-frosted);
  text-transform: uppercase;
}

.hud-scope-rate {
  color: #00f2fe;
  font-weight: 800;
}

.hud-oscilloscope-canvas {
  display: block;
  width: 100%;
  height: 42px;
  border-radius: 4px;
  background: rgba(3, 8, 14, 0.95);
}

.hud-indicator-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hud-beacon {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
  animation: hudBeaconPulse 1.8s infinite ease-in-out;
}

@keyframes hudBeaconPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.hud-title,
.hud-phase-flag,
.hud-cell-label,
.hud-delta,
.hud-footnote {
  text-transform: uppercase;
}

.hud-title {
  overflow: hidden;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hud-phase-flag {
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 4px;
  background: rgba(0, 242, 254, 0.12);
  color: #00f2fe;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.hud-readout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.hud-readout-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hud-cell-label {
  color: #728fa3;
  font-size: 0.62rem;
  letter-spacing: 1px;
}

.hud-value-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.hud-num {
  color: #fff;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

.hud-unit {
  color: #00f2fe;
  font-size: 0.75rem;
  font-weight: 600;
}

.hud-gauge-track {
  width: 100%;
  height: 4px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.hud-gauge-fill {
  width: 0%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #00f2fe, #00ffaa);
  box-shadow: 0 0 6px rgba(0, 242, 254, 0.6);
  transition: width 0.08s linear;
}

.hud-delta,
.hud-footnote {
  color: #628296;
  font-size: 0.65rem;
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 8px;
  margin-top: 2px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.status-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.status-contact {
  border: 1px solid rgba(0, 242, 254, 0.25);
  background: rgba(0, 242, 254, 0.12);
  color: #00f2fe;
}

.status-contact .status-badge-dot {
  background: #00f2fe;
  box-shadow: 0 0 6px #00f2fe;
}

.status-metabolic {
  border: 1px solid rgba(255, 170, 0, 0.3);
  background: rgba(255, 170, 0, 0.12);
  color: #ffaa00;
}

.status-metabolic .status-badge-dot {
  background: #ffaa00;
  box-shadow: 0 0 6px #ffaa00;
}

.status-redox {
  border: 1px solid rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
}

.status-redox .status-badge-dot {
  background: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
}

.status-clear {
  border: 1px solid rgba(0, 255, 170, 0.3);
  background: rgba(0, 255, 170, 0.12);
  color: #00ffaa;
}

.status-clear .status-badge-dot {
  background: #00ffaa;
  box-shadow: 0 0 6px #00ffaa;
}

.story-scroll-track>.container {
  position: absolute;
  right: 0;
  bottom: 2rem;
  left: 0;
  z-index: 11;
}

.scrolly-section {
  position: relative;
  width: 100%;
  height: 450vh;
  background: #060b13;
}

.scrolly-section::before,
.scrolly-section::after {
  position: absolute;
  left: 0;
  z-index: 10;
  width: 100%;
  pointer-events: none;
  content: "";
}

.scrolly-section::before {
  top: 0;
  height: 140px;
  background: linear-gradient(180deg, #f4fbfc 0%, rgba(6, 11, 19, 0) 100%);
}

.scrolly-section::after {
  bottom: 0;
  height: 160px;
  background: linear-gradient(0deg, #f4fbfc 0%, rgba(6, 11, 19, 0) 100%);
}

.sticky-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 540px;
  overflow: hidden;
  background: #060b13;
}

#scrolly-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.stage-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 11, 19, 0.94) 0%, rgba(6, 11, 19, 0.72) 28%, rgba(6, 11, 19, 0.08) 67%, rgba(6, 11, 19, 0.42) 100%),
    radial-gradient(circle at center, transparent 35%, rgba(6, 11, 19, 0.7) 75%, #060b13 100%);
}

.scrolly-story-layer {
  position: relative;
  z-index: 3;
  width: min(1200px, 100%);
  height: 100%;
  margin: 0 auto;
  pointer-events: none;
}

.story-step {
  position: absolute;
  top: 50%;
  left: 3%;
  max-width: 430px;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 600ms cubic-bezier(0.25, 1, 0.5, 1), transform 600ms cubic-bezier(0.25, 1, 0.5, 1);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.story-step.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.step-pill {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  color: #00f2fe;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-amber {
  background: rgba(255, 153, 0, 0.12);
  color: #ffaa00;
  border-color: rgba(255, 153, 0, 0.3);
}

.pill-cyan {
  background: rgba(0, 242, 254, 0.12);
  color: #00f2fe;
  border-color: rgba(0, 242, 254, 0.3);
}

.pill-emerald {
  background: rgba(0, 255, 170, 0.12);
  color: #00ffaa;
  border-color: rgba(0, 255, 170, 0.3);
}

.story-step h2 {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.15;
}

.story-step p {
  max-width: 390px;
  color: #b7c7d8;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hud-annotation {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 6px;
  background: rgba(10, 20, 34, 0.8);
  color: #ffffff;
  font-size: 0.8rem;
  backdrop-filter: blur(8px);
}

.annotation-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pulse-amber {
  background: #ffaa00;
  box-shadow: 0 0 10px #ffaa00;
  animation: blink 2s infinite;
}

.pulse-cyan {
  background: #00f2fe;
  box-shadow: 0 0 10px #00f2fe;
  animation: blink 2s infinite;
}

.pulse-emerald {
  background: #00ffaa;
  box-shadow: 0 0 10px #00ffaa;
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

.scrolly-progress {
  position: absolute;
  right: 2rem;
  top: 50%;
  z-index: 4;
  width: 3px;
  height: 130px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(148, 163, 184, 0.28);
  transform: translateY(-50%);
}

.scrolly-progress span {
  display: block;
  width: 100%;
  height: 0;
  border-radius: inherit;
  background: #00f2fe;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.8);
  transition: height 100ms linear;
}

.rnd-pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}

.rnd-pipeline-card {
  position: relative;
  min-height: 225px;
  padding: 1.65rem;
  border: 1px solid var(--color-frosted);
  border-radius: 14px;
  background: linear-gradient(145deg, #f8feff, #e8f8fa);
  box-shadow: 0 8px 22px rgba(0, 119, 182, 0.07);
}

.rnd-pipeline-card:not(:last-child)::after {
  position: absolute;
  top: 2.1rem;
  right: -0.75rem;
  z-index: 1;
  color: var(--color-turquoise);
  content: "→";
  font-size: 1.25rem;
  font-weight: 800;
}

.rnd-step {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border-radius: 7px;
  background: var(--color-teal);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.rnd-pipeline-card h3 {
  margin-bottom: 0.55rem;
  color: var(--color-teal);
  font-size: 1.18rem;
}

.rnd-pipeline-card p {
  min-height: 66px;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
}

.rnd-pipeline-card strong {
  display: block;
  margin-top: 0.85rem;
  color: var(--color-teal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.rnd-validation {
  margin-bottom: 4rem;
}

.rnd-subsection-heading {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.rnd-subsection-heading .section-subtitle {
  flex: 0 0 auto;
}

.rnd-subsection-heading h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
}

.rnd-subsection-heading p {
  max-width: 300px;
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.45;
}

.rnd-validation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rnd-validation-card {
  padding: 1.45rem;
  border-top: 4px solid var(--color-turquoise);
  border-radius: 0 0 12px 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 119, 182, 0.08);
}

.rnd-validation-card span,
.rnd-value-label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--color-teal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rnd-validation-card strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--color-teal);
  font-family: var(--font-mono);
  font-size: 1.7rem;
}

.rnd-validation-card p,
.rnd-value-grid p {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
}

.rnd-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.6rem;
  margin-top: 3.5rem;
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf4fb, #d8eef9);
  box-shadow: 0 12px 30px rgba(0, 119, 182, 0.08);
}

.rnd-value-grid>div {
  padding-right: 1rem;
  border-right: 1px solid rgba(0, 168, 232, 0.25);
}

.rnd-value-grid>div:last-child {
  padding-right: 0;
  border-right: 0;
}

.rnd-value-grid .rnd-value-label {
  color: #0077b6;
}

.rnd-value-grid strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #082846;
  font-size: 1rem;
}

.rnd-value-grid p {
  color: #1e4768;
}

.about-leadership {
  margin-top: 4.5rem;
}

.leadership-heading {
  max-width: 680px;
  margin: 0 auto 2rem;
  text-align: center;
}

.leadership-heading h3 {
  margin-bottom: 0.6rem;
  font-size: 1.85rem;
}

.leadership-heading p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 86, 132, 0.08);
  transition: transform 240ms var(--ease-fluid), box-shadow 240ms ease, border-color 240ms ease;
}

.team-card-featured {
  border: 2px solid var(--color-turquoise);
  box-shadow: 0 14px 34px rgba(0, 180, 216, 0.18);
}

.team-card-featured .team-portrait {
  background: linear-gradient(145deg, #e6f3fb, #d2ebf8);
}

.team-card:hover {
  border-color: var(--color-turquoise);
  box-shadow: 0 18px 35px rgba(0, 119, 182, 0.16);
  transform: translateY(-7px);
}

.team-portrait {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #eef7fc, #dcf0f9);
  overflow: hidden;
  padding: 1.25rem 1rem;
  flex-shrink: 0;
}

.team-portrait::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.65rem;
  content: "COOSA";
  color: rgba(0, 86, 132, 0.28);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  pointer-events: none;
}

.team-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.15);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms var(--ease-fluid), box-shadow 300ms ease;
  position: relative;
}

.team-card-featured .team-avatar {
  border: 4px solid #ffffff;
  outline: 2px solid var(--color-turquoise);
}

.team-card:hover .team-avatar {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(0, 180, 216, 0.28);
}

.team-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-img-aniket {
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(0.92);
  transform-origin: center center;
  filter: contrast(1.05) brightness(1);
}

.team-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 160px;
  padding: 1.15rem 0.95rem 1.25rem;
}

.team-role {
  display: block;
  min-height: 2.85em;
  margin-bottom: 0.55rem;
  color: var(--color-teal);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
}

.team-card h4 {
  margin-bottom: 0.45rem;
  color: var(--text-primary);
  font-size: 1.12rem;
  line-height: 1.25;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.5;
}

.partner-strap {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) 1.7fr;
  gap: 2.25rem;
  align-items: center;
  margin-top: 4.5rem;
  padding: 2.25rem;
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 10%, rgba(0, 180, 216, 0.15), transparent 28%),
    linear-gradient(120deg, #e6f3fc, #d4ecf9);
  box-shadow: 0 16px 35px rgba(0, 119, 182, 0.1);
}

.partner-strap-copy .section-subtitle {
  margin-bottom: 0.7rem;
  color: #0077b6;
}

.partner-strap-copy h3 {
  margin-bottom: 0.65rem;
  color: #082846;
  font-size: 1.45rem;
  line-height: 1.25;
}

.partner-strap-copy p {
  max-width: 350px;
  color: #1e4768;
  font-size: 0.88rem;
  line-height: 1.55;
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.7rem;
}

.partner-logo-tile {
  display: flex;
  min-width: 0;
  min-height: 128px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.7rem 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  transition: transform 220ms var(--ease-fluid), background 220ms ease, box-shadow 220ms ease;
}

.partner-logo-tile:hover {
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 180, 216, 0.25);
  transform: translateY(-5px);
}

.partner-logo-tile img {
  display: block;
  width: 100%;
  height: 78px;
  object-fit: contain;
}

.partner-logo-tile span {
  color: var(--color-teal);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
}

/* ==========================================================================
   SCIENCE OF METABOLIC RADICAL SENSING
   ========================================================================== */

.science-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.science-card {
  background: #ffffff;
  border: 2px solid var(--color-frosted);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.08);
  transition: border-color 200ms;
}

.science-card:hover {
  border-color: var(--color-turquoise);
}

.science-icon-wrap {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-inverse);
  background: linear-gradient(135deg, var(--color-teal), var(--color-turquoise));
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
}

.science-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-teal);
  margin-bottom: 0.85rem;
}

.science-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   STAKEHOLDER VALUE MATRIX
   ========================================================================== */

.stakeholders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.stakeholder-card {
  background: #ffffff;
  border: 2px solid var(--color-frosted);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.08);
}

.stakeholder-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--color-turquoise);
  display: block;
  margin-bottom: 0.35rem;
}

.stakeholder-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-teal);
  margin-bottom: 1.35rem;
}

.friction-point {
  font-size: 0.94rem;
  color: var(--status-alert);
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.coosa-solution {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 1.6rem;
  line-height: 1.55;
}

.stakeholder-metric {
  background: var(--color-cyan-light);
  border-left: 4px solid var(--color-teal);
  padding: 1.1rem 1.4rem;
  border-radius: 0 10px 10px 0;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.metric-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-teal);
}

.metric-desc {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   PRODUCTS: HIGH-CONTRAST AQUATIC CARDS
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 900px;
  margin-inline: auto;
  gap: 2.75rem;
}

.product-pathway {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 920px;
  margin: -0.5rem auto 2.5rem;
  padding: 0.8rem;
  border: 1px solid rgba(0, 119, 182, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(0, 54, 87, 0.06);
}

.pathway-stage {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.35rem 1rem;
}

.pathway-number {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-cyan-light);
  color: var(--color-teal);
  font: 800 0.72rem var(--font-mono);
}

.pathway-stage div {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.pathway-stage strong {
  color: var(--text-primary);
  font-size: 0.82rem;
}

.pathway-stage div span {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.pathway-device {
  margin-left: 0.35rem;
  color: var(--color-teal);
  font: 800 0.72rem var(--font-mono);
}

.pathway-stage-active .pathway-number {
  background: var(--color-teal);
  color: #ffffff;
}

.pathway-connector {
  color: var(--color-turquoise);
  font-size: 1.3rem;
  font-weight: 700;
}

/* ==========================================================================
   OUR FACILITY & ADVANCED MANUFACTURING SUITE
   ========================================================================== */

.facility-section {
  position: relative;
  padding: 6.5rem 0 5.5rem;
  overflow: clip;
}

.facility-intro-lead {
  max-width: 880px;
  margin: 0 auto 3rem;
  padding: 2.25rem 2.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.92));
  border: 1px solid rgba(0, 119, 182, 0.22);
  border-radius: var(--card-radius);
  box-shadow: 0 12px 32px rgba(0, 54, 87, 0.08);
  text-align: center;
}

.facility-intro-lead p {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.facility-tagline-quote {
  display: block;
  margin: 1.1rem auto 0;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 54, 87, 0.05);
  border-left: 3px solid var(--photon-teal-deep);
  border-radius: 4px;
  color: var(--photon-teal-deep);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}

.facility-subtabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.facility-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.45rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 119, 182, 0.22);
  border-radius: 999px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(4, 7, 12, 0.04);
}

.facility-tab-btn .tab-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.facility-tab-btn:hover {
  background: #ffffff;
  color: var(--color-teal);
  border-color: var(--color-teal);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 119, 182, 0.12);
}

.facility-tab-btn.active {
  background: linear-gradient(135deg, #0077b6, #00a8e8);
  border-color: var(--photon-cyan);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.28), 0 0 12px rgba(0, 242, 254, 0.25);
}

.facility-tab-btn.active .tab-icon {
  filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.6));
}

.facility-tab-pane {
  display: none;
}

.facility-tab-pane.active {
  display: block;
  animation: facilityPaneFade 280ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes facilityPaneFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Facility Overview / Architecture */
.facility-overview-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 252, 0.92));
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-ambient-md);
}

.facility-overview-header {
  margin-bottom: 1.5rem;
}

.facility-overview-header h3 {
  color: var(--text-primary);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.facility-overview-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

/* Salient Features Grid */
.facility-features-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.facility-features-title h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.facility-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.facility-feature-item {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 4px 14px rgba(4, 7, 12, 0.03);
}

.facility-feature-item:hover {
  transform: translateY(-3px);
  border-color: var(--photon-cyan);
  box-shadow: 0 10px 24px rgba(0, 119, 182, 0.12);
}

.facility-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.feature-num-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-teal);
  background: rgba(0, 119, 182, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.feature-icon-check {
  color: #10b981;
  font-size: 1.1rem;
  font-weight: 800;
}

.facility-feature-item h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.facility-feature-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Facility Visuals Showcase */
.facility-visual-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.facility-photo-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-ambient-md);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.facility-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 54, 87, 0.15);
}

.facility-photo-frame {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: #04070c;
}

.facility-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.facility-photo-card:hover .facility-photo-frame img {
  transform: scale(1.04);
}

.facility-photo-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(6, 11, 19, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: 999px;
  color: var(--photon-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.facility-photo-caption {
  padding: 1.25rem 1.5rem;
}

.facility-photo-caption h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.facility-photo-caption p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Quality Tab */
.facility-qc-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 252, 0.92));
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-ambient-md);
}

.facility-qc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.facility-qc-copy h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.facility-qc-copy p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.facility-qc-copy p:last-child {
  margin-bottom: 0;
}

.facility-qc-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 119, 182, 0.2);
  box-shadow: 0 10px 28px rgba(0, 54, 87, 0.12);
}

.facility-qc-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.facility-qc-visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(4, 7, 12, 0.85) 60%);
  color: #ffffff;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

/* Certificates Grid (Item 23) */
.cert-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.25rem;
}

.cert-section-header h3 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cert-section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cert-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.18);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease, border-color 240ms ease;
  box-shadow: 0 4px 16px rgba(4, 7, 12, 0.05);
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-teal);
  box-shadow: 0 14px 34px rgba(0, 54, 87, 0.16);
}

.cert-thumb-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 119, 182, 0.1);
  cursor: pointer;
}

.cert-thumb-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 300ms ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}

.cert-card:hover .cert-thumb-wrap img {
  transform: scale(1.05);
}

.cert-badge-chip {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 119, 182, 0.9);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.cert-body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cert-authority {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.cert-title {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.55rem;
}

.cert-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.btn-cert-inspect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.6rem 0.9rem;
  background: rgba(0, 119, 182, 0.08);
  border: 1px solid rgba(0, 119, 182, 0.24);
  border-radius: 6px;
  color: var(--color-teal);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms ease;
}

.btn-cert-inspect:hover {
  background: var(--color-teal);
  color: #ffffff;
  border-color: var(--color-teal);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
}

/* Location & Route Map Tab */
.route-map-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.route-map-frame-card {
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.18);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-ambient-md);
  display: flex;
  flex-direction: column;
}

.route-map-img-wrap {
  position: relative;
  background: #04070c;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.route-map-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 300ms ease;
}

.route-map-img-wrap:hover img {
  transform: scale(1.02);
}

.route-map-caption-bar {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 119, 182, 0.12);
}

.route-map-caption-bar strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.route-map-info-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 252, 0.92));
  border: 1px solid rgba(0, 119, 182, 0.18);
  border-radius: var(--card-radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-ambient-md);
  display: flex;
  flex-direction: column;
}

.route-map-info-card h3 {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.route-map-info-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.facility-address-box {
  background: rgba(0, 54, 87, 0.05);
  border-left: 3px solid var(--color-teal);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.facility-address-box strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.facility-address-box address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.transit-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.transit-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
}

.transit-highlights li span {
  color: var(--color-teal);
  font-weight: 800;
}

@media (max-width: 1024px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facility-visual-grid {
    grid-template-columns: 1fr;
  }

  .route-map-grid {
    grid-template-columns: 1fr;
  }

  .facility-qc-grid {
    grid-template-columns: 1fr;
  }
}

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

  .facility-subtabs-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .facility-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .facility-overview-card,
  .facility-qc-card,
  .route-map-info-card {
    padding: 1.5rem;
  }
}

.product-card {
  position: relative;
  background: linear-gradient(165deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(244, 251, 252, 0.92) 100%);
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 0 rgba(0, 54, 87, 0.04),
    0 1px 2px rgba(4, 7, 12, 0.04),
    0 6px 16px rgba(4, 7, 12, 0.06),
    0 20px 48px rgba(0, 54, 87, 0.08);
  transition:
    transform 280ms var(--ease-fluid),
    border-color 280ms ease,
    box-shadow 280ms var(--ease-fluid);
}

/* Machined specular filament beam along top edge */
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 242, 254, 0.65) 50%,
      transparent 100%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 280ms ease;
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 180, 216, 0.38);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 1),
    0 2px 4px rgba(4, 7, 12, 0.04),
    0 12px 28px rgba(4, 7, 12, 0.09),
    0 32px 64px rgba(0, 54, 87, 0.12),
    0 0 24px rgba(0, 242, 254, 0.14);
}

.product-card:hover::before {
  opacity: 1;
}

.featured-product {
  border-color: var(--color-turquoise);
}

/* ==========================================================================
   HARDWARE IMAGE STAGING & MOBILE DRAWER DOCKING (STAGE 6)
   ========================================================================== */

/* --- 1. OPTICAL PEDESTAL & HARDWARE CONTACT STAGING --- */
.product-media-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 3rem 2rem 2.5rem;
  background: radial-gradient(circle at 50% 35%,
      rgba(0, 242, 254, 0.08) 0%,
      rgba(0, 119, 182, 0.03) 45%,
      transparent 72%);
  overflow: visible;
  border-bottom: 1px solid rgba(0, 119, 182, 0.14);
}

/* Staging Chassis Wrapper */
.hardware-staging-plane {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Physical Hardware Imagery Lighting */
.hardware-staging-plane img,
.product-device-img,
.device-photo {
  display: block;
  max-height: 220px;
  width: auto;
  object-fit: contain;
  /* Dual-tier contact + ambient hardware shadow */
  filter:
    drop-shadow(0 2px 4px rgba(0, 24, 40, 0.12)) drop-shadow(0 14px 28px rgba(0, 40, 68, 0.22));
  transition:
    transform 340ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 340ms ease;
  will-change: transform, filter;
}

/* Elliptical Ground-Contact Shadow (Simulates Physical Platter) */
.hardware-staging-plane::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 10%;
  width: 80%;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
      rgba(0, 32, 52, 0.45) 0%,
      rgba(0, 32, 52, 0.18) 40%,
      transparent 75%);
  filter: blur(5px);
  pointer-events: none;
  z-index: -1;
  transition:
    transform 340ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 340ms ease;
}

/* Specular Lens Reflection Line Beneath Device */
.hardware-staging-plane::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 25%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 242, 254, 0.45) 50%,
      transparent 100%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 340ms ease;
}

/* Hover Physical Lift & Shadow Defocus */
.product-card:hover .hardware-staging-plane img,
.product-card:hover .hardware-staging-plane .product-device-img,
.product-card:hover .hardware-staging-plane .device-photo {
  transform: translateY(-8px) scale(1.025);
  filter:
    drop-shadow(0 4px 8px rgba(0, 24, 40, 0.14)) drop-shadow(0 24px 44px rgba(0, 54, 87, 0.28));
}

.product-card:hover .hardware-staging-plane::after {
  transform: scale(0.92);
  opacity: 0.55;
}

.product-card:hover .hardware-staging-plane::before {
  opacity: 1;
}

/* --- 2. MOBILE BOTTOM-DRAWER HUD DOCKING ENGINE --- */
.hud-drawer-handle {
  display: none;
  width: 100%;
  padding: 0.65rem 0 0.35rem;
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
}

.hud-drawer-bar {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: background-color 160ms ease, width 160ms ease;
}

.hud-drawer-hint {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--photon-cyan);
}

.device-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid rgba(0, 180, 216, 0.55);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  color: var(--color-teal);
}

.product-card-body {
  padding: 2.5rem;
}

.product-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: var(--color-cyan-light);
  color: var(--color-teal);
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

/* ========================================================================
   REGULATORY SHIELD: PRODUCT CLASSIFICATION CHIPS
   ======================================================================== */
.regulatory-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 0.9rem;
}

.regulatory-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 800 0.62rem/1.2 var(--font-mono);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.chip-amber {
  border-color: rgba(180, 111, 0, 0.34);
  background: #fff4d6;
  color: #8a5700;
}

.chip-cyan {
  border-color: rgba(0, 141, 166, 0.3);
  background: #e8f8fa;
  color: #006b7e;
}

.accent-badge {
  background: var(--color-frosted);
  color: var(--text-primary);
}

.product-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-teal);
  margin-bottom: 0.35rem;
}

.product-tagline {
  font-size: 0.98rem;
  color: var(--color-turquoise);
  font-weight: 700;
  margin-bottom: 1.35rem;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 1.85rem;
}

.product-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding: 0.8rem;
  border: 1px solid rgba(0, 119, 182, 0.12);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #f4fbfc, #ffffff);
}

.product-metrics>div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.75);
}

.product-metrics strong {
  color: var(--color-teal);
  font: 800 1.25rem var(--font-mono);
  letter-spacing: -0.04em;
}

.product-metrics span {
  color: var(--text-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.product-metrics .metric-emphasis {
  background: rgba(0, 119, 182, 0.08);
}

.product-metrics .metric-emphasis strong {
  color: var(--color-turquoise);
}

.product-details {
  margin-bottom: 1.35rem;
  border-top: 1px solid var(--color-frosted);
  border-bottom: 1px solid var(--color-frosted);
}

.product-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  list-style: none;
}

.product-details summary::-webkit-details-marker {
  display: none;
}

.product-details summary span {
  color: var(--color-turquoise);
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 200ms ease;
}

.product-details[open] summary span {
  transform: rotate(45deg);
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 0 0 1rem;
}

.details-grid h4 {
  margin-bottom: 0.45rem;
  color: var(--color-teal);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.details-grid p,
.details-grid li {
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.55;
}

.details-grid ul {
  display: grid;
  gap: 0.3rem;
  padding-left: 1rem;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-top: 2px solid var(--color-frosted);
  padding-top: 1.35rem;
  margin-bottom: 1.6rem;
}

.product-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-features li strong {
  color: var(--text-primary);
}

.btn-inspect {
  width: 100%;
  font-size: 0.9rem;
}

/* ==========================================================================
   LATEST NEWS: CLINICAL INTELLIGENCE TICKER
   ========================================================================== */

.latest-news-section {
  background: linear-gradient(180deg, #f4fbfc 0%, #e8f8fc 100%);
}

.news-ticker-bar {
  display: flex;
  align-items: center;
  width: 100%;
  height: 58px;
  margin-bottom: 2.5rem;
  overflow: hidden;
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #e8f4fc, #d5edf8);
  box-shadow: 0 10px 24px rgba(0, 119, 182, 0.08);
}

.ticker-label {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 155px;
  padding: 0 1rem;
  color: #0077b6;
  border-right: 1px solid rgba(0, 168, 232, 0.25);
  font: 800 0.68rem var(--font-mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ticker-viewport {
  min-width: 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: newsTicker 58s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-set {
  display: flex;
  flex-shrink: 0;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 430px;
  padding: 0 1.25rem;
  color: #082846;
  text-decoration: none;
  white-space: nowrap;
}

.news-thumb {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 168, 232, 0.35);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 119, 182, 0.15);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ticker-item:hover .news-thumb {
  border-color: #0077b6;
  transform: scale(1.08);
}

.item-tag {
  flex-shrink: 0;
  padding: 0.25rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 800 0.62rem var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-oncology {
  color: #0077b6;
}

.tag-endocrine {
  color: #7c3aed;
}

.tag-pathology {
  color: #059669;
}

.tag-bio {
  color: #b45309;
}

.tag-research {
  color: #e11d48;
}

.item-title {
  overflow: hidden;
  color: #082846;
  font-size: 0.8rem;
  font-weight: 700;
  text-overflow: ellipsis;
}

.item-date {
  color: #0077b6;
  font: 0.68rem var(--font-mono);
}

@keyframes newsTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(280px, 1fr));
  gap: 1rem;
}

.news-rail {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.25rem 0.25rem 1.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--color-turquoise) rgba(0, 119, 182, 0.12);
  scrollbar-width: thin;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 119, 182, 0.15);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(0, 54, 87, 0.06);
  transition: transform 250ms var(--ease-fluid), box-shadow 250ms var(--ease-fluid), border-color 250ms;
}

.news-rail .news-card {
  flex: 0 0 min(330px, 78vw);
  scroll-snap-align: start;
}

.news-card:nth-child(4) {
  grid-column: auto;
}

.news-card-image {
  width: calc(100% + 3rem);
  height: 155px;
  margin: -1.5rem -1.5rem 1.25rem;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 119, 182, 0.15);
}

.news-card:hover {
  border-color: var(--color-turquoise);
  box-shadow: 0 14px 30px rgba(0, 119, 182, 0.13);
  transform: translateY(-4px);
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.news-card-meta time {
  color: var(--text-muted);
  font: 0.68rem var(--font-mono);
  white-space: nowrap;
}

.news-card h3 {
  margin-bottom: 0.65rem;
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.35;
}

.news-card p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}

.news-link {
  margin-top: auto;
  padding-top: 1.15rem;
  color: var(--color-teal);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.news-link:hover {
  color: var(--color-turquoise);
}



/* ==========================================================================
   WORKFLOW STEPPER
   ========================================================================== */

.workflow-stepper-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.step-nav-btn {
  background: #ffffff;
  border: 2px solid var(--color-frosted);
  border-radius: var(--card-radius);
  padding: 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.05);
  transition: all 200ms var(--ease-fluid);
}

.step-nav-btn:hover {
  border-color: var(--color-turquoise);
  background: var(--color-cyan-light);
}

.step-nav-btn.active {
  border-color: var(--color-teal);
  background: var(--color-cyan-light);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.16);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-teal);
}

.step-label {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
}

.workflow-stage-display {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2.75rem;
  background: #ffffff;
  border: 2.5px solid var(--color-frosted);
  border-radius: var(--card-radius);
  padding: 2.75rem;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.08);
}

.workflow-wireframe {
  position: absolute;
  top: 50%;
  right: 2%;
  z-index: 0;
  width: min(48%, 430px);
  max-height: 86%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.96);
  filter: saturate(0.7) sepia(0.15);
  mix-blend-mode: multiply;
  transition: opacity 350ms ease, transform 500ms var(--ease-fluid);
}

.workflow-stage-display[data-step="3"] .workflow-wireframe {
  opacity: 0.16;
  transform: translateY(-50%) scale(1);
}

.workflow-stage-display> :not(.workflow-wireframe) {
  position: relative;
  z-index: 1;
}

.roadmap-heading {
  max-width: 720px;
  margin: 4.5rem auto 2rem;
  text-align: center;
}

.roadmap-heading h3 {
  margin: 0.45rem 0 0.55rem;
  color: var(--text-primary);
  font-size: 1.65rem;
  font-weight: 800;
}

.roadmap-heading p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ==========================================================================
   CLINICAL CONTINUUM DASHBOARD
   ========================================================================== */

.continuum-dashboard {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.dashboard-panel {
  min-width: 0;
  padding: 2.6rem;
  border: 1px solid rgba(0, 119, 182, 0.15);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(0, 54, 87, 0.07);
}

.or-workflow-panel {
  min-height: auto;
}

.pipeline-panel {
  min-height: auto;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(0, 119, 182, 0.1);
}

.panel-title-wrap h3 {
  margin-top: 0.45rem;
  color: var(--text-primary);
  font-size: 1.35rem;
  line-height: 1.2;
}

.panel-badge {
  display: inline-block;
  padding: 0.28rem 0.55rem;
  border-radius: 0.4rem;
  font: 800 0.65rem var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-active {
  color: #0369a1;
  background: #e0f2fe;
}

.badge-pipeline {
  color: #b45309;
  background: #fef3c7;
}

.telemetry-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--text-primary);
  color: #00f2fe;
  font: 0.68rem var(--font-mono);
  white-space: nowrap;
}

.telemetry-beacon {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.5);
  animation: telemetryPulse 1.8s infinite;
}

@keyframes telemetryPulse {

  0%,
  100% {
    opacity: 0.45;
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.45);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(0, 242, 254, 0);
  }
}

.continuum-stepper {
  position: relative;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.continuum-stepper::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 1.2rem;
  width: 2px;
  background: #dcecf2;
}

.continuum-stepper .step-nav-btn {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: start;
  gap: 0.8rem;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  box-shadow: none;
}

.continuum-stepper .step-nav-btn:hover,
.continuum-stepper .step-nav-btn.active {
  border-color: rgba(0, 168, 198, 0.25);
  background: #f4fbfc;
  box-shadow: 0 5px 16px rgba(0, 119, 182, 0.08);
}

.continuum-stepper .step-num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid var(--color-turquoise);
  border-radius: 50%;
  background: #ffffff;
}

.continuum-stepper .active .step-num {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: #00f2fe;
}

.continuum-stepper .step-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.continuum-stepper .step-content strong {
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.35;
}

.continuum-stepper .step-content small {
  color: var(--text-secondary);
  font-size: 0.76rem;
  line-height: 1.4;
}

.continuum-stepper .step-content em {
  display: inline-block;
  margin: 0.2rem 0 0 0.15rem;
  padding: 0.15rem 0.35rem;
  border-radius: 0.3rem;
  background: var(--color-cyan-light);
  color: var(--color-teal);
  font: 800 0.62rem var(--font-mono);
  font-style: normal;
  white-space: normal;
}

.continuum-dashboard .workflow-stage-display {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  min-height: 480px;
  padding: 2rem;
  border-width: 1px;
  background: #f8fcfe;
  box-shadow: none;
}

.continuum-dashboard .stage-telemetry-hud {
  width: min(60%, 420px);
}

.continuum-dashboard .hud-box {
  padding: 1rem;
}

.continuum-dashboard .stage-info {
  max-width: 60%;
}

.continuum-dashboard .workflow-wireframe {
  top: 50%;
  right: 2%;
  width: 43%;
  max-height: none;
  filter: none;
  mix-blend-mode: normal;
  opacity: 0;
  transform: translateY(-50%) scale(0.97);
}

.continuum-dashboard .workflow-stage-display[data-step="3"] .workflow-wireframe {
  opacity: 0.62;
  transform: translateY(-50%) scale(1);
  transform-origin: right center;
}

.pipeline-panel .pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pipeline-scope {
  flex-shrink: 0;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 119, 182, 0.08);
  border: 1px solid rgba(0, 119, 182, 0.2);
  color: var(--color-teal);
  font: 800 0.72rem var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pipeline-panel .pipeline-card {
  position: relative;
  min-height: 0;
  min-width: 0;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: var(--card-radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.92) 100%);
  box-shadow: 0 4px 16px rgba(0, 54, 87, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease, border-color 240ms ease;
  overflow: hidden;
}

.pipeline-panel .pipeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 254, 0.8) 50%, transparent 100%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 240ms ease;
}

.pipeline-panel .pipeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-teal);
  box-shadow: 0 14px 32px rgba(0, 54, 87, 0.12), 0 0 16px rgba(0, 242, 254, 0.15);
}

.pipeline-panel .pipeline-card:hover::before {
  opacity: 1;
}

.pipeline-panel .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.pipeline-panel .organ-tag {
  color: var(--color-teal);
  font: 800 0.72rem var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phase-pill {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font: 800 0.65rem var(--font-mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.phase-proto {
  color: #b45309;
  background: #fef3c7;
  border: 1px solid rgba(180, 83, 9, 0.2);
}

.phase-tech {
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid rgba(3, 105, 161, 0.2);
}

.phase-invitro {
  color: #7e22ce;
  background: #f3e8ff;
  border: 1px solid rgba(126, 34, 206, 0.2);
}

.phase-preclinical {
  color: #15803d;
  background: #dcfce7;
  border: 1px solid rgba(21, 128, 61, 0.2);
}

.pipeline-panel .pipeline-card h4 {
  margin-bottom: 0.55rem;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.pipeline-panel .pipeline-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

/* Clinical Pipeline Phase Progress Meter */
.pipeline-progress-box {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 119, 182, 0.12);
  margin-top: auto;
}

.pipeline-step-track {
  display: flex;
  gap: 4px;
  height: 5px;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 119, 182, 0.08);
}

.pipeline-step-segment {
  flex: 1;
  background: rgba(0, 119, 182, 0.14);
  border-radius: 999px;
  transition: background 200ms ease;
}

.pipeline-step-segment.filled {
  background: linear-gradient(90deg, var(--color-teal), var(--color-turquoise));
}

.pipeline-step-segment.active {
  background: var(--photon-cyan);
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.7);
}

.pipeline-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.pipeline-meta-row strong {
  color: var(--color-teal);
  font-weight: 700;
}

.stage-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-turquoise);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.stage-heading {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-teal);
  margin-bottom: 1.1rem;
  line-height: 1.2;
}

.stage-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.6rem;
  max-width: 68ch;
}

.stage-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.meta-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  background: var(--color-cyan-light);
  border: 1.5px solid var(--color-frosted);
  border-radius: 9999px;
  color: var(--text-primary);
}

.meta-pill.highlight {
  border-color: var(--color-turquoise);
  color: var(--color-teal);
  background: #ffffff;
}

.hud-box {
  background: var(--color-cyan-light);
  border: 2px solid var(--color-frosted);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hud-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 700;
}

.hud-readout {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-teal);
}

.hud-sub {
  font-size: 0.82rem;
  color: var(--color-turquoise);
  font-weight: 700;
}

/* ==========================================================================
   SPECIFICATIONS TABLE
   ========================================================================== */

.specs-table-wrapper {
  position: relative;
  overflow-x: auto;
  padding: 0;
  background: linear-gradient(165deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(244, 251, 252, 0.92) 100%);
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 0 rgba(0, 54, 87, 0.04),
    0 1px 2px rgba(4, 7, 12, 0.04),
    0 6px 16px rgba(4, 7, 12, 0.06),
    0 20px 48px rgba(0, 54, 87, 0.08);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.specs-table th {
  background: rgba(0, 54, 87, 0.04);
  padding: 0.85rem 1.25rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0, 119, 182, 0.14);
}

.specs-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--text-primary);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover td {
  background: rgba(0, 242, 254, 0.03);
}

/* ==========================================================================
   PIPELINE
   ========================================================================== */

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pipeline-card {
  position: relative;
  background: linear-gradient(165deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(244, 251, 252, 0.92) 100%);
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: var(--card-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 0 rgba(0, 54, 87, 0.04),
    0 1px 2px rgba(4, 7, 12, 0.04),
    0 6px 16px rgba(4, 7, 12, 0.06),
    0 20px 48px rgba(0, 54, 87, 0.08);
  transition:
    transform 280ms var(--ease-fluid),
    border-color 280ms ease,
    box-shadow 280ms var(--ease-fluid);
}

.pipeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 242, 254, 0.65) 50%,
      transparent 100%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 280ms ease;
}

.pipeline-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 180, 216, 0.38);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 1),
    0 2px 4px rgba(4, 7, 12, 0.04),
    0 12px 28px rgba(4, 7, 12, 0.09),
    0 32px 64px rgba(0, 54, 87, 0.12),
    0 0 24px rgba(0, 242, 254, 0.14);
}

.pipeline-card:hover::before {
  opacity: 1;
}

.pipeline-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--color-turquoise);
  text-transform: uppercase;
}

.pipeline-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-teal);
}

.pipeline-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pipeline-status {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 119, 182, 0.14);
}

/* ==========================================================================
   CLINICAL DEMO LEAD SCHEDULER WIZARD
   ========================================================================== */

.demo-card {
  position: relative;
  min-width: 0;
  background: linear-gradient(165deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(244, 251, 252, 0.92) 100%);
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: var(--card-radius);
  padding: 3.25rem;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 0 rgba(0, 54, 87, 0.04),
    0 1px 2px rgba(4, 7, 12, 0.04),
    0 8px 24px rgba(4, 7, 12, 0.07),
    0 32px 72px rgba(0, 54, 87, 0.10);
}

/* ==========================================================================
   SIMPLE CONTACT US SECTION (EMAIL & PHONE ONLY)
   ========================================================================== */

.contact-simple-section {
  position: relative;
  padding: 5.5rem 1.5rem 6rem;
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.45) 0%, rgba(255, 255, 255, 1) 100%);
}

.contact-simple-container {
  max-width: 960px;
  margin: 0 auto;
}

.contact-simple-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.contact-card-simple {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.18);
  border-radius: var(--card-radius);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 18px rgba(4, 7, 12, 0.04);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms ease;
}

.contact-card-simple:hover {
  transform: translateY(-5px);
  border-color: var(--color-teal);
  box-shadow: 0 16px 36px rgba(0, 54, 87, 0.12), 0 0 1px rgba(0, 242, 254, 0.3);
}

.contact-card-icon-wrap {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(0, 119, 182, 0.08);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: transform 240ms ease, background 240ms ease, color 240ms ease;
}

.contact-card-simple:hover .contact-card-icon-wrap {
  transform: scale(1.08);
  background: linear-gradient(135deg, #0077b6, #00a8e8);
  color: #ffffff;
}

.contact-card-icon-wrap.contact-icon-phone {
  background: rgba(0, 119, 182, 0.1);
  color: #0077b6;
}

.contact-card-simple:hover .contact-card-icon-wrap.contact-icon-phone {
  background: linear-gradient(135deg, #0077b6, #00a8e8);
  color: #ffffff;
}

.contact-card-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.contact-card-primary-link {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 180ms ease;
  line-height: 1.25;
}

.contact-card-primary-link:hover {
  color: var(--color-teal);
}

.contact-card-helper {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 1.75rem;
  flex-grow: 1;
  max-width: 340px;
}

.contact-simple-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 200ms ease;
}

.contact-btn-primary {
  background: linear-gradient(135deg, #0077b6, #00a8e8);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.25);
}

.contact-btn-primary:hover {
  background: linear-gradient(135deg, #005c8d, #0096c7);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 119, 182, 0.35);
}

.contact-btn-secondary {
  background: rgba(0, 119, 182, 0.08);
  color: var(--color-teal);
  border: 1px solid rgba(0, 119, 182, 0.28);
}

.contact-btn-secondary:hover {
  background: var(--color-teal);
  color: #ffffff;
  border-color: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 119, 182, 0.25);
}

.contact-address-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 2.25rem;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 182, 0.16);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 10px rgba(4, 7, 12, 0.03);
}

.contact-address-divider {
  width: 1px;
  height: 50px;
  background: rgba(0, 119, 182, 0.16);
}

.contact-address-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-address-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--color-teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-address-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .contact-simple-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-address-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-address-divider {
    display: none;
  }
}

.contact-header {
  max-width: 780px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.5rem;
  align-items: stretch;
}

.form-wizard-card {
  padding: 2.6rem;
}

.form-progress-bar {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.75rem;
  border-bottom: 0;
  padding-bottom: 0;
}

.progress-line {
  position: absolute;
  top: 1.05rem;
  right: 12%;
  left: 12%;
  z-index: -1;
  height: 2px;
  background: var(--color-frosted);
}

.progress-line span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--color-turquoise);
  transition: width 250ms ease;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-align: center;
}

.progress-step span {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 2px solid var(--color-frosted);
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-muted);
  font: 800 0.7rem var(--font-mono);
}

.progress-step.active,
.progress-step.completed {
  color: var(--color-teal);
}

.progress-step.active span,
.progress-step.completed span {
  border-color: var(--color-teal);
  background: var(--color-teal);
  color: #ffffff;
}

.step-subtext {
  margin: -0.9rem 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.role-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.role-card {
  position: relative;
  cursor: pointer;
}

.role-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-card-content {
  display: flex;
  flex-direction: column;
  min-height: 130px;
  gap: 0.45rem;
  padding: 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition:
    border-color 200ms var(--ease-fluid),
    background 200ms ease,
    transform 200ms var(--ease-fluid),
    box-shadow 200ms var(--ease-fluid);
}

.role-card:hover .role-card-content {
  border-color: rgba(0, 119, 182, 0.35);
  transform: translateY(-2px);
  box-shadow:
    0 4px 14px rgba(0, 54, 87, 0.07),
    0 0 0 1px rgba(0, 119, 182, 0.12);
}

.role-card input:checked+.role-card-content,
.role-card:has(input:checked) .role-card-content {
  border-color: var(--photon-cyan);
  background: linear-gradient(170deg, #f0faff 0%, #ffffff 100%);
  box-shadow:
    inset 0 1px 0 0 #ffffff,
    0 0 0 2px rgba(0, 180, 216, 0.35),
    0 8px 24px rgba(0, 119, 182, 0.12);
}

.role-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.55rem;
  background: var(--text-primary);
  color: #00f2fe;
  font: 800 0.62rem var(--font-mono);
}

.role-card-content strong {
  color: var(--text-primary);
  font-size: 0.86rem;
}

.role-card-content small {
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.4;
}

.contact-trust-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.4rem;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, #e8f4fc, #d5edf8);
  border: 1px solid rgba(0, 168, 232, 0.28);
  color: #082846;
  box-shadow: 0 12px 30px rgba(0, 119, 182, 0.08);
}

.trust-kicker {
  color: #0077b6;
  font: 800 0.68rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-trust-panel h3 {
  color: #082846;
  font-size: 1.55rem;
  line-height: 1.2;
}

.contact-trust-panel>p,
.trust-next p {
  color: #1e4768;
  font-size: 0.88rem;
  line-height: 1.65;
}

.trust-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(0, 168, 232, 0.25);
}

.trust-contact span {
  color: #486581;
  font: 0.66rem var(--font-mono);
  text-transform: uppercase;
}

.trust-contact strong,
.trust-contact a {
  color: #082846;
  font-size: 0.94rem;
  text-decoration: none;
}

.trust-contact a:hover {
  color: #0077b6;
}

.trust-next {
  margin-top: auto;
  padding: 1rem;
  border: 1px solid rgba(0, 168, 232, 0.25);
  border-radius: 0.7rem;
  background: rgba(0, 119, 182, 0.08);
}

.trust-next strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #082846;
  font-size: 0.84rem;
}

.trust-location {
  color: #486581;
  font: 0.7rem/1.55 var(--font-mono);
}

.form-progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.75rem;
  border-bottom: 2px solid var(--color-frosted);
  padding-bottom: 1.25rem;
}

.progress-step {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-muted);
}

.progress-step.active {
  color: var(--color-teal);
}

.progress-step.completed {
  color: var(--color-turquoise);
}

.progress-step.completed::after {
  content: " ✓";
}

.form-step-pane {
  display: none;
}

.form-step-pane.active {
  display: block;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-teal);
  margin-bottom: 1.6rem;
}

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.custom-radio {
  cursor: pointer;
}

.custom-radio input {
  display: none;
}

.radio-box {
  display: block;
  padding: 1.1rem;
  background: var(--color-cyan-light);
  border: 2px solid var(--color-frosted);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  transition: all 200ms;
}

.custom-radio input:checked+.radio-box {
  border-color: var(--color-teal);
  background: #ffffff;
  color: var(--color-teal);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.15);
}

.input-group {
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

label {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================================
   INSTITUTIONAL TERMINAL FORM INPUTS (STAGE 5)
   Recessed Console Cavities — Replace flat paper fields
   ========================================================================== */

/* Recessed Bay Inputs — dark console fields within light-surface wizard */
input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 0.9rem 1.15rem;
  background: var(--color-cyan-light);
  border: 2px solid var(--color-frosted);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.96rem;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  transition: border-color 200ms, box-shadow 200ms, background-color 200ms;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
  background-color: #ffffff;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.2);
}

/* Terminal Recessed Variants — used inside dark .terminal-form-card panels */
.terminal-input,
.terminal-select,
.terminal-textarea {
  width: 100%;
  background: rgba(3, 7, 13, 0.75) !important;
  border: 1px solid rgba(0, 119, 182, 0.28) !important;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #ffffff !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
  outline: none;
}

.terminal-input::placeholder {
  color: #475569;
}

.terminal-input:focus,
.terminal-select:focus,
.terminal-textarea:focus {
  background: rgba(4, 9, 16, 0.95) !important;
  border-color: var(--photon-cyan) !important;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.6),
    0 0 0 1px var(--photon-cyan),
    0 0 16px rgba(0, 242, 254, 0.2) !important;
}

.input-error {
  border-color: var(--status-alert) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
}

.input-error-msg {
  display: none;
  color: var(--status-alert);
  font-size: 0.8rem;
  font-weight: 600;
}

.input-error-msg.visible {
  display: block;
  margin-top: 0.35rem;
}

.button-row {
  display: flex;
  justify-content: flex-end;
  gap: 1.15rem;
  margin-top: 2.25rem;
}

.form-success-banner {
  padding: 2.25rem 2rem;
  background: #ffffff;
  border: 2px solid var(--color-turquoise);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 86, 132, 0.12);
  text-align: left;
}

.success-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.3);
  font: 800 0.65rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.form-success-banner h3 {
  color: var(--color-teal);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-success-banner p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.dossier-preview-card {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: 10px;
  background: #060b13;
  border: 1px solid rgba(0, 242, 254, 0.28);
  color: #caf0f8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font: 700 0.64rem var(--font-mono);
  letter-spacing: 0.08em;
  color: #00f2fe;
}

.dossier-pre {
  font: 0.72rem/1.55 var(--font-mono);
  color: #e2f1f8;
  white-space: pre-wrap;
  word-break: break-word;
  background: transparent;
  border: none;
  margin: 0 0 1.2rem 0;
  padding: 0;
}

.dossier-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-copied {
  background: #059669 !important;
  border-color: #059669 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   INSTITUTIONAL TERMINAL STYLING (STAGE 5)
   Surgical Diagnostic Modals & High-Precision Lead Provisioning
   ========================================================================== */

/* --- TERMINAL TOP BAR (Shared by modal chassis + form card header) --- */
.terminal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.4rem;
  background: rgba(4, 7, 12, 0.95);
  border-bottom: 1px solid rgba(0, 242, 254, 0.14);
}

.terminal-meta-cluster {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.terminal-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--photon-cyan);
  box-shadow: 0 0 8px var(--photon-cyan);
  animation: compliancePulse 2s infinite ease-in-out;
  flex-shrink: 0;
}

.terminal-close-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 160ms ease;
  font-size: 1.1rem;
  line-height: 1;
}

.terminal-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 242, 254, 0.4);
  color: #ffffff;
}

/* Terminal Interior Body */
.terminal-interior {
  padding: 1.75rem;
  color: #f1f5f9;
}

.terminal-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 0.5rem;
}

.terminal-sub {
  font-size: 0.84rem;
  color: var(--text-inverse-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Cryptographic Dossier Code Viewport */
.dossier-code-view {
  width: 100%;
  height: 220px;
  background: #020509 !important;
  color: #38bdf8 !important;
  font-family: var(--font-mono) !important;
  font-size: 0.76rem !important;
  line-height: 1.55 !important;
  border: 1px solid rgba(0, 242, 254, 0.18) !important;
  border-radius: 8px;
  padding: 1rem;
  resize: none;
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

.terminal-action-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

/* --- MACHINED CONSOLE DISPATCH BUTTON --- */
.btn-terminal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.75rem;
  background: linear-gradient(180deg, #0096c7 0%, #0077b6 100%);
  border: 1px solid rgba(0, 242, 254, 0.45);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 16px rgba(0, 119, 182, 0.35);
  transition:
    transform 160ms var(--ease-fluid),
    box-shadow 160ms ease,
    filter 160ms ease;
}

.btn-terminal-submit:hover {
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 24px rgba(0, 180, 216, 0.45),
    0 0 16px rgba(0, 242, 254, 0.25);
  transform: translateY(-2px);
}

.btn-terminal-submit:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: inset 0 2px 4px rgba(0, 20, 40, 0.4);
}

.btn-terminal-secondary {
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 160ms ease;
}

.btn-terminal-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 242, 254, 0.35);
  color: #ffffff;
}

/* Terminal form card (dark-surface form wrapper) */
.terminal-form-card {
  background: var(--obsidian-surface);
  border: 1px solid rgba(0, 242, 254, 0.18);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 64px rgba(4, 7, 12, 0.35);
  overflow: hidden;
}

.terminal-form-card .terminal-top-bar {
  margin: -2.25rem -2.25rem 2rem;
  border-radius: 15px 15px 0 0;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #94a3b8;
  margin-bottom: 0.45rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.evaluation-section {
  position: relative;
}

/* Recessed Bay Inputs */
.terminal-input,
.terminal-select,
.terminal-textarea {
  width: 100%;
  background: rgba(3, 7, 13, 0.75) !important;
  border: 1px solid rgba(0, 119, 182, 0.28) !important;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #ffffff !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
  outline: none;
}

.terminal-input::placeholder {
  color: #475569;
}

.terminal-input:focus,
.terminal-select:focus,
.terminal-textarea:focus {
  background: rgba(4, 9, 16, 0.95) !important;
  border-color: var(--photon-cyan) !important;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.6),
    0 0 0 1px var(--photon-cyan),
    0 0 16px rgba(0, 242, 254, 0.2) !important;
}

.hud-mono-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 242, 254, 0.75);
}

@media (max-width: 768px) {
  .terminal-form-card {
    padding: 1.5rem !important;
  }

  .terminal-form-card .terminal-top-bar {
    margin: -1.5rem -1.5rem 1.5rem -1.5rem !important;
  }

  .terminal-form-card form div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   OBSIDIAN ENTERPRISE FOOTER (STAGE 4 — Grounded in Deep Surgical Black)
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf4fc 0%, #d8edf8 100%);
  border-top: 1px solid rgba(0, 168, 232, 0.28);
  padding: 4.5rem 0 0;
  color: #334e68;
  z-index: 2;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(280px, 1fr) minmax(220px, 0.8fr);
  gap: 3.25rem;
  padding-bottom: 4rem;
}

.footer-corporate {
  max-width: 390px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: 225px;
  margin-bottom: 1.1rem;
}

.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}

.footer-kicker,
.footer-card-label {
  display: block;
  color: #0077b6;
  font: 800 0.66rem var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-corporate h2 {
  max-width: 360px;
  margin: 0.7rem 0 0;
  color: #082846;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  line-height: 1.1;
}

.footer-desc {
  margin: 1.2rem 0 1.5rem;
  color: #1e4768;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #0077b6;
  color: #0077b6;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: gap 180ms ease, color 180ms ease;
}

.footer-cta:hover {
  gap: 0.9rem;
  color: var(--color-teal);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 1rem;
}

.link-column h4 {
  margin-bottom: 1.15rem;
  color: #082846;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.link-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-column a {
  text-decoration: none;
  color: #1e4768;
  font-size: 0.82rem;
  transition: color 150ms ease, padding-left 150ms ease;
}

.link-column a:hover {
  padding-left: 0.25rem;
  color: #0077b6;
}

.footer-contact-card {
  align-self: start;
  padding: 1.4rem;
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(0, 119, 182, 0.08);
}

.footer-contact-card h3 {
  margin: 0.65rem 0 1rem;
  color: #082846;
  font-size: 1.15rem;
}

.footer-contact-card>a {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: #0077b6;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-contact-card>a:hover {
  color: var(--color-teal);
}

.footer-contact-card p {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 168, 232, 0.2);
  color: #1e4768;
  font-size: 0.76rem;
  line-height: 1.6;
}

.footer-contact-card p+p {
  margin-top: 0.85rem;
}

.footer-contact-card strong {
  color: #082846;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-cin {
  color: #486581;
  font: 0.68rem var(--font-mono);
  white-space: nowrap;
}

.footer-bottom-content .regulatory-disclosure {
  margin: 0;
  text-align: left;
}

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

  .footer-corporate {
    max-width: none;
  }

  .footer-contact-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 3.5rem;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
  }

  .footer-links {
    padding-top: 0;
  }

  .footer-contact-card {
    grid-column: auto;
  }

  .footer-bottom-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom-content .regulatory-disclosure {
    text-align: left;
  }

  .footer-cin {
    white-space: normal;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(0, 168, 232, 0.2);
  padding: 2rem 0;
  background: rgba(0, 119, 182, 0.05);
}

.regulatory-disclosure {
  font-size: 0.82rem;
  color: #334e68;
  line-height: 1.6;
  text-align: center;
}

/* ==========================================================================
   MODAL WINDOW
   ========================================================================== */

/* ==========================================================================
   TERMINAL DIAGNOSTIC MODAL CHASSIS (STAGE 5)
   ========================================================================== */

/* Backdrop: deeper obsidian scrim */
.clinical-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 10, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 220ms var(--ease-fluid);
}

.clinical-modal-backdrop.open,
.clinical-modal-backdrop.is-visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* Spec-sheet dialog (product modals) — retains light surface */
.clinical-modal-dialog {
  background: var(--obsidian-elevated);
  border: 1px solid rgba(0, 242, 254, 0.22);
  border-radius: var(--card-radius);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.75rem;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 24px 60px rgba(0, 0, 0, 0.75),
    0 0 32px rgba(0, 242, 254, 0.08);
  transform: scale(0.97) translateY(8px);
  transition: transform 240ms var(--ease-fluid);
  color: #f1f5f9;
}

.clinical-modal-backdrop.open .clinical-modal-dialog,
.clinical-modal-backdrop.is-visible .clinical-modal-dialog {
  transform: scale(1) translateY(0);
}

/* Dossier modal content wrapper */
.clinical-modal-content {
  position: relative;
  background: var(--obsidian-surface) !important;
  border: 1px solid rgba(0, 242, 254, 0.24) !important;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  padding: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 24px 64px rgba(0, 0, 0, 0.75),
    0 0 32px rgba(0, 242, 254, 0.08) !important;
  overflow: hidden;
  transform: scale(0.97) translateY(8px);
  transition: transform 240ms var(--ease-fluid);
}

.clinical-modal-backdrop.open .clinical-modal-content,
.clinical-modal-backdrop.is-visible .clinical-modal-content {
  transform: scale(1) translateY(0);
}

/* Legacy close button (spec sheet modal) */
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 160ms ease;
  line-height: 1;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 242, 254, 0.4);
  color: #ffffff;
}

.modal-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--photon-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  margin: 1.5rem 0;
}

.modal-data-point {
  background: rgba(0, 242, 254, 0.04);
  padding: 1.15rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 242, 254, 0.16);
}

.modal-data-label {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.modal-data-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--photon-cyan);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .continuum-dashboard {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-trust-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .contact-trust-panel h3,
  .contact-trust-panel>p {
    grid-column: 1 / -1;
  }

  .trust-next {
    margin-top: 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .leadership-grid,
  .pipeline-grid,
  .pipeline-panel .pipeline-grid,
  .science-grid,
  .stakeholders-grid,
  .about-platform-grid,
  .team-grid,
  .achievement-pillars,
  .rnd-validation-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid>.team-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .achievement-highlight {
    grid-template-columns: 1fr;
  }

  .achievement-highlight h3,
  .achievement-highlight-copy p {
    max-width: none;
  }

  .rnd-pipeline {
    grid-template-columns: 1fr;
  }

  .rnd-pipeline-card:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -1.1rem;
    left: 50%;
    content: "↓";
  }

  .rnd-subsection-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .rnd-subsection-heading p {
    max-width: none;
    margin-left: 0;
  }

  .rnd-value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rnd-value-grid>div:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .about-trust-panel,
  .partner-strap {
    grid-template-columns: 1fr;
  }

  .about-trust-panel>div {
    padding: 0 0 1.25rem;
    border-right: 0;
    border-bottom: 1px solid rgba(144, 224, 239, 0.35);
  }

  .about-trust-panel>div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .partner-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .workflow-stepper-nav {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-stage-display {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    min-height: auto;
    padding: 0.75rem 0;
  }

  .site-header.is-scrolled {
    padding: 0.45rem 0;
  }

  .header-container {
    flex-direction: column;
    gap: 0.65rem;
    min-height: auto;
    padding: 0 1rem;
  }

  .brand-identity {
    position: relative;
  }

  .brand-logo-img {
    height: 46px;
    width: auto;
  }

  .site-header.is-scrolled .brand-logo-img {
    height: 38px;
    width: auto;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
  }

  .nav-link {
    font-size: 0.78rem;
    padding: 0.35rem 0.5rem;
  }

  .header-action {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height, 135px) + 2.5rem);
    padding-bottom: 3.5rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .clinical-badge {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.76rem;
    padding: 0.4rem 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.2vw, 2.35rem);
    line-height: 1.15;
    word-break: break-word;
  }

  .hero-description {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .trust-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.9rem;
  }

  .about-grid,
  .about-story-grid,
  .about-platform-grid,
  .team-grid,
  .products-grid,
  .leadership-grid,
  .pipeline-grid,
  .science-grid,
  .stakeholders-grid,
  .achievement-pillars,
  .footer-layout,
  .input-grid,
  .radio-grid {
    grid-template-columns: 1fr;
  }

  .team-grid>.team-card:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

  .about-story-card {
    padding: 2rem;
  }

  .about-story-card h3 {
    font-size: 1.55rem;
  }

  .partner-strap {
    padding: 1.5rem;
  }

  .achievement-highlight {
    padding: 1.5rem;
  }

  .achievement-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .achievement-pillar {
    min-height: auto;
  }

  .achievement-pillar p {
    min-height: 0;
  }

  .achievement-ribbon-items {
    grid-template-columns: 1fr;
  }

  .rnd-validation-grid,
  .rnd-value-grid {
    grid-template-columns: 1fr;
  }

  .rnd-value-grid>div {
    padding: 0 0 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(157, 234, 242, 0.3);
  }

  .rnd-value-grid>div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .story-step {
    left: 5%;
    max-width: 88%;
  }

  .story-scroll-track {
    height: 360vh;
  }

  .story-hud-telemetry {
    top: 1rem;
    right: 1rem;
    font-size: 0.58rem;
    letter-spacing: 0.8px;
  }

  /* Dock HUD to Mobile Viewport Base */
  #storyHud,
  .story-hud-panel,
  .hud-card {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(0, 242, 254, 0.35) !important;
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.75) !important;
    z-index: 1000 !important;
    padding: 0.75rem 1.25rem 1.25rem !important;

    /* Default: Collapsed mini-bar state (frees 85% of screen for canvas dive) */
    transform: translateY(calc(100% - 62px));
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hud-drawer-handle {
    display: flex;
  }

  /* Expanded Sheet State on User Tap/Drag */
  #storyHud.is-expanded,
  .story-hud-panel.is-expanded,
  .hud-card.is-expanded {
    transform: translateY(0) !important;
  }

  #storyHud.is-expanded .hud-drawer-bar,
  .story-hud-panel.is-expanded .hud-drawer-bar {
    background: var(--photon-cyan);
    width: 44px;
  }

  /* Hide oscilloscope sparkline in collapsed bar to avoid layout crunch */
  #storyHud:not(.is-expanded) .hud-oscilloscope-container,
  #storyHud:not(.is-expanded) .hud-oscilloscope-wrapper {
    display: none;
  }

  #storyHud:not(.is-expanded) .hud-telemetry-body,
  #storyHud:not(.is-expanded) .hud-readout-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem !important;
  }

  #storyHud:not(.is-expanded) #hudDynamicVal,
  #storyHud:not(.is-expanded) .hud-footnote,
  #storyHud:not(.is-expanded) .hud-delta {
    display: none;
  }

  #storyHud:not(.is-expanded) #hudImpedanceVal,
  #storyHud:not(.is-expanded) .hud-num {
    font-size: 1rem !important;
  }

  .story-content-layer {
    padding: 0 1.25rem;
  }

  .story-chapter {
    right: 1.25rem;
    left: 1.25rem;
    max-width: none;
    padding: 1rem 1.1rem 1.1rem;
  }

  .chapter-title {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .chapter-lead {
    max-width: 32rem;
    font-size: 0.92rem;
  }

  .story-progress-indicator {
    right: 0.85rem;
    height: 110px;
  }

  .story-scroll-track>.container {
    bottom: 1rem;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-pathway {
    align-items: stretch;
    flex-direction: column;
    gap: 0.35rem;
    border-radius: 1rem;
  }

  .form-wizard-card {
    padding: 1.5rem;
  }

  .role-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-trust-panel {
    display: flex;
    padding: 1.5rem;
  }

  .form-progress-bar {
    margin-bottom: 2rem;
  }

  .pathway-stage {
    padding: 0.45rem 0.6rem;
  }

  .pathway-connector {
    align-self: center;
    transform: rotate(90deg);
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .news-ticker-bar {
    height: auto;
    min-height: 58px;
  }

  .ticker-label {
    min-width: 118px;
    padding: 0 0.7rem;
    font-size: 0.58rem;
  }

  .ticker-item {
    width: 340px;
    padding: 0 0.8rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-rail .news-card,
  .news-card:nth-child(4) {
    grid-column: auto;
    min-height: 0;
  }

  .dashboard-panel {
    padding: 1.25rem;
  }

  .or-workflow-panel,
  .pipeline-panel {
    min-height: 0;
  }

  .panel-header {
    flex-direction: column;
  }

  .telemetry-pill {
    align-self: flex-start;
  }

  .pipeline-panel .pipeline-grid {
    grid-template-columns: 1fr;
  }

  .continuum-dashboard .workflow-stage-display {
    min-height: 470px;
  }

  .continuum-dashboard .stage-info,
  .continuum-dashboard .stage-telemetry-hud {
    width: 100%;
    max-width: 100%;
  }

  .continuum-dashboard .workflow-wireframe {
    top: auto;
    right: -4%;
    bottom: -8%;
    width: 72%;
    max-height: none;
    opacity: 0;
    transform: none;
  }

  .continuum-dashboard .workflow-stage-display[data-step="3"] .workflow-wireframe {
    opacity: 0.24;
    transform: scale(1);
    transform-origin: right bottom;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.55rem 0;
  }

  .header-container {
    gap: 0.45rem;
    padding: 0 0.75rem;
  }

  .brand-logo-img {
    height: 40px;
    width: auto;
  }

  .nav-link {
    font-size: 0.72rem;
    padding: 0.28rem 0.42rem;
  }

  .hero-section {
    padding-top: calc(var(--header-height, 125px) + 2rem);
    padding-bottom: 2.75rem;
  }

  .hero-title {
    font-size: 1.78rem;
    letter-spacing: -0.035em;
  }

  .hero-description {
    font-size: 0.92rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .trust-item {
    min-height: auto;
    padding: 1rem 0.85rem;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-scroll-track {
    height: auto !important;
  }

  .story-sticky-viewport {
    position: relative !important;
    height: auto !important;
    min-height: 0;
    padding: 60px 0;
  }

  #story-canvas,
  .story-vignette-overlay,
  .story-sticky-viewport::after,
  .story-progress-indicator {
    display: none !important;
  }

  .story-content-layer {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 0 6%;
  }

  .story-chapter {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    max-width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .story-hud-panel {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    margin: 24px 6% 0;
  }
}