/* ==========================================================================
1. DESIGN SYSTEM & THEME TOKENS
========================================================================== */
:root {
  --font-display: "Syne", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Fluid type: each role has a floor, a viewport slope, and a ceiling. */
  --text-xs: clamp(0.75rem, 0.72rem + 0.18vw, 0.84rem);
  --text-sm: clamp(0.84rem, 0.8rem + 0.2vw, 0.94rem);
  --text-md: clamp(0.95rem, 0.9rem + 0.22vw, 1.05rem);
  --text-lg: clamp(1.02rem, 0.94rem + 0.4vw, 1.2rem);
  --text-xl: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  --text-2xl: clamp(1.35rem, 1.1rem + 1.05vw, 1.9rem);
  --text-3xl: clamp(1.7rem, 1.25rem + 1.7vw, 2.55rem);
  --text-4xl: clamp(2rem, 1.35rem + 2.35vw, 3.2rem);

  /* Light Mode Tokens (Clinical Cleanroom Aesthetic) */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-elevated: #f1f5f9;
  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --brand-primary: #0047a5; /* Deep Royal Blue */
  --brand-accent: #0052b4; /* Cobalt Blue */
  --brand-accent-glow: rgba(0, 82, 180, 0.12);
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --nav-glass: rgba(255, 255, 255, 0.85);
  --shadow-card: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 30px -6px rgba(0, 71, 165, 0.15);
}

[data-theme="dark"] {
  /* Dark Mode Tokens (Deep Midnight Laboratory) */
  --bg-page: #060911;
  --bg-surface: #0e1526;
  --bg-elevated: #152038;
  --text-title: #f8fafc;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --brand-primary: #2078c8;
  --brand-accent: #52bfe3;
  --brand-accent-glow: rgba(82, 191, 227, 0.15);
  --border-subtle: #1e293b;
  --border-strong: #334155;
  --nav-glass: rgba(14, 21, 38, 0.85);
  --shadow-card: 0 4px 25px -4px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 16px 36px -6px rgba(82, 191, 227, 0.2);
}

/* Base Resets */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  position: relative;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
}

/* Subtle Technical Grid Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  /* max-width: 1240px; */
  max-width: 1262px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 6rem 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

.section-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--brand-accent);
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 1.05rem + 1.15vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.section-tag::after {
  content: "";
  width: 2.75rem;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.section-header .section-tag,
.career-success .section-tag {
  align-items: center;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.section-header-wide {
  max-width: none;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p,
.lede {
  font-size: var(--text-lg);
  color: var(--text-muted);
}

.text-muted { color: var(--text-muted); }
.text-sm { font-size: var(--text-sm); }
.emphasis { font-weight: 600; color: var(--text-title); }

.about-copy h2,
.contact-copy h2 {
  margin-bottom: 1.15rem;
}

.about-copy p,
.mission-box p,
.contact-copy > p {
  font-size: var(--text-lg);
  line-height: 1.75;
}

.about-copy p + p { margin-top: 1.15rem; }

.mission-box h3,
.contact-copy h2 { margin-bottom: 1rem; }

.mission-box p { line-height: 1.7; }

.span-across {
  font-size: var(--text-md);
  color: var(--brand-accent);
  border-bottom: 1px dashed var(--border-strong);
  padding-bottom: 0.4rem;
  grid-column: 1 / -1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: var(--text-md);
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--brand-accent);
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--brand-accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--brand-accent-glow);
  filter: brightness(1.05);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-title);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  transform: translateY(-2px);
}

.btn-compact { padding: 0.6rem 1.25rem; }
.btn-block { width: 100%; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--brand-accent);
  color: #fff;
  border-radius: 6px;
  font-size: var(--text-sm);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

/* Cards */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

/* ==========================================================================
           2. NAVIGATION BAR (STICKY GLASS + ACCESSIBLE DRAWER)
           ========================================================================== */
nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.75rem;
  background: var(--nav-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.03em;
}

.brand-logo span {
  color: var(--brand-accent);
}

