/* ============================================================
   DR. SUKAYNAH KHETANI — THE PITT THEME
   sukaynah.com
   ============================================================ */

:root {
  --bg-0:        #080c10;
  --bg-1:        #0c1520;
  --bg-2:        #111d2a;
  --bg-card:     #0d1824;
  --cyan:        #00d4e8;
  --cyan-dim:    rgba(0, 212, 232, 0.12);
  --cyan-glow:   rgba(0, 212, 232, 0.25);
  --red:         #ff3b3b;
  --red-dim:     rgba(255, 59, 59, 0.12);
  --green:       #22c55e;
  --text-0:      #eef2f6;
  --text-1:      #93afc4;
  --text-2:      #486070;
  --border:      #162433;
  --border-hi:   #1e3a50;
  --font-display:'Barlow Condensed', sans-serif;
  --font-body:   'Barlow', sans-serif;
  --font-mono:   'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   NAVBAR
   ============================================================ */

#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 2.5rem;
  background: rgba(8, 12, 16, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-monogram {
  width: 34px;
  height: 34px;
  background: var(--cyan);
  color: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.5px;
  color: var(--text-0);
}

.nav-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-1);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cyan); }

.nav-status {
  display: flex;
  align-items: center;
  gap: 18px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.4s ease-in-out infinite;
}

.status-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--red);
}

.shift-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.shift-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--text-2);
}

.shift-time {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 2px;
}

/* ============================================================
   HERO
   ============================================================ */

#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Dark atmospheric gradient that bleeds left from center */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 80% at 25% 50%, rgba(0, 70, 110, 0.18) 0%, transparent 70%),
    linear-gradient(to right,
      var(--bg-0) 0%,
      var(--bg-0) 40%,
      rgba(8,12,16,0.92) 55%,
      rgba(8,12,16,0.4) 70%,
      transparent 100%
    );
}

/* Subtle scanlines for that monitor feel */
.hero-scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.07) 3px,
    rgba(0, 0, 0, 0.07) 4px
  );
}

/* Photo — right side, full height */
.hero-photo-side {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 58%;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  filter: saturate(0.82) contrast(1.06) brightness(0.96);
}

.photo-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right,
    var(--bg-0) 0%,
    rgba(8,12,16,0.75) 35%,
    rgba(8,12,16,0.1) 100%
  );
}

/* Left content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem;
  padding-top: 62px;
  max-width: 680px;
}

.hero-left { /* layout wrapper */ }

.hero-facility {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 2.2rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: blink 1.4s ease-in-out infinite;
}

.hero-name-block { margin-bottom: 1.2rem; }

.hero-dr {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: 10px;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: -0.15em;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 8.5vw, 7.5rem);
  letter-spacing: 2px;
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--text-0);
}

.name-line { display: block; }

.hero-degree {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  letter-spacing: 5px;
  color: var(--text-1);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 14px;
  border: 1px solid;
  text-transform: uppercase;
}

.badge-specialty {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.badge-rank {
  border-color: var(--border-hi);
  color: var(--text-1);
}

.badge-chief {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-dim);
}

/* EKG line */
.hero-ekg-container {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2.2rem;
}

.ekg-svg {
  width: 280px;
  height: 38px;
  flex-shrink: 0;
  overflow: visible;
}

.ekg-line {
  stroke: var(--cyan);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: draw-ekg 1.8s ease forwards 0.8s, ekg-pulse 3.5s linear infinite 2.8s;
}

.ekg-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--cyan);
  opacity: 0.7;
  white-space: nowrap;
}

.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-2);
  animation: fade-up 1s ease forwards 1.5s;
  opacity: 0;
}

/* Chyron bar — bottom of hero */
.hero-chyron {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 52px;
  display: flex;
  align-items: stretch;
  background: rgba(8, 12, 16, 0.93);
  border-top: 1px solid var(--border);
}

.chyron-accent {
  width: 5px;
  background: var(--cyan);
  flex-shrink: 0;
}

