@charset "UTF-8";
@keyframes pulseDot {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.85)
  }

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


:root {
  --bg: #030303;
  --bg-panel: rgba(12, 12, 12, 0.85);
  --bg-panel-hover: rgba(22, 22, 22, 0.95);
  --fg: #ffffff;
  --fg-90: rgba(255, 255, 255, 0.92);
  --fg-70: rgba(255, 255, 255, 0.7);
  --fg-50: rgba(255, 255, 255, 0.5);
  --fg-30: rgba(255, 255, 255, 0.3);
  --fg-15: rgba(255, 255, 255, 0.12);
  --border: 1px solid rgba(255, 255, 255, 0.12);
  --border-strong: 1px solid rgba(255, 255, 255, 0.35);
  --red: #ff2a2a;
  --red-dim: rgba(255, 42, 42, 0.18);
  --red-border: 1px solid rgba(255, 42, 42, 0.45);
  --blood-crimson: #dc2626;
  --blood-ruby: #ef4444;
  --blood-deep: #881337;
  --blood-dark: #450a0a;
  --blood-glow: 0 0 12px rgba(220, 38, 38, 0.7), 0 0 28px rgba(185, 28, 28, 0.35);
  --glow-sm: 0 0 6px #ffffff;
  --glow-red: 0 0 8px rgba(255, 42, 42, 0.8), 0 0 16px rgba(255, 42, 42, 0.35);
  --font-display: 'Chakra Petch', sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Mono', monospace;
  --font-sans: 'Inter', -apple-system, sans-serif;
}

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

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

::selection {
  background: #ffffff;
  color: #000000;
}

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.grid-columns {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.grid-col {
  border-right: none;
  position: relative;
  height: 100%;
}

.grid-col::before {
  content: "+";
  position: absolute;
  top: 50%;
  right: -5px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
}

.scanline-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
  opacity: 0.5;
}

.corner-marks {
  display: none;
}

.corner-mark {
  position: absolute;
  width: 16px;
  height: 16px;
}

