:root {
  --bg: #f5fbff;
  --surface: #ffffff;
  --surface-soft: #eef7fb;
  --ink: #102533;
  --ink-soft: #527084;
  --line: #cfe0ea;
  --brand: #0e8c8b;
  --brand-strong: #0b4f59;
  --navy: #142f4b;
  --mint: #5ef0d0;
  --gold: #c6995a;
  --shadow-lg: 0 26px 48px rgba(14, 42, 66, 0.14);
  --shadow-md: 0 12px 24px rgba(10, 35, 56, 0.09);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1160px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #fbfeff 0%, var(--bg) 40%, #f0f7fc 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 84, 107, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 84, 107, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, transparent 72%);
}

.container {
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

.navbar {
  width: min(var(--container), 92vw);
  margin: 1rem auto 0;
  padding: 0.85rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
  border-color: rgba(14, 140, 139, 0.28);
  box-shadow: var(--shadow-md);
}

.brand {
  text-decoration: none;
  font-family: var(--font-head);
  color: var(--navy);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
}

.nav-menu {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand-strong);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--brand-strong);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-shell {
  position: relative;
}

.hero-scroll-track {
  height: 420vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(74, 226, 196, 0.34), transparent 32%),
    radial-gradient(circle at 9% 82%, rgba(36, 126, 191, 0.3), transparent 38%),
    linear-gradient(180deg, #091d32 0%, #061424 55%, #081223 100%);
}

.hero-sticky::before,
.hero-sticky::after {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 2;
  pointer-events: none;
}

.hero-sticky::before {
  background:
    conic-gradient(from 0deg, rgba(98, 224, 245, 0.16), transparent 30%, rgba(111, 242, 209, 0.2), transparent 64%, rgba(80, 153, 255, 0.15));
  animation: auroraDrift 16s linear infinite;
}

.hero-sticky::after {
  background: radial-gradient(circle at center, transparent 45%, rgba(4, 10, 19, 0.58) 100%);
  mix-blend-mode: multiply;
}

#medical-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
}

.hero-stage {
  position: absolute;
  width: min(760px, 92vw);
  opacity: 0;
  transform: translateY(26px) scale(0.96);
  transition: opacity 0.28s linear, transform 0.32s ease;
  color: #e8f8ff;
  pointer-events: none;
}

.hero-stage.active {
  opacity: 1;
  transform: translateY(0) scale(1.02);
  pointer-events: auto;
}

.hero-kicker {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(157, 221, 255, 0.18);
  border: 1px solid rgba(157, 221, 255, 0.24);
  color: #b6e4ff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(122, 230, 255, 0.45);
  animation: badgePulse 2.1s ease-out infinite;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 0.85rem;
  font-size: clamp(2.2rem, 6vw, 4.3rem);
  max-width: 14ch;
  text-shadow: 0 18px 44px rgba(52, 192, 255, 0.2);
}

.hero-stage h2 {
  margin-top: 0.85rem;
  font-size: clamp(1.8rem, 4.8vw, 3.2rem);
  max-width: 17ch;
  text-shadow: 0 14px 38px rgba(71, 227, 201, 0.22);
}

.hero-copy {
  margin-top: 1rem;
  max-width: 62ch;
  color: #c7e5f8;
  text-shadow: 0 8px 22px rgba(24, 100, 150, 0.35);
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.24rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--brand) 0%, #1769a8 100%);
  box-shadow: 0 12px 20px rgba(20, 114, 156, 0.3);
}

.btn-ghost {
  color: #cbe9fa;
  border: 1px solid rgba(203, 233, 250, 0.36);
  background: rgba(203, 233, 250, 0.08);
}

.hero-pills {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.hero-pills li {
  display: inline-flex;
  width: fit-content;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 236, 255, 0.34);
  background: rgba(191, 236, 255, 0.16);
  color: #d8f0fd;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(23, 111, 167, 0.25);
}

.hero-progress {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 1.6rem;
  height: 6px;
  border-radius: 999px;
  background: rgba(197, 226, 240, 0.26);
  z-index: 4;
  overflow: hidden;
}

