/* main.css — Boulevard Medical Center · master site */

:root {
  --bg:        #010608;
  --bg-2:      #020a10;
  --ink:       #ddeef2;
  --ink-2:     #8badb6;
  --ink-3:     #3d5e68;
  --teal:      #2dbfd4;
  --teal-hi:   #4dd8eb;
  --teal-soft: #aee0e7;
  --warm:      #f3a866;
  --border:    rgba(45,191,212,0.18);
  --border-hi: rgba(77,216,235,0.55);
  --card-bg:   rgba(2,12,18,0.78);
  --card-bg-2: rgba(3,16,22,0.7);
  --nav-h:     72px;
}

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

html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 400; -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body { cursor: none; }
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--teal); color: #000; }

/* ═══════════════════════════════════════
   SCENES — crossfading background canvases
═══════════════════════════════════════ */
.scene {
  position: fixed; inset: 0; z-index: 1;
  width: 100vw; height: 100vh;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.scene canvas { display: block; width: 100%; height: 100%; }
.scene--neural.is-active,
.scene--helix.is-active { opacity: 1; }

/* Soft edge vignette over scenes — nudges the eye toward center content */
.scene-vignette {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(ellipse 110% 90% at 50% 50%, transparent 50%, rgba(1,6,8,0.5) 80%, rgba(1,6,8,0.9) 100%);
}

/* ═══════════════════════════════════════
   CURSOR
═══════════════════════════════════════ */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9000;
  opacity: 0; will-change: transform;
  transition: opacity .3s;
}
.cursor {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(45,191,212,0.7);
  background: rgba(45,191,212,0.04);
  transform: translate(-300px,-300px);
  transition: width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1),
              border-color .3s, background .3s, opacity .3s;
}
.cursor-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal), 0 0 20px rgba(45,191,212,0.5);
  transform: translate(-300px,-300px);
}
.cursor.is-visible, .cursor-dot.is-visible { opacity: 1; }
.cursor.is-hover {
  width: 64px; height: 64px;
  border-color: var(--teal-hi);
  background: rgba(45,191,212,0.1);
  box-shadow: 0 0 28px rgba(45,191,212,0.25);
}

/* ═══════════════════════════════════════
   NAVIGATION (sticky header)
═══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: 18px 36px;
  height: var(--nav-h);
  background: linear-gradient(to bottom, rgba(1,6,8,0.85) 10%, rgba(1,6,8,0.4) 70%, transparent 100%);
  transition: background .3s ease;
}
.nav.is-scrolled {
  background: rgba(1,6,8,0.88);
  border-bottom: 1px solid rgba(45,191,212,0.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav-logo {
  display: inline-flex; align-items: center; cursor: none;
}
.nav-logo-img {
  height: 44px; width: auto;
  /* Invert the dark wordmark to read on the dark site, then tint slightly teal */
  filter: invert(1) brightness(1.05) sepia(.15) hue-rotate(155deg) saturate(1.2)
          drop-shadow(0 2px 12px rgba(45,191,212,0.22));
  transition: filter .3s ease, transform .3s ease;
}
.nav-logo:hover .nav-logo-img {
  filter: invert(1) brightness(1.18) sepia(.2) hue-rotate(155deg) saturate(1.3)
          drop-shadow(0 2px 18px rgba(45,191,212,0.4));
  transform: scale(1.02);
}
.about-mark img {
  filter: invert(1) brightness(1.05) sepia(.15) hue-rotate(155deg) saturate(1.2);
}
.nav-links {
  margin-left: auto; display: flex; gap: 28px;
  font-family: "Fira Sans", monospace; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase;
}
.nav-links a {
  position: relative; color: rgba(221,238,242,0.65);
  padding: 6px 0;
  transition: color .25s;
  cursor: none;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: center;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--teal-soft); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--teal); color: #010608;
  border: 1px solid var(--teal); border-radius: 4px;
  cursor: none;
  font-family: "Fira Sans", monospace; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 4px 18px rgba(45,191,212,0.32);
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--teal-hi); transform: translateY(101%);
  transition: transform .42s cubic-bezier(.4,.0,.2,1);
}
.nav-cta > * { position: relative; z-index: 1; }
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,191,212,0.5); }

/* ═══════════════════════════════════════
   BUTTONS — shared system
═══════════════════════════════════════ */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 4px;
  cursor: none;
  font-family: "Fira Sans", monospace; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  transition: transform .25s, color .35s ease, border-color .35s ease, box-shadow .25s;
  border: 1px solid transparent;
  background: transparent; color: var(--ink);
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  transition: transform .42s cubic-bezier(.4,.0,.2,1);
}
.btn--primary { background: var(--teal); color: #010608; border-color: var(--teal);
  box-shadow: 0 4px 24px rgba(45,191,212,0.32); }
.btn--primary::before { background: var(--teal-hi); transform: translateY(101%); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(45,191,212,0.5); }

.btn--outline { background: transparent; color: var(--ink);
  border-color: rgba(174,224,231,0.32); }