.chyron-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  flex: 1;
  overflow: hidden;
}

.chyron-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--cyan);
  white-space: nowrap;
  text-transform: uppercase;
}

.chyron-divider { color: var(--text-2); }

.chyron-detail {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chyron-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */

.section { padding: 110px 0; }
.section-dark { background: var(--bg-1); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
}

.label-line {
  width: 36px;
  height: 2px;
  background: var(--cyan);
  flex-shrink: 0;
}

.label-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--cyan);
  text-transform: uppercase;
}

.label-id {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-2);
  margin-left: auto;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 1px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
}

.accent { color: var(--cyan); }

/* ============================================================
   ABOUT
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-bio {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-1);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--cyan);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-2);
  text-align: center;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 52px;
  background: var(--border);
}

/* Vitals panel */
.about-vitals {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: sticky;
  top: 80px;
}

.vitals-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.vitals-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-2);
}

.vitals-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--green);
}

.vital-item { margin-bottom: 1.1rem; }

.vital-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-1);
  margin-bottom: 7px;
  text-transform: uppercase;
}

.vital-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.vital-fill {
  height: 100%;
  width: 0; /* animated via JS */
  background: linear-gradient(to right, var(--cyan), rgba(0, 212, 232, 0.45));
  border-radius: 2px;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   EDUCATION TIMELINE
   ============================================================ */

.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--cyan) 0%, var(--border) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 8px;
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-hi);
  background: var(--bg-1);
}

.timeline-dot.pulse {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 212, 232, 0.18);
  animation: pulse-ring 2.2s ease-in-out infinite;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  padding: 1.6rem 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.timeline-item.active .timeline-content {
  border-left-color: var(--cyan);
  box-shadow: -4px 0 20px rgba(0, 212, 232, 0.08);
}

.timeline-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-tag.current { color: var(--cyan); }

.timeline-school {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-0);
  margin-bottom: 0.3rem;
}

.timeline-sub {
  font-size: 0.9rem;
  color: var(--text-1);
  margin-bottom: 0.4rem;
}

.timeline-degree {
  font-size: 0.92rem;
  color: var(--text-1);
  margin-bottom: 0.8rem;
}

.timeline-degree strong { color: var(--text-0); }

.timeline-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-2);
}

/* ============================================================
   RESIDENCY PROGRAM CARDS
   ============================================================ */

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.8rem;
  transition: border-color 0.28s, transform 0.28s, box-shadow 0.28s;
  cursor: default;
}

.program-card:hover {
  border-color: var(--cyan);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.highlight-card {
  border-color: rgba(0, 212, 232, 0.3);
  box-shadow: 0 0 24px rgba(0, 212, 232, 0.06);
}

.highlight-card:hover { border-color: var(--cyan); }

.card-icon {
  color: var(--cyan);
  margin-bottom: 1.2rem;
}

.program-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-0);
  margin-bottom: 0.8rem;
}

.program-card p {
  font-size: 0.88rem;
  color: var(--text-1);
  line-height: 1.75;
}

/* ============================================================
   RESEARCH & PUBLICATIONS
   ============================================================ */

.research-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.research-header .section-title { margin-bottom: 0; }

.pub-count-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  flex-shrink: 0;
  margin-bottom: 3.5rem; /* match section-title margin */
}

.pub-count-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  color: var(--cyan);
  line-height: 1;
}

.pub-count-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-2);
  line-height: 1.6;
}

.research-context {
  font-size: 1rem;
  color: var(--text-1);
  line-height: 1.8;
  max-width: 780px;
  margin-bottom: 3rem;
  border-left: 2px solid var(--cyan);
  padding-left: 1.5rem;
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 0; /* flush, stacked list */
}

.pub-card {
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, background 0.25s;
  position: relative;
}

.pub-card:first-child { border-top: 1px solid var(--border); }

.pub-link-card:hover {
  background: var(--bg-2);
  border-color: var(--cyan);
  z-index: 1;
}

.pub-link-card:hover + .pub-card {
  border-top-color: var(--cyan);
}

