/* ==========================================================================
   PRIMECARE LABS — CORPORATE & CLINICAL EDITORIAL STYLESHEET
   ========================================================================== */

@font-face {
  font-family: PrimeDisplay;
  src: url('assets/fonts/display.ttf') format('truetype');
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: PrimeSans;
  src: url('assets/fonts/body.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: PrimeSans;
  src: url('assets/fonts/body-bold.ttf') format('truetype');
  font-display: swap;
  font-weight: 700;
}

:root {
  /* Brand Palette — Primecare Navy & Disciplined Clinical Cerulean */
  --navy-deep: #071b33;
  --navy: #04244b;
  --navy-soft: #103258;
  --accent: #166299;          /* WCAG AA+ (>6.1:1 on white/alabaster) */
  --accent-light: #7cc6f2;    /* WCAG AAA (>9:1 on deep navy) */
  --accent-mid: #2f93d1;      /* Logo flask cerulean for borders & rules */

  /* Surfaces & Structural Hairlines */
  --surface-white: #ffffff;
  --surface-alabaster: #f6f8fa;
  --surface-tint: #eef3f8;
  --border: #dce4ec;
  --border-strong: #c2cfdc;
  --border-dark: rgba(255, 255, 255, 0.14);
  --border-dark-strong: rgba(255, 255, 255, 0.24);

  /* Ink */
  --ink: #0c1f35;
  --ink-secondary: #374c63;
  --ink-muted: #4b6075;       /* WCAG AA+ (>6:1 on white) */
  --ink-on-dark: #f2f6fa;
  --ink-on-dark-muted: #bfd0e0;

  /* Status */
  --status-open: #198754;
  --status-open-on-dark: #3dd598;
  --status-closed: #b56d14;
  --status-closed-on-dark: #e8b054;

  /* Typography */
  --font-display: 'Space Grotesk', PrimeDisplay, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', PrimeSans, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max: 1220px;
  --pad: clamp(20px, 5vw, 68px);
  --header-height: 76px;
  --header-height-small: 64px;
  --anchor-offset: var(--header-height);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   BASE & TYPOGRAPHY
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--surface-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  overflow-x: clip;
  font-variant-emoji: text;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

svg {
  display: block;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: var(--navy);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  line-height: 1.09;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
  line-height: 1.14;
}

h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.26;
}

h4 {
  font-size: 1.05rem;
  line-height: 1.34;
}

p, li {
  max-width: 66ch;
}

section[id],
main[id] {
  scroll-margin-top: var(--anchor-offset);
}

main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section-pad {
  padding-block: clamp(68px, 8.5vw, 118px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--navy);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

:focus-visible {
  outline: 2.5px solid var(--accent-mid);
  outline-offset: 3px;
  border-radius: 2px;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-label-light {
  color: var(--accent-light);
}

.lead-paragraph {
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 18px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  transition: height 0.24s var(--ease), box-shadow 0.24s ease;
}

.site-header.scrolled {
  height: var(--header-height-small);
  box-shadow: 0 4px 18px rgba(4, 24, 54, 0.06);
}

.header-inner {
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img {
  width: 118px;
  height: auto;
  transition: width 0.24s ease;
}

.site-header.scrolled .brand img {
  width: 104px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 6px;
  transition: color 0.2s ease;
}

.nav > a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.26s var(--ease);
}

.nav > a:not(.nav-cta):hover,
.nav > a[aria-current="location"] {
  color: var(--navy);
}

.nav > a:not(.nav-cta):hover::after,
.nav > a[aria-current="location"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.87rem;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent);
}

.nav-cta svg {
  width: 15px;
  height: 15px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--surface-white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 1.8px;
  background: var(--navy);
  transition: transform 0.24s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-mid);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* ==========================================================================
   BUTTONS & INLINE ACTIONS
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button svg {
  width: 16px;
  height: 16px;
}

.button-light {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid #ffffff;
}

.button-light:hover {
  background: #e6f0f8;
  border-color: #e6f0f8;
}

.button-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.button-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   HERO — CALM ARCHITECTURAL NAVY OPENING
   ========================================================================== */

.hero {
  position: relative;
  padding: calc(var(--header-height) + clamp(54px, 7.5vw, 108px)) 0 clamp(64px, 7.5vw, 104px);
  background: var(--navy-deep);
  color: var(--ink-on-dark);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 18px;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 22px;
  max-width: 18ch;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.62;
  color: var(--ink-on-dark-muted);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
  font-size: 0.85rem;
  color: var(--ink-on-dark-muted);
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-open-on-dark);
  flex: none;
}

.meta-divider {
  width: 1px;
  height: 14px;
  background: var(--border-dark-strong);
}

.hero-figure {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-diagram {
  width: 100%;
  max-width: 410px;
  height: auto;
}

.vessel-bubble {
  animation: gentleBubble 6s ease-in-out infinite;
}
.vessel-bubble.b2 { animation-delay: 2s; }
.vessel-bubble.b3 { animation-delay: 4s; }

@keyframes gentleBubble {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(-7px); opacity: 0.25; }
}

/* ==========================================================================
   1. CONTACT US — CLEAN WHITE UTILITY BAND
   ========================================================================== */

.contact-band {
  padding: clamp(56px, 7vw, 88px) 0;
  background: var(--surface-white);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.section-header h2 {
  margin-bottom: 0;
}

.contact-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.contact-col {
  min-width: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-strong);
}

.contact-col h3 {
  font-size: 1.12rem;
  margin-bottom: 14px;
}

.contact-welcome {
  color: var(--ink-secondary);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.contact-dl {
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.contact-dl > div {
  display: grid;
  gap: 2px;
}

.contact-dl dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact-dl dd {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-dl dd a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-dl dd a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.text-action,
.copy-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-bottom: 1.5px solid var(--accent);
  background: none;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-action:hover,
.copy-email:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.copy-email.copied {
  color: var(--status-open);
  border-color: var(--status-open);
}

.after-hours-block {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.after-hours-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.after-hours-value {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
}

.after-hours-value a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hours-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.hours-head h3 {
  margin-bottom: 0;
}

.open-status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.open-status-line .status-dot {
  background: var(--status-open);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.hours-table th {
  text-align: left;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0 0 8px;
  border-bottom: 1px solid var(--border-strong);
}

.hours-table th:last-child,
.hours-table td:last-child {
  text-align: right;
}

.hours-table td {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.hours-table tr:last-child td {
  border-bottom: 0;
}

.hours-table tr.closed-row td {
  color: var(--ink-muted);
}

.hours-table tr.is-today td {
  font-weight: 700;
  color: var(--navy);
}

.hours-table tr.is-today td:last-child {
  color: var(--accent);
}

/* ==========================================================================
   2. ABOUT US — OPEN EDITORIAL MAGAZINE SPREAD
   ========================================================================== */

.about {
  background: var(--surface-alabaster);
  border-bottom: 1px solid var(--border);
}

.about-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.about-headline h2 {
  margin-bottom: 0;
}

.sub-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.about-intro p:not(.lead-paragraph) {
  color: var(--ink-secondary);
}

.location-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--navy) !important;
}

.location-line svg {
  color: var(--accent);
}

.about-editorial-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 84px);
  margin-top: clamp(48px, 6.5vw, 82px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--border-strong);
}

.editorial-col h3 {
  margin-bottom: 14px;
}

.editorial-col p {
  color: var(--ink-secondary);
}

.editorial-col p:last-child,
.editorial-col ul:last-child {
  margin-bottom: 0;
}

/* Clean Editorial Lists */
.clean-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.clean-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
}

.clean-list li::before {
  content: '';
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 7px;
  height: 2px;
  background: var(--accent);
}

.clean-list-dark li {
  color: var(--ink-on-dark);
}

.clean-list-dark li::before {
  background: var(--accent-light);
}

.two-col-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
}

/* Service Approach Quiet Architectural Band */
.approach-band {
  margin-top: clamp(48px, 6.5vw, 84px);
  padding: clamp(32px, 4.5vw, 52px);
  background: var(--surface-tint);
  border-left: 3px solid var(--navy);
  display: grid;
  grid-template-columns: minmax(200px, 0.56fr) minmax(0, 1.44fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: start;
}

.approach-title-col h3 {
  font-size: clamp(1.38rem, 2vw, 1.75rem);
  margin: 0;
}

.approach-copy-col {
  display: grid;
  gap: 14px;
}

.approach-copy-col p {
  margin: 0;
  color: var(--ink-secondary);
}

/* Quality & Compliance Hairline Numbered Grid */
.quality-block {
  margin-top: clamp(52px, 6.5vw, 88px);
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.quality-intro h3 {
  font-size: clamp(1.38rem, 2vw, 1.75rem);
  margin-bottom: 14px;
}

.quality-intro p {
  color: var(--ink-secondary);
}

.list-lead {
  font-weight: 600;
  color: var(--navy) !important;
  margin-top: 20px;
}

.procedures-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: proc;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 28px;
}

.procedures-list li {
  counter-increment: proc;
  padding-top: 14px;
  border-top: 1px solid var(--border-strong);
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.procedures-list li::before {
  content: "0" counter(proc);
  font-size: 0.76rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.quality-closing {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--ink-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   2A. OUR SERVICES — MATTE DEEP NAVY EDITORIAL BAND
   ========================================================================== */

.services {
  background: var(--navy-deep);
  color: var(--ink-on-dark);
}

.services-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.services h2,
.services h3,
.services h4 {
  color: #ffffff;
}

.services-intro-grid h2 {
  margin-bottom: 0;
}

.services-intro-copy {
  display: grid;
  gap: 14px;
}

.services-intro-copy p {
  margin: 0;
  color: var(--ink-on-dark-muted);
}

.getting-started {
  margin-top: clamp(52px, 6.5vw, 84px);
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--border-dark);
}

.getting-started h3 {
  font-size: clamp(1.38rem, 2vw, 1.75rem);
  margin-bottom: 28px;
}

.steps-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 22px;
}

.steps-strip li {
  padding-top: 18px;
  border-top: 1px solid var(--border-dark-strong);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.strip-num {
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent-light);
}

.steps-strip h4 {
  font-size: 1rem;
  margin: 0;
}

.steps-strip p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.58;
  color: var(--ink-on-dark-muted);
}

.service-commitment {
  margin-top: clamp(52px, 6.5vw, 84px);
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: minmax(240px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.service-commitment-lead h3 {
  font-size: clamp(1.38rem, 2vw, 1.75rem);
  margin-bottom: 14px;
}

.service-commitment-lead p {
  margin: 0;
  color: var(--ink-on-dark-muted);
  font-size: 1.02rem;
}

.priorities-heading {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.patient-notice {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent-light);
  background: rgba(255, 255, 255, 0.05);
}

.patient-notice p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.62;
  color: var(--ink-on-dark-muted);
}

.patient-notice strong {
  color: #ffffff;
}

/* ==========================================================================
   2B. OUR WORKFLOW — CRISP WHITE EDITORIAL SEQUENCE
   ========================================================================== */

.workflow {
  background: var(--surface-white);
  border-bottom: 1px solid var(--border);
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 5.5vw, 84px);
  align-items: start;
}

.workflow-intro {
  position: sticky;
  top: calc(var(--header-height-small) + 32px);
}

.workflow-intro h2 {
  margin-bottom: 16px;
}

.workflow-intro p:not(.section-label) {
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

.workflow-nav {
  position: relative;
  margin-top: 28px;
  padding-left: 18px;
}

.workflow-nav-track {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
  overflow: hidden;
}

.workflow-nav-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}

.workflow-nav-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.workflow-nav-step {
  appearance: none;
  border: 0;
  background: none;
  padding: 5px 8px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.workflow-nav-step:hover {
  color: var(--navy);
}

.workflow-nav-step[aria-current="step"] {
  color: var(--accent);
  font-weight: 700;
}

.stepper {
  position: relative;
}

/* Rail stays perfectly aligned with .step-num in both inactive and active states */
.step-track {
  position: absolute;
  z-index: 0;
  left: 34px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--border);
  pointer-events: none;
}

.track-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.36s var(--ease);
}

.step-list {
  display: grid;
  gap: 8px;
}

.step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 24px 24px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  scroll-margin-top: calc(var(--header-height-small) + 28px);
  transition: background-color 0.24s ease, border-color 0.24s ease;
}