.hero-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #6bead6, #75b6ff);
  transition: width 0.15s linear;
  box-shadow: 0 0 18px rgba(112, 198, 255, 0.9);
}

.scroll-tip {
  position: absolute;
  right: 4%;
  bottom: 2.3rem;
  color: #abd7f1;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 4;
  transition: opacity 0.25s ease;
  animation: tipPulse 1.6s ease-in-out infinite;
}

.scroll-tip.hidden {
  opacity: 0;
}

.section {
  padding: clamp(2.9rem, 8vw, 5rem) 0;
}

.section-tint {
  background: linear-gradient(180deg, #edf5fb 0%, #eaf6f8 100%);
  border-top: 1px solid #d5e3ec;
  border-bottom: 1px solid #d5e3ec;
}

.section-head {
  margin-bottom: 1.3rem;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #eaf5fb;
  color: var(--brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
}

.section h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
}

.two-col,
.three-col {
  display: grid;
  gap: 1rem;
}

.two-col {
  grid-template-columns: 1.2fr 0.8fr;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.08rem;
  box-shadow: var(--shadow-md);
}

.panel-soft {
  background: linear-gradient(150deg, #ffffff 0%, var(--surface-soft) 100%);
}

.panel p + p {
  margin-top: 0.75rem;
}

.data-list,
.stack-list,
.workshop-list {
  list-style: none;
}

.data-list li,
.stack-list li {
  padding: 0.62rem 0;
  border-bottom: 1px dashed #cfdee7;
}

.data-list li:last-child,
.stack-list li:last-child {
  border-bottom: none;
}

.data-list span,
.stack-list span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.data-list strong,
.stack-list strong {
  display: block;
}

.timeline {
  display: grid;
  gap: 0.86rem;
}

.timeline-item {
  background: #fff;
  border: 1px solid #cfdee8;
  border-radius: var(--radius-md);
  box-shadow: 0 9px 18px rgba(13, 40, 58, 0.07);
  padding: 0.95rem 1.02rem 0.95rem 1.2rem;
  position: relative;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(12, 45, 68, 0.15);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, var(--brand) 0%, #1d6ba8 100%);
}

.date {
  display: inline-block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.34rem;
}

.org {
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.workshop-panel {
  margin-top: 1rem;
}

.workshop-list {
  display: grid;
  gap: 0.56rem;
}

.workshop-list li {
  padding: 0.62rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #d3e2eb;
  background: #fafeff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.lead-alt {
  color: var(--ink-soft);
  margin-top: 0.72rem;
}

.contact-card {
  background: #fff;
  border: 1px solid #d1e0ea;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1rem;
}

.contact-card p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px dashed #cfdde7;
}

.contact-card p:last-of-type {
  border-bottom: none;
}

.contact-card span {
  color: var(--ink-soft);
}

.contact-card a,
.contact-card strong {
  text-decoration: none;
  color: var(--brand-strong);
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.btn.full {
  width: 100%;
  margin-top: 0.3rem;
}

.footer {
  text-align: center;
  padding: 1.2rem;
  color: #607687;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.66s ease, transform 0.66s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes auroraDrift {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.08);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes badgePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(122, 230, 255, 0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(122, 230, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(122, 230, 255, 0);
  }
}

@keyframes tipPulse {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.45;
    transform: translateY(4px);
  }
}

@media (max-width: 1040px) {
  .three-col {
    grid-template-columns: 1fr;
  }

  .hero-scroll-track {
    height: 360vh;
  }
}

@media (max-width: 840px) {
  .two-col,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    width: 92vw;
  }

  .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .navbar {
    width: 94vw;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.7rem;
    border: 1px solid #d2e0e9;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-menu.active {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 0.35rem 0.2rem;
  }

  .hero-scroll-track {
    height: 330vh;
  }

  .hero-stage {
    top: 22%;
  }

  h1 {
    max-width: 100%;
  }

  .scroll-tip {
    display: none;
  }
}