.corner-mark--tl {
  top: 68px;
  left: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.corner-mark--tr {
  top: 68px;
  right: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.corner-mark--bl {
  bottom: 20px;
  left: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.corner-mark--br {
  bottom: 20px;
  right: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.custom-cursor,
.cursor-dot,
.cursor-ring {
  display: none !important;
}

.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 920;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 44px;
  border-bottom: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  letter-spacing: 0.20em;
  font-weight: 700;
  line-height: 1;
}

.nav-ecg-icon {
  width: 36px;
  height: 21px;
  display: inline-block;
  filter: drop-shadow(0 0 8px #e52b2b);
}

.nav-brand-first {
  color: #ffffff;
}

.nav-brand-last {
  color: #e52b2b;
}

.nav-center-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.nav-menu-link {
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-menu-link:hover {
  color: #ffffff;
}

.nav-menu-link.is-active {
  color: #e52b2b;
  font-weight: 600;
}

.nav-menu-link .nav-idx {
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
}

.nav-menu-link.is-active .nav-idx {
  color: rgba(229, 43, 43, 0.6);
}

.nav-active-bar {
  display: none !important;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-location-tag {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.nav-loc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff1e2d;
  box-shadow: 0 0 7px #ff1e2d;
  display: inline-block;
  margin-top: 3px;
  animation: pulseDot 1.6s infinite;
  flex-shrink: 0;
}

.nav-loc-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-loc-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.nav-loc-time {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  letter-spacing: 0.13em;
  line-height: 1.2;
}

.nav-contact-btn {
  font-size: 11px;
  letter-spacing: 0.20em;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 8px 18px;
  background: transparent;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-contact-btn:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.hero-pin-wrapper {
  position: relative;
  width: 100%;
  height: calc(100vh + 1100px);
}

.hero-cinematic {
  min-height: 100vh;
  height: 100vh;
  max-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000;
  padding: 64px 36px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 600px;
  z-index: 50;
  will-change: transform, top, position;
}

.hero-cinematic.is-unpinned {
  position: absolute;
  top: 1100px;
}

.hero-red-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-grid-container {
  display: grid;
  grid-template-columns: 560px 1fr 315px;
  gap: 32px;
  align-items: stretch;
  height: 100%;
  max-height: 780px;
  position: relative;
  z-index: 10;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

.hero-col {
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-col--left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  padding-top: 32px;
  padding-bottom: 16px;
  padding-left: 36px;
  padding-right: 24px;

  box-sizing: border-box;
}


.hero-col--left::before {
  content: '';
  position: absolute;
  top: -12px;
  height: 127px;
  left: -20px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 1;
  pointer-events: none;
}


.hero-top-roles {
  position: relative;
  margin: 0;
  height: 47px;
  transform: translate(-28px, -54px);
}

.role-square {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 8px;
  height: 8px;
  background: #ff2222;
  box-shadow: 0 0 8px rgba(255, 34, 34, 0.9);
  z-index: 2;
  display: block;
}

.role-lines {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #454544;
  line-height: 1.5;
  font-weight: 500;
}

.hero-intro-card {
  position: relative;
  margin: 0;
  max-width: 380px;
  height: 113px;
  transform: translate(-28px, -36px);
}

.hero-intro-header {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.intro-bar {
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  z-index: 2;
  display: block;
}

.intro-segments-rail {
  position: absolute;
  top: 0;
  left: -28px;
  width: 1px;
  pointer-events: none;
  z-index: 1;
}

.intro-seg {
  position: absolute;
  width: 1px;
  left: 0;
}

.intro-seg--1 {
  top: 16px;
  height: 26px;
  background: rgba(255, 255, 255, 0.28);
}

.intro-seg--2 {
  top: 44px;
  height: 18px;
  background: rgba(255, 255, 255, 0.25);
}

.intro-seg--3 {
  top: 64px;
  height: 18px;
  background: rgba(255, 255, 255, 0.22);
}

.intro-seg--4 {
  top: 84px;
  height: 19px;
  background: rgba(255, 255, 255, 0.20);
}

.intro-seg--5 {
  top: 105px;
  height: 19px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-intro-desc {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.015em;
  color: #706f6f;
  margin-bottom: 10px;
}

.hero-view-work {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #ff2222;
  letter-spacing: 0.180em;
  line-height: 1.60;
  font-weight: 600;
  border: none;
  padding: 0;
  background: transparent;
  margin-top: 8px;
  transition: all 0.2s;
  text-shadow: 0 0 8px rgba(255, 34, 34, 0.4);
}

.hero-view-work:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 34, 34, 0.7);
  transform: translateX(3px);
}

.hero-name-block {
  position: relative;
  margin: 0;
}

.name-segments-rail {
  position: absolute;
  top: 0;
  left: -56px;
  width: 1px;
  pointer-events: none;
  z-index: 1;
}

.name-seg {
  position: absolute;
  width: 1px;
  left: 0;
  background: rgba(255, 255, 255, 0.12);
}

.name-seg--m {
  top: 18px;
  height: 118px;
}

.name-seg--b {
  top: 144px;
  height: 118px;
}

.hero-headline {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 92px;
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.hl-first {
  color: #ffffff;
  display: block;
  letter-spacing: -0.015em;
  transform: translate(45px, 38px) scale(1.292, 1.675);
  width: 499px;
  height: 77px;
}

.hl-row-second {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.hl-second {
  color: #ff2222;
  display: inline-block;
  letter-spacing: -0.015em;
  text-shadow: 0 0 24px rgba(255, 34, 34, 0.35);
  transform: translate(20px, 83px) scale(1.255, 1.688);
  width: 242px;
  height: 77px;
}

.hero-cardio-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  transform: translate(57px, 59px);
  position: relative;
  z-index: 5;
}

.cardio-vertical-border {
  position: relative;
  width: 1px;
  height: 93px;
  background: rgba(255, 255, 255, 0.12);
  margin-right: 10px;
  margin-bottom: -51px;
  flex-shrink: 0;
  pointer-events: none;
}

.cardio-border-seg {
  display: none;
}

.cardio-hatch-bars {
  display: flex;
  align-items: center;
  width: 12px;
  height: 42px;
  flex-shrink: 0;
}

.cardio-hatch-bars svg {
  display: block;
  width: 12px;
  height: 42px;
  opacity: 0.65;
}

.cardio-hatch-bars span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.4);
}

.cardio-hatch-bars span:first-child {
  background: #ff2222;
  box-shadow: 0 0 6px rgba(255, 34, 34, 0.85);
}

.cardio-badge-text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
  font-weight: 500;
}

.hero-bottom-left-widget {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0;
  transform: translate(20px, 175px);
  width: 499px;
  height: 112px;
  position: relative;
}

.cardio-segments-rail {
  position: absolute;
  top: 0;
  left: -76px;
  width: 1px;
  pointer-events: none;
  z-index: 1;
}

.cardio-seg {
  position: absolute;
  top: -115px;
  height: 146px;
  width: 1px;
  left: 0;
  background: rgba(255, 255, 255, 0.12);
}

.cardio-thumb-frame {
  width: 140px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
  background: #000000;
  overflow: visible;
  flex-shrink: 0;
  transform: translate(4px, -94px) scale(1.533, 1.397);
}

.cardio-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(150%) brightness(0.85);
  display: block;
}

.frame-corner {
  position: absolute;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
  font-family: var(--font-mono);
}

.frame-corner.tl {
  top: -6px;
  left: -6px;
}

.frame-corner.tr {
  top: -6px;
  right: -6px;
}

.frame-corner.bl {
  bottom: -6px;
  left: -6px;
}

.frame-corner.br {
  bottom: -6px;
  right: -6px;
}

.cardio-nav-wrap {
  display: flex;
  flex-direction: column;
  transform: translate(49px, -113px);
}

.cardio-red-dash {
  width: 26px;
  height: 2px;
  background: #ff2222;
  margin-bottom: 10px;
  box-shadow: 0 0 6px rgba(255, 34, 34, 0.7);
}

.cardio-subnav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.6;
}

.cardio-subnav a {
  color: rgba(255, 255, 255, 0.52);
  transition: color 0.2s;
}

.cardio-subnav a:hover,
.cardio-subnav a.is-active {
  color: #ff3344;
}

.hero-scroll-explore {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  transform: translate(-28px, 100px);
  width: 499px;
  height: 22px;
  overflow: visible;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.scroll-segments-rail {
  position: absolute;
  top: 0;
  left: -28px;
  width: 1px;
  pointer-events: none;
  z-index: 1;
}

.scroll-seg {
  position: absolute;
  top: -7px;
  height: 32px;
  width: 1px;
  left: 0;
  background: rgba(255, 255, 255, 0.12);
}

.scroll-dot-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(255, 34, 34, 0.3);
}

.scroll-progress-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
  pointer-events: none;
}

.scroll-track {
  fill: none;
  stroke: #ff2222;
  stroke-width: 1.5;
  opacity: 0.9;
  filter: drop-shadow(0 0 3px rgba(255, 34, 34, 0.5));
}

.scroll-progress {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 87.9646;
  stroke-dashoffset: 87.9646;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9));
  transition: stroke-dashoffset 0.12s cubic-bezier(0.2, 0, 0, 1);
}

.scroll-dot-inner {
  position: relative;
  z-index: 2;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff2222;
  box-shadow: 0 0 8px #ff2222;
  animation: scrollDotPulse 2.4s ease-in-out infinite;
}

@keyframes scrollDotPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 6px #ff2222;
  }

  50% {
    transform: scale(1.25);
    box-shadow: 0 0 12px #ff2222, 0 0 18px rgba(255, 34, 34, 0.6);
  }
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #ffffff;
  white-space: nowrap;
}

