/* ===== CYANA THERAPEUTICS — SHARED STYLES ===== */

:root {
  --deep: #0a2540;
  --mid: #0d3b66;
  --accent: #00b4d8;
  --glow: #48cae4;
  --light: #caf0f8;
  --white: #ffffff;
  --off-white: #f8fafb;
  --text-primary: #0a2540;
  --text-secondary: #4a6274;
  --text-light: #8ba3b8;
  --border: #e2e8f0;
  --green-soft: #27ae60;
  --red-soft: #e74c3c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

abbr[title] { text-decoration: none; border-bottom: none; cursor: help; }

/* SKIP LINK */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  padding: 0.75rem 1.5rem; background: var(--accent); color: var(--white);
  border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* NAV — transparent over hero, white on scroll */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  padding: 1rem 1.1rem 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
body.menu-open #navbar {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.menu-open #navbar .logo { color: var(--white); }
body.menu-open #navbar .logo-sub { color: rgba(255,255,255,0.6); }
#navbar.scrolled,
#navbar.nav-static {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(10,37,64,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.4rem;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10,37,64,0.26) 0%, rgba(10,37,64,0.18) 100%);
  box-shadow: 0 18px 40px -30px rgba(10,37,64,0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
#navbar.scrolled .nav-inner,
#navbar.nav-static .nav-inner {
  border-color: rgba(10,37,64,0.08);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 20px 44px -34px rgba(10,37,64,0.3);
}

.logo {
  font-family: 'Lato', sans-serif;
  font-size: 1.55rem; font-weight: 400; color: var(--white);
  text-decoration: none; letter-spacing: -0.02em;
  display: flex; flex-direction: column; line-height: 1.05;
  transition: color 0.35s ease;
}
#navbar.scrolled .logo,
#navbar.nav-static .logo { color: var(--deep); }

.logo-sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.52rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-top: 1px;
  transition: color 0.35s ease;
}
#navbar.scrolled .logo-sub,
#navbar.nav-static .logo-sub { color: var(--accent); }

/* ===== DESKTOP NAV LINKS ===== */
.nav-desktop {
  display: flex; gap: 2rem; list-style: none; align-items: center;
}
.nav-desktop a {
  text-decoration: none; color: rgba(255,255,255,0.78);
  font-size: 0.86rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--white); }
#navbar.scrolled .nav-desktop a,
#navbar.nav-static .nav-desktop a { color: var(--text-secondary); }
#navbar.scrolled .nav-desktop a:hover,
#navbar.nav-static .nav-desktop a:hover { color: var(--accent); }
#navbar.scrolled .nav-desktop a.active,
#navbar.nav-static .nav-desktop a.active { color: var(--deep); }

.nav-desktop .nav-cta {
  background: rgba(255,255,255,0.12); color: var(--white);
  padding: 0.55rem 1.2rem; border-radius: 100px; font-size: 0.82rem;
  border: 1px solid rgba(255,255,255,0.28);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.nav-desktop .nav-cta:hover {
  background: rgba(255,255,255,0.22); color: var(--white); transform: translateY(-1px);
}
#navbar.scrolled .nav-desktop .nav-cta,
#navbar.nav-static .nav-desktop .nav-cta {
  background: var(--deep); color: var(--white); border-color: var(--deep);
}
#navbar.scrolled .nav-desktop .nav-cta:hover,
#navbar.nav-static .nav-desktop .nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* ===== MOBILE MENU TOGGLE (HAMBURGER) ===== */
.menu-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18); padding: 0;
  border-radius: 999px;
  cursor: pointer; z-index: 1100;
  align-items: center; justify-content: center;
}
.menu-toggle span {
  position: absolute;
  left: 11px; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.25s ease;
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
#navbar.scrolled .menu-toggle span,
#navbar.nav-static .menu-toggle span { background: var(--deep); }
#navbar.scrolled .menu-toggle,
#navbar.nav-static .menu-toggle {
  background: rgba(10,37,64,0.04);
  border-color: rgba(10,37,64,0.1);
}
body.menu-open .menu-toggle span { background: var(--white); }
body.menu-open .menu-toggle {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ===== MOBILE MENU DRAWER ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1050;
  background: rgba(4, 16, 30, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  overflow-y: auto;
  padding: 1rem;
}
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}
body.menu-open { overflow: hidden; }