.step.active {
  background: var(--surface-alabaster);
  border-color: var(--border);
}

.step-rail {
  display: flex;
  justify-content: center;
  padding-top: 2px;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-white);
  border: 1.5px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.step.active .step-num {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.step-content {
  min-width: 0;
}

.step-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}

.step-heading h3 {
  margin: 0;
  font-size: 1.12rem;
}

.step-select {
  appearance: none;
  width: 100%;
  min-height: 38px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.step-select:hover {
  color: var(--accent);
}

.step-icon {
  color: var(--ink-muted);
  transition: color 0.24s ease;
}

.step.active .step-icon {
  color: var(--accent);
}

.step-body {
  color: var(--ink-secondary);
  font-size: 0.96rem;
}

.step-body p {
  margin: 0 0 8px;
}

.step-body p:last-child {
  margin-bottom: 0;
}

.step-body ul {
  margin: 10px 0 0;
  padding-left: 1.25rem;
}

.step-body li {
  margin: 4px 0;
}

/* ==========================================================================
   2C. LABORATORY TESTING SERVICES — CLEAN ARCHITECTURAL CATALOG
   ========================================================================== */

.tests {
  background: var(--surface-alabaster);
  border-bottom: 1px solid var(--border);
}

.tests-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.tests-heading h2 {
  margin-bottom: 0;
}

.tests-intro-copy {
  display: grid;
  gap: 12px;
}

.tests-intro-copy p {
  margin: 0;
  color: var(--ink-secondary);
}

.catalog-head {
  margin: clamp(44px, 5.5vw, 68px) 0 22px;
  padding-top: 24px;
  border-top: 1px solid var(--border-strong);
}

.catalog-head h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  margin: 0;
}

