/* ════════════════════════════════════════════════════════════
   FLOAID — ORANGE + WHITE THEME
   Drop-in stylesheet linked from every page. Overrides the
   default dark+blue palette with a light surface and orange (RV)
   primary accent. Selectors are scoped so unused ones simply
   match nothing on pages that don't have those elements.
════════════════════════════════════════════════════════════ */

/* ─── TOKEN REBIND ─── */
:root {
  --lv: #ff7820;
  --lv-dk: #e0621a;
  --lv-dim: rgba(255, 120, 32, 0.1);
  --lv-br: rgba(255, 120, 32, 0.22);
  --lv-glow: rgba(255, 120, 32, 0.18);

  /* dark surfaces flip to white/warm so previously-dark sections render light */
  --navy: #ffffff;
  --navy2: #f8fafb;
  --navy3: #eff3f7;
}
body {
  background: #ffffff;
  color: var(--ink);
}

/* ─────────────────────────────────────────────
   SHARED PAGE CHROME (home/team/contact/products)
   ───────────────────────────────────────────── */

/* dark page headers (.hero, .page-hdr, .page-header) — flip text + decorations */
.hero,
.page-hdr,
.page-header {
  border-bottom-color: rgba(255, 120, 32, 0.12);
}
.hero::before,
.page-hdr::before,
.page-header::before {
  background-image:
    linear-gradient(rgba(255, 120, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 120, 32, 0.04) 1px, transparent 1px) !important;
}
.hero::after,
.page-hdr::after,
.page-header::after {
  color: rgba(255, 120, 32, 0.05);
}

/* eyebrow + tag accents */
.h-tag,
.ph-eyebrow,
.ph-ey {
  color: rgba(255, 120, 32, 0.8);
}
.h-tag-line,
.ph-eyebrow::before,
.ph-ey::before {
  background: rgba(255, 120, 32, 0.8) !important;
}

/* big headers */
.h-title,
.ph-title,
.ph-h1,
.pvad-title {
  color: var(--ink);
}
.h-sub,
.ph-sub,
.pvad-sub {
  color: var(--ink-3);
}

/* meta strip on contact header */
.ph-meta {
  border-top-color: var(--warm-200);
}
.ph-meta-lbl {
  color: var(--ink-5);
}
.ph-meta-val {
  color: var(--ink);
}

/* ─── HOME: HERO buttons, audience tabs, social proof ─── */
.btn-outline {
  color: var(--ink-3);
  border-color: var(--warm-200);
}
.btn-outline:hover {
  border-color: var(--lv-br);
  color: var(--lv);
}
.h-tabs {
  background: var(--warm-50);
  border-color: var(--warm-200);
}
.h-tab {
  border-right-color: var(--warm-200);
}
.h-tab-val {
  color: var(--ink-3);
}
.h-proof {
  border-top-color: var(--warm-200);
}
.h-proof-text {
  color: var(--ink-4);
}

/* ─── HOME: PVAD showcase ─── */
.pvad-section {
  border-bottom-color: rgba(255, 120, 32, 0.1);
}
.pvad-section::before {
  background-image:
    linear-gradient(rgba(255, 120, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 120, 32, 0.04) 1px, transparent 1px) !important;
}
.device-label-name,
.device-status {
  color: var(--ink-5);
}
.cert-pill {
  background: var(--warm-50);
  border-color: var(--warm-200);
  color: var(--ink-4);
}

/* ─── HOME: clinical evidence section ─── */
.clinical {
  border-bottom-color: var(--warm-200);
}
.cl {
  border-right-color: var(--warm-200);
}
.cl .sti {
  color: var(--ink);
}
.cl .ssu {
  color: var(--ink-3);
}
.ev {
  background: var(--warm-50);
}
.ev:hover {
  background: var(--lv-dim);
}
.et {
  color: var(--ink);
}
.es {
  color: var(--ink-3);
}
.ea {
  color: var(--ink-5);
}
.metrics {
  background: var(--warm-200);
}
.metric {
  background: #ffffff;
}
.mn {
  color: var(--ink);
}
.ml {
  color: var(--ink-3);
}
.ms {
  color: var(--ink-5);
}