.mobile-menu-panel {
  width: min(100%, 360px);
  min-height: 100%;
  padding: 6.75rem 1.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(72,202,228,0.18), transparent 34%),
    linear-gradient(180deg, #0a2540 0%, #071a2f 100%);
  box-shadow: 0 28px 80px -46px rgba(0,0,0,0.75);
  transform: translateX(24px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.menu-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(202,240,248,0.7);
}

.mobile-menu-kicker {
  margin-top: 0.45rem;
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--white);
}

.mobile-menu-list {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: flex; flex-direction: column; gap: 1.5rem;
  text-align: left; position: relative;
}
.mobile-menu-list li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.menu-open .mobile-menu-list li { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-menu-list li:nth-child(1) { transition-delay: 0.12s; }
body.menu-open .mobile-menu-list li:nth-child(2) { transition-delay: 0.17s; }
body.menu-open .mobile-menu-list li:nth-child(3) { transition-delay: 0.22s; }
body.menu-open .mobile-menu-list li:nth-child(4) { transition-delay: 0.27s; }
body.menu-open .mobile-menu-list li:nth-child(5) { transition-delay: 0.32s; }
body.menu-open .mobile-menu-list li:nth-child(6) { transition-delay: 0.37s; }
body.menu-open .mobile-menu-list li:nth-child(7) { transition-delay: 0.44s; }

.mobile-menu a {
  font-family: 'Lato', sans-serif;
  font-size: 1.7rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  display: inline-block;
}
.mobile-menu a:hover { color: var(--glow); }

.mobile-menu a.mobile-cta {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.95rem 1.2rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 100px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 8px 32px rgba(0,180,216,0.35);
}
.mobile-menu a.mobile-cta:hover {
  color: var(--white); background: var(--glow); transform: translateY(-1px);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem; background: var(--accent); color: var(--white);
  text-decoration: none; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500;
  border: none; cursor: pointer; font-family: 'Lato', sans-serif;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn-primary:hover {
  background: var(--glow);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0,180,216,0.3);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem; background: transparent; color: var(--white);
  text-decoration: none; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.25s, background 0.25s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }

.btn-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--accent); text-decoration: none; font-size: 0.88rem; font-weight: 500;
  margin-bottom: 2rem; transition: color 0.2s;
}
.btn-back:hover { color: var(--glow); }

/* SECTIONS */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: block;
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-secondary); max-width: 640px; line-height: 1.75;
}

/* FOOTER */
footer { background: var(--deep); color: rgba(255,255,255,0.6); padding: 3.5rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo {
  font-family: 'Lato', sans-serif;
  font-size: 1.45rem; color: var(--white); margin-bottom: 0.5rem; display: block;
  text-decoration: none;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 300px; }
.footer-nav-label {
  color: var(--white); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem;
}
footer nav ul { list-style: none; }
footer nav li { margin-bottom: 0.5rem; }
footer nav a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
footer nav a:hover { color: var(--glow); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; font-size: 0.78rem;
}
.footer-tagline { font-family: 'Lato', sans-serif; font-style: normal; color: rgba(255,255,255,0.35); font-size: 0.85rem; }

/* HOME — HERO */
#home {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #0d3b66 0%, var(--deep) 45%, #061628 100%);
}

/* Animated orbs */
.hero-mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); will-change: transform;
  animation: orbFloat 22s ease-in-out infinite;
}
.orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(0,180,216,0.5), transparent 70%);
  top: -120px; right: -80px;
}
.orb-2 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(72,202,228,0.35), transparent 70%);
  bottom: -120px; left: -60px;
  animation-delay: -8s;
}
.orb-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(144,224,239,0.25), transparent 70%);
  top: 35%; left: 40%;
  animation-delay: -15s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 40px) scale(0.94); }
}