/* Flush 6-column mathematical grid so all 11 items form a clean rectangle */
.test-menu {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.test-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
  border-radius: var(--radius);
  background: var(--surface-white);
  border: 1px solid var(--border);
  transition: border-color 0.22s ease;
}

.test-card:nth-child(10),
.test-card:nth-child(11) {
  grid-column: span 3;
}

.test-card:hover {
  border-color: var(--accent-mid);
}

.test-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.test-number {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.test-icon {
  width: 26px;
  height: 26px;
  color: var(--navy);
}

.test-card h4 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.test-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--ink-secondary);
}

/* ==========================================================================
   3. CLIA COMPLIANCE — LONG-FORM REGULATORY EDITORIAL LAYOUT
   ========================================================================== */

.clia {
  background: var(--surface-white);
  border-bottom: 1px solid var(--border);
}

.clia-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.clia-margin {
  position: sticky;
  top: calc(var(--header-height-small) + 32px);
}

.clia-emblem {
  margin-top: 18px;
}

.clia-content {
  max-width: 66ch;
}

.clia-content h2 {
  margin-bottom: 22px;
}

.clia-content p:not(.lead-paragraph) {
  color: var(--ink-secondary);
  line-height: 1.74;
}

.clia-subsection {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.clia-subsection h3,
.clia-reference h3 {
  margin-bottom: 14px;
}

.clia-reference {
  margin-top: 36px;
  padding: 24px 0 0;
  border-top: 1px solid var(--border-strong);
}

.cms-ref-line {
  margin: 12px 0 0;
  color: var(--ink) !important;
  line-height: 1.7;
}

.cms-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  max-width: 100%;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.cms-link:hover {
  color: var(--navy);
}

.cms-link svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ==========================================================================
   4. MISSION, VISION & CORE VALUES — MATTE DEEP NAVY EDITORIAL
   ========================================================================== */

.values {
  background: var(--navy-deep);
  color: var(--ink-on-dark);
}

.values h2,
.values h3,
.values h4 {
  color: #ffffff;
}

.values-title {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.values-statements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--border-dark-strong);
}