.btn--outline::before { background: var(--teal); transform: translateX(-101%); }
.btn--outline:hover::before { transform: translateX(0); }
.btn--outline:hover { color: #010608; border-color: var(--teal); transform: translateY(-2px); }

/* ═══════════════════════════════════════
   SECTIONS — base
═══════════════════════════════════════ */
.section {
  position: relative; z-index: 10;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 8vw 80px;
  display: flex; align-items: center;
}
.section--hero       { min-height: 100vh; }
.section--departments { min-height: 500vh; align-items: flex-start; padding-top: 0; }
.section--doctors    { background: linear-gradient(to bottom, transparent, rgba(1,6,8,0.6) 30%, rgba(1,6,8,0.85) 100%); }
.section--contact    { background: linear-gradient(to bottom, transparent, rgba(1,6,8,0.7) 30%, rgba(1,6,8,0.92) 100%); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero-inner { max-width: 920px; }
.hero-eyebrow {
  font-family: "Fira Sans", monospace; font-size: 11px;
  letter-spacing: .32em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 26px;
  opacity: 0; transform: translateY(20px);
  animation: hero-fade-up 1s .2s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title {
  font-family: "Albert Sans", sans-serif; font-weight: 800;
  font-size: clamp(54px, 9vw, 144px);
  line-height: .92; letter-spacing: -0.045em; text-transform: uppercase;
  margin: 0; white-space: pre-line;
  text-shadow: 0 4px 40px rgba(1,6,8,0.5);
  opacity: 0; transform: translateY(40px);
  animation: hero-fade-up 1.2s .35s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-tag {
  margin-top: 28px; max-width: 580px;
  font-size: 16px; line-height: 1.7; color: var(--ink-2);
  text-shadow: 0 2px 14px rgba(1,6,8,0.7);
  opacity: 0; transform: translateY(20px);
  animation: hero-fade-up 1s .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-actions {
  margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: hero-fade-up 1s .75s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-stats {
  list-style: none; padding: 0; margin: 64px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 720px;
  opacity: 0; transform: translateY(20px);
  animation: hero-fade-up 1s .95s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.hero-stats .v {
  font-family: "Albert Sans", sans-serif; font-weight: 700;
  font-size: clamp(24px, 3vw, 38px); color: var(--ink); line-height: 1;
}
.hero-stats .l {
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--teal-soft);
}
@keyframes hero-fade-up { to { opacity: 1; transform: translateY(0); } }

.hero-scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  cursor: none;
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .35em; text-transform: uppercase; color: rgba(221,238,242,0.45);
  opacity: 0; animation: hero-fade-up 1s 1.3s forwards;
}
.hero-scroll-indicator .hsi-line {
  display: block; width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--teal-soft), transparent);
  background-size: 100% 200%;
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { background-position: 0% 0%; }
  50%      { background-position: 0% 100%; }
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.section--about { padding-bottom: 120px; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; width: 100%; max-width: 1280px; margin: 0 auto;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-media { position: relative; }
.about-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.7) saturate(.85);
}
.about-img-frame {
  position: absolute; inset: 0;
  border: 1px solid rgba(45,191,212,0.15);
  border-radius: 12px; pointer-events: none;
  box-shadow: inset 0 0 60px rgba(1,6,8,0.5);
}
.about-img-grid {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(45,191,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,191,212,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
          mask: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.about-mark {
  position: absolute; bottom: 24px; left: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(1,6,8,0.7); border: 1px solid var(--border); border-radius: 4px;
  backdrop-filter: blur(8px);
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .25em; text-transform: uppercase; color: var(--teal-soft);
}
.about-mark img { height: 22px; width: auto; opacity: 0.9; }

.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-eyebrow {
  font-family: "Fira Sans", monospace; font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--teal);
}
.about-title {
  font-family: "Albert Sans", sans-serif; font-weight: 800;
  font-size: clamp(36px, 5vw, 66px); line-height: .95;
  letter-spacing: -0.04em; text-transform: uppercase; margin: 0;
}
.about-body { display: flex; flex-direction: column; gap: 16px; }
.about-body p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.about-stats {
  list-style: none; padding: 24px 0 0; margin: 8px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-top: 1px solid var(--border);
}
.about-stats li { display: flex; flex-direction: column; gap: 4px; }
.about-stats .v { font-size: 24px; font-weight: 700; color: var(--ink); }
.about-stats .l {
  font-family: "Fira Sans", monospace; font-size: 8.5px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--teal-soft);
}

/* ═══════════════════════════════════════
   DEPARTMENTS — DNA + floating cards
═══════════════════════════════════════ */
.section--departments { display: block; padding: 0; }
.dep-head {
  position: sticky; top: var(--nav-h); z-index: 12;
  padding: 80px 8vw 40px;
  max-width: 1100px;
  opacity: var(--dep-head-o, 1);
  transform: translateY(var(--dep-head-y, 0px));
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: var(--dep-head-pe, auto);
}
.dep-eyebrow {
  font-family: "Fira Sans", monospace; font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 18px;
}
.dep-title {
  font-family: "Albert Sans", sans-serif; font-weight: 800;
  font-size: clamp(48px, 7vw, 110px); line-height: .9;
  letter-spacing: -0.045em; text-transform: uppercase; margin: 0;
}
.dep-title em {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-weight: 300; color: var(--teal-soft); text-transform: none;
}
.dep-tag {
  margin-top: 18px; max-width: 480px;
  font-size: 14px; line-height: 1.7; color: var(--ink-2);
}

.dep-cards {
  position: fixed; inset: 0;
  z-index: 11; pointer-events: none;
  opacity: 0; transition: opacity .6s ease;
}
body.in-departments .dep-cards { opacity: 1; }

.dep-progress {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 60;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  background: rgba(1,6,8,0.7); border: 1px solid var(--border); border-radius: 30px;
  backdrop-filter: blur(10px);
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(221,238,242,0.6);
  opacity: 0; transition: opacity .4s;
}
body.in-departments .dep-progress { opacity: 1; }
.dep-progress-label { color: var(--teal-soft); }
.dep-progress-bar { width: 160px; height: 2px; background: rgba(45,191,212,0.12); border-radius: 2px; overflow: hidden; }
.dep-progress-bar > span { display: block; height: 100%; width: 0%; background: var(--teal);
  transition: width .35s cubic-bezier(.2,.7,.2,1); }
.dep-progress-num { color: var(--teal-soft); }

/* Helix-projected dept card */
.helix-card {
  position: absolute; left: 0; top: 0;
  width: 340px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(45,191,212,0.05) inset;
  transform: translate(-50%, -50%) translate3d(var(--x, -9999px), var(--y, -9999px), 0)
             scale(var(--s, 0.6))
             rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-origin: 50% 50%;
  opacity: var(--o, 0);
  will-change: transform, opacity;
  overflow: hidden;
  pointer-events: var(--pe, none);
  transition: filter .9s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
  filter: blur(var(--blur, 10px)) saturate(var(--sat, 0.6));
}
.helix-card[data-near="1"] {
  border-color: var(--border-hi);
  box-shadow:
    0 14px 50px rgba(0,0,0,0.7),
    0 0 36px rgba(45,191,212,0.22),
    0 0 0 1px rgba(45,191,212,0.2) inset;
}

/* Water-ripple ring on appearance */
.helix-card .ripple-ring {
  position: absolute; inset: -4px;
  border: 1.5px solid rgba(77,216,235,0.55);
  border-radius: 14px;
  opacity: 0; pointer-events: none;
  transform: scale(0.4);
}
.helix-card[data-near="1"] .ripple-ring {
  animation: water-ripple 1.6s cubic-bezier(.2,.7,.2,1);
}
@keyframes water-ripple {
  0%   { opacity: 0;   transform: scale(0.4); }
  30%  { opacity: 0.9; transform: scale(0.85); }
  100% { opacity: 0;   transform: scale(1.55); }
}

.helix-card .card-img {
  position: relative;
  width: 100%; height: 180px; overflow: hidden;
  background: #040f16;
  border-top-left-radius: 12px; border-top-right-radius: 12px;
}
.helix-card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.7) saturate(.85);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s;
}
.helix-card[data-near="1"] .card-img img {
  filter: brightness(.85) saturate(1.05);
  transform: scale(1.05);
}

/* Glowy water shimmer overlay on hover — activetheory feel */
.helix-card .card-shimmer {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 60% at var(--mx, 50%) var(--my, 50%),
      rgba(77,216,235,0.35) 0%, rgba(77,216,235,0.0) 60%),
    linear-gradient(125deg, transparent 35%, rgba(77,216,235,0.18) 50%, transparent 65%);
  mix-blend-mode: screen;
  opacity: 0; transition: opacity .5s ease;
}
.helix-card:hover .card-shimmer { opacity: 1; }
.helix-card:hover .card-img img { transform: scale(1.08); filter: brightness(.92) saturate(1.1); }