.brand-logo .logo {
  width: clamp(7.75rem, 22vw, 11.25rem);
  height: auto;
}

.footer-brand { margin-bottom: 0.75rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.3vw, 1.5rem);
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-body);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text-title);
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-accent);
  transform: scale(1.05);
}

.mobile-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-title);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-drawer {
  position: fixed;
  top: 4.75rem;
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  z-index: 99;
}

.mobile-drawer a {
  color: var(--text-title);
  font-size: var(--text-md);
  font-weight: 600;
  text-decoration: none;
}

.mobile-drawer a:hover { color: var(--brand-accent); }

/* ==========================================================================
           3. HERO & TRUST STATS STRIP
           ========================================================================== */
.hero {
  padding: 10rem 0 5rem;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--brand-accent-glow);
  border: 1px solid var(--brand-accent);
  border-radius: 9999px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--brand-accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  max-width: 950px;
  margin: 0 auto 1rem;
}

.hero h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  max-width: 950px;
  margin: 0 auto 1.5rem;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4.5rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.trust-item {
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}

.trust-item:last-child {
  border-right: none;
}

.trust-val {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.45rem);
  font-weight: 700;
  color: var(--brand-accent);
  line-height: 1.3;
}

.trust-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ==========================================================================
           4. ABOUT & MISSION
           ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.mission-box {
  background: linear-gradient(
    135deg,
    var(--bg-surface) 0%,
    var(--bg-elevated) 100%
  );
  border: 1px solid var(--border-strong);
  border-left: 5px solid var(--brand-accent);
  padding: 2.5rem;
  border-radius: 10px;
}

/* ==========================================================================
5. SERVICES (INTERACTIVE ACCORDION WITH ARIA)
========================================================================== */
.accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.accordion-item.open {
  border-color: var(--brand-accent);
}

.accordion-trigger {
  width: 100%;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text-title);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.accordion-title {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.accordion-index {
  flex: 0 0 2.25rem;
  width: 2.25rem;
  min-width: 2.25rem;
  color: var(--brand-accent);
  font-family: var(--font-mono);
  font-size: 0.92em;
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0;
  text-align: right;
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--brand-accent);
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  padding: 0 2rem 2rem;
  border-top: 1px solid var(--border-subtle);
}

.service-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.span-full {
  grid-template-columns: 1fr;
}

.detail-split {
  display: flex;
  gap: 1.25rem;
}

.detail-split > ul {
  flex: 1;
  min-width: 0;
}

.service-detail-col h4 {
  font-size: var(--text-md);
  color: var(--brand-accent);
  margin-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-strong);
  padding-bottom: 0.4rem;
}

.service-detail-col ul {
  list-style: none;
}

.service-detail-col li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-body);
}

.service-detail-col li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--brand-accent);
}

/* ==========================================================================
6. ENHANCED Z-PATTERN: OUR ADVANTAGE (TECHNICAL SVGS)
========================================================================== */
.z-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.z-row.reverse {
  direction: rtl;
}

.z-row.reverse .z-content,
.z-row.reverse .z-image {
  direction: ltr;
}

.z-num {
  font-family: var(--font-mono);
  /* font-size: var(--text-xs); */
  font-size: var(--text-md);
  color: var(--brand-accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.z-content h3 {
  margin-bottom: 1.25rem;
}

.z-content p {
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: 1.8;
}

.z-image {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
}

.z-image::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px 20px var(--bg-page);
  pointer-events: none;
}

.media-wide {
  display: block;
  width: min(100%, 31.25rem);
  height: auto;
}

/* ==========================================================================
7. INFRASTRUCTURE & ACCREDITATIONS
========================================================================== */
.infra-badge {
  background:
    linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.infra-badge::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  left: -8rem;
  bottom: -10rem;
  border-radius: 50%;
  background: var(--brand-accent-glow);
  filter: blur(12px);
  pointer-events: none;
}

.facility-image {
  display: block;
  width: 100%;
  max-width: 450px;
  height: clamp(260px, 34vw, 390px);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
}

.facility-block + .facility-block { margin-top: 1.5rem; }

.facility-title { margin-bottom: 0.35rem; }

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 6rem;
}