.scroll-line-trail {
  width: 140px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.hero-col--center,
#heroCenterVisual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  overflow: visible;
}

.heart-stage-inner {
  width: 100%;
  max-width: 916px;
  height: 100%;
  max-height: 780px;
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#heroHeartCanvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  pointer-events: auto;
  cursor: grab;
}

#heroHeartCanvas:active {
  cursor: grabbing;
}

.hero-col--right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  height: 100%;
  padding: 4px 0 10px;
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 315px;
  margin-left: auto;
  gap: 20px;
  box-sizing: border-box;
  transform: translateX(40px);
}

.hero-right-vertical-border {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -205px;
  width: 1px;
  pointer-events: none;
  z-index: 15;
}

.right-seg {
  position: absolute;
  width: 1px;
  left: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.right-seg.is-active {
  box-shadow: none !important;
}

.right-seg--cardiac {
  top: 15px;
  height: 108px;
  background: rgba(255, 255, 255, 0.10);
}

.right-seg--airisk {
  top: 126px;
  height: 118px;
  background: rgba(255, 255, 255, 0.10);
}

.right-seg--recon {
  top: 247px;
  height: 120px;
  background: rgba(255, 255, 255, 0.09);
}

.right-seg--bpm {
  top: 370px;
  height: 85px;
  background: rgba(255, 255, 255, 0.08);
}

.right-seg--impact {
  top: 458px;
  height: 560px;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.09) 0%,
      rgba(255, 255, 255, 0.06) 30%,
      rgba(255, 255, 255, 0.02) 70%,
      rgba(255, 255, 255, 0) 100%);
}

.hero-top-right-group {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  justify-content: flex-end;
  position: relative;
}

.scans-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 220px;
}

#scansGallery {
  position: relative;
  height: 184px;
  overflow: visible;
}

#scansGalleryReel {}

.scans-group {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 14px;
  will-change: transform, opacity;
}

.scans-group.is-active {
  display: flex;
}

