/* ============================================================
   Dr. N. Kiruthiga — Academic Portfolio
   Design: Bricolage Grotesque + Instrument Sans
   Palette: White / Teal / Navy — Diabetome/PocketNet language
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;    /* 4.6:1 on white — WCAG AA */
  --teal: #0d9488;
  --teal-dark: #0f766e;      /* 5.47:1 on white — WCAG AA */
  --teal-light: #f0fdfa;
  --teal-border: #99f6e4;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  --amber-light: #fffbeb;
  --amber-border: #fde68a;
  --amber-text: #92400e;     /* 7.0:1 on white — WCAG AA */
  --red: #dc2626;
  --red-light: #fef2f2;
  --purple: #7c3aed;
  --purple-light: #f5f3ff;
  --green: #16a34a;
  --green-light: #f0fdf4;
  --cyan: #0891b2;
  --cyan-light: #ecfeff;
  --navy: #0f172a;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-teal: 0 4px 20px rgba(13,148,136,0.14);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-dark); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(13,148,136,0.15); }

/* ── Layout ──────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; }

/* ── Keyframes ───────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes labelReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}
@keyframes scaleProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── Scroll progress bar ─────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 1001;
  pointer-events: none;

  @supports (animation-timeline: scroll()) {
    animation: scaleProgress linear both;
    animation-timeline: scroll(root);
  }

  @media (prefers-reduced-motion: reduce) { display: none; }
}

/* ── Reveal animations ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--ease-spring) var(--reveal-delay, 0ms),
    transform 0.75s var(--ease-spring) var(--reveal-delay, 0ms);

  @media (prefers-reduced-motion: reduce) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.reveal.visible { opacity: 1; transform: none; }

/* Section header: animate label with clip-path reveal */
.section-header .section-label {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.65s var(--ease-spring) 0.05s;

  @media (prefers-reduced-motion: reduce) { clip-path: none; transition: none; }
}
.section-header.visible .section-label { clip-path: inset(0 0% 0 0); }

/* ── Section headers ─────────────────────────────── */
.section-header { margin-bottom: 56px; position: relative; overflow: hidden; }
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-title .accent { color: var(--teal-dark); }
.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 640px;
}

/* Decorative large number background */
.with-deco {
  padding-right: 160px;

  &::after {
    content: attr(data-deco);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(5rem, 10vw, 9rem);
    font-weight: 800;
    color: var(--navy);
    opacity: 0.04;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }
}

/* ── Buttons ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--teal-dark);  /* #0f766e — 5.47:1 on white, WCAG AA */
  color: #fff;
  border: 1.5px solid var(--teal-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease-spring);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.25s var(--ease-spring);
}
.btn-secondary:hover {
  border-color: var(--teal-dark);
  background: var(--teal-light);
  color: var(--teal-dark);
  transform: translateY(-2px);
}
.btn-secondary:active { transform: translateY(0); }

.btn-outline-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: transparent;
  color: var(--teal-dark);
  border: 1.5px solid var(--teal-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.25s var(--ease-spring);
}
.btn-outline-teal:hover {
  background: var(--teal-light);
  border-color: var(--teal-dark);
  color: var(--teal-dark);
  transform: translateY(-2px);
}

/* ── Navbar ──────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
#navbar.scrolled { box-shadow: 0 1px 16px rgba(0,0,0,0.07); }
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--teal-dark); }
.nav-logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 6px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 10px; right: 10px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-spring);
  border-radius: 1px;
}
.nav-links a:hover { color: var(--teal-dark); background: var(--teal-light); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--teal-dark); }
.nav-contact-btn {
  border: 1.5px solid var(--teal-border) !important;
  color: var(--teal-dark) !important;
  background: transparent !important;
  padding: 6px 14px !important;
}
.nav-contact-btn::after { display: none !important; }
.nav-contact-btn:hover {
  background: var(--teal-light) !important;
  border-color: var(--teal-dark) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── Back to top ─────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring), background 0.2s ease;
  pointer-events: none;
  z-index: 500;
}
#back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: all;
}
#back-to-top:hover { background: var(--teal-dark); }

/* ── HERO ────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

/* subtle ambient tint — very low opacity, no dark or glow */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 88% 12%, rgba(13,148,136,0.055) 0%, transparent 100%),
    radial-gradient(ellipse 35% 35% at 8% 88%,  rgba(37,99,235,0.032)  0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px 0 72px;
  position: relative;
  z-index: 1;
}