/* ─── HOME: dark product card variant → standard light card ─── */
.pc-alt {
  background: #ffffff;
  border-color: var(--warm-200);
}
.pc-alt:hover {
  box-shadow: 0 12px 40px rgba(255, 120, 32, 0.1);
  border-color: var(--lv-br);
}
.pc-alt .pname {
  color: var(--ink);
}
.pc-alt .pdesc {
  color: var(--ink-3);
}
.pc-alt .pnum {
  color: rgba(28, 26, 26, 0.04);
}
.pc-alt .psp {
  background: var(--warm-200);
}
.pc-alt .ps {
  background: var(--warm-50);
}
.pc-alt .psv {
  color: var(--ink);
}
.pc-alt .psk {
  color: var(--ink-4);
}
.pc-alt .ptag {
  background: var(--lv-dim);
  border-color: var(--lv-br);
  color: var(--lv);
}

/* ─────────────────────────────────────────────
   GENERIC DARK SECTION (.sec.dark on team/contact)
   ───────────────────────────────────────────── */
.sec.dark {
  border-bottom-color: var(--warm-200);
}
.sec.dark .sec-ey {
  color: rgba(255, 120, 32, 0.65);
}
.sec.dark .sec-ey::before {
  background: rgba(255, 120, 32, 0.65);
}
.sec.dark .sec-ti {
  color: var(--ink);
}
.sec.dark .sec-su {
  color: var(--ink-3);
}

/* ─────────────────────────────────────────────
   TEAM PAGE
   ───────────────────────────────────────────── */
.ph-stats {
  border-color: var(--warm-200);
  background: var(--warm-50);
}
.ph-stat {
  border-bottom-color: var(--warm-200);
}
.ph-sn {
  color: var(--ink);
}
.ph-sl {
  color: var(--ink-4);
}

.adv-stats {
  background: var(--warm-200);
}
.as {
  background: #ffffff;
}
.as-n {
  color: var(--ink);
}
.as-l {
  color: var(--ink-4);
}
.as-s {
  color: var(--ink-5);
}

/* dark portrait card variant on advisors */
.pc.dark-pc {
  background: #ffffff;
  border-color: var(--warm-200);
}
.pc.dark-pc:hover {
  box-shadow: 0 8px 32px rgba(255, 120, 32, 0.1);
  border-color: var(--lv-br);
}
.pc.dark-pc .pc-top {
  background: var(--warm-50);
  border-bottom-color: var(--warm-200);
}
.pc.dark-pc .pc-av {
  background: var(--warm-100);
  border-color: var(--warm-200);
  color: var(--ink-4);
}
.pc.dark-pc .pc-name {
  color: var(--ink);
}
.pc.dark-pc .pc-org {
  color: var(--lv);
}
.pc.dark-pc .pc-desc {
  color: var(--ink-3);
}
.pc.dark-pc .pc-foot {
  background: var(--warm-50);
  border-top-color: var(--warm-200);
}

/* key areas grid (dark on team) */
.ka-label {
  color: var(--ink-4);
}
.ka-grid {
  background: var(--warm-200);
  border-color: var(--warm-200);
}
.ka {
  background: #ffffff;
}
.ka-t {
  color: var(--ink);
}
.ka-d {
  color: var(--ink-3);
}

/* ─────────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────────── */
.off-visual {
  background: var(--warm-50);
  border-color: var(--warm-200);
}
.off-visual::before {
  background-image:
    linear-gradient(rgba(255, 120, 32, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 120, 32, 0.05) 1px, transparent 1px);
}
.off-overlay {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(7, 15, 30, 0.18) 100%
  );
}
.off-pin-lbl {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--lv-br);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  white-space: nowrap;
}
.off-pin-pri {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--ink);
}
.off-pin-sub {
  font-size: 8px;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: var(--ink-4);
}
.off-coord {
  color: var(--ink-4);
  text-shadow: none;
}
.off-mapbtn {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--warm-200);
}
.off-mapbtn:hover {
  background: var(--lv);
  border-color: var(--lv);
  color: #fff;
}
.off-cap {
  /* compact chip at top-right (top-left is OSM's zoom controls now that
     the map is interactive). reads as a location label, sized to its text. */
  top: 1.25rem;
  right: 1.25rem;
  left: auto;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--warm-200);
  border-radius: 4px;
  color: var(--ink-3);
  text-shadow: none;
  z-index: 3;
}