.scans-group.is-entering-up {
  display: flex !important;
  animation: scanGroupEnterUp 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scans-group.is-exiting-up {
  display: flex !important;
  pointer-events: none !important;
  animation: scanGroupExitUp 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scans-group.is-entering-down {
  display: flex !important;
  animation: scanGroupEnterDown 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scans-group.is-exiting-down {
  display: flex !important;
  pointer-events: none !important;
  animation: scanGroupExitDown 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scanGroupEnterUp {
  from {
    opacity: 0;
    transform: translateY(70px);
  }

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

@keyframes scanGroupExitUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-70px);
  }
}

@keyframes scanGroupEnterDown {
  from {
    opacity: 0;
    transform: translateY(-70px);
  }

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

@keyframes scanGroupExitDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(70px);
  }
}

.scans-group:not([data-group="0"]) .scan-item:nth-child(1) {
  position: relative;
  transform: translate(-7px, -45px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.scans-group:not([data-group="0"]) .scan-item:nth-child(2) {
  position: relative;
  transform: translate(-7px, 12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.scans-group:not([data-group="0"]) .scan-item:nth-child(3) {
  position: relative;
  transform: translate(-7px, 69px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.scans-group:not([data-group="0"]) .scan-thumb {
  position: relative;
  transform: translate(-157px, 85px) scale(1.813, 1.98);
}

.scans-group:not([data-group="0"]) .scan-meta {
  position: relative;
}

.scans-group:not([data-group="0"]) .scan-meta .scan-title {
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.25;
  transform: translate(-109px, 78px) scale(1.09, 0.99);
}

.scans-group:not([data-group="0"]) .scan-meta .scan-sub {
  font-size: 8px;
  letter-spacing: 0.16em;
  line-height: 1.25;
  transform: translate(-100px, 79px) scale(1.347, 1.2);
}

.scans-group:not([data-group="0"]) .scan-meta .scan-dash {
  font-size: 9px;
  letter-spacing: 0.062em;
  line-height: 1;
  transform: translate(-102px, 85px) scale(1.287, 1.444);
}


.scan-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: visible;
  opacity: 1 !important;
}

.scan-item:hover,
.scan-item.is-active,
.scan-item--active {
  opacity: 1 !important;
}

#scanCard1 {
  position: relative;
  transform: translate(-7px, -45px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

#scanThumb1 {
  position: relative;
  transform: translate(-157px, 85px) scale(1.813, 1.98);
}

#scanMeta1 {
  position: relative;
}

#scanMeta1 .scan-title {
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.25;
  transform: translate(-109px, 78px) scale(1.09, 0.99);
}

#scanMeta1 .scan-sub {
  font-size: 8px;
  letter-spacing: 0.16em;
  line-height: 1.25;
  transform: translate(-100px, 79px) scale(1.347, 1.2);
}

#scanMeta1 .scan-dash {
  font-size: 9px;
  letter-spacing: 0.062em;
  line-height: 1;
  transform: translate(-102px, 85px) scale(1.287, 1.444);
}

#scanCard2 {
  position: relative;
  transform: translate(-7px, 12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

#scanThumb2 {
  position: relative;
  transform: translate(-157px, 85px) scale(1.813, 1.98);
}

#scanMeta2 {
  position: relative;
}

#scanMeta2 .scan-title {
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.25;
  transform: translate(-109px, 78px) scale(1.09, 0.99);
}

#scanMeta2 .scan-sub {
  font-size: 8px;
  letter-spacing: 0.16em;
  line-height: 1.25;
  transform: translate(-100px, 79px) scale(1.347, 1.2);
}

#scanMeta2 .scan-dash {
  font-size: 9px;
  letter-spacing: 0.062em;
  line-height: 1;
  transform: translate(-102px, 85px) scale(1.287, 1.444);
}

#scanCard3 {
  position: relative;
  transform: translate(-7px, 69px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

#scanThumb3 {
  position: relative;
  transform: translate(-157px, 85px) scale(1.813, 1.98);
}

#scanMeta3 {
  position: relative;
}

#scanMeta3 .scan-title {
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.25;
  transform: translate(-109px, 78px) scale(1.09, 0.99);
}

#scanMeta3 .scan-sub {
  font-size: 8px;
  letter-spacing: 0.16em;
  line-height: 1.25;
  transform: translate(-100px, 79px) scale(1.347, 1.2);
}

#scanMeta3 .scan-dash {
  font-size: 9px;
  letter-spacing: 0.062em;
  line-height: 1;
  transform: translate(-102px, 85px) scale(1.287, 1.444);
}

.scan-thumb {
  width: 82px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
  background: #000000;
  flex-shrink: 0;
  overflow: visible;
  box-sizing: border-box;
}

.scan-item:hover .scan-thumb {
  border-color: rgba(255, 255, 255, 0.35);
}

.scan-item.is-active .scan-thumb,
.scan-item--active .scan-thumb {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

.thumb-bracket {
  position: absolute;
  width: 5px;
  height: 5px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  pointer-events: none;
  box-sizing: border-box;
  transition: border-color 0.25s ease, filter 0.25s ease;
  z-index: 2;
}

.thumb-bracket.tl {
  top: -1px;
  left: -1px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-left: 1px solid rgba(255, 255, 255, 0.65);
}

.thumb-bracket.tr {
  top: -1px;
  right: -1px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.65);
}

.thumb-bracket.bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  border-left: 1px solid rgba(255, 255, 255, 0.65);
}

.thumb-bracket.br {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.65);
}

.scan-item.is-active .thumb-bracket,
.scan-item--active .thumb-bracket,
.scan-item:hover .thumb-bracket {
  border-color: #ffffff;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.4));
}