.helix-card .card-num {
  position: absolute; top: 12px; left: 14px; z-index: 2;
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--teal-soft);
  background: rgba(1,6,8,0.75); padding: 4px 8px; border-radius: 4px;
  border: 1px solid rgba(45,191,212,0.25);
}
.helix-card .card-tag {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: "Fira Sans", monospace; font-size: 8px;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--teal); background: rgba(1,6,8,0.7);
  padding: 4px 8px; border-radius: 4px;
  border: 1px solid rgba(45,191,212,0.2);
}
.helix-card .card-tag::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 6px var(--teal); }
  50%     { box-shadow: 0 0 14px var(--teal), 0 0 28px rgba(45,191,212,0.4); }
}

.helix-card .card-body { padding: 14px 16px 18px; }
.helix-card .card-name {
  font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
}
.helix-card .card-accent {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 14px; color: var(--teal-soft); margin-top: 4px;
}
.helix-card .card-blurb {
  font-size: 11.5px; line-height: 1.55; color: var(--ink-2); margin-top: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.helix-card .card-open {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 12px;
  padding: 8px 12px;
  background: transparent; color: var(--teal);
  border: 1px solid rgba(45,191,212,0.35); border-radius: 4px;
  font-family: "Fira Sans", monospace; font-size: 9.5px;
  letter-spacing: .22em; text-transform: uppercase; cursor: none;
  transition: background .25s, color .25s, transform .2s;
}
.helix-card .card-open:hover { background: var(--teal); color: #010608; transform: translateY(-1px); }

/* ═══════════════════════════════════════
   VACUUM
═══════════════════════════════════════ */
.section--vacuum { padding-top: 160px; }
.vac-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
  align-items: center; max-width: 1280px; margin: 0 auto; width: 100%;
}
@media (max-width: 880px) { .vac-grid { grid-template-columns: 1fr; gap: 48px; } }
.vac-text { display: flex; flex-direction: column; gap: 20px; }
.vac-eyebrow {
  font-family: "Fira Sans", monospace; font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--teal);
}
.vac-title {
  font-family: "Albert Sans", sans-serif; font-weight: 800;
  font-size: clamp(56px, 8vw, 130px); line-height: .9;
  letter-spacing: -0.045em; text-transform: uppercase; margin: 0;
}
.vac-title em {
  display: block;
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 300;
  color: var(--teal-soft); text-transform: none; font-size: 0.65em;
}
.vac-body { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.vac-bullets {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.vac-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; line-height: 1.55; color: var(--ink);
}
.vac-bullets li::before {
  content: ''; flex-shrink: 0; margin-top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 8px var(--teal);
}
.vac-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.vac-img-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  border: 1px solid var(--border-hi);
  box-shadow: 0 0 80px rgba(45,191,212,0.18), 0 24px 80px rgba(0,0,0,0.6);
}
.vac-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.75) saturate(.85);
}
.vac-img-orbit {
  position: absolute; inset: -12px;
  border-radius: 50%; pointer-events: none;
  border: 1px dashed rgba(45,191,212,0.3);
  animation: vac-orbit 28s linear infinite;
}
.vac-img-orbit::after {
  content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 16px var(--teal);
}
@keyframes vac-orbit { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════
   DOCTORS
═══════════════════════════════════════ */
.section--doctors { display: block; padding-top: 160px; }
.doc-head { max-width: 1100px; margin: 0 auto 60px; }
.doc-eyebrow {
  font-family: "Fira Sans", monospace; font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 18px;
}
.doc-title {
  font-family: "Albert Sans", sans-serif; font-weight: 800;
  font-size: clamp(48px, 7vw, 100px); line-height: .9;
  letter-spacing: -0.045em; text-transform: uppercase; margin: 0;
}
.doc-title em {
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 300;
  color: var(--teal-soft); text-transform: none;
}

.doc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; max-width: 1280px; margin: 0 auto;
}

.doc-card {
  position: relative; overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border); border-radius: 14px;
  cursor: none;
  transition: transform .35s cubic-bezier(.2,.7,.2,1),
              border-color .35s, box-shadow .35s;
}
.doc-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hi);
  box-shadow: 0 24px 60px rgba(0,0,0,0.65), 0 0 36px rgba(45,191,212,0.18);
}
.doc-card-portrait {
  position: relative;
  width: 100%; aspect-ratio: 4/5; overflow: hidden;
  background: linear-gradient(135deg, #0c2e3a, #040e14);
}
.doc-card-portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(2,12,18,0.92) 100%);
  pointer-events: none;
}
.doc-card-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.8) saturate(.95);
  transition: filter .5s, transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.doc-card:hover .doc-card-portrait img { filter: brightness(.95) saturate(1.05); transform: scale(1.04); }