/* ── Split layout ── */
.hero-split {
  display: grid;
  grid-template-columns: 56fr 44fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

/* Department label — plain text, not a badge pill */
.hero-dept {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);  /* 5.47:1 on white */
  margin-bottom: 20px;
  animation: fadeUp 0.5s var(--ease-spring) 0s both;
}

/* hero-right panel */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeUp 0.7s var(--ease-spring) 0.3s both;
}

/* 2×2 numbers grid */
.hero-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-num-item {
  background: #ffffff;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s ease;
}
.hero-num-item:hover { background: var(--teal-light); }

.hero-num-value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--teal-dark);  /* 5.47:1 on white */
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.hero-num-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.hero-num-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-subtle);  /* 4.6:1 on white */
  line-height: 1.4;
}

/* Research focus tags */
.hero-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-focus-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);   /* 6.0:1 on white */
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.hero-focus-tag:hover {
  border-color: var(--teal-border);
  color: var(--teal-dark);
  background: var(--teal-light);
}
.hero-focus-tag i { font-size: 0.7rem; color: var(--teal-dark); }

/* Keep old hero-content class harmless */
.hero-content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
}

/* ── Hero molecular visualization ── */
.hero-mol-visual {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-52%);
  width: 50%;
  max-width: 580px;
  pointer-events: none;
  opacity: 0.68;
  animation: fadeUp 1.2s var(--ease-spring) 0.25s both;
  z-index: 0;
}
.hero-mol-visual svg { width: 100%; height: auto; display: block; }

/* Hero text column — left half only */
.hero-text-col {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* ── Metrics strip ── */
.hero-metrics {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: #fff;
  position: relative;
  z-index: 1;
}
.metrics-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 12px;
  animation: fadeUp 0.55s var(--ease-spring) 0.8s both;
}
.metric-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--teal-dark);  /* 5.47:1 */
  line-height: 1;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.metric-plus {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-dark);
}
.metric-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  text-align: center;
}
.metric-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-subtle);  /* 4.6:1 */
  text-align: center;
  line-height: 1.3;
}
.metric-div {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Research editorial layout ── */
.research-editorial {
  display: flex;
  flex-direction: column;
}
.re-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background 0.2s ease;
}
.re-item:last-child { border-bottom: none; }
.re-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  opacity: 0.08;
  line-height: 1;
  padding-top: 6px;
  user-select: none;
}
.re-body { display: flex; flex-direction: column; gap: 12px; }
.re-accent-bar {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 4px;
}
.re-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.re-body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 680px;
}
.re-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.re-tags span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-subtle);
  background: #fff;
  transition: border-color 0.2s, color 0.2s;
}
.re-tags span:hover { border-color: var(--teal-border); color: var(--teal-dark); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-dark);
  width: fit-content;
  margin-bottom: 28px;
  animation: fadeUp 0.6s var(--ease-spring) 0.05s both;
}
.hero-badge i { font-size: 0.75rem; }

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7.5vw, 6.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeUp 0.8s var(--ease-spring) 0.1s both;
}
.hero-name br { display: block; }

/* role line with bottom separator */
.hero-role {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);  /* 6.0:1 on white */
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  animation: fadeUp 0.6s var(--ease-spring) 0.2s both;
}

.hero-rule {
  width: 72px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: 28px;
  transform-origin: left;
  transform: scaleX(0);
  animation: lineGrow 0.9s var(--ease-spring) 0.55s forwards;
}

.hero-institution {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);   /* #475569 — 6.0:1 on white */
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  animation: fadeUp 0.6s var(--ease-spring) 0.3s both;
}
.hero-institution i { color: var(--teal-dark); font-size: 0.8rem; }

.hero-typewriter {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);  /* #475569 — 6.0:1 on white */
  min-height: 1.6em;
  margin-bottom: 28px;
  animation: fadeUp 0.6s var(--ease-spring) 0.3s both;
}
.typewriter-static { color: var(--text-muted); }
#typewriterText { color: var(--teal-dark); }
.typewriter-cursor {
  color: var(--teal-dark);
  animation: blink 0.75s step-end infinite;
  font-weight: 300;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  animation: fadeUp 0.6s var(--ease-spring) 0.4s both;
}

.hero-social {
  display: flex;
  gap: 8px;
  animation: fadeUp 0.6s var(--ease-spring) 0.5s both;
}
.hero-social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-subtle);  /* #64748b — 4.6:1 on white */
  font-size: 0.85rem;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    transform 0.25s var(--ease-spring);
}
.hero-social-link:hover {
  border-color: var(--teal-border);
  color: var(--teal-dark);
  background: var(--teal-light);
  transform: translateY(-2px);
}