/* ─────────────────────────────────────────────
   CTA BAR — shared across home/team/contact/products
   ───────────────────────────────────────────── */
.cta-bar {
  background: var(--warm-50);
  border-top-color: var(--warm-200);
}
.cta-bar h2 {
  color: var(--ink);
}
.cta-bar p {
  color: var(--ink-3);
}
.btn-g {
  color: var(--ink-3);
  border-color: var(--warm-200);
}
.btn-g:hover {
  border-color: var(--lv-br);
  color: var(--lv);
}

/* ─────────────────────────────────────────────
   CONTROLLERS PAGE — dark .ctrl-section repeats per device
   ───────────────────────────────────────────── */
.ctrl-section {
  border-bottom-color: var(--warm-200);
}
.ctrl-section::before {
  background-image:
    linear-gradient(rgba(255, 120, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 120, 32, 0.04) 1px, transparent 1px) !important;
}
.ctrl-eyebrow {
  color: rgba(255, 120, 32, 0.7);
}
.ctrl-eyebrow::before {
  background: rgba(255, 120, 32, 0.7) !important;
}
.ctrl-title {
  color: var(--ink);
}
.ctrl-sub {
  color: var(--ink-3);
}

/* ─────────────────────────────────────────────
   PRODUCTS PAGE — dark prod panels flip to warm-50
   ───────────────────────────────────────────── */
.prod-panel,
.prod-content {
  /* surfaces use var(--navy)/var(--navy2) which are already rebound,
     so backgrounds flip automatically. these targeted overrides
     handle child text + accents that were hardcoded white. */
}
.prod-eyebrow {
  color: var(--lv);
}
.prod-eyebrow::before {
  background: var(--lv);
}
.prod-name {
  color: var(--ink);
}
.prod-desc {
  color: var(--ink-3);
}
.spill {
  color: var(--ink-3);
}
.prod-img-container {
  border-color: var(--warm-200);
  background:
    radial-gradient(
      ellipse at center,
      rgba(255, 120, 32, 0.06) 0%,
      rgba(255, 255, 255, 0) 65%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0) 100%
    );
}
.spec-strip {
  background: var(--warm-200);
}
.ss-item {
  background: #ffffff;
}
.ss-k {
  color: var(--ink-5);
}
.ss-v {
  color: var(--ink);
}
.toggle-pill {
  background: var(--warm-50);
  border-color: var(--warm-200);
}
.tpill-btn {
  color: var(--ink-3);
  background: var(--warm-50);
  border-color: var(--warm-200);
}
.tpill-btn:hover:not(.on) {
  background: var(--lv-dim);
  color: var(--lv);
}
.tpill-btn.on {
  color: #fff;
  background: var(--lv);
  border-color: var(--lv);
  box-shadow: 0 2px 14px rgba(255, 120, 32, 0.35);
}

/* ─────────────────────────────────────────────
   NAVBAR + FOOTER — selector-prefix beats the component's
   own injected rules without needing !important
   ───────────────────────────────────────────── */
floaid-navbar nav {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--warm-200);
}
floaid-navbar .nav-logo {
  color: var(--ink);
}
floaid-navbar .nav-logo span {
  color: var(--lv);
}
floaid-navbar .nav-links a {
  color: var(--ink-4);
}
floaid-navbar .nav-links a:hover {
  color: var(--ink);
}
floaid-navbar .nav-links a.active {
  color: var(--ink);
}
floaid-navbar .nav-links a::after {
  background: var(--lv);
}
floaid-navbar .hamburger span {
  background: var(--ink);
}
@media (max-width: 800px) {
  floaid-navbar .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--warm-200);
  }
  floaid-navbar .nav-links a {
    color: var(--ink-3);
    border-bottom-color: var(--warm-200);
  }
  floaid-navbar .nav-links a.active {
    color: var(--lv);
    border-bottom-color: var(--warm-200);
  }
}

floaid-footer footer {
  background: var(--warm-50);
  border-top: 1px solid var(--warm-200);
}
floaid-footer .fcopy {
  color: var(--ink-4);
}
floaid-footer .footer-logo {
  color: var(--ink);
}
floaid-footer .footer-logo span {
  color: var(--lv);
}