.doc-card-id {
  position: absolute; top: 14px; left: 14px;
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .25em; color: var(--teal-soft);
  background: rgba(1,6,8,0.7); padding: 4px 8px; border-radius: 3px;
  border: 1px solid rgba(45,191,212,0.2);
}
.doc-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px 18px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.doc-card-spec {
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .25em; text-transform: uppercase; color: var(--teal);
}
.doc-card-name {
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2;
  color: var(--ink);
}
.doc-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .25em; text-transform: uppercase; color: var(--teal-soft);
  transition: color .25s, transform .25s;
}
.doc-card-cta::after { content: '→'; transition: transform .25s; }
.doc-card:hover .doc-card-cta { color: var(--teal-hi); }
.doc-card:hover .doc-card-cta::after { transform: translateX(4px); }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.section--contact { padding-top: 140px; padding-bottom: 80px; display: block; }
.con-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 1100px; margin: 0 auto;
  background: linear-gradient(145deg, rgba(2,12,18,0.85), rgba(3,16,22,0.78));
  border: 1px solid var(--border); border-radius: 16px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.65);
  overflow: hidden;
}
@media (max-width: 880px) { .con-grid { grid-template-columns: 1fr; } }
.con-left, .con-right { padding: 48px 44px; display: flex; flex-direction: column; gap: 16px; }
.con-left { border-right: 1px solid var(--border); }
@media (max-width: 880px) { .con-left { border-right: 0; border-bottom: 1px solid var(--border); } }
.con-eyebrow {
  font-family: "Fira Sans", monospace; font-size: 10px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--teal);
}
.con-title {
  font-family: "Albert Sans", sans-serif; font-weight: 800;
  font-size: clamp(36px, 5vw, 60px); line-height: .9;
  letter-spacing: -0.04em; text-transform: uppercase; margin: 0;
}
.con-title em {
  display: block;
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 300;
  color: var(--teal-soft); text-transform: none;
}
.con-addr { font-size: 13px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.con-tagline {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 17px; color: var(--teal-soft); margin: 0;
}
.con-social { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.con-social a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px;
  background: rgba(45,191,212,0.06); border: 1px solid var(--border); border-radius: 4px;
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
  cursor: none;
  transition: border-color .25s, color .25s, background .25s, transform .25s;
}
.con-social a:hover { border-color: var(--teal); color: var(--teal-soft); background: rgba(45,191,212,0.12); transform: translateY(-1px); }

.con-rows { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.con-rows .row { display: flex; flex-direction: column; gap: 6px; }
.con-rows dt {
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--teal-soft);
  margin: 0;
}
.con-rows dd {
  margin: 0; display: flex; flex-direction: column; gap: 3px;
  font-size: 14px; line-height: 1.5;
}
.con-rows a { color: var(--ink); transition: color .2s; cursor: none; }
.con-rows a:hover { color: var(--teal-hi); }

.con-cta { align-self: flex-start; margin-top: 16px; }
.con-credit {
  margin-top: 32px;
  text-align: center;
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3);
}

/* ═══════════════════════════════════════
   MODALS — shared shell
═══════════════════════════════════════ */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 32px;
  opacity: 0; pointer-events: none;
  transition: opacity .45s ease;
}
.modal[hidden] { display: flex; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(1,6,8,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  cursor: none;
}
.modal-window {
  position: relative; z-index: 2;
  width: min(1080px, 100%); max-height: 100%;
  background: rgba(2,12,18,0.95);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 36px rgba(45,191,212,0.08);
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: scale(0.96) translateY(20px); opacity: 0;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .4s ease;
}
.modal-window--narrow { width: min(640px, 100%); }
.modal.is-open .modal-window { transform: scale(1) translateY(0); opacity: 1; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1px solid var(--border);
  color: var(--ink); font-size: 22px; cursor: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .25s, background .25s, transform .25s;
}
.modal-close:hover { border-color: var(--teal); background: rgba(45,191,212,0.1); transform: rotate(90deg); }
.modal-close--floating { top: 32px; right: 32px; z-index: 10; }

/* Dept modal */
.modal--dept .modal-content {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 480px;
}
@media (max-width: 880px) { .modal--dept .modal-content { grid-template-columns: 1fr; } }
.dept-modal-img { position: relative; overflow: hidden; min-height: 320px; }
.dept-modal-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(.85); }
.dept-modal-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(2,12,18,0.92) 100%);
}
.dept-modal-text {
  padding: 48px 44px;
  display: flex; flex-direction: column; gap: 16px;
  overflow-y: auto;
}
.dept-modal-eyebrow {
  font-family: "Fira Sans", monospace; font-size: 10px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--teal);
}
.dept-modal-title {
  font-family: "Albert Sans", sans-serif; font-weight: 800;
  font-size: clamp(28px, 4vw, 44px); line-height: .95;
  letter-spacing: -0.03em; text-transform: uppercase; margin: 0;
}
.dept-modal-title em {
  display: block;
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 300;
  color: var(--teal-soft); text-transform: none; font-size: 0.7em;
  margin-top: 4px;
}
.dept-modal-body { font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.dept-modal-blurb {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 16px; color: var(--teal-soft);
  border-left: 1px solid var(--teal); padding-left: 14px;
}
.dept-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* Doctor terminal modal */
.modal--terminal .term-window {
  width: min(920px, 100%); max-height: 100%;
  background: rgba(1,8,12,0.96);
  border: 1px solid var(--border); border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.75), 0 0 40px rgba(45,191,212,0.08);
  display: flex; flex-direction: column; overflow: hidden;
  position: relative; z-index: 2;
  transform: scale(0.96) translateY(20px); opacity: 0;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .4s ease;
}
.modal--terminal.is-open .term-window { transform: scale(1) translateY(0); opacity: 1; }
.term-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: rgba(45,191,212,0.08);
  border-bottom: 1px solid rgba(45,191,212,0.2);
  font-family: "Fira Sans", monospace; font-size: 10px;
  letter-spacing: .15em; color: var(--teal);
}
.tw-bracket { color: var(--teal); opacity: .7; }
.tw-title { color: var(--ink); }
.tw-path  { color: var(--teal-soft); }
.term-bar .modal-close {
  position: static; margin-left: auto;
  width: 26px; height: 26px; border-radius: 4px; font-size: 15px;
}