/* Stats strip */
.hero-stats-strip {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: #fff;
}
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.hero-stat-item {
  padding: 0 20px;
  border-right: 1px solid var(--border);
  text-align: center;
  animation: fadeUp 0.55s var(--ease-spring) calc(0.75s + var(--i, 0) * 70ms) both;
}
.hero-stat-item:first-child { padding-left: 0; text-align: left; }
.hero-stat-item:last-child  { border-right: none; padding-right: 0; text-align: right; }

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--teal-dark);   /* 5.47:1 on white — WCAG AA */
  line-height: 1;
  margin-bottom: 5px;
  display: flex;
  align-items: baseline;
  gap: 2px;
  justify-content: center;
}
.hero-stat-item:first-child .hero-stat-num { justify-content: flex-start; }
.hero-stat-item:last-child  .hero-stat-num { justify-content: flex-end; }

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);          /* #0f172a — 18.1:1 on white — WCAG AAA */
  margin-bottom: 2px;
}
.hero-stat-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-subtle);   /* #64748b — 4.6:1 on white — WCAG AA */
  line-height: 1.4;
}

/* ── SHOWCASE SECTION (landing page) ────────────── */
.showcase-section {
  padding: 80px 0 96px;
  background: #fff;
}

.showcase-header {
  margin-bottom: 48px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.3s ease,
    transform 0.35s var(--ease-spring);
}
.showcase-card:hover {
  transform: translateY(-5px);
  color: inherit;
}

/* Left accent bar */
.showcase-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  transition: opacity 0.2s ease;
}

.sc-teal { border-color: var(--border); }
.sc-teal:hover { border-color: #99f6e4; box-shadow: 0 8px 32px rgba(13,148,136,0.1); }
.sc-teal::before { background: var(--teal-dark); }

.sc-blue { border-color: var(--border); }
.sc-blue:hover { border-color: var(--blue-border); box-shadow: 0 8px 32px rgba(37,99,235,0.09); }
.sc-blue::before { background: var(--blue-dark); }

.sc-gold { border-color: var(--border); }
.sc-gold:hover { border-color: var(--amber-border); box-shadow: 0 8px 32px rgba(180,83,9,0.08); }
.sc-gold::before { background: #b45309; }

.sc-navy { border-color: var(--border); }
.sc-navy:hover { border-color: var(--border-strong); box-shadow: 0 8px 32px rgba(15,23,42,0.07); }
.sc-navy::before { background: var(--navy); }

.sc-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  font-size: 1.15rem;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring);
}
.showcase-card:hover .sc-icon { transform: scale(1.08); }

.sc-teal .sc-icon { background: var(--teal-light); color: var(--teal-dark); border: 1px solid var(--teal-border); }
.sc-blue .sc-icon { background: var(--blue-light);  color: var(--blue-dark);  border: 1px solid var(--blue-border); }
.sc-gold .sc-icon { background: #fffbeb;            color: #b45309;           border: 1px solid var(--amber-border); }
.sc-navy .sc-icon { background: #f1f5f9;            color: var(--navy);       border: 1px solid var(--border-strong); }

.sc-body { flex: 1; margin-bottom: 20px; }

.sc-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}

.sc-body p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);  /* 6.0:1 on white */
  line-height: 1.7;
}

