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

:root {
  --navy: #0f2340;
  --navy2: #1a3357;
  --teal: #1a6b6b;
  --teal-mid: #2a8a8a;
  --teal-light: #e8f4f4;
  --accent: #c47c3e;
  --accent-light: #fdf0e0;
  --text: #1c1c1e;
  --muted: #5a6372;
  --rule: #e2e8f0;
  --bg: #f7f8fa;
  --card: #fff;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--rule);
  z-index: 1000;
  display: flex; align-items: center;
  padding: 0 5vw;
  gap: 40px;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  margin-right: auto;
  display: flex;
  align-items: center;
}
.nav-brand span { color: var(--teal); }
.nav-logo {
  height: 28px;
  width: 28px;
  margin-right: 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--navy2);
  text-decoration: none;
  letter-spacing: .03em;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-admin {
  font-size: .74rem;
  font-weight: 500;
  color: var(--navy2);
  text-decoration: none;
  opacity: .65;
  transition: opacity .2s, color .2s;
  white-space: nowrap;
}
.nav-admin:hover { opacity: 1; color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.nav-cta:hover { background: var(--teal); }

/* HERO */
.hero {
  min-height: 92vh;
  background: linear-gradient(135deg, var(--navy) 0%, #0d3b5e 55%, #0f4d4d 100%);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) 5vw 80px;
  position: relative;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: .55;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}
.hero-blob-1 {
  width: 560px; height: 560px;
  top: -160px; right: 3%;
  background: radial-gradient(circle, rgba(26,107,107,.5) 0%, rgba(26,107,107,.15) 45%, transparent 70%);
  animation: driftA 22s ease-in-out infinite;
}
.hero-blob-2 {
  width: 460px; height: 460px;
  bottom: -140px; left: 5%;
  background: radial-gradient(circle, rgba(196,124,62,.32) 0%, rgba(196,124,62,.1) 45%, transparent 70%);
  animation: driftB 26s ease-in-out infinite;
}
.hero-blob-3 {
  width: 380px; height: 380px;
  top: 25%; left: 42%;
  background: radial-gradient(circle, rgba(42,138,138,.28) 0%, rgba(42,138,138,.08) 45%, transparent 70%);
  animation: driftC 30s ease-in-out infinite;
}
@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 50px) scale(1.15); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.1); }
}
@keyframes driftC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.08); }
  66% { transform: translate(-30px, -20px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
}
.hero-grid {
  position: relative;
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 60px; align-items: center; width: 100%;
}
.hero-eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 12px;
}
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.65); margin-bottom: 24px; font-weight: 300; line-height: 1.6;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.hero-tag {
  font-size: .72rem; font-weight: 500; letter-spacing: .04em;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 4px 13px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff; font-size: .85rem; font-weight: 600;
  padding: 12px 24px; border-radius: 8px; text-decoration: none;
  transition: background .2s, transform .15s; display: inline-block; border: none; cursor: pointer;
}
.btn-primary:hover { background: #b06a2e; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 500;
  padding: 12px 24px; border-radius: 8px; text-decoration: none;
  border: 1px solid rgba(255,255,255,.3); transition: border-color .2s, background .2s; display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }

.hero-card {
  position: relative;
  background: rgba(20,40,60,.35); border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 28px 28px 30px;
}
.hero-photo-wrap {
  display: flex; justify-content: center;
  margin-bottom: 22px;
}
.hero-photo-ring {
  position: relative;
  width: 168px; height: 168px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal-mid) 100%);
  box-shadow: 0 12px 34px rgba(0,0,0,.4);
}
.hero-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover; object-position: center 18%;
  border: 3px solid var(--navy);
  display: block;
}
.hero-card h3 {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 18px;
  text-align: center;
}
.stat-rows { display: flex; flex-direction: column; gap: 18px; position: relative; }
.stat-row { display: flex; align-items: center; gap: 16px; padding: 8px 12px; margin: -8px -12px; border-radius: 8px; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; }
.stat-rows:hover .stat-row:not(:hover) { opacity: 0.4; filter: blur(1px); }
.stat-row:hover { transform: scale(1.05) translateX(8px); background: rgba(255,255,255,0.06); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1; min-width: 68px; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.stat-row:hover .stat-num { color: #f2a25c; text-shadow: 0 0 15px rgba(242,162,92,0.6); transform: scale(1.15) rotate(-2deg); }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.72); line-height: 1.35; transition: color 0.3s; }
.stat-row:hover .stat-label { color: #ffffff; }
.stat-divider { height: 1px; background: rgba(255,255,255,.1); }
.hero-contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 6px; }
.hero-contact a { font-size: .76rem; color: rgba(255,255,255,.6); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color .2s; }
.hero-contact a:hover { color: var(--accent); }
.hero-contact .ico { font-size: .8rem; width: 14px; text-align: center; color: var(--accent); }

section { padding: 90px 5vw; }
.inner { max-width: 1160px; margin: 0 auto; }
.sec-label { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.sec-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 700; color: var(--navy); margin-bottom: 14px; line-height: 1.25; }
.sec-desc { font-size: .95rem; color: var(--navy2); max-width: 620px; line-height: 1.7; margin-bottom: 48px; }

#about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.about-text { font-size: .95rem; color: var(--navy2); line-height: 1.8; }
.about-text strong { color: var(--text); font-weight: 600; }
.about-text p + p { margin-top: 16px; }

.interests-grid { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.interest-chip { font-size: .72rem; font-weight: 500; background: var(--teal-light); color: var(--teal); border: 1px solid #c0dede; border-radius: 20px; padding: 4px 12px; }

.highlights-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--rule);
}
.highlight-item {
  background: var(--bg); border: 1px solid var(--rule); border-radius: 12px;
  padding: 18px 14px; text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.highlight-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,.06); transform: translateY(-2px); }
.highlight-num { font-family: 'Playfair Display', serif; font-size: 1.85rem; font-weight: 700; color: var(--teal); line-height: 1; }
.highlight-label { font-size: .72rem; color: var(--navy2); margin-top: 6px; line-height: 1.3; }
@media (max-width: 620px) { .highlights-row { grid-template-columns: repeat(2, 1fr); } }

.about-animation {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px dashed var(--rule);
}
.pulse-wrap {
  position: relative; width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.pulse-core {
  width: 48px;
  height: 48px;
  background: var(--teal-light);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  position: relative;
  z-index: 2;
}
.pulse-core svg { width: 24px; height: 24px; }
.pulse-ring {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.6;
  animation: pulse 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: 1;
}
.pulse-ring.delay-1 { animation-delay: 1.25s; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}
.anim-label {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
}

.about-sidebar { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--bg); border-radius: 12px; padding: 22px; }
.info-card h4 { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.edu-item { margin-bottom: 14px; }
.edu-item:last-child { margin-bottom: 0; }
.edu-deg { font-size: .88rem; font-weight: 600; color: var(--navy); }
.edu-inst { font-size: .78rem; color: var(--navy2); margin-top: 2px; }
.edu-year { display: inline-block; margin-top: 4px; font-size: .68rem; background: var(--teal-light); color: var(--teal); padding: 2px 8px; border-radius: 4px; }
.edu-thesis { font-size: .72rem; color: var(--navy2); font-style: italic; margin-top: 3px; line-height: 1.4; }

.skills-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.skill-item { display: flex; flex-direction: column; gap: 4px; }
.skill-name { font-size: .78rem; color: var(--text); font-weight: 500; display: flex; justify-content: space-between; }
.skill-name span { color: var(--navy2); font-weight: 400; }
.skill-track { height: 4px; background: var(--rule); border-radius: 2px; }
.skill-fill { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--teal-mid)); }