.term-body {
  padding: 28px 30px;
  font-family: "Fira Sans", monospace; font-size: 12px; line-height: 1.75;
  color: rgba(221,238,242,0.9);
  overflow-y: auto; flex: 1;
}
.t-prompt  { color: var(--teal); }
.t-key     { color: var(--teal-soft); }
.t-comment { color: rgba(221,238,242,0.4); }
.t-line    { white-space: pre-wrap; margin-bottom: 4px; }
.t-divider { color: rgba(45,191,212,0.3); margin: 12px 0; }
.t-section { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.t-section h4 {
  margin: 0; font-family: "Fira Sans", monospace; font-size: 11.5px;
  color: var(--teal); letter-spacing: .25em; text-transform: uppercase;
}
.t-section h4::before { content: '> '; color: var(--teal-soft); }
.t-portrait { width: 180px; height: 220px; border-radius: 6px; object-fit: cover;
  border: 1px solid rgba(45,191,212,0.25); filter: brightness(.85) saturate(.95); }
.t-grid {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: flex-start;
}
@media (max-width: 720px) { .t-grid { grid-template-columns: 1fr; } }
.t-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.t-table td { padding: 5px 10px; border-bottom: 1px dashed rgba(45,191,212,0.15); font-size: 11.5px; }
.t-table td:first-child { color: var(--teal-soft); font-size: 9.5px; letter-spacing: .25em; text-transform: uppercase; width: 1%; white-space: nowrap; }
.t-subtitle {
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 300;
  font-size: 14px; color: var(--teal-soft);
  margin: -4px 0 8px;
}
.t-table--two-col td:first-child {
  width: 1%; white-space: nowrap; color: var(--teal); font-size: 11px; letter-spacing: 0;
}
.t-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.t-pill {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(45,191,212,0.08);
  border: 1px solid rgba(45,191,212,0.25);
  border-radius: 3px;
  font-family: "Fira Sans", monospace; font-size: 9.5px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-soft);
}
.t-note {
  margin: 4px 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: 12px; line-height: 1.6; color: rgba(221,238,242,0.75);
  padding: 10px 12px;
  border-left: 1px solid var(--teal);
  background: rgba(45,191,212,0.04);
}
.t-ctas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.t-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 3px; cursor: none;
  font-family: "Fira Sans", monospace; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  border: 1px solid rgba(45,191,212,0.35);
  background: transparent; color: var(--teal);
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.t-btn:hover { background: var(--teal); color: #010608; transform: translateY(-1px); }
.t-btn--primary { background: var(--teal); color: #010608; }
.t-btn--primary:hover { background: var(--teal-hi); border-color: var(--teal-hi); }

/* ═══════════════════════════════════════
   BOOKING FORM
═══════════════════════════════════════ */
.booking-content { padding: 56px 44px 44px; display: flex; flex-direction: column; gap: 24px; }
.booking-eyebrow {
  font-family: "Fira Sans", monospace; font-size: 10px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--teal);
}
.booking-title {
  font-family: "Albert Sans", sans-serif; font-weight: 800;
  font-size: clamp(28px, 4vw, 42px); line-height: 1; letter-spacing: -0.03em;
  text-transform: uppercase; margin: 0;
}
.booking-title em {
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 300;
  color: var(--teal-soft); text-transform: none;
}
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bf-row { display: flex; flex-direction: column; gap: 6px; }
.bf-row--full { grid-column: 1 / -1; }
.bf-label {
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--teal-soft);
}
.bf-row input,
.bf-row select,
.bf-row textarea {
  padding: 11px 14px;
  background: rgba(1,6,8,0.7);
  border: 1px solid var(--border); border-radius: 4px;
  color: var(--ink);
  font-family: "Albert Sans", sans-serif; font-size: 14px;
  transition: border-color .25s, background .25s;
  outline: none;
}
.bf-row input:focus,
.bf-row select:focus,
.bf-row textarea:focus {
  border-color: var(--teal); background: rgba(1,6,8,0.85);
  box-shadow: 0 0 0 3px rgba(45,191,212,0.12);
}
.bf-row textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.bf-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.bf-foot {
  grid-column: 1 / -1;
  font-family: "Fira Sans", monospace; font-size: 9.5px;
  letter-spacing: .18em; color: var(--ink-3);
  margin: 0;
}
.bf-foot a { color: var(--teal-soft); }
.bf-foot a:hover { color: var(--teal-hi); }
.booking-done {
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 40px 0;
}
.booking-tick {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--teal); color: #010608;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800;
  box-shadow: 0 0 40px rgba(45,191,212,0.5);
}
.booking-done h3 { margin: 0; font-size: 22px; font-weight: 700; }
.booking-done p { margin: 0; max-width: 320px; text-align: center; color: var(--ink-2); }

/* ═══════════════════════════════════════
   SECTION DIVIDERS — transitions between sections
═══════════════════════════════════════ */
.divider {
  position: relative; z-index: 30;
  width: 100%; pointer-events: none;
  overflow: hidden;
}

/* ECG divider: hero → about */
.divider--ecg {
  height: 100px;
  color: var(--teal);
  background: linear-gradient(to bottom, transparent, rgba(1,6,8,0.4), transparent);
}
.divider--ecg svg {
  width: 100%; height: 100%; display: block;
  stroke-dasharray: 1600; stroke-dashoffset: 1600;
  animation: ecg-trace 4s linear infinite;
  filter: drop-shadow(0 0 8px rgba(77,216,235,0.5));
}
@keyframes ecg-trace { to { stroke-dashoffset: 0; } }
.divider--ecg .divider-dot {
  position: absolute; top: 50%; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 14px var(--teal), 0 0 28px rgba(45,191,212,0.7);
  animation: ecg-dot 4s linear infinite;
}
@keyframes ecg-dot {
  0%   { left: -2%; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: 102%; opacity: 0; }
}