.infra-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.infra-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-hover);
}

.infra-canvas {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.75rem;
  min-height: 12.5rem;
  padding: 1.15rem 0.85rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.instrument-shot {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  min-width: 0;
  margin: 0;
}

.instrument-shot img {
  width: auto;
  max-width: 100%;
  height: 6.75rem;
  object-fit: contain;
}

.instrument-shot figcaption {
  min-height: 2.7em;
  max-width: 9.5rem;
  color: var(--brand-primary);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.infra-info {
  padding: 1.25rem;
}

.card-note {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.table-title { margin-bottom: 1rem; }


/* Accreditations Table */
.data-table-wrap {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

table.accred-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-sm);
}

table.accred-table td:first-child {
  font-family: var(--font-mono);
  white-space: nowrap;
}

table.accred-table th,
table.accred-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

table.accred-table th {
  background: var(--bg-elevated);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-title);
}

table.accred-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
           8. QUALITY & DATA INTEGRITY FRAMEWORK
           ========================================================================== */
.policies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.policy-list {
  list-style: none;
  margin-top: 1.25rem;
}

.policy-list li {
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.policy-check {
  color: var(--brand-accent);
  font-weight: 700;
}

.card > h3,
.form-title {
  margin-bottom: 0.5rem;
  font-size: var(--text-xl);
}

.form-title { margin-bottom: 1.5rem; }

.copy-muted {
  color: var(--text-muted);
  font-size: var(--text-md);
}

.card-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

.card-cta p {
  margin: 0.75rem 0 1.5rem;
  color: var(--text-muted);
  font-size: var(--text-md);
}

.contact-copy > p { margin-bottom: 2rem; }

.contact-block { margin-bottom: 1.5rem; }

.contact-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-title);
}

.contact-link {
  color: var(--brand-accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-link:hover { text-decoration: underline; }

.contact-address {
  color: var(--text-muted);
  font-size: var(--text-md);
}

.status-mark {
  margin-bottom: 0.5rem;
  color: var(--brand-accent);
  font-size: var(--text-3xl);
  line-height: 1;
}

.status-alert h3 { margin-bottom: 0.5rem; }

.status-alert p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: var(--text-md);
}

.footer-blurb {
  max-width: 22rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

/* ==========================================================================
9. FOUNDERS & SCIENTIFIC LEADERSHIP
========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.founder-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.founder-img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-elevated);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.founder-card:hover .founder-img {
  transform: scale(1.06);
}

.founder-info {
  padding: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.founder-role {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--brand-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.founder-info h3 {
  margin-bottom: 0.9rem;
  font-size: var(--text-lg);
}

.founder-linkedin {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
  padding: 0.32rem 0.72rem 0.32rem 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-title);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.founder-linkedin svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.founder-linkedin:hover {
  border-color: var(--brand-accent);
  background: var(--brand-accent-glow);
  color: var(--brand-accent);
}

.founder-bullets {
  list-style: none;
  margin-top: auto;
}

.founder-bullets li {
  position: relative;
  margin-bottom: 0.85rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.founder-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--brand-accent);
  font-weight: bold;
}

/* ==========================================================================
10. CULTURE, TESTIMONIAL & CAREERS
========================================================================== */
.culture-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-accent);
  border-radius: 12px;
  padding: 2rem;
  font-style: italic;
}