#positions { background: var(--bg); }
.positions-list { display: flex; flex-direction: column; gap: 0; }
.pos-item { display: grid; grid-template-columns: 160px 1fr; gap: 0 36px; padding: 32px 0; border-bottom: 1px solid var(--rule); position: relative; }
.pos-item:last-child { border-bottom: none; }
.pos-year { font-size: .8rem; color: var(--accent); font-weight: 600; padding-top: 4px; }
.pos-dot { position: absolute; left: 148px; top: 40px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--teal); }
.pos-role { font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.pos-org { font-size: .88rem; color: var(--teal); font-weight: 500; margin-top: 3px; }
.pos-bullets { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.pos-bullets li { font-size: .82rem; color: var(--navy2); padding-left: 16px; position: relative; line-height: 1.5; }
.pos-bullets li::before { content: '–'; position: absolute; left: 0; color: var(--accent); }

#grants { background: #fff; }
.grants-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.grant-card { background: var(--bg); border: 1px solid var(--rule); border-top: 3px solid var(--teal); border-radius: 10px; padding: 20px 22px; transition: box-shadow .2s, transform .2s; }
.grant-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.grant-amt { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.grant-name { font-size: .9rem; font-weight: 600; color: var(--navy); }
.grant-desc { font-size: .78rem; color: var(--navy2); margin-top: 5px; line-height: 1.5; }
.grant-year { font-size: .72rem; color: var(--accent); font-weight: 600; margin-top: 8px; }

#inventions { background: var(--navy); }
#inventions .sec-title { color: #fff; }
#inventions .sec-desc { color: rgba(255,255,255,.6); }
.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.inv-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 22px; transition: background .2s, transform .2s; }
.inv-card:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.inv-icon { width: 38px; height: 38px; background: rgba(196,124,62,.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 14px; }
.inv-name { font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.inv-desc { font-size: .78rem; color: rgba(255,255,255,.6); line-height: 1.55; }
.inv-footer { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.inv-badge { font-size: .65rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(196,124,62,.25); color: var(--accent); padding: 3px 8px; border-radius: 4px; }
.status-live { background: rgba(42,138,138,.3); color: #7fd6d6; }
.status-development { background: rgba(196,124,62,.25); color: var(--accent); }
.status-planned { background: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }
.status-prototype { background: rgba(120,140,220,.25); color: #b7c2f2; }
.inv-link { font-size: .72rem; color: #fff; text-decoration: underline; }

.patent-strip { margin-top: 32px; background: rgba(255,255,255,.05); border: 1px solid rgba(196,124,62,.35); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; padding: 18px 22px; font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.6; }
.patent-strip strong { color: var(--accent); font-size: .85rem; }

/* NCD SUITE */
#ncd-suite { background: var(--bg); }
.ncd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.ncd-card { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 20px; transition: box-shadow .2s, transform .2s; }
.ncd-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.07); transform: translateY(-2px); }
.ncd-icon { font-size: 1.5rem; margin-bottom: 8px; }
.ncd-condition { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.ncd-name { font-size: .92rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.ncd-desc { font-size: .78rem; color: var(--navy2); line-height: 1.5; margin-bottom: 10px; }
.ncd-status { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 4px; padding: 2px 8px; }
.ncd-status.live { background: var(--teal-light); color: var(--teal); }
.ncd-status.development { background: var(--accent-light); color: var(--accent); }
.ncd-status.planned { background: #eee; color: #888; }

#publications { background: #fff; }
.pub-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.pub-filter { font-size: .78rem; font-weight: 500; background: var(--bg); border: 1px solid var(--rule); color: var(--navy2); padding: 6px 16px; border-radius: 20px; cursor: pointer; transition: all .2s; }
.pub-filter:hover { border-color: var(--teal); color: var(--teal); }
.pub-filter.active { background: var(--teal); border-color: var(--teal); color: #fff; }

.pub-list { display: flex; flex-direction: column; gap: 16px; }
.pub-card {
  background: var(--bg); border: 1px solid var(--rule); border-radius: 10px;
  padding: 20px 24px; display: grid; grid-template-columns: 36px 1fr; gap: 0 16px;
  transition: box-shadow .2s;
}
.pub-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.07); }
.pub-card[data-hidden="true"] { display: none; }
.pub-num { font-size: .82rem; font-weight: 700; color: var(--navy); padding-top: 2px; }
.pub-title { font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.45; margin-bottom: 6px; min-height: 2.6em; display: flex; align-items: center; }
.pub-authors { font-size: .76rem; color: var(--navy2); margin-bottom: 6px; line-height: 1.4; padding-top: 8px; border-top: 1px dashed var(--rule); }
.pub-authors strong { color: var(--navy); font-weight: 700; }
.pub-journal { font-size: .78rem; font-style: italic; color: var(--teal); font-weight: 500; }
.pub-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pub-year { font-size: .72rem; color: var(--navy2); }
.pub-doi { font-size: .72rem; color: var(--navy); text-decoration: none; }
.pub-doi:hover { text-decoration: underline; }
.pub-cat-badge { font-size: .64rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; border-radius: 4px; padding: 2px 7px; }
.cat-oncology { background: #eef2ff; color: #4f46e5; }
.cat-digital { background: var(--teal-light); color: var(--teal); }
.cat-ncd { background: #fef3c7; color: #92400e; }
.cat-dental { background: #fce7f3; color: #9d174d; }
.cat-mededu { background: #e0f2fe; color: #075985; }

#conferences { background: var(--bg); }
.conf-grid { display: flex; flex-direction: column; gap: 12px; }
.conf-card { display: flex; gap: 16px; background: #fff; border-radius: 10px; padding: 16px 20px; align-items: flex-start; border: 1px solid var(--rule); }
.conf-type { flex-shrink: 0; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 5px; margin-top: 2px; white-space: nowrap; }
.type-oral { background: #eef2ff; color: #4f46e5; }
.type-poster { background: var(--teal-light); color: var(--teal); }
.type-prototype { background: #fef3c7; color: #92400e; }
.type-paper { background: var(--accent-light); color: var(--accent); }
.type-leadership { background: #e0f2fe; color: #075985; }
.conf-body { flex: 1; }
.conf-title { font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.conf-event { font-size: .78rem; color: var(--navy2); margin-top: 4px; }
.conf-award { display: inline-block; margin-top: 6px; font-size: .68rem; font-weight: 700; background: var(--accent-light); color: var(--accent); padding: 2px 8px; border-radius: 4px; }

#teaching { background: #fff; }
.teaching-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.teaching-card { background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; padding: 22px; }
.teaching-card h4 { font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.teaching-card p, .teaching-card li { font-size: .8rem; color: var(--navy2); line-height: 1.6; }
.teaching-card ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.teaching-card ul li { padding-left: 12px; position: relative; }
.teaching-card ul li::before { content: '·'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

#contact { background: var(--navy); text-align: center; padding: 80px 5vw; }
#contact .sec-title { color: #fff; margin-bottom: 32px; }
.contact-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.contact-chip { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 14px 22px; text-decoration: none; color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 500; transition: background .2s, border-color .2s; }
.contact-chip:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.35); }
.contact-chip .ico { color: var(--accent); font-size: 1rem; }
footer { background: #0a1a2e; text-align: center; padding: 20px; font-size: .75rem; color: rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
footer a { color: rgba(255,255,255,.4); text-decoration: none; }
footer a:hover { color: rgba(255,255,255,.7); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { margin-top: 16px; margin-bottom: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .pos-item { grid-template-columns: 1fr; }
  .pos-dot { display: none; }
  .nav-links { display: none; }
}

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

.lightbox {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90%; max-height: 90vh; border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.95); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lightbox.active img { transform: scale(1); }
.app-screenshot {
  height: 280px; width: 100%; object-fit: cover; object-position: top;
  border-radius: 8px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.app-screenshot:hover { transform: scale(1.02); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.pub-header-wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 24px; }
.pub-header-left { flex: 1; }
.pub-header-left .sec-desc { max-width: 100%; }
.pub-chart-wrap { display: flex; flex-direction: column; gap: 10px; width: 400px; flex-shrink: 0; margin-top: 8px; }
@media (max-width: 900px) {
  .pub-header-wrap { flex-direction: column; gap: 24px; }
  .pub-chart-wrap { width: 100%; max-width: 600px; }
}
.pub-chart-row { display: flex; align-items: center; gap: 16px; padding: 4px 8px; border-radius: 8px; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; margin: -4px -8px; }
.pub-chart-wrap:hover .pub-chart-row:not(:hover) { opacity: 0.3; filter: grayscale(80%); }
.pub-chart-row:hover { transform: scale(1.05) translateX(5px); background: #ffffff; box-shadow: 0 4px 15px rgba(0,0,0,0.06); z-index: 2; position: relative; }
.pub-chart-label { width: 160px; font-size: 0.82rem; color: var(--navy); font-weight: 600; text-align: right; line-height: 1.2; transition: color 0.3s; }
.pub-chart-row:hover .pub-chart-label { color: var(--accent); }
.pub-chart-bar-bg { flex: 1; height: 10px; background: var(--rule); border-radius: 5px; overflow: hidden; }
.pub-chart-bar-fill { height: 100%; border-radius: 5px; width: 0; transition: width 1s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s; }
.pub-chart-val { font-size: 0.85rem; font-weight: 700; color: var(--navy); width: 30px; text-align: left; transition: transform 0.3s; }
.pub-chart-row:hover .pub-chart-val { transform: scale(1.1); }
.fill-oncology { background: #4f46e5; }
.fill-digital { background: var(--teal); }
.fill-ncd { background: #d97706; }
.fill-dental { background: #db2777; }
.fill-mededu { background: #0284c7; }
.pub-chart-row:hover .fill-oncology { box-shadow: 0 0 12px rgba(79, 70, 229, 0.6); }
.pub-chart-row:hover .fill-digital { box-shadow: 0 0 12px rgba(42, 138, 138, 0.6); }
.pub-chart-row:hover .fill-ncd { box-shadow: 0 0 12px rgba(217, 119, 6, 0.6); }
.pub-chart-row:hover .fill-dental { box-shadow: 0 0 12px rgba(219, 39, 119, 0.6); }
.pub-chart-row:hover .fill-mededu { box-shadow: 0 0 12px rgba(2, 132, 199, 0.6); }