/* ─────────────────────────────────────────────
   HOVER / FOCUS — retint hardcoded blue glows + borders to orange
   ───────────────────────────────────────────── */

/* product / portrait cards (home + team) */
.pc:hover {
  box-shadow: 0 10px 40px rgba(255, 120, 32, 0.1);
  border-color: var(--lv-br);
}

/* training cards (home) */
.tc:hover {
  border-color: var(--lv-br);
  box-shadow: 0 4px 24px rgba(255, 120, 32, 0.08);
}

/* lead cards (team) */
.lc:hover {
  border-color: var(--lv-br);
  box-shadow: 0 8px 32px rgba(255, 120, 32, 0.1);
}

/* products: download brochure button — base + hover */
.dl-btn {
  border-color: var(--lv-br);
  color: var(--lv);
  background: var(--lv-dim);
}
.dl-btn:hover {
  background: rgba(255, 120, 32, 0.18);
  color: var(--lv-dk);
  border-color: rgba(255, 120, 32, 0.45);
}

/* products: HLM feature grid — light theme override */
.hlm-feat {
  background: var(--warm-200);
  border-color: var(--warm-200);
}
.hlm-fc {
  background: #ffffff;
  transition:
    background 0.22s,
    transform 0.22s,
    box-shadow 0.22s;
}
.hlm-fc-n {
  color: var(--lv);
}
.hlm-fc-t {
  color: var(--ink);
}
.hlm-fc-d {
  color: var(--ink-3);
}
.hlm-fc:hover {
  background: var(--warm-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 120, 32, 0.08);
}

/* products: tech-feature card hover */
.feat-card:hover {
  box-shadow: 0 8px 28px rgba(255, 120, 32, 0.08);
}

/* contact: map "Open in Maps" button hover (full-blue border previously) */
.off-mapbtn:hover {
  background: var(--lv);
  border-color: var(--lv);
  color: #fff;
}

/* contact: pulsing pin glow ring */
.off-pin-dot {
  background: var(--lv);
  box-shadow:
    0 0 0 6px rgba(255, 120, 32, 0.28),
    0 0 0 14px rgba(255, 120, 32, 0.1);
}
@keyframes pinPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 6px rgba(255, 120, 32, 0.28),
      0 0 0 14px rgba(255, 120, 32, 0.1);
  }
  50% {
    box-shadow:
      0 0 0 9px rgba(255, 120, 32, 0.38),
      0 0 0 20px rgba(255, 120, 32, 0.14);
  }
}

/* navbar link hover — ensure underline preview is orange */
floaid-navbar .nav-links a:hover::after {
  background: var(--lv);
}

/* ─────────────────────────────────────────────
   MOTION — scroll-reveal: fade-up + eyebrow line-draw + cascade
   Driven by components/motion.js. Honors prefers-reduced-motion.
   ───────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

.fl-rev {
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--fl-delay, 0ms);
  will-change: opacity, transform;
}

/* generic fade-up */
.fl-rev-fade {
  opacity: 0;
  transform: translateY(10px);
}
.fl-rev-fade.fl-on {
  opacity: 1;
  transform: translateY(0);
}

/* grid items — slightly larger lift, with stagger via --fl-delay */
.fl-rev-cascade {
  opacity: 0;
  transform: translateY(14px);
}
.fl-rev-cascade.fl-on {
  opacity: 1;
  transform: translateY(0);
}

/* eyebrows: text fades, decorative line draws in */
.fl-rev-ey {
  opacity: 0;
  transition:
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.fl-rev-ey.fl-on {
  opacity: 1;
}

/* eyebrow ::before line (.ph-ey, .sec-ey, .prod-eyebrow, .ctrl-eyebrow, .next-ey) */
.ph-ey.fl-rev-ey::before,
.sec-ey.fl-rev-ey::before,
.prod-eyebrow.fl-rev-ey::before,
.ctrl-eyebrow.fl-rev-ey::before,
.next-ey.fl-rev-ey::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 120ms;
}
.ph-ey.fl-on::before,
.sec-ey.fl-on::before,
.prod-eyebrow.fl-on::before,
.ctrl-eyebrow.fl-on::before,
.next-ey.fl-on::before {
  transform: scaleX(1);
}