/* Double-helix wave divider: about → departments */
.divider--helix {
  height: 130px;
  color: var(--teal-soft);
  background: linear-gradient(to bottom, transparent, rgba(45,191,212,0.04) 50%, transparent);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
}
.divider--helix svg {
  width: 100%; height: 70px; display: block;
}
.divider--helix .dh-a, .divider--helix .dh-b {
  stroke-dasharray: 6 8;
  animation: helix-dash 6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(45,191,212,0.5));
}
.divider--helix .dh-b { stroke: var(--warm); opacity: .5; animation-direction: reverse; }
@keyframes helix-dash { to { stroke-dashoffset: -140; } }
.divider-label {
  font-family: "Fira Sans", monospace; font-size: 10px;
  letter-spacing: .4em; text-transform: uppercase; color: var(--teal);
  opacity: .65;
  animation: divider-label-pulse 2.4s ease-in-out infinite;
}
@keyframes divider-label-pulse {
  0%,100% { opacity: .5; }
  50%     { opacity: .9; }
}

/* Pulse divider: departments → vacuum */
.divider--pulse {
  height: 110px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 0 12vw;
}
.divider--pulse .dv-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, rgba(45,191,212,0.5), transparent);
}
.divider--pulse .dv-orb {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
  box-shadow: 0 0 14px var(--teal), 0 0 36px rgba(45,191,212,0.6);
  position: relative;
}
.divider--pulse .dv-orb::before,
.divider--pulse .dv-orb::after {
  content: ''; position: absolute; inset: -8px;
  border: 1px solid rgba(45,191,212,0.5); border-radius: 50%;
  animation: dv-ring 2.4s ease-out infinite;
}
.divider--pulse .dv-orb::after { animation-delay: 1.2s; }
@keyframes dv-ring {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Scan divider: vacuum → doctors */
.divider--scan {
  height: 100px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  background: linear-gradient(to bottom, transparent, rgba(45,191,212,0.06) 50%, transparent);
}
.divider--scan .dv-scan-bar {
  width: 70%; height: 1px; position: relative; overflow: hidden;
  background: rgba(45,191,212,0.12);
}
.divider--scan .dv-scan-bar::before {
  content: ''; position: absolute; top: 0; left: -25%;
  width: 25%; height: 100%;
  background: linear-gradient(to right, transparent, var(--teal-hi), transparent);
  filter: drop-shadow(0 0 8px var(--teal));
  animation: scan-sweep 2.4s ease-in-out infinite;
}
@keyframes scan-sweep {
  0%   { left: -30%; }
  100% { left: 105%; }
}

/* ═══════════════════════════════════════
   ABOUT — feature pills
═══════════════════════════════════════ */
.about-features {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.about-features li {
  display: flex; gap: 14px; padding: 14px 16px;
  background: linear-gradient(135deg, rgba(45,191,212,0.06), rgba(45,191,212,0.02));
  border: 1px solid var(--border); border-radius: 8px;
  align-items: flex-start;
}
.about-features li::before {
  content: ''; flex-shrink: 0; margin-top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 8px var(--teal);
}
.about-features .af-title {
  display: block;
  font-family: "Albert Sans", sans-serif; font-weight: 700; font-size: 14px;
  color: var(--ink); letter-spacing: .01em;
}
.about-features .af-desc {
  display: block; margin-top: 2px;
  font-size: 12.5px; line-height: 1.55; color: var(--ink-2);
}

/* ═══════════════════════════════════════
   VACUUM — atmospheric background
═══════════════════════════════════════ */
.section--vacuum { position: relative; overflow: hidden; }
.vac-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.vac-bg-rings {
  position: absolute; top: 50%; right: -10%;
  width: 70vw; height: 70vw; max-width: 800px; max-height: 800px;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 35%, rgba(45,191,212,0.08) 36%, transparent 38%),
    radial-gradient(circle, transparent 50%, rgba(45,191,212,0.06) 51%, transparent 53%),
    radial-gradient(circle, transparent 65%, rgba(45,191,212,0.05) 66%, transparent 68%),
    radial-gradient(circle, transparent 80%, rgba(45,191,212,0.04) 81%, transparent 83%);
  animation: vac-bg-spin 60s linear infinite;
}
@keyframes vac-bg-spin { to { transform: translateY(-50%) rotate(360deg); } }
.vac-bg-orb {
  position: absolute; top: 30%; left: -8%;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,191,212,0.18) 0%, rgba(45,191,212,0) 60%);
  filter: blur(40px);
  animation: vac-orb-float 12s ease-in-out infinite;
}
@keyframes vac-orb-float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, -30px); }
}
.vac-grid { position: relative; z-index: 1; }
.vac-eyebrow {
  font-family: "Fira Sans", monospace; font-size: 10px;
  letter-spacing: .35em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 14px;
}
.vac-pre {
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.6vw, 30px); color: var(--teal-soft);
  margin-bottom: 6px;
}
.vac-tag {
  font-size: 16px; line-height: 1.7; color: var(--ink-2);
  margin: 0;
}

/* ═══════════════════════════════════════
   DOCTORS — atmospheric background (synapse field)
═══════════════════════════════════════ */
.section--doctors { position: relative; overflow: hidden; }
.doc-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(45,191,212,0.08), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(243,168,102,0.05), transparent 65%),
    repeating-linear-gradient(135deg, transparent, transparent 80px, rgba(45,191,212,0.02) 80px, rgba(45,191,212,0.02) 81px);
}
.doc-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, var(--teal) 1.5px, transparent 2px),
    radial-gradient(circle at 75% 65%, var(--warm) 1.5px, transparent 2px),
    radial-gradient(circle at 50% 80%, var(--teal-soft) 1.5px, transparent 2px),
    radial-gradient(circle at 85% 20%, var(--teal) 1.5px, transparent 2px),
    radial-gradient(circle at 10% 80%, var(--warm) 1.5px, transparent 2px);
  opacity: .35;
  animation: doc-bg-pulse 4s ease-in-out infinite;
}
@keyframes doc-bg-pulse {
  0%, 100% { opacity: .25; }
  50%      { opacity: .5; }
}
.doc-head, .doc-grid { position: relative; z-index: 1; }
.doc-tag { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin: 18px 0 0; max-width: 520px; }
.dep-tag { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin: 18px 0 0; }