.statement-col h3 {
  font-size: 1.25rem;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.statement-col p {
  color: var(--ink-on-dark-muted);
  line-height: 1.7;
}

.statement-col p:last-child {
  margin-bottom: 0;
}

.core-values {
  margin-top: clamp(52px, 6.5vw, 84px);
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--border-dark);
}

.core-values > h3 {
  font-size: clamp(1.38rem, 2vw, 1.75rem);
  margin-bottom: 28px;
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px clamp(32px, 5vw, 68px);
}

.core-value-row {
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
}

.core-value-full {
  grid-column: 1 / -1;
}

.core-value-row h4 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.core-value-row p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-on-dark-muted);
}

/* ==========================================================================
   6. BY THE NUMBERS — METRICS & COMMITMENT
   ========================================================================== */

.numbers {
  background: var(--surface-white);
  border-bottom: 1px solid var(--border);
}

.numbers-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.numbers-heading h2 {
  margin-bottom: 0;
}

.numbers-copy {
  display: grid;
  gap: 14px;
}

.numbers-copy p {
  margin: 0;
  color: var(--ink-secondary);
}

.stat-band {
  margin-top: clamp(44px, 5.5vw, 68px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--surface-alabaster);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-cell {
  min-width: 0;
  padding: clamp(26px, 3.2vw, 38px) clamp(20px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid var(--border);
}

.stat-cell:last-child {
  border-right: 0;
}

.stat-svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 18px;
}

.stat-cell strong,
.stat-figure {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
  max-width: 100%;
  overflow-wrap: break-word;
}

.stat-caption {
  margin: 0 0 20px;
  font-size: 0.96rem;
  line-height: 1.54;
  color: var(--ink);
  font-weight: 500;
}

.stat-source {
  margin: auto 0 0;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-muted);
  overflow-wrap: anywhere;
}