.scan-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(140%) brightness(0.85);
  display: block;
  transition: filter 0.3s ease;
}

.scan-item.is-active .scan-thumb img,
.scan-item--active .scan-thumb img {
  filter: grayscale(60%) contrast(150%) brightness(1.1);
}

.scan-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-mono);
}

.scan-meta .scan-title {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  line-height: 1.25;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.scan-item.is-active .scan-meta .scan-title,
.scan-item--active .scan-meta .scan-title {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.scan-sub {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.16em;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.scan-item.is-active .scan-sub,
.scan-item--active .scan-sub {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.scan-dash {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  line-height: 1;
  margin-top: 1px;
}

#verticalPagination,
.vertical-pagination {
  position: relative;
  width: 54px;
  height: 154px;
  transform: translate(-39px, 103px);
}

.vpage-segments-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.vpage-square {
  position: absolute;
  top: 4px;
  left: -2px;
  width: 5px;
  height: 5px;
  background: #ff1e2d;
  box-shadow: 0 0 6px #ff1e2d;
  z-index: 3;
}

.vpage-seg {
  position: absolute;
  width: 1px;
  left: 0;
  background: rgba(255, 255, 255, 0.22);
}

.vpage-seg--top {
  top: 4px;
  height: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.vpage-seg--active {
  top: 28px;
  height: 34px;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  z-index: 2;
  transition: top 0.32s cubic-bezier(0.16, 1, 0.3, 1), height 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.vpage-seg--01 {
  top: 28px;
  height: 21px;
  background: rgba(255, 255, 255, 0.22);
}

.vpage-seg--02 {
  top: 52px;
  height: 19px;
  background: rgba(255, 255, 255, 0.22);
}

.vpage-seg--03 {
  top: 74px;
  height: 19px;
  background: rgba(255, 255, 255, 0.22);
}

.vpage-seg--04 {
  top: 96px;
  height: 19px;
  background: rgba(255, 255, 255, 0.22);
}

.vpage-seg--05 {
  top: 118px;
  height: 19px;
  background: rgba(255, 255, 255, 0.22);
}

.vpage-item {
  position: absolute;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.1em;
  line-height: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: color 0.25s ease, font-size 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.25s ease;
}

.vpage-item:hover {
  color: rgba(255, 255, 255, 0.85);
}

.vpage-item.is-active {
  color: #ffffff !important;
  font-family: 'Chakra Petch', sans-serif !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
  height: 38px !important;
  line-height: 38px !important;
}

#vpageItem01 {
  top: 30px;
}

#vpageItem01.is-active {
  top: 24px;
}

#vpageItem02 {
  top: 64px;
}

#vpageItem02.is-active {
  top: 60px;
}

#vpageItem03 {
  top: 86px;
}

#vpageItem03.is-active {
  top: 82px;
}

#vpageItem04 {
  top: 108px;
}

#vpageItem04.is-active {
  top: 104px;
}

#vpageItem05 {
  top: 130px;
}

#vpageItem05.is-active {
  top: 126px;
}

.hero-ecg-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border: none;
  background: transparent;
  width: 100%;
  max-width: 280px;
  box-sizing: border-box;
  transform: translate(-192px, 208px);
  overflow: visible;
  opacity: 1 !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  cursor: pointer;
}

.hero-ecg-strip:hover,
.hero-ecg-strip.is-active,
.hero-ecg-strip--active {
  opacity: 1 !important;
}

.scan-card-exit-up {
  opacity: 0 !important;
  transform: translate(-7px, -85px) !important;
}

.scan-card-enter-down {
  opacity: 0 !important;
  transform: translate(-7px, 45px) !important;
}

.hero-ecg-strip.is-active .ecg-canvas-frame,
.hero-ecg-strip--active .ecg-canvas-frame {
  box-shadow: 0 0 16px rgba(229, 43, 43, 0.3);
}

.hero-ecg-strip.is-active .hr-num,
.hero-ecg-strip--active .hr-num {
  text-shadow: 0 0 14px rgba(255, 30, 45, 0.8) !important;
}

.ecg-canvas-frame {
  position: relative;
  width: 124px;
  height: 34px;
  background: transparent;
  flex-shrink: 0;
  overflow: visible;
}

.frame-cross {
  position: absolute;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1;
  font-family: var(--font-mono);
  pointer-events: none;
}

.frame-cross.tl {
  top: -3px;
  left: -3px;
}

.frame-cross.tr {
  top: -3px;
  right: -3px;
}

.frame-cross.bl {
  bottom: -3px;
  left: -3px;
}

.frame-cross.br {
  bottom: -3px;
  right: -3px;
}

#heroEcgLine {
  width: 124px;
  height: 34px;
  display: block;
}