.sc-meta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-subtle);  /* 4.6:1 on white */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.sc-arrow {
  font-size: 0.85rem;
  color: var(--text-subtle);
  transition: transform 0.3s var(--ease-spring), color 0.2s ease;
  align-self: flex-end;
}
.showcase-card:hover .sc-arrow {
  transform: translateX(5px);
  color: var(--teal-dark);
}
.sc-teal:hover .sc-arrow { color: var(--teal-dark); }
.sc-blue:hover .sc-arrow { color: var(--blue-dark); }
.sc-gold:hover .sc-arrow { color: #b45309; }

/* ── PAGE LAYOUT (subpages) ──────────────────────── */
.page-hero {
  padding: 128px 0 48px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

/* Research page hero — molecular SVG background variant */
.research-page-hero {
  padding: 128px 0 56px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.research-page-hero .container { position: relative; z-index: 1; }

.rph-mol-bg {
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 38%;
  max-width: 380px;
  pointer-events: none;
  opacity: 0.65;
  z-index: 0;
}
.rph-mol-bg svg { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .rph-mol-bg { width: 52%; opacity: 0.4; }
}
@media (max-width: 600px) {
  .rph-mol-bg { display: none; }
}
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-subtle);
  margin-bottom: 18px;
  transition: color 0.2s ease;
}
.page-breadcrumb:hover { color: var(--teal-dark); }
.page-breadcrumb i { font-size: 0.75rem; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.page-title .accent { color: var(--teal-dark); }
.page-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.page-content { padding: 64px 0 96px; }

/* ── ABOUT ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 62fr 38fr;
  gap: 56px;
  align-items: start;
}
.about-lead {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 28px;
}
.about-lead strong { color: var(--navy); }
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
}
.highlight-item i { color: var(--teal-dark); font-size: 0.85rem; flex-shrink: 0; }
.vision-mission-stack { display: flex; flex-direction: column; gap: 16px; }
.vm-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.vm-card:hover { border-color: var(--teal-border); box-shadow: var(--shadow-teal); }
.vm-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.vm-header h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.vm-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light);
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.vm-icon.blue { background: var(--blue-light); color: var(--blue-dark); }
.vm-card p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.vm-card ul { display: flex; flex-direction: column; gap: 8px; }
.vm-card ul li {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.vm-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-dark);
  font-size: 0.75rem;
}

/* ── RESEARCH ────────────────────────────────────── */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.research-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.3s var(--ease-spring);
}
.research-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-teal);
  transform: translateY(-5px);
}
.research-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease-spring);
}
.research-card:hover .research-icon-wrap { transform: scale(1.08); }
.research-icon-wrap.teal   { background: var(--teal); }
.research-icon-wrap.purple { background: var(--purple); }
.research-icon-wrap.gold   { background: #d97706; }
.research-icon-wrap.red    { background: var(--red); }
.research-icon-wrap.green  { background: var(--green); }
.research-icon-wrap.cyan   { background: var(--cyan); }
.research-icon-wrap.blue   { background: var(--blue); }
.research-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.research-card p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.research-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.research-tags span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 8px;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  color: var(--teal-dark);
  border-radius: 6px;
}

/* ── PUBLICATIONS ────────────────────────────────── */
.pubs-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--blue-dark);
  margin-bottom: 24px;
}
.pubs-meta i { color: var(--blue); font-size: 0.85rem; flex-shrink: 0; }
.pubs-meta strong { font-weight: 600; }
.publications-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.pub-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 12px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease, transform 0.2s ease;
}
.pub-item:hover { background: var(--bg-subtle); }
.pub-year { flex-shrink: 0; padding-top: 2px; }
.pub-year-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.pub-year-pill.y2026 { background: var(--teal-dark); color: #fff; }  /* #0f766e — 5.47:1 */
.pub-year-pill.y2025 { background: var(--blue-dark); color: #fff; } /* #1d4ed8 — 7.2:1 */
.pub-body { flex: 1; min-width: 0; }
.pub-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 5px;
}
.pub-authors {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 5px;
}
.author-highlight { color: var(--teal-dark); font-weight: 600; font-style: normal; }
.pub-journal {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pub-journal i { font-style: normal; font-size: 0.7rem; }
.pub-badge-wrap { flex-shrink: 0; padding-top: 2px; }
.pub-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.pub-badge.q1   { background: var(--amber-light); color: var(--amber-text); border: 1px solid var(--amber-border); }
.pub-badge.q2   { background: var(--blue-light);  color: var(--blue-dark);  border: 1px solid var(--blue-border); }
.pub-badge.corr { background: var(--teal-light);  color: var(--teal-dark);  border: 1px solid var(--teal-border); }
.pubs-cta { margin-top: 32px; }

/* ── PATENTS ─────────────────────────────────────── */
.patents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.patent-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.3s var(--ease-spring);
}
.patent-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-teal);
  transform: translateY(-5px);
}
.patent-country {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  width: fit-content;
}
.patent-country.india { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.patent-country.uk    { background: var(--blue-light); color: var(--blue-dark); border: 1px solid var(--blue-border); }
.patent-country.de    { background: #f9fafb; color: #374151; border: 1px solid #d1d5db; }
.patent-num {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.patent-card h4 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  flex: 1;
}
.patent-card p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.patent-type-badge {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex; align-items: center; gap: 5px;
  width: fit-content;
  margin-top: auto;
}
.india-badge { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.uk-badge    { background: var(--blue-light); color: var(--blue-dark); border: 1px solid var(--blue-border); }
.de-badge    { background: #f9fafb; color: #374151; border: 1px solid #d1d5db; }

/* ── BOOKS ───────────────────────────────────────── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.book-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.3s var(--ease-spring);
}
.book-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-teal);
  transform: translateY(-5px);
}
.book-icon-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 10px;
  color: var(--teal-dark);
  font-size: 1rem;
  transition: transform 0.3s var(--ease-spring);
}
.book-card:hover .book-icon-wrap { transform: scale(1.08); }
.book-status {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.book-status.published    { background: var(--teal-light);  color: var(--teal-dark);  border: 1px solid var(--teal-border); }
.book-status.forthcoming  { background: var(--amber-light); color: var(--amber-text); border: 1px solid var(--amber-border); }
.book-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.book-publisher {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-subtle);
  display: flex; align-items: center; gap: 6px;
}
.book-authors {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.book-isbn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-subtle);
  padding: 4px 8px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid var(--border);
  width: fit-content;
}
.chapters-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.chapters-heading i { color: var(--amber-text); }
.chapters-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}
.chapter-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}
.chapter-item:last-child { border-bottom: none; }
.chapter-item:hover { background: var(--bg-subtle); }
.chapter-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--amber-text);
  opacity: 0.6;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.chapter-item h5 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.4;
}
.chapter-pub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-style: italic;
}

/* ── EXPERIENCE TIMELINE ─────────────────────────── */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--border-strong));
  border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -29px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--teal);
  z-index: 1;
  transition: transform 0.3s var(--ease-spring);
}
.timeline-item:hover .timeline-dot { transform: scale(1.2); }
.timeline-dot.current {
  background: var(--teal);
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.18);
}
.timeline-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.timeline-date {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.timeline-duration {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--border);
  color: var(--text-subtle);
  border-radius: 100px;
}
.timeline-duration.current-badge {
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid var(--teal-border);
}
.timeline-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.timeline-item:hover .timeline-card { border-color: var(--teal-border); box-shadow: var(--shadow-teal); }
.timeline-role {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.timeline-org {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
}
.timeline-org i { color: var(--text-subtle); font-size: 0.8rem; }
.timeline-duties { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.timeline-duties li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}
.timeline-duties li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--teal-dark);
  font-weight: 700;
}