/* .h-tag uses real <span class="h-tag-line"> instead of pseudos */
.h-tag.fl-rev-ey .h-tag-line {
  transform: scaleX(0);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 120ms;
}
.h-tag.fl-rev-ey .h-tag-line:first-child {
  transform-origin: right center;
}
.h-tag.fl-rev-ey .h-tag-line:last-child {
  transform-origin: left center;
}
.h-tag.fl-on .h-tag-line {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fl-rev,
  .fl-rev-fade,
  .fl-rev-cascade,
  .fl-rev-ey,
  .ph-ey.fl-rev-ey::before,
  .sec-ey.fl-rev-ey::before,
  .prod-eyebrow.fl-rev-ey::before,
  .ctrl-eyebrow.fl-rev-ey::before,
  .next-ey.fl-rev-ey::before,
  .h-tag.fl-rev-ey .h-tag-line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ═════════════════════════════════════════════════════════════
   DESIGN MOTIFS — ECG trace, waveform divider, anatomical art
   Calibrated for the orange-on-white surface (theme.css rebinds
   --navy to white, --lv to orange). Drop-in components: any page
   that wants them just adds the markup; styles are inherited.
   ═════════════════════════════════════════════════════════════ */

/* ─── Hero ECG overlay ─── */
.hero-ecg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-ecg-path {
  fill: none;
  stroke: rgba(255, 120, 32, 0.4);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  vector-effect: non-scaling-stroke;
  animation: ecg-draw 6s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s forwards;
}

/* On mobile, content-heavy heroes (home, team) stretch to 800-1100px tall.
   Letting the SVG fill that full height makes the slice crop down to only
   the first ~200 viewBox units (P wave, no QRS). Capping the overlay to a
   band height brings the aspect ratio back into the range where one full
   P-QRS-T cycle is visible.

   The animation is also slowed and given a longer start delay: only ~40%
   of the path is visible on mobile, so the 6s desktop duration would draw
   the visible portion in ~1.5s — too fast to notice, especially on page
   transitions where the user is still focusing on the new page. */
@media (max-width: 768px) {
  .hero-ecg {
    height: 280px;
    bottom: auto;
  }
  .hero-ecg-path {
    animation-duration: 15s;
    animation-delay: 1.2s;
  }
  .hero-ecg-pulse {
    animation-delay: 16.2s;
  }
}
@keyframes ecg-draw { to { stroke-dashoffset: 0; } }
.hero-ecg-pulse {
  fill: var(--lv);
  filter: drop-shadow(0 0 6px rgba(255, 120, 32, 0.6));
  opacity: 0;
  animation: ecg-pulse-show 0.4s 6s forwards;
}
@keyframes ecg-pulse-show { to { opacity: 1; } }

/* ─── Waveform section divider ─── */
.wave-divider {
  background: var(--white);
  padding: 1.25rem 0;
  border-bottom: var(--rule);
}
.wave-divider svg { display: block; width: 100%; height: 28px; }
.wave-divider .wd-path {
  fill: none;
  stroke: rgba(255, 120, 32, 0.5);
  stroke-width: 1;
}

/* ─── Approach / anatomical line-art section ─── */
.approach {
  padding: 5rem 3rem;
  background: var(--white);
  border-bottom: var(--rule);
}
.approach-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.approach .a-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lv);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.approach .a-eyebrow::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--lv);
}
.approach h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.approach p {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.approach .a-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: var(--rule);
  flex-wrap: wrap;
}
.approach .a-stats div {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.approach .a-stats strong {
  display: block;
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  color: var(--ink);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.anatomy {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}
.anatomy svg { width: 100%; height: 100%; display: block; }
.anatomy .callout {
  position: absolute;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lv);
  background: var(--warm-50);
  padding: 4px 8px;
  border: 1px solid var(--lv-br);
  border-radius: 3px;
  white-space: nowrap;
}
.anatomy .c-1 { top: 12%; left: -6%; }
.anatomy .c-2 { top: 38%; right: -2%; }
.anatomy .c-3 { bottom: 14%; left: 8%; }
.anatomy .c-4 { top: 12%; right: -6%; }
.anatomy .c-5 { bottom: 14%; right: 8%; }

/* Heart strokes — thinner, dimmer; catheter overlay is the visual focal point */
.heart-stroke {
  fill: none;
  stroke: var(--lv);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}
.heart-stroke.dim {
  stroke: rgba(255, 120, 32, 0.35);
}
.heart-stroke.draw {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}
.approach.active .heart-stroke.draw {
  animation: heart-draw 2.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
@keyframes heart-draw { to { stroke-dashoffset: 0; } }

.cath {
  fill: none;
  stroke: var(--lv-dk);
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: 0;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  filter: drop-shadow(0 0 5px rgba(255, 120, 32, 0.55));
}
.approach.active .cath {
  animation: cath-in 1.6s cubic-bezier(0.25, 0.8, 0.25, 1) 2.2s forwards;
}
@keyframes cath-in { to { opacity: 1; stroke-dashoffset: 0; } }

/* Second catheter (dual-pump variant for products page) */
.cath.cath-2 {
  stroke-dashoffset: 600;
}
.approach.active .cath.cath-2 {
  animation: cath-in 1.6s cubic-bezier(0.25, 0.8, 0.25, 1) 2.8s forwards;
}

@media (max-width: 900px) {
  .approach-inner { grid-template-columns: 1fr; gap: 3rem; }
  .approach { padding: 4rem 1.5rem; }
  .anatomy .c-1 { left: 4%; }
  .anatomy .c-4 { right: 4%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ecg-path,
  .hero-ecg-pulse,
  .heart-stroke.draw,
  .cath {
    animation: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 0.7 !important;
  }
  .hero-ecg-pulse { opacity: 1 !important; }
  .cath { opacity: 1 !important; }
}

/* ═════════════════════════════════════════════════════════════
   QRS EYEBROW ACCENT — replaces the flat 20px line on every
   section eyebrow with a tiny QRS spike. Uses CSS mask so the
   existing background-color cascade (orange variants) still
   drives the visible color — only the shape is overridden.
   ═════════════════════════════════════════════════════════════ */
.h-tag-line,
.ph-ey::before,
.ph-eyebrow::before,
.sec-ey::before,
.prod-eyebrow::before,
.ctrl-eyebrow::before,
.next-ey::before,
.a-eyebrow::before {
  width: 24px;
  height: 8px;
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0 4 L8 4 L9 5.5 L10 1 L12 6 L13 4 L24 4' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-mode: alpha;
  mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0 4 L8 4 L9 5.5 L10 1 L12 6 L13 4 L24 4' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  mask-mode: alpha;
}

/* ═════════════════════════════════════════════════════════════
   PV LOOP COMPONENT — pressure-volume loop, a cardiologist's
   canonical diagram for ventricular function. Static at rest;
   a small dot continuously traces the loop counter-clockwise
   (the direction blood actually moves in a cardiac cycle).
   ═════════════════════════════════════════════════════════════ */
.pv-loop {
  width: 40px;
  height: 40px;
  display: block;
  margin: 0 0 14px;
  flex-shrink: 0;
}

/* Compact placement inside the team-hero stat rows (.ph-stat).
   PV loop sits inline with the number; label wraps to the next line.
   Keeps row height close to the original so the hero heading doesn't
   get pushed down by an over-tall stats column. */
.ph-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 12px;
}
.ph-stat .pv-loop {
  width: 28px;
  height: 28px;
  margin: 0;
}
.ph-stat .ph-sl {
  flex-basis: 100%;
  margin-top: 4px;
}

/* Slightly smaller PV loop inside the advisory-stats cards too, so
   each card doesn't get aggressively taller. */
.as .pv-loop {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
}
.pv-loop-path {
  fill: none;
  stroke: var(--lv);
  stroke-width: 1.2;
  opacity: 0.55;
  stroke-linejoin: round;
}
.pv-loop-axis {
  stroke: var(--ink-5);
  stroke-width: 0.6;
  opacity: 0.35;
  fill: none;
}
.pv-loop-dot {
  fill: var(--lv);
  filter: drop-shadow(0 0 2px rgba(255, 120, 32, 0.8));
}

@media (prefers-reduced-motion: reduce) {
  .pv-loop-dot animateMotion {
    display: none;
  }
}