.hero-ecg-readout {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hr-num {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #ff1e2d;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px rgba(255, 30, 45, 0.5);
}

.hr-unit {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #ff1e2d;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.hero-live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  color: #ff1e2d;
  font-weight: 700;
  transform: translate(96px, -4px) scale(1.61, 1.75);
}

.live-dot-pulsing {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff1e2d;
  box-shadow: 0 0 7px #ff1e2d;
  animation: pulseDot 1.2s infinite;
}

.impact-monitor {
  width: 100%;
  max-width: 315px;
  border: none !important;
  background: transparent !important;
  padding: 0;
  margin: 0;
  margin-top: auto;
  position: relative;
  transform: translateY(65px);
  overflow: visible;
  box-sizing: border-box;
  opacity: 1 !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  cursor: pointer;
}

.impact-monitor:hover,
.impact-monitor.is-active,
.impact-monitor--active {
  opacity: 1 !important;
}

.impact-monitor.is-active .impact-screen,
.impact-monitor--active .impact-screen {
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.impact-monitor.is-active .impact-title,
.impact-monitor--active .impact-title {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.impact-section-divider {
  position: absolute;
  top: -81px;
  left: -205px;
  width: 100vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
  pointer-events: none;
}

.impact-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 0 8px 0;
  margin: 0;
  border: none !important;
  transform: translate(-96px, -54px) scale(1.435, 1);
}

.impact-title {
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  display: inline-block;
  transform: translate(-12px, -2px) scale(0.79, 1);
}

.impact-slash {
  color: rgba(255, 255, 255, 0.22);
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  margin-left: -20px;
  display: inline-block;
  transform: translate(67px, -2px);
}

.impact-year {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  display: inline-block;
  transform: translate(6px, 7px);
}

.impact-content-grid {
  display: grid;
  grid-template-columns: 228px 14px 1fr;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

.impact-screen-col {
  display: flex;
  flex-direction: column;
  width: 228px;
}

.impact-screen {
  position: relative;
  width: 228px;
  height: 228px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #000000;
  overflow: hidden;
  box-sizing: border-box;
  transform: translate(-124px, -27px) scale(1.372, 1.241);
}

.screen-bracket {
  position: absolute;
  width: 6px;
  height: 6px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  pointer-events: none;
  z-index: 2;
  box-sizing: border-box;
}

.screen-bracket.tl {
  top: -1px;
  left: -1px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-left: 1px solid rgba(255, 255, 255, 0.65);
}

.screen-bracket.tr {
  top: -1px;
  right: -1px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.65);
}

.screen-bracket.bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  border-left: 1px solid rgba(255, 255, 255, 0.65);
}

.screen-bracket.br {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.65);
}

.impact-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(135%) brightness(0.92);
}

.impact-screen-scale-bar {
  display: flex;
  align-items: center;
  width: 228px;
  height: 6px;
  margin-top: 5px;
  position: relative;
  box-sizing: border-box;
  transform: translate(-124px, 9px) scale(1.382, 1);
}

.scale-end-notch {
  width: 2px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  transform: translate(0px, -1px);
}

.scale-hairline {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  transform: translate(1px, 0px) scale(0.993, 1);
}

.scale-mid-tick {
  width: 1px;
  height: 4px;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.impact-ruler-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 228px;
  padding: 0;
  font-family: var(--font-mono);
  box-sizing: border-box;
  transform: translate(-81px, -18px) scale(1, 1.315);
}

.ruler-pointer {
  font-size: 6px;
  color: #ff3b5c;
  line-height: 1;
  text-shadow: 0 0 6px #ff3b5c;
  transform: translateY(-1px);
}

.ruler-vertical-line {
  width: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.22);
  margin: 2px 0;
}

.ruler-mid-cross {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}

.ruler-bottom-bracket {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}

.impact-data-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  height: 228px;
  padding-top: 0;
  box-sizing: border-box;
}

.impact-barcode-box {
  position: relative;
  width: 34px;
  height: 72px;
}

.barcode-vertical-border {
  position: absolute;
  left: -11px;
  top: -50px;
  bottom: 0px;
  width: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  font-family: var(--font-mono);
  overflow: visible;
}

.impact-barcode-svg {
  width: 34px;
  height: 72px;
  display: block;
  opacity: 0.42;
  transform: translate(0px, -25px) scale(1, 1.708);
}

.barcode-corner-br {
  position: absolute;
  width: 5px;
  height: 6px;
  border-bottom: 1.5px solid #ff1e2d;
  border-right: 1.5px solid #ff1e2d;
  bottom: -6px;
  right: -3px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  pointer-events: none;
  box-sizing: border-box;
  filter: drop-shadow(0 0 2px rgba(255, 30, 45, 0.6));
}