/* Grid overlay */
.hero-grid {
  position: absolute; inset: 0; opacity: 0.4;
  background-image:
    linear-gradient(rgba(0,180,216,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 80%);
}

/* Film grain */
.hero-noise {
  position: absolute; inset: 0; z-index: 1; opacity: 0.06; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

.hero-inner {
  width: 100%;
  max-width: 1200px; margin: 0 auto; padding: 8rem 2rem 6rem;
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(0,180,216,0.3);
  color: var(--glow); font-size: 0.74rem; font-weight: 500;
  padding: 0.45rem 1rem; border-radius: 100px;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 2rem;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: fadeUp 0.8s ease both;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
  animation: pulseDot 2s infinite;
}

/* Reveal headline */
.hero-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 900; color: var(--white); line-height: 1.06;
  letter-spacing: -0.025em; margin-bottom: 1.75rem;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--glow) 0%, #90e0ef 50%, var(--light) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.12em; }
.reveal-line > span {
  display: inline-block;
  white-space: nowrap;
  animation: revealUp 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.reveal-line:nth-child(1) > span { animation-delay: 0.15s; }
@keyframes revealUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hero-content > p {
  font-size: 1.08rem; color: rgba(255,255,255,0.72); line-height: 1.8;
  max-width: 540px; margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.55s ease both;
}
.hero-actions { display: flex; gap: 1rem; animation: fadeUp 0.8s 0.7s ease both; }
.btn-primary .arrow { transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); display: inline-block; }
.btn-primary:hover .arrow { transform: translateX(4px); }

/* Hero visual — molecule */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  perspective: 1200px;
  animation: fadeUp 0.8s 0.8s ease both;
}
.mol-graphic {
  width: 440px; height: 440px; position: relative;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

.mol-core {
  position: absolute; top: 50%; left: 50%;
  width: 72px; height: 72px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, #caf0f8 0%, var(--glow) 40%, var(--accent) 80%);
  box-shadow:
    0 0 40px rgba(0,180,216,0.8),
    0 0 100px rgba(0,180,216,0.5),
    inset 0 0 18px rgba(255,255,255,0.4);
  animation: corePulse 3.5s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); filter: brightness(1); }
  50%      { transform: translate(-50%, -50%) scale(1.08); filter: brightness(1.15); }
}

.mol-pulse {
  position: absolute; top: 50%; left: 50%;
  width: 72px; height: 72px; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(0,180,216,0.6);
  animation: ringExpand 3.5s ease-out infinite;
}
.mol-pulse-2 { animation-delay: 1.75s; }
@keyframes ringExpand {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0;   }
}

.mol-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,180,216,0.18);
  animation: spin 40s linear infinite;
}
.mol-ring-1 { inset: 0; }
.mol-ring-2 { inset: 60px; border-color: rgba(72,202,228,0.28); animation-duration: 28s; animation-direction: reverse; }
.mol-ring-3 { inset: 130px; border-color: rgba(0,180,216,0.38); animation-duration: 22s; }

/* Orbiting dots */
.mol-orbit {
  position: absolute; inset: 0; border-radius: 50%;
  animation: spin 14s linear infinite;
}
.mol-orbit-1 { animation-duration: 14s; }
.mol-orbit-2 { inset: 50px; animation-duration: 10s; animation-direction: reverse; }
.mol-orbit-3 { inset: 115px; animation-duration: 7s; }
.mol-orbit-4 { inset: 28px; animation-duration: 18s; animation-direction: reverse; }