.commitment-block {
  margin-top: clamp(52px, 6.5vw, 84px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.commitment-head h3 {
  font-size: clamp(1.38rem, 2vw, 1.75rem);
  margin-bottom: 10px;
}

.commitment-head p {
  margin: 0;
  color: var(--ink-secondary);
}

.goal-statement {
  margin-top: clamp(44px, 5.5vw, 68px);
  padding: clamp(28px, 4vw, 40px);
  background: var(--surface-tint);
  border-left: 3px solid var(--navy);
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr);
  gap: 16px clamp(24px, 4vw, 48px);
  align-items: baseline;
}

.goal-statement h3 {
  margin: 0;
  font-size: 1.25rem;
}

.goal-statement p {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.64;
  color: var(--ink);
}

/* ==========================================================================
   BUSINESS CONTACT INFORMATION DIRECTORY
   ========================================================================== */

.business-contact {
  padding: clamp(52px, 6vw, 78px) 0;
  background: var(--surface-alabaster);
  border-bottom: 1px solid var(--border);
}

.directory-heading {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 28px;
}

.business-cell {
  border-top: 1px solid var(--border-strong);
  padding-top: 16px;
}

.business-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.business-label-sub {
  margin-top: 14px;
}

.business-cell p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.business-cell a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.business-cell a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #061528;
  color: var(--ink-on-dark-muted);
  padding: clamp(44px, 5.5vw, 66px) 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 148px minmax(200px, 1fr) minmax(260px, 1.2fr);
  gap: 24px 36px;
  align-items: center;
  padding-bottom: 32px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: #ffffff;
  width: 142px;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-top > p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: #e4eef7;
  line-height: 1.48;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 22px;
  font-size: 0.87rem;
}

.footer-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a[aria-current="page"],
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-links button {
  min-height: 36px;
  padding: 0 13px;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark-strong);
  background: transparent;
  color: var(--ink-on-dark);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.footer-links button:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.82rem;
  color: var(--ink-on-dark-muted);
}

.footer-bottom a {
  color: #dbe8f4;
  transition: color 0.2s ease;
}

/* ==========================================================================
   FLOATING CONTROLS (PROPER VISIBILITY FOR ACCESSIBILITY)
   ========================================================================== */

.back-to-top,
.sticky-call {
  position: fixed;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s var(--ease), visibility 0.24s ease, background-color 0.2s ease;
}

.back-to-top {
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface-white);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(4, 24, 54, 0.12);
}

.back-to-top:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.sticky-call {
  display: none;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 6px 18px rgba(4, 24, 54, 0.28);
}

.sticky-call.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.sticky-call.footer-visible,
.menu-open .sticky-call {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

/* ==========================================================================
   LEGAL PAGES — CORPORATE EDITORIAL DOCUMENTS
   ========================================================================== */

.legal-header {
  padding: calc(var(--header-height) + clamp(42px, 5.5vw, 68px)) 0 clamp(32px, 4vw, 48px);
  background: var(--surface-alabaster);
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  margin-bottom: 0;
}

.legal-main {
  padding: clamp(44px, 5.5vw, 76px) 0 clamp(72px, 8vw, 112px);
  background: var(--surface-white);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height-small) + 32px);
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

.toc-nav {
  display: grid;
  gap: 6px;
}

.toc-nav a {
  display: block;
  padding: 5px 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.toc-nav a:hover {
  color: var(--navy);
}

.toc-nav a.active {
  color: var(--accent);
  font-weight: 600;
}

.legal-copy {
  max-width: 66ch;
}

.legal-lede {
  font-size: clamp(1.04rem, 1.3vw, 1.16rem);
  line-height: 1.66;
  color: var(--ink);
  padding-bottom: 26px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  scroll-margin-top: calc(var(--header-height-small) + 24px);
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-copy h2 {
  font-size: clamp(1.26rem, 1.8vw, 1.52rem);
  margin-bottom: 14px;
}

.legal-copy p {
  color: var(--ink-secondary);
  line-height: 1.72;
  margin-bottom: 14px;
}

.legal-copy p:last-child {
  margin-bottom: 0;
}

.legal-copy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-contact-block {
  font-style: normal;
  margin: 18px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--navy);
  background: var(--surface-alabaster);
  color: var(--ink);
  line-height: 1.74;
  overflow-wrap: anywhere;
}

.legal-footnote {
  margin-top: 18px;
  color: var(--ink-muted) !important;
  font-size: 0.92rem;
}

/* ==========================================================================
   RESTRAINED SCROLL REVEAL
   ========================================================================== */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.52s var(--ease), transform 0.52s var(--ease);
}