.barcode-vertical-border .ruler-pointer {
  display: block;
  width: 0;
  height: 0;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-top: 3.5px solid #ff1e2d;
  font-size: 0;
  line-height: 0;
  color: transparent;
  filter: drop-shadow(0 0 2px #ff1e2d);
  transform: translate(1px, -1px);
}

.barcode-vertical-border .ruler-bottom-bracket {
  display: block;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0;
  line-height: 0;
  color: transparent;
  transform: translateX(2.5px);
  margin-top: 0;
}

.impact-mantra {
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.45;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  white-space: nowrap;
  margin-top: auto;
  padding-bottom: 2px;
  transform: translate(-51px, 5px) scale(1.68, 1.55);
}

.cardiac-3d-modal {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cardiac-3d-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cardiac-3d-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 3, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cardiac-3d-window {
  position: relative;
  z-index: 10;
  max-width: 980px;
  width: 100%;
  background: rgba(12, 2, 4, 0.95);
  border: 1px solid rgba(220, 38, 38, 0.5);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.95), var(--blood-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cardiac-3d-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(220, 38, 38, 0.25);
  background: rgba(30, 4, 7, 0.7);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.cardiac-3d-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.cardiac-3d-close {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.4);
  padding: 5px 14px;
  background: rgba(69, 10, 10, 0.3);
  transition: all 0.2s;
}

.cardiac-3d-close:hover {
  background: #dc2626;
  color: #ffffff;
  box-shadow: var(--blood-glow);
}

.cardiac-3d-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 480px;
}

.cardiac-3d-canvas-wrap {
  position: relative;
  background: radial-gradient(circle at center, rgba(69, 10, 10, 0.3) 0%, rgba(6, 1, 2, 0.95) 80%);
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid rgba(220, 38, 38, 0.2);
}

#cardiac3dStage {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#cardiac3dStage:active {
  cursor: grabbing;
}

.cardiac-3d-hint {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.cardiac-3d-panel {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  background: rgba(10, 2, 3, 0.85);
}

.cardiac-panel-section {
  border-bottom: 1px dashed rgba(220, 38, 38, 0.2);
  padding-bottom: 16px;
}

.cardiac-panel-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.panel-tag {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--blood-ruby);
  display: block;
  margin-bottom: 8px;
}