.pub-accent {
  width: 4px;
  background: var(--border-hi);
  flex-shrink: 0;
  transition: background 0.25s;
}

.pub-accent.pending { background: rgba(245, 158, 11, 0.5); }

.pub-link-card:hover .pub-accent { background: var(--cyan); }

.pub-body {
  padding: 1.4rem 1.8rem;
  flex: 1;
  min-width: 0;
}

.pub-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.55rem;
}

.pub-journal {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-2);
  text-transform: uppercase;
}

.pub-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  padding: 2px 8px;
  border: 1px solid var(--border-hi);
  color: var(--text-2);
}

.pending-tag {
  border-color: rgba(245, 158, 11, 0.4);
  color: #f59e0b;
}

.pub-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: var(--text-0);
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.pub-authors {
  font-size: 0.85rem;
  color: var(--text-1);
  margin-bottom: 0.35rem;
}

.author-hi {
  background: none;
  color: var(--cyan);
  font-weight: 600;
}

.pub-cite-line {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-2);
}

.pub-ext-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 1.8rem;
  color: var(--text-2);
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  min-width: 90px;
}

.pub-ext-icon span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.pub-link-card:hover .pub-ext-icon {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: var(--cyan-dim);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-sub {
  font-size: 1.05rem;
  color: var(--text-1);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-links { display: flex; flex-direction: column; gap: 1rem; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s;
}

.contact-link:hover {
  border-color: var(--cyan);
  transform: translateX(7px);
}

.contact-icon { color: var(--cyan); flex-shrink: 0; }

.contact-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-type {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--text-2);
}

.contact-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--text-0);
}

.contact-arrow {
  font-size: 1.2rem;
  color: var(--cyan);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.contact-link:hover .contact-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Monitor card */
.contact-monitor {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  font-family: var(--font-mono);
}

.monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.monitor-label {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-2);
  text-transform: uppercase;
}

.monitor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease-in-out infinite;
}

.monitor-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(22, 36, 51, 0.6);
}

.monitor-item:last-child { border-bottom: none; }

.monitor-key {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-2);
  text-transform: uppercase;
}

.monitor-value {
  font-size: 11px;
  color: var(--text-0);
  text-align: right;
}

.status-active { color: var(--green); }

.blink { animation: blink 1s ease-in-out infinite; display: inline-block; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
}

.footer-ekg-wrap {
  width: 100%;
  height: 38px;
  opacity: 0.25;
}

.footer-ekg {
  width: 100%;
  height: 100%;
}

.footer-ekg-line {
  stroke: var(--cyan);
  stroke-width: 1;
  fill: none;
}

.footer-content {
  text-align: center;
  padding: 1.5rem 2rem 2.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 4px;
  color: var(--text-0);
  margin-bottom: 0.5rem;
}

.footer-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-2);
  margin-bottom: 0.4rem;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-2);
  opacity: 0.5;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

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

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

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

@keyframes draw-ekg {
  to { stroke-dashoffset: 0; }
}

@keyframes ekg-pulse {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1100; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 5px rgba(0, 212, 232, 0.18); }
  50%       { box-shadow: 0 0 0 10px rgba(0, 212, 232, 0.04); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-vitals { position: static; }

  .research-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pub-count-badge { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }

  .nav-links { display: none; }

  #navbar { padding: 0 1.5rem; }

  .hero-content {
    padding: 0 1.5rem;
    padding-top: 62px;
    max-width: 100%;
  }

  .hero-photo-side {
    width: 100%;
    opacity: 0.25;
  }

  .hero-bg {
    background: linear-gradient(to bottom,
      rgba(8,12,16,0.75) 0%,
      var(--bg-0) 100%
    );
  }

  .chyron-detail { display: none; }

  .program-grid { grid-template-columns: 1fr; }

  .about-stats { gap: 1.5rem; }

  .section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-badges { gap: 8px; }
  .badge { font-size: 9px; padding: 5px 10px; }
  .hero-ekg-container { display: none; }
}