/* ==========================================================================
11. CONTACT & ENQUIRY SECTION (WITH STATE MANAGEMENT)
========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-row .form-group { margin-bottom: 0; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-title);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-title);
  border-radius: 6px;
  font-family: inherit;
  font-size: var(--text-md);
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--brand-accent);
  background: var(--bg-surface);
}

.form-alert {
  margin: 0.35rem 0 0.85rem;
  color: #dc2626;
  font-size: var(--text-sm);
  font-weight: 600;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--text-body);
  font-size: var(--text-sm);
}

.consent-row input { margin-top: 0.2rem; }

.turnstile-slot { min-height: 65px; margin: 0.25rem 0 1rem; }

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.status-alert {
  padding: 2.5rem;
  text-align: center;
  border-radius: 8px;
  background: var(--brand-accent-glow);
  border: 1px solid var(--brand-accent);
}

/* ==========================================================================
12. SITE FOOTER
========================================================================== */
footer.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: var(--text-title);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brand-accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ==========================================================================
RESPONSIVE DESIGN BREAKPOINTS
========================================================================== */
@media (max-width: 1024px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(2) {
    border-right: none;
  }
  .about-grid,
  .culture-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .z-row,
  .z-row.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    direction: ltr;
  }
  .infra-grid,
  .policies-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .infra-badge {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .facility-image {
    width: 100%;
    max-width: none;
    height: clamp(260px, 56vw, 430px);
  }
  .infra-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  .mobile-hamburger {
    display: block;
  }
}

@media (max-width: 768px) {
  .container { padding-inline: 1rem; }
  .section { padding: 4.25rem 0; }
  .section-header { margin-bottom: 2.5rem; text-align: left; }
  .hero {
    padding: 8.5rem 0 4rem;
  }
  .trust-strip {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
  }
  .trust-item:last-child {
    border-bottom: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .accordion-trigger {
    padding: 1.25rem;
    gap: 1rem;
  }
  .accordion-panel {
    padding: 0 1.25rem 1.5rem;
  }
  .service-details-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .z-row {
    margin-bottom: 4rem;
  }
  .infra-badge {
    padding: 1rem;
    border-radius: 12px;
  }
  .facility-image {
    height: clamp(220px, 64vw, 340px);
  }
  .detail-split { flex-direction: column; gap: 0; }
  .infra-grid {
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
  }
  .infra-canvas {
    flex-wrap: wrap;
    min-height: 0;
    padding: 1rem 0.75rem;
  }
  .instrument-shot {
    flex: 1 1 7.5rem;
  }
  table.accred-table th,
  table.accred-table td {
    padding: 0.9rem 1rem;
    min-width: 9rem;
  }
  table.accred-table th:first-child,
  table.accred-table td:first-child {
    min-width: 5rem;
  }
  .card,
  .founder-info {
    padding: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding-inline: 0.85rem; }
  .hero-pill { padding: 0.35rem 0.7rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .about-grid { gap: 2rem; }
  .mission-box { padding: 1.5rem; }
  .infra-badge { padding: 0.75rem; }
  .facility-image { height: 220px; }
  .instrument-shot figcaption { max-width: 12rem; }
  .contact-wrap { gap: 2rem; }
  .footer-meta { justify-content: center; }
}


/* ==========================================================================
   13. MICRO-INTERACTIONS & MOTION SYSTEM
========================================================================== */
[x-cloak] { display: none !important; }

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  box-shadow: 0 0 14px var(--brand-accent-glow);
  z-index: 200;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  width: 28rem;
  height: 28rem;
  left: calc(var(--pointer-x, 50%) - 14rem);
  top: calc(var(--pointer-y, 30%) - 14rem);
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-accent-glow), transparent 68%);
  opacity: .75;
  pointer-events: none;
  z-index: 0;
  transition: opacity .25s ease;
}

.navbar {
  animation: nav-enter .65s cubic-bezier(.22, 1, .36, 1) both;
}

.brand-logo img {
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
}

.brand-logo:hover img {
  transform: scale(1.035);
  filter: drop-shadow(0 6px 10px var(--brand-accent-glow));
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.45rem;
  height: 2px;
  background: var(--brand-accent);
  transition: right .25s ease;
}

.nav-links a:hover::after { right: 0; }

.hero {
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  filter: blur(2px);
  pointer-events: none;
}

.hero::before {
  width: 24rem;
  height: 24rem;
  top: 5rem;
  left: -10rem;
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 0 80px var(--brand-accent-glow);
  animation: lab-orbit 16s linear infinite;
}