/* ── EDUCATION ───────────────────────────────────── */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.edu-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.3s var(--ease-spring);
}
.edu-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-teal);
  transform: translateY(-5px);
}
.edu-degree-badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
}
.edu-degree-badge.phd    { background: var(--teal-light);  color: var(--teal-dark);  border: 1px solid var(--teal-border); }
.edu-degree-badge.mpharm { background: var(--blue-light);  color: var(--blue-dark);  border: 1px solid var(--blue-border); }
.edu-degree-badge.bpharm { background: var(--amber-light); color: var(--amber-text); border: 1px solid var(--amber-border); }
.edu-years {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-subtle);
}
.edu-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.edu-institution {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.edu-thesis {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-subtle);
  line-height: 1.55;
}

/* ── SKILLS ──────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.skill-group {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.skill-group:hover { border-color: var(--teal-border); box-shadow: var(--shadow-teal); }
.skill-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.skill-group-header i { color: var(--teal-dark); font-size: 0.95rem; }
.skill-group-header h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  transition: transform 0.2s var(--ease-spring);
}
.skill-tags span:hover { transform: translateY(-1px); }
.tech-tags span {
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  color: var(--teal-dark);
}
.acad-tags span {
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  color: var(--blue-dark);
}

/* ── LEADERSHIP ──────────────────────────────────── */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.leader-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.3s var(--ease-spring);
}
.leader-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-teal);
  transform: translateY(-5px);
}
.leader-icon-wrap {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 10px;
  color: var(--teal-dark);
  font-size: 0.9rem;
  margin-bottom: 14px;
  transition: transform 0.3s var(--ease-spring);
}
.leader-card:hover .leader-icon-wrap { transform: scale(1.1); }
.leader-card h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.leader-card p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.evaluator-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.evaluator-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.evaluator-heading i { color: var(--amber-text); }
.eval-items { display: flex; flex-direction: column; gap: 12px; }
.eval-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.eval-item i { color: var(--teal-dark); font-size: 0.8rem; flex-shrink: 0; margin-top: 3px; }