.cardiac-stat-large {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cardiac-stat-large .stat-num {
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 16px rgba(220, 38, 38, 0.6);
}

.cardiac-stat-large .stat-unit {
  font-size: 14px;
  color: var(--blood-ruby);
  letter-spacing: 0.1em;
}

.cardiac-phase {
  font-size: 10px;
  color: #fecaca;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

.cardiac-metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 4px;
  color: var(--fg-70);
}

.metric-row .val {
  color: #ffffff;
  font-weight: 600;
}

.cardiac-bpm-controls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.bpm-btn {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #ffffff;
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 8px 10px;
  background: rgba(20, 3, 5, 0.6);
  transition: all 0.2s;
  text-align: center;
}

.bpm-btn:hover {
  border-color: var(--blood-ruby);
  background: rgba(69, 10, 10, 0.5);
}

.bpm-btn.is-active {
  border-color: var(--blood-ruby);
  background: var(--blood-crimson);
  color: #ffffff;
  box-shadow: var(--blood-glow);
}

@media(max-width:768px) {
  .cardiac-3d-body {
    grid-template-columns: 1fr;
  }

  .cardiac-3d-canvas-wrap {
    height: 280px;
    border-right: none;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
  }
}

@media(max-width:1024px) {
  .hud-card {
    display: none;
  }

  .hero-telemetry-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:640px) {
  .site-topbar {
    padding: 0 16px;
  }

  .pill-stat,
  .topbar-clock,
  .topbar-ecg-wrap {
    display: none;
  }

  .clinical-audit-badge {
    display: none;
  }

  .hero-telemetry-ribbon {
    grid-template-columns: 1fr;
  }

  .hero-bottom-anchors {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    left: 20px;
    right: 20px;
  }

  .hud-academic-badges {
    flex-direction: column;
    gap: 4px;
  }
}

.preloader {
  z-index: 10000;
  touch-action: none;
  cursor: crosshair;
  background: radial-gradient(at 50% 54%, #1a0309 0%, #060306 55%, #000 100%);
  transition: opacity .55s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .55s;
  position: fixed;
  inset: 0;
  overflow: hidden;
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader:before {
  content: "";
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: 160px 160px;
  position: absolute;
  inset: 0;
}
.preloader:after {
  content: "";
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(#0000 0%, #b9172900 12%, #b917293d 50%, #b9172900 88%, #0000 100%);
  width: 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translate(-.5px);
}
.preloader-canvas {
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: opacity .2s ease-out;
  display: block;
  position: absolute;
  inset: 0;
}
.preloader.is-canvas-ready .preloader-canvas {
  opacity: 1;
}
.preloader-ui {
  pointer-events: none;
  color: #f3ede3eb;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', ui-monospace, SF Mono, monospace;
  position: absolute;
  inset: 0;
}
.p-tl {
  align-items: flex-end;
  gap: 14px;
  font-size: 10px;
  display: flex;
  position: absolute;
  top: clamp(22px, 4vh, 40px);
  left: clamp(22px, 4vw, 44px);
}
.p-tl .kanji,
.p-tl .ar-callig {
  letter-spacing: 0;
  color: #b91729;
  text-shadow: 0 0 16px #b917298c;
  font-family: 'Aref Ruqaa', 'Lateef', NotoJP, Hiragino Sans, Yu Gothic, sans-serif;
  font-size: 32px;
  line-height: 1;
}
.p-tl .label {
  color: #f3ede38c;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 2px;
  display: flex;
}
.p-tl .label b {
  color: #f3ede3;
  letter-spacing: .32em;
  font-weight: 400;
}
.p-tr {
  text-align: right;
  color: #f3ede38c;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  display: flex;
  position: absolute;
  top: clamp(22px, 4vh, 40px);
  right: clamp(22px, 4vw, 44px);
}
.p-tr b {
  color: #f3ede3;
  letter-spacing: .32em;
  font-weight: 400;
}
.p-tr .pulse {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}
.p-tr .pulse:before {
  content: "";
  background: #b91729;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 1.6s ease-in-out infinite p-pulse;
  box-shadow: 0 0 8px #b91729;
}
@keyframes p-pulse {
  0%, 100% { opacity: .3; }
  50% { opacity: 1; }
}
.p-bl {
  align-items: flex-end;
  gap: 16px;
  display: flex;
  position: absolute;
  bottom: clamp(22px, 4vh, 48px);
  left: clamp(22px, 4vw, 44px);
}
.preloader-pct {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  align-items: baseline;
  gap: 4px;
  font-family: 'JetBrains Mono', ui-monospace, SF Mono, monospace;
  line-height: .85;
  display: inline-flex;
}
.preloader-pct .num {
  color: #f3ede3;
  text-align: right;
  opacity: 1;
  min-width: 3ch;
  font-size: clamp(64px, 10vw, 128px);
  font-weight: 800;
  transition: opacity .3s ease-out;
  display: inline-block;
}
.preloader[data-font-ready="false"] .preloader-pct .num {
  opacity: 0;
}
.preloader-pct .sign {
  color: #b91729;
  padding-bottom: .25em;
  font-size: clamp(24px, 3vw, 40px);
}
.p-bl .stack {
  color: #f3ede38c;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 10px;
  font-size: 10px;
  display: flex;
}
.p-bl .stack b {
  color: #f3ede3;
  letter-spacing: .32em;
  font-weight: 400;
}
.p-bl .stack .divider {
  background: #f3ede34d;
  width: 40px;
  height: 1px;
}
.p-br {
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  width: clamp(260px, 28vw, 420px);
  display: flex;
  position: absolute;
  bottom: clamp(22px, 4vh, 48px);
  right: clamp(22px, 4vw, 44px);
  cursor: pointer;
  pointer-events: auto;
}
.p-br .kanji,
.p-br .ar-tag {
  letter-spacing: .4em;
  color: #f3ede3b3;
  font-family: 'Chakra Petch', 'JetBrains Mono', sans-serif;
  font-size: 11px;
}
.p-br .kanji .jp,
.p-br .ar-callig {
  color: #b91729;
  letter-spacing: 0;
  margin-right: 8px;
  font-family: 'Aref Ruqaa', 'Lateef', serif;
  font-size: 20px;
}
.preloader-bar {
  background: #f3ede31f;
  width: 100%;
  height: 1px;
  position: relative;
  overflow: visible;
}
.preloader-bar:before {
  content: "";
  width: calc(var(--progress, 0) * 100%);
  background: linear-gradient(90deg, #5a0711 0%, #8b0f1d 50%, #b91729 100%);
  transition: width .35s cubic-bezier(.16, 1, .3, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
.preloader-bar:after {
  content: "";
  left: calc(var(--progress, 0) * 100%);
  width: 2px;
  opacity: calc(.4 + var(--progress, 0) * .6);
  background: #b91729;
  transition: left .35s cubic-bezier(.16, 1, .3, 1);
  position: absolute;
  top: -2px;
  bottom: -2px;
  transform: translate(-1px);
  box-shadow: 0 0 12px 1px #b91729;
}
.p-br .hint {
  letter-spacing: .36em;
  color: #f3ede359;
  font-size: 9px;
}
.p-halo {
  aspect-ratio: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(circle, #b9172914 0%, #8b0f1d0a 40%, #0000 72%);
  border-radius: 50%;
  width: min(520px, 60vmin);
  animation: 4.5s ease-in-out infinite p-halo-breathe;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes p-halo-breathe {
  0%, 100% { opacity: .8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: .4; transform: translate(-50%, -50%) scale(1.15); }
}