.hero::after {
  width: 13rem;
  height: 13rem;
  top: 9rem;
  right: -4rem;
  background: radial-gradient(circle at 35% 35%, var(--brand-accent-glow), transparent 70%);
  border: 1px solid var(--border-subtle);
  animation: lab-float 7s ease-in-out infinite;
}

.hero-pill {
  position: relative;
  overflow: hidden;
  animation: hero-enter .7s .1s cubic-bezier(.22, 1, .36, 1) both;
}

.hero-pill::before {
  content: "";
  width: .45rem;
  height: .45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 var(--brand-accent);
  animation: status-pulse 2.2s ease-out infinite;
}

.hero h1 { animation: hero-enter .75s .18s cubic-bezier(.22, 1, .36, 1) both; }
.hero h2 { animation: hero-enter .75s .26s cubic-bezier(.22, 1, .36, 1) both; }
.hero-sub { animation: hero-enter .75s .34s cubic-bezier(.22, 1, .36, 1) both; }
.hero-cta { animation: hero-enter .75s .42s cubic-bezier(.22, 1, .36, 1) both; }
.trust-strip { animation: hero-enter .8s .5s cubic-bezier(.22, 1, .36, 1) both; }

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35), transparent 65%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}

.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }

.accordion-item,
.infra-card,
.founder-card,
.card,
.mission-box {
  will-change: transform;
}

.accordion-item:hover,
.infra-card:hover,
.mission-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-accent);
}

.accordion-trigger:hover .accordion-icon {
  background: var(--brand-accent-glow);
  transform: scale(1.08);
}

.accordion-item.open .accordion-trigger:hover .accordion-icon {
  transform: rotate(45deg) scale(1.08);
}

.infra-card,
.mission-box {
  transition: transform .35s cubic-bezier(.22, 1, .36, 1),
              box-shadow .35s ease, border-color .35s ease;
}

.infra-card:hover .infra-canvas img {
  transform: translateY(-5px) scale(1.035);
}

.infra-canvas img {
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.policy-list li,
.service-detail-col li {
  transition: color .2s ease, transform .2s ease;
}

.policy-list li:hover,
.service-detail-col li:hover {
  color: var(--text-title);
  transform: translateX(4px);
}

.form-control:hover { border-color: var(--brand-accent); }
.form-control:focus {
  box-shadow: 0 0 0 4px var(--brand-accent-glow);
  transform: translateY(-1px);
}

.form-control { transition: border-color .2s, box-shadow .2s, transform .2s; }

.reveal-ready {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1),
              transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.theme-toggle-btn span { display: grid; place-items: center; }
.theme-toggle-btn:active { transform: rotate(18deg) scale(.92); }

.asset-fallback {
  min-height: 180px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, var(--brand-accent-glow) 0 12%, transparent 13%),
    repeating-radial-gradient(circle at 50% 45%, transparent 0 34px, var(--border-subtle) 35px 36px),
    linear-gradient(135deg, var(--bg-elevated), var(--bg-surface));
}

.asset-fallback::before {
  content: "PRL / SCIENTIFIC VISUAL";
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  padding: .5rem .75rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--nav-glass);
  color: var(--brand-accent);
  font: 600 .67rem var(--font-mono);
  letter-spacing: .08em;
  white-space: nowrap;
  z-index: 2;
}

.asset-fallback::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: calc(50% - 4px);
  top: calc(45% - 4px);
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 10px var(--brand-accent-glow);
  animation: status-pulse 2.2s ease-out infinite;
}

.founder-img-wrapper.asset-fallback { aspect-ratio: 4 / 3; }
.infra-canvas.asset-fallback { min-height: 160px; }

@keyframes nav-enter {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 var(--brand-accent-glow); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes lab-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-12px, 18px, 0); }
}

@keyframes lab-orbit {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal-ready { opacity: 1; transform: none; }
  body::after { display: none; }
}