/* ═══════════════════════════════════════
   AUDIO PLAYER (sticky orb)
═══════════════════════════════════════ */
.audio-orb {
  position: fixed; bottom: 24px; right: 24px; z-index: 150;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(2,12,18,0.78);
  border: 1px solid var(--border); border-radius: 30px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.55), 0 0 28px rgba(45,191,212,0.12);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), bottom .35s, right .35s, box-shadow .35s;
  pointer-events: auto;
}
.audio-orb.is-playing { box-shadow: 0 8px 30px rgba(0,0,0,0.55), 0 0 36px rgba(45,191,212,0.32); }
.audio-orb.is-muted {
  animation: orb-pulse 1.6s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(0,0,0,0.55), 0 0 18px rgba(243,168,102,0.25); }
  50%      { box-shadow: 0 8px 30px rgba(0,0,0,0.55), 0 0 38px rgba(243,168,102,0.55); }
}
.audio-orb.is-muted .audio-label::after {
  content: ' · CLICK ANYWHERE';
  color: var(--warm);
}

.audio-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: #010608;
  border: none; cursor: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 4px 14px rgba(45,191,212,0.45);
}
.audio-toggle:hover { background: var(--teal-hi); transform: scale(1.06); }
.audio-toggle svg { width: 16px; height: 16px; }
.audio-toggle .ic-pause { display: none; }
.audio-orb.is-playing .audio-toggle .ic-play  { display: none; }
.audio-orb.is-playing .audio-toggle .ic-pause { display: block; }

.audio-eq {
  display: inline-flex; align-items: flex-end; gap: 3px;
  height: 18px; opacity: .45;
}
.audio-eq span {
  display: block; width: 3px; background: var(--teal-soft); border-radius: 2px;
  height: 30%;
}
.audio-orb.is-playing .audio-eq { opacity: 1; }
.audio-orb.is-playing .audio-eq span {
  animation: eq-bounce 1.1s ease-in-out infinite;
}
.audio-orb.is-playing .audio-eq span:nth-child(2) { animation-delay: .15s; }
.audio-orb.is-playing .audio-eq span:nth-child(3) { animation-delay: .3s;  }
.audio-orb.is-playing .audio-eq span:nth-child(4) { animation-delay: .45s; }
@keyframes eq-bounce {
  0%, 100% { height: 25%; }
  50%      { height: 90%; }
}

.audio-label {
  font-family: "Fira Sans", monospace; font-size: 9px;
  letter-spacing: .35em; text-transform: uppercase; color: var(--teal-soft);
}

/* Static-noise overlay during modal focus */
.audio-static {
  position: fixed; inset: 0; pointer-events: none; z-index: 199;
  opacity: 0; transition: opacity .35s ease;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0.015) 0deg, rgba(0,0,0,0) 1deg, rgba(255,255,255,0.015) 2deg, rgba(0,0,0,0) 3deg);
  mix-blend-mode: screen;
}
body.modal-open .audio-static { opacity: 1; animation: static-jitter 0.6s steps(8) infinite; }
@keyframes static-jitter {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(1px,-1px); }
  50%  { transform: translate(-1px,1px); }
  75%  { transform: translate(0,1px); }
  100% { transform: translate(1px,0); }
}

#yt-host, #yt-host iframe {
  position: fixed;
  bottom: -300px; right: -400px;     /* off-screen but rendered */
  width: 320px; height: 180px;
  pointer-events: none; opacity: 0.001;
  z-index: -1;
}

/* ═══════════════════════════════════════
   FIX: booking modal scrolling
═══════════════════════════════════════ */
.modal-window--scroll {
  max-height: calc(100vh - 120px);
  overflow-y: auto; overflow-x: hidden;
}
.modal-window--scroll::-webkit-scrollbar { width: 6px; }
.modal-window--scroll::-webkit-scrollbar-track { background: rgba(45,191,212,0.05); }
.modal-window--scroll::-webkit-scrollbar-thumb { background: rgba(45,191,212,0.35); border-radius: 3px; }
.modal-window--scroll::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ═══════════════════════════════════════
   FIX: button visibility (stronger contrast)
═══════════════════════════════════════ */
.btn--outline {
  background: rgba(1,6,8,0.55);
  border-color: rgba(77,216,235,0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--ink);
}
.helix-card .card-open {
  background: rgba(1,6,8,0.7);
  border-color: rgba(77,216,235,0.55);
  color: var(--teal-soft);
  backdrop-filter: blur(4px);
}
.helix-card .card-open:hover { background: var(--teal); color: #010608; border-color: var(--teal); }

/* ═══════════════════════════════════════
   VIDEO MODAL
═══════════════════════════════════════ */
.modal--video { padding: 60px; }

/* ═══════════════════════════════════════
   RESPONSIVE — tablet & mobile
═══════════════════════════════════════ */

/* Hide the custom cursor on touch/coarse-pointer devices */
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
  a, button, .helix-card, .doc-card { cursor: pointer !important; }
}

/* ─── TABLET (≤ 1024px) ─── */
@media (max-width: 1024px) {
  :root { --nav-h: 64px; }
  .nav { padding: 14px 22px; gap: 16px; }
  .nav-logo-img { height: 36px; }
  .nav-links { gap: 18px; font-size: 9px; }
  .nav-cta { padding: 9px 14px; font-size: 9px; }

  .section { padding: calc(var(--nav-h) + 40px) 6vw 60px; }
  .section--departments { min-height: 360vh; }
  .section--vacuum, .section--doctors, .section--contact { padding-top: 100px; }

  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .hero-stats .v { font-size: 26px; }
  .about-grid, .vac-grid { gap: 50px; }
  .helix-card { width: 290px; }
  .helix-card .card-img { height: 150px; }

  .modal { padding: 60px 22px; }
  .modal-window { width: 100%; }
  .booking-content { padding: 44px 30px 30px; }
  .booking-form { gap: 12px; }

  .audio-orb { padding: 6px 12px 6px 6px; bottom: 16px; right: 16px; }
  .audio-toggle { width: 36px; height: 36px; }
  .audio-label { font-size: 8px; letter-spacing: .3em; }
}