.mol-dot {
  position: absolute; top: -6px; left: 50%;
  width: 12px; height: 12px; border-radius: 50%;
  transform: translateX(-50%);
  background: var(--glow);
  box-shadow: 0 0 18px var(--glow), 0 0 36px rgba(72,202,228,0.5);
}
.mol-orbit-2 .mol-dot { width: 8px; height: 8px; top: -4px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.mol-orbit-3 .mol-dot { width: 6px; height: 6px; top: -3px; background: #90e0ef; }
.mol-orbit-4 .mol-dot { width: 5px; height: 5px; top: -2.5px; background: var(--light); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.66rem; letter-spacing: 0.25em; text-transform: uppercase;
  z-index: 3;
  transition: color 0.2s;
  animation: fadeUp 0.8s 1.1s ease both;
}
.scroll-indicator:hover { color: var(--glow); }
.scroll-line {
  display: block; width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6) 0%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* Section reveal on scroll (only when JS is enabled) */
.js body section { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js body section.in-view { opacity: 1; transform: translateY(0); }

/* HOME — ABOUT */
#about { background: var(--off-white); }
.about-content { max-width: 780px; margin-top: 2rem; }
.about-content p { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; }

/* HOME — SCIENCE */
#science { background: var(--white); }
.science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; align-items: start; }
.science-text p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.clinical-rationale {
  background: linear-gradient(165deg, var(--deep), var(--mid));
  border-radius: 16px; padding: 2.5rem; color: var(--white);
}
.clinical-rationale h3 { font-family: 'Lato', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.clinical-rationale p { font-size: 0.92rem; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 0.75rem; }
.clinical-rationale .label { color: rgba(255,255,255,0.9); font-weight: 500; margin-top: 0.75rem; }
.prognosis-list { list-style: none; margin: 1rem 0 0; }
.prognosis-list li {
  padding: 0.5rem 0; font-size: 0.9rem; color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.prognosis-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red-soft); flex-shrink: 0; }
.science-figure { margin-top: 3rem; text-align: center; }
.science-img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }
.science-figure figcaption { margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-light); font-style: italic; }
.tumor-section { margin-top: 3.5rem; }
.tumor-section h3 { font-family: 'Lato', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.tumor-section > p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.tumor-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.tumor-grid li {
  padding: 0.35rem 0.9rem; border-radius: 100px;
  background: rgba(0,180,216,0.08); color: var(--mid);
  font-size: 0.8rem; font-weight: 500;
  border: 1px solid rgba(0,180,216,0.15); transition: background 0.2s;
}
.tumor-grid li:hover { background: rgba(0,180,216,0.15); }

/* HOME — PIPELINE */
#pipeline { background: var(--off-white); }
.pipeline-figure { margin-top: 2.5rem; }
.pipeline-img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }
.pipeline-detail {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 2.5rem; margin-top: 2.5rem; position: relative; overflow: hidden;
}
.pipeline-detail::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--glow));
}
.pipeline-detail h3 { font-family: 'Lato', sans-serif; font-size: 1.45rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--deep); }
.pipeline-detail .lead-sub { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 2rem; }
.ind-badge {
  display: inline-block; padding: 0.3rem 0.9rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; margin-bottom: 1.25rem;
  background: rgba(39,174,96,0.1); color: var(--green-soft);
}
.pipeline-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.pipeline-meta dl { margin: 0; }
.pipeline-meta dt {
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.pipeline-meta dd {
  padding: 0.5rem 0; font-size: 0.9rem; color: var(--text-secondary);
  display: flex; align-items: flex-start; gap: 0.6rem;
  border-top: 1px solid var(--border); margin: 0;
}
.pipeline-meta dd::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 0.55rem;
}