/* ── CONTACT ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 40px;
  align-items: start;
}
.contact-items {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}
.contact-row:last-child { border-bottom: none; }
.contact-row:hover { background: var(--bg-subtle); }
.contact-icon-wrap {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.contact-detail { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-value {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
a.contact-value:hover { color: var(--teal-dark); }
.text-subtle { color: var(--text-subtle); font-size: 0.78rem; }
.institution-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.inst-icon-row { display: flex; align-items: flex-start; gap: 14px; }
.inst-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 10px;
  color: var(--teal-dark);
  font-size: 1rem;
  flex-shrink: 0;
}
.inst-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.inst-location { font-family: var(--font-body); font-size: 0.8rem; color: var(--text-subtle); }
.inst-dept {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dark);
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.inst-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.inst-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.inst-badge {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  color: var(--teal-dark);
  border-radius: 100px;
  display: flex; align-items: center; gap: 5px;
}

/* ── FOOTER ──────────────────────────────────────── */
#footer {
  background: #ffffff;
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.footer-logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}
.footer-inst { font-family: var(--font-body); font-size: 0.78rem; color: var(--text-subtle); }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer-col ul li a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 7px;
  transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: var(--teal-dark); }
.footer-col ul li a i { font-size: 0.78rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* ── WORKS PAGE TAB-NAV ──────────────────────────── */
.works-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
  width: fit-content;
}
.works-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  text-decoration: none;
  border-right: 1px solid var(--border);
  transition: background 0.2s ease, color 0.2s ease;
}
.works-tab:last-child { border-right: none; }
.works-tab:hover { background: var(--teal-light); color: var(--teal-dark); }
.works-tab.active { background: var(--teal-dark); color: #fff; }
.works-tab i { font-size: 0.8rem; }

.works-section { margin-bottom: 64px; }
.works-section:last-child { margin-bottom: 0; }
.works-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.works-section-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.wsi-pubs   { background: var(--blue-light);  color: var(--blue-dark);  border: 1px solid var(--blue-border); }
.wsi-patents { background: #fff7ed;            color: #b45309;           border: 1px solid var(--amber-border); }
.wsi-books  { background: var(--teal-light);  color: var(--teal-dark);  border: 1px solid var(--teal-border); }
.works-section-header h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}
.works-section-header .works-count {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-subtle);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-mol-visual { width: 52%; opacity: 0.55; }
  .hero-name  { font-size: clamp(3rem, 6vw, 5rem); }
  .patents-grid  { grid-template-columns: repeat(2, 1fr); }
  .with-deco { padding-right: 0; }
  .with-deco::after { display: none; }
}

@media (max-width: 900px) {
  .hero-mol-visual { display: none; }
  .hero-body { padding: 64px 0 48px; }
  .hero-text-col { max-width: 100%; }
  .metrics-row { flex-wrap: wrap; gap: 0; }
  .metric-item { flex-basis: 33.33%; padding: 12px 8px; }
  .metric-div { display: none; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .re-item { grid-template-columns: 52px 1fr; gap: 20px; }
  .re-num { font-size: 2.2rem; }
  section { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 56px 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 20px;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 12px; border-radius: 8px; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .hero-name  { font-size: clamp(2.75rem, 10vw, 4rem); }
  .metric-item { flex-basis: 50%; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card { padding: 28px; }
  .research-grid  { grid-template-columns: 1fr; }
  .patents-grid   { grid-template-columns: 1fr; }
  .books-grid     { grid-template-columns: 1fr; }
  .edu-grid       { grid-template-columns: 1fr; }
  .skills-grid    { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom  { flex-direction: column; gap: 4px; text-align: center; }
  .pub-item { flex-wrap: wrap; }
  #back-to-top { bottom: 20px; right: 20px; }
  .works-tabs { flex-direction: column; width: 100%; }
  .works-tab { border-right: none; border-bottom: 1px solid var(--border); }
  .works-tab:last-child { border-bottom: none; }
  .re-item { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .re-num { font-size: 1.6rem; opacity: 0.06; }
}

@media (max-width: 480px) {
  .hero-name  { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .hero-cta   { flex-direction: column; width: 100%; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary { width: 100%; justify-content: center; }
  .metric-item { flex-basis: 50%; }
  .leadership-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.75rem; }
}

@media print {
  #navbar, #scroll-progress, #back-to-top,
  .hero-cta, .hero-social, .pubs-cta { display: none; }
  section { padding: 32px 0; }
  .reveal { opacity: 1; transform: none; }
  body { font-size: 11pt; }
  .hero-name { font-size: 2.5rem; animation: none; }
}