/* ─── MOBILE (≤ 768px) ─── */
@media (max-width: 768px) {
  :root { --nav-h: 58px; }
  .nav { padding: 10px 16px; gap: 10px; }
  .nav-logo-img { height: 32px; }
  /* Hide text links — keep only logo + Book Now on mobile */
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; padding: 8px 12px; font-size: 8.5px; gap: 6px; }
  .nav-cta svg { width: 12px; height: 12px; }

  .section { padding: calc(var(--nav-h) + 28px) 5vw 50px; }
  .section--departments { min-height: 300vh; }
  .section--vacuum, .section--doctors, .section--contact { padding-top: 80px; }

  /* HERO */
  .hero-title { font-size: clamp(40px, 12vw, 64px); line-height: .95; }
  .hero-tag   { font-size: 14px; max-width: 100%; }
  .hero-actions { gap: 10px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
  .hero-stats .v { font-size: 22px; }
  .hero-stats .l { font-size: 8px; }
  .hero-scroll-indicator { bottom: 16px; }

  /* ABOUT */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-features li { padding: 12px 14px; gap: 10px; }
  .about-features .af-title { font-size: 13px; }
  .about-features .af-desc { font-size: 12px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* DEPARTMENTS */
  .dep-head { padding: 60px 5vw 30px; }
  .dep-tag { font-size: 13px; }
  .helix-card { width: 250px; }
  .helix-card .card-img { height: 130px; }
  .helix-card .card-body { padding: 12px 14px 14px; }
  .helix-card .card-name { font-size: 13px; }
  .helix-card .card-accent { font-size: 12px; }
  .helix-card .card-blurb { font-size: 10.5px; -webkit-line-clamp: 2; }
  .helix-card .card-open { padding: 7px 10px; font-size: 9px; }
  .dep-progress { bottom: 78px; padding: 8px 14px; gap: 10px; font-size: 8px; }
  .dep-progress-bar { width: 100px; }

  /* VACUUM */
  .vac-grid { grid-template-columns: 1fr; gap: 36px; }
  .vac-title { font-size: clamp(40px, 11vw, 72px); }
  .vac-tag { font-size: 14px; }
  .vac-body { font-size: 14px; }
  .vac-visual { max-width: 360px; margin: 0 auto; }
  .vac-bg-orb { width: 220px; height: 220px; }

  /* DOCTORS */
  .section--doctors { padding-top: 80px; }
  .doc-grid { gap: 14px; grid-template-columns: repeat(2, 1fr); }
  .doc-card-name { font-size: 14px; }
  .doc-card-spec { font-size: 8px; }
  .doc-card-cta { font-size: 8px; }

  /* CONTACT */
  .con-grid { grid-template-columns: 1fr; }
  .con-left, .con-right { padding: 32px 26px; }
  .con-left { border-right: 0; border-bottom: 1px solid var(--border); }
  .con-title { font-size: clamp(30px, 8vw, 48px); }
  .con-social { gap: 6px; }

  /* DIVIDERS */
  .divider--ecg { height: 70px; }
  .divider--helix { height: 90px; }
  .divider--pulse { height: 80px; padding: 0 6vw; }
  .divider--scan { height: 70px; }
  .divider-label { font-size: 9px; letter-spacing: .3em; }

  /* MODALS */
  .modal { padding: 80px 14px 30px; }
  .modal-close { top: 12px; right: 12px; width: 36px; height: 36px; }
  .modal--dept .modal-content { grid-template-columns: 1fr; }
  .dept-modal-img { min-height: 200px; }
  .dept-modal-img::after { background: linear-gradient(to bottom, transparent 50%, rgba(2,12,18,0.95) 100%); }
  .dept-modal-text { padding: 28px 24px; }

  .modal--terminal .term-window { width: 100%; }
  .term-body { padding: 22px 18px; font-size: 11px; }
  .t-grid { grid-template-columns: 1fr; gap: 16px; }
  .t-portrait { width: 140px; height: 170px; align-self: center; }
  .t-table td { padding: 4px 8px; font-size: 10.5px; }
  .t-section h4 { font-size: 10.5px; }

  .modal--booking .booking-content { padding: 36px 24px 28px; }
  .booking-title { font-size: clamp(24px, 6.5vw, 32px); }
  .booking-form { grid-template-columns: 1fr; gap: 10px; }
  .bf-row input, .bf-row select, .bf-row textarea { padding: 10px 12px; font-size: 13.5px; }
  .bf-actions { flex-direction: column; }
  .bf-actions .btn { width: 100%; }

  .modal--video { padding: 30px 14px; }

  /* AUDIO ORB */
  .audio-orb { bottom: 14px; right: 14px; padding: 5px 10px 5px 5px; }
  .audio-toggle { width: 34px; height: 34px; }
  .audio-toggle svg { width: 14px; height: 14px; }
  .audio-eq { height: 14px; }
  .audio-label { display: none; }   /* keep orb compact on phones */
}

/* ─── SMALL MOBILE (≤ 480px) ─── */
@media (max-width: 480px) {
  .nav { padding: 8px 12px; }
  .nav-logo-img { height: 28px; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 9px 11px; }

  .section { padding: calc(var(--nav-h) + 22px) 5vw 40px; }
  .hero-title { font-size: clamp(34px, 13vw, 54px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }

  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-stats .v { font-size: 20px; }

  .helix-card { width: 220px; }
  .helix-card .card-img { height: 115px; }
  .helix-card .card-num, .helix-card .card-tag { font-size: 7.5px; padding: 3px 6px; }
  .helix-card .card-blurb { display: none; }

  .doc-grid { grid-template-columns: 1fr; }
  .doc-card-portrait { aspect-ratio: 16/12; }

  .con-left, .con-right { padding: 26px 20px; }
  .con-rows { gap: 14px; }

  .dep-progress { display: none; }       /* compact UI on tiny screens */
  .scene-vignette { display: none; }      /* less visual noise */
}

/* ─── LANDSCAPE PHONE / SHORT SCREENS ─── */
@media (max-height: 540px) and (orientation: landscape) {
  .section--hero { padding-top: 70px; padding-bottom: 30px; }
  .hero-title { font-size: clamp(28px, 6vw, 44px); }
  .hero-stats { margin-top: 16px; }
  .hero-scroll-indicator { display: none; }
}
.modal--video .video-player {
  position: relative; z-index: 2;
  max-width: min(1080px, 100%); max-height: 80vh; width: 100%;
  border-radius: 6px; border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}