.reveal-ready [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1120px) {
  .contact-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-col-hours {
    grid-column: 1 / -1;
  }

  .steps-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .procedures-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 142px minmax(0, 1fr);
  }
  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 68px;
    --header-height-small: 60px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    padding: 0 var(--pad);
    background: var(--surface-white);
    border-bottom: 1px solid transparent;
    box-shadow: 0 12px 28px rgba(4, 24, 54, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.3s var(--ease), opacity 0.22s ease, visibility 0.22s ease, padding 0.22s ease;
  }

  .site-header.scrolled .nav {
    top: var(--header-height-small);
  }

  .nav.open {
    max-height: min(82vh, 480px);
    overflow-y: auto;
    padding-block: 14px 22px;
    border-bottom-color: var(--border);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav > a:not(.nav-cta) {
    min-height: 46px;
    display: flex;
    align-items: center;
    font-size: 0.98rem;
  }

  .nav .nav-cta {
    justify-content: center;
    margin-top: 10px;
  }

  .hero-inner,
  .about-lead,
  .about-editorial-split,
  .approach-band,
  .quality-block,
  .services-intro-grid,
  .service-commitment,
  .workflow-layout,
  .tests-heading,
  .clia-grid,
  .values-statements,
  .numbers-heading,
  .commitment-block,
  .goal-statement,
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-figure {
    display: none;
  }

  .workflow-intro,
  .clia-margin,
  .legal-toc {
    position: static;
  }

  .workflow-nav {
    display: none;
  }

  .clia-emblem {
    display: none;
  }

  .steps-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .test-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .test-card,
  .test-card:nth-child(10) {
    grid-column: span 1;
  }
  .test-card:nth-child(11) {
    grid-column: 1 / -1;
  }

  .sticky-call {
    display: flex;
  }
  .back-to-top {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }
  body.has-sticky-call .site-footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 104px;
  }

  .contact-columns,
  .procedures-list,
  .steps-strip,
  .two-col-list,
  .test-menu,
  .core-values-grid,
  .business-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .test-card:nth-child(11) {
    grid-column: auto;
  }

  .step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 14px 20px 10px;
  }
  .step-track {
    left: 27px;
  }
  .step-num {
    width: 32px;
    height: 32px;
    font-size: 0.76rem;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .stat-band {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat-cell {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .stat-cell:last-child {
    border-bottom: 0;
  }
}

/* ==========================================================================
   LAB FEATURE PHOTO & TEST CARD MEDIA ENHANCEMENTS
   ========================================================================== */

.lab-feature {
  margin: clamp(36px, 5vw, 56px) 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alabaster);
}

.lab-feature-frame {
  aspect-ratio: 16 / 7;
  width: 100%;
  overflow: hidden;
  background: var(--surface-tint);
}

.lab-feature-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.lab-feature-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lab-feature-caption span:first-child {
  color: var(--navy);
  font-weight: 600;
}

.test-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.test-card,
.test-card:nth-child(10),
.test-card:nth-child(11) {
  grid-column: auto;
}

.test-card {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(7, 27, 51, 0.05);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.22s ease;
}

.test-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-mid);
  box-shadow: 0 14px 32px rgba(7, 27, 51, 0.1);
}

.test-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf2f7;
  border-bottom: 1px solid var(--border);
}

.test-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.test-card:hover .test-card-media img {
  transform: scale(1.035);
}

.test-media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(7, 27, 51, 0.88);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}

.test-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}

.test-card-top {
  display: none;
}

.test-card h4 {
  font-size: 1.12rem;
  line-height: 1.28;
  margin: 0 0 10px;
}

.test-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-secondary);
}

@media (max-width: 1020px) {
  .test-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .lab-feature-frame {
    aspect-ratio: 16 / 10;
  }

  .lab-feature-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 16px;
  }

  .test-menu {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .test-card {
    border-radius: 14px;
  }

  .test-card-body {
    padding: 18px 18px 20px;
  }
}

/* ==========================================================================
   MOTION PAUSED & PREFERS-REDUCED-MOTION ACCESSIBILITY
   ========================================================================== */

body.motion-paused *,
body.motion-paused *::before,
body.motion-paused *::after {
  animation-play-state: paused !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

body.motion-paused [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