/* HOME — TEAM */
#team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; max-width: 640px; }
.team-card {
  background: var(--off-white); border: 1px solid var(--border); border-radius: 12px;
  padding: 2rem; text-align: center;
  text-decoration: none; color: inherit; display: block;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.team-card:hover { box-shadow: 0 8px 30px rgba(10,37,64,0.06); transform: translateY(-3px); border-color: rgba(0,180,216,0.3); }
.team-photo {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 3px solid var(--border); margin: 0 auto 1.25rem; display: block;
}
.team-card h3 { font-size: 1.02rem; font-weight: 600; color: var(--deep); margin-bottom: 0.2rem; }
.team-card .title { font-size: 0.84rem; color: var(--text-light); display: block; margin-bottom: 0.75rem; }
.team-card .view-bio { font-size: 0.8rem; color: var(--accent); font-weight: 500; }

/* HOME — PUBLICATIONS */
#publications { background: var(--off-white); }
.pub-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 1rem; }
.pub-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem 1.75rem; transition: border-color 0.2s, box-shadow 0.2s; }
.pub-card:hover { border-color: rgba(0,180,216,0.3); box-shadow: 0 4px 20px rgba(10,37,64,0.04); }
.pub-top { display: flex; align-items: flex-start; gap: 1.25rem; }
.pub-year { font-family: 'Lato', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--accent); min-width: 50px; flex-shrink: 0; }
.pub-info { flex: 1; }
.pub-info h3 { font-size: 0.92rem; font-weight: 500; color: var(--deep); line-height: 1.45; margin-bottom: 0.3rem; }
.pub-authors { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.1rem; }
.pub-info cite { font-size: 0.8rem; color: var(--text-secondary); font-style: italic; display: block; }
.pub-type {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-light); background: var(--off-white); padding: 0.2rem 0.6rem;
  border-radius: 4px; white-space: nowrap; margin-left: auto; flex-shrink: 0;
}
.pub-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.82rem; color: var(--accent); text-decoration: none;
  font-weight: 500; margin-top: 0.5rem; transition: color 0.2s;
}
.pub-link:hover { color: var(--glow); }

/* HOME — CONTACT */
#contact { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; margin-top: 3rem; }
address { font-style: normal; }
.contact-label { font-size: 0.88rem; font-weight: 600; color: var(--deep); margin-bottom: 0.4rem; }
address p, address a { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; text-decoration: none; }
address a:hover { color: var(--accent); }
.contact-note { font-size: 0.84rem; color: var(--text-light); margin-top: 0.25rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-primary); margin-bottom: 0.35rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.7rem 1rem; border: 1px solid var(--border); border-radius: 8px;
  font-family: 'Lato', sans-serif; font-size: 0.9rem; color: var(--text-primary);
  background: var(--off-white); transition: border-color 0.2s, background 0.2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); background: var(--white); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form .btn-primary { align-self: flex-start; }

/* BIO PAGES */
.bio-page { padding: 8rem 2rem 4rem; }
.bio-inner { max-width: 900px; margin: 0 auto; }
.bio-header { display: flex; gap: 2.5rem; align-items: flex-start; margin-bottom: 2.5rem; }
.bio-photo {
  width: 180px; height: 180px; border-radius: 16px;
  object-fit: cover; object-position: center top;
  border: 3px solid var(--border); flex-shrink: 0;
}
.bio-name { font-family: 'Lato', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--deep); margin-bottom: 0.3rem; }
.bio-title { font-size: 1rem; color: var(--accent); font-weight: 500; display: block; margin-bottom: 0.5rem; }
.bio-org { font-size: 0.9rem; color: var(--text-light); }
.bio-body p { font-size: 1rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 1.25rem; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* RESPONSIVE — 900px */
@media (max-width: 900px) {
  /* Nav */
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  #navbar { padding: 0.9rem 0.9rem 0; }
  .nav-inner { padding: 0 1rem 0 1.15rem; }
  .logo { font-size: 1.3rem; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 7rem; }
  .reveal-line > span { white-space: normal; }
  .hero-content > p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }

  /* Science */
  .science-grid { grid-template-columns: 1fr; }

  /* Pipeline */
  .pipeline-meta { grid-template-columns: 1fr; }

  /* Publications */
  .pub-top { flex-direction: column; gap: 0.5rem; }
  .pub-type { margin-left: 0; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* RESPONSIVE — 700px */
@media (max-width: 700px) {
  .bio-header { flex-direction: column; align-items: center; text-align: center; }
  .bio-photo { width: 140px; height: 140px; }
}

/* RESPONSIVE — 600px */
@media (max-width: 600px) {
  section { padding: 4rem 1.25rem; }
  .mobile-menu { padding: 0.75rem; }
  .mobile-menu-panel { width: 100%; padding-top: 6.2rem; }
  .mobile-menu a { font-size: 1.45rem; }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: center; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
}
