/* ================================================================
   KAVYA PRAKASH — SCIENTIFIC PORTFOLIO
   Aesthetic: Refined Academic · Elegant Minimalism · International
   Version: 2.0 — Academic + Industry Hybrid Positioning
   ================================================================ */

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  /* ── Ink (Text) ── */
  --ink: #11141c;
  --ink-soft: #252830;
  --ink-muted: #4e5361;
  --ink-faint: #818694;

  /* ── Surface (Background) ── */
  --surface: #f9f8f6;
  --surface-warm: #f2f0ec;
  --surface-card: #ffffff;

  /* ── Accent (Primary) ── */
  --accent: #2d5a4f;
  --accent-light: #3d7a6a;
  --accent-pale: #e8f0ee;

  /* ── Accent (Gold / Industry) ── */
  --accent-gold: #8a7340;
  --accent-gold-pale: #f5f1e8;

  /* ── Border ── */
  --border: rgba(17,20,28,0.08);
  --border-strong: rgba(17,20,28,0.14);

  /* ── Shadow ── */
  --shadow-sm: 0 1px 3px rgba(15,15,14,0.06), 0 1px 2px rgba(15,15,14,0.04);
  --shadow-md: 0 4px 16px rgba(15,15,14,0.08), 0 2px 6px rgba(15,15,14,0.04);
  --shadow-lg: 0 12px 40px rgba(15,15,14,0.10), 0 4px 12px rgba(15,15,14,0.06);

  /* ── Border Radius ── */
  --r: 4px;
  --r-lg: 10px;

  /* ── Typography ── */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  /* ── Layout ── */
  --nav-h: 64px;
  --max-w: 1120px;

  /* ── Transition ── */
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ================================================================
   DARK MODE TOKENS
   ================================================================ */
[data-theme="dark"] {
  --ink: #f0ede6;
  --ink-soft: #d6d2c8;
  --ink-muted: #9a9688;
  --ink-faint: #5c594f;
  --surface: #111110;
  --surface-warm: #191817;
  --surface-card: #1d1c1a;
  --accent: #5aaa94;
  --accent-light: #7abfad;
  --accent-pale: #1a2e2a;
  --accent-gold: #c9a96e;
  --accent-gold-pale: #211e18;
  --border: rgba(240,237,230,0.08);
  --border-strong: rgba(240,237,230,0.14);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

/* ================================================================
   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(--surface);
  color: var(--ink);
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface-warm); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

/* ── Selection ── */
::selection { background: var(--accent-pale); color: var(--accent); }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--ink); }
p { color: var(--ink-soft); }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

/* ================================================================
   UTILITIES
   ================================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}

.section-header { margin-bottom: 56px; }
.section-header .label { margin-bottom: 12px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; }
.section-header p { margin-top: 14px; max-width: 560px; font-size: 1.05rem; }

.divider { width: 40px; height: 1px; background: var(--accent); margin: 20px 0; }

/* ================================================================
   NAVIGATION
   ================================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(248,246,241,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 18px rgba(17,20,28,0.04);
  transition: background var(--transition);
}
[data-theme="dark"] nav { 
  background: rgba(17,17,16,0.88); 
  box-shadow: 0 2px 18px rgba(0,0,0,0.2);
}

.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 20px;
  list-style: none;
}
.nav-links a {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform var(--transition);
}
.nav-links a.active::after,
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 16px; }

/* ── Theme Toggle Button ── */
.theme-btn {
  background: none; border: 1px solid var(--border-strong);
  border-radius: var(--r); width: 36px; height: 36px;
  cursor: pointer; display: grid; place-items: center;
  color: var(--ink-muted); transition: all var(--transition);
}
.theme-btn:hover { background: var(--surface-warm); color: var(--ink); }
.theme-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--r);
  font-family: var(--font-body); font-size: 0.82rem;
  font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; transition: all var(--transition); border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--accent-light); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: var(--surface-warm); border-color: var(--accent); color: var(--accent); }

.btn-secondary {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink-muted);
}
.btn-secondary:hover { background: var(--surface-warm); border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.btn-gold {
  background: var(--accent-gold); color: #fff;
}
.btn-gold:hover { opacity: 0.88; color: #fff; transform: translateY(-1px); }

/* ── Hamburger ── */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--surface);
  padding: 100px 32px 40px;
  flex-direction: column; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.8rem; font-family: var(--font-display);
  color: var(--ink); font-weight: 300;
  border-bottom: 1px solid var(--border); padding-bottom: 16px;
}

/* ================================================================
   HERO
   ================================================================ */
#hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 4vh);
  padding-bottom: 4vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 22px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.hero-bg-decor {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-bg-decor::before {
  content: '';
  position: absolute; top: -10%; right: -5%;
  width: 55%; height: 120%;
  background: linear-gradient(100deg, transparent 0%, var(--surface-warm) 50%, var(--surface-warm) 100%);
  opacity: 0.8;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hero-bg-decor::after {
  content: '';
  position: absolute; bottom: 10%; left: 5%;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-pale) 0%, transparent 70%);
  opacity: 0.5;
}

.hero-text {
  padding: 40px 0 40px 1vw;
  position: relative; z-index: 2;
  animation: fadeUp 0.9s ease both;
}

.hero-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 99px;
  background: var(--accent-pale); border: 1px solid rgba(45,90,79,0.2);
  margin-bottom: 20px;
}
.hero-status .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s ease infinite;
}
.hero-status span {
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.hero-text h1 em {
  font-style: italic; color: var(--accent);
}

.hero-theme {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  color: var(--ink);
  margin: 12px 0 6px;
  font-weight: 400;
  line-height: 1.3;
}

.hero-statement {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: var(--ink-soft);
  margin: 0 0 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
}

.hero-summary {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 580px;
}

.hero-focus {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.focus-tag {
  padding: 5px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  background: var(--surface-card);
  transition: all var(--transition);
}
.focus-tag:hover {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--surface-warm);
}

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero-photo-wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  align-self: center;
  padding-top: 0;
  animation: fadeIn 1.1s ease both 0.2s;
}
.hero-photo-inner {
  position: relative;
  width: min(520px, 100%);
  margin-bottom: 0;
}
.hero-photo-inner img {
  width: 100%;
  aspect-ratio: 4/4.3;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  filter: grayscale(8%) contrast(1.05);
  box-shadow: var(--shadow-lg);
  transition: filter var(--transition);
}
[data-theme="dark"] .hero-photo-inner img {
  filter: grayscale(15%) contrast(1.1) brightness(0.9);
}
.hero-photo-inner::before {
  display: none;
}

/* Hero stats removed */

/* ================================================================
   RESEARCH SNAPSHOT
   ================================================================ */
#snapshot { 
  background: var(--surface-warm); 
  margin-top: -30px; 
  position: relative; 
  z-index: 10; 
  padding-top: 64px; 
}
.snapshot-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px;
}
.snapshot-card {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px 20px;
  text-align: center; cursor: default;
  transition: all var(--transition);
}
.snapshot-card:hover {
  border-color: var(--accent); box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.snapshot-icon { font-size: 1.8rem; margin-bottom: 12px; }
.snapshot-card h3 {
  font-size: 0.9rem; margin-bottom: 8px; font-weight: 500;
  font-family: var(--font-body); color: var(--ink);
}
.snapshot-card p { font-size: 0.84rem; color: var(--ink-muted); margin: 0; }
.snapshot-tags {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
}

/* ================================================================
   TEACHING & MENTORSHIP
   ================================================================ */
#teaching { background: var(--surface-warm); }

/* ================================================================
   SCIENTIFIC COMMUNICATION
   ================================================================ */
#communication { background: var(--surface-warm); }

/* ================================================================
   RESEARCH PROFILE (ABOUT)
   ================================================================ */
#about { background: var(--surface-warm); padding-top: 54px; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start;
}
.about-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 4px;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(8%) contrast(1.05);
  transition: filter var(--transition);
}
[data-theme="dark"] .about-portrait {
  filter: grayscale(15%) contrast(1.1) brightness(0.9);
}
.about-affil {
  margin-top: 24px; padding: 24px 20px;
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--r); border-left: 3px solid var(--accent);
  display: flex; align-items: flex-start; gap: 16px;
}
.about-affil-icon { font-size: 1.6rem; line-height: 1; margin-top: 2px; }
.about-affil-content p:first-child {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); font-weight: 600; margin-bottom: 6px; font-family: var(--font-mono);
}
.about-affil-content p:last-child {
  font-size: 0.95rem; color: var(--ink); line-height: 1.5; margin: 0; font-weight: 400;
}

.about-right h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 8px; }
.about-right .subtitle {
  font-family: var(--font-display); font-style: normal; font-weight: 500;
  color: var(--ink-soft); font-size: 1.25rem; margin-bottom: 24px;
}
.about-right p { margin-bottom: 18px; line-height: 1.75; }

.about-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px;
}
.highlight-item {
  padding: 16px 20px;
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--r);
}
.highlight-item .hi-icon {
  font-size: 1.4rem; margin-bottom: 8px;
}
.highlight-item h4 {
  font-size: 0.85rem; font-weight: 500; font-family: var(--font-body);
  color: var(--ink); margin-bottom: 4px;
}
.highlight-item p { font-size: 0.82rem; color: var(--ink-muted); margin: 0; }

/* ================================================================
   EDUCATION (TIMELINE)
   ================================================================ */
#education { background: var(--surface); }
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 140px; top: 0; bottom: 0;
  width: 1px; background: var(--border-strong);
}
.tl-item {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 0 40px; margin-bottom: 48px; position: relative;
  animation: fadeUp 0.6s ease both;
}
.tl-year {
  text-align: right; padding-top: 4px;
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--ink-faint); letter-spacing: 0.04em;
}
.tl-content {
  padding-left: 36px; padding-bottom: 48px; position: relative;
}
.tl-content::before {
  content: '';
  position: absolute; left: -5px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--accent);
}
.tl-content h3 {
  font-size: 1.45rem; margin-bottom: 6px; font-weight: 500; color: var(--ink);
}
.tl-content .tl-inst {
  font-size: 0.9rem; color: var(--accent); font-weight: 500; margin-bottom: 12px;
}
.tl-content p { font-size: 0.95rem; max-width: 900px; line-height: 1.7; }
.tl-badge {
  display: inline-block; margin-top: 10px;
  padding: 3px 10px; border-radius: 99px;
  background: var(--accent-pale); color: var(--accent);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em;
}

/* ================================================================
   RESEARCH EXPERIENCE
   ================================================================ */
#experience { background: var(--surface-warm); padding: 120px 0; }
.exp-grid { display: grid; gap: 24px; }
.exp-card {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 40px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative; overflow: hidden;
}
.exp-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent);
}
.exp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.exp-card.industry::before { background: var(--accent-gold); }

.exp-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.exp-title { font-size: 1.25rem; margin-bottom: 8px; }
.exp-org { font-size: 0.9rem; color: var(--accent); font-weight: 500; }
.exp-date {
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--ink-faint); white-space: nowrap; padding-top: 4px;
}

.exp-card h4 {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  color: var(--ink); margin: 24px 0 12px; text-transform: uppercase; letter-spacing: 0.04em;
}
.exp-card ul { list-style: none; }
.exp-card ul li {
  font-size: 0.9rem; color: var(--ink-soft);
  padding: 4px 0 4px 18px; position: relative; line-height: 1.75; margin-bottom: 6px;
}
.exp-card ul li::before {
  content: '—'; position: absolute; left: 0; color: var(--accent); font-size: 0.7rem; top: 6px;
}

/* ── Project Description ── */
.exp-project-desc {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-style: italic;
  margin-bottom: 12px;
}

/* ── Tech Tags ── */
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.tech-tag {
  padding: 3px 10px; border-radius: 99px;
  background: var(--accent-pale); color: var(--accent);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em;
}
.tech-tag.gold {
  background: var(--accent-gold-pale); color: var(--accent-gold);
}

/* ================================================================
   TECHNICAL EXPERTISE (SKILLS)
   ================================================================ */
#skills { background: var(--surface); padding: 120px 0; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.skill-cat {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 32px;
  display: flex; flex-direction: column; height: 100%;
}
.skill-cat h3 {
  font-size: 1.05rem; margin-bottom: 4px; font-weight: 400;
}
.skill-cat .sk-sub {
  font-size: 0.78rem; color: var(--accent); letter-spacing: 0.04em;
  text-transform: uppercase; font-family: var(--font-mono); margin-bottom: 20px;
}
.skill-item {
  margin-bottom: 14px;
}
.skill-item-top { display: flex; justify-content: space-between; margin-bottom: 8px; align-items: flex-end; }
.skill-name { font-size: 0.88rem; color: var(--ink-soft); }
.skill-level {
  font-size: 0.75rem; font-family: var(--font-mono);
  color: var(--ink-faint);
}
.skill-bar {
  height: 3px; background: var(--border-strong); border-radius: 99px; overflow: hidden;
}
.skill-fill {
  height: 100%; background: var(--accent); border-radius: 99px;
  width: 0; transition: width 1s cubic-bezier(0.4,0,0.2,1);
}
.skill-fill.gold { background: var(--accent-gold); }

/* ================================================================
   RESEARCH INTERESTS
   ================================================================ */
#interests { background: var(--surface-warm); padding: 120px 0 96px; }
.interests-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px;
}
.interest-card {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 28px;
  text-align: center; cursor: default;
  transition: all var(--transition);
  display: flex; flex-direction: column; height: 100%;
}
.interest-card:hover {
  border-color: var(--accent); background: var(--accent-pale);
  transform: translateY(-3px); box-shadow: var(--shadow-md);
}
.interest-icon { font-size: 2.2rem; margin-bottom: 20px; }
.interest-card h3 { font-size: 1.15rem; margin-bottom: 12px; font-weight: 500; color: var(--ink); }
.interest-card p { font-size: 0.84rem; color: var(--ink-muted); }

/* ================================================================
   PUBLICATIONS
   ================================================================ */
#publications { background: var(--surface); padding: 64px 0; }
.pub-card {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px 36px; margin-bottom: 16px;
  border-left: 4px solid var(--accent); box-shadow: var(--shadow-sm);
}
.pub-type {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.pub-card h3 { font-size: 1.05rem; margin-bottom: 6px; font-weight: 400; line-height: 1.4; }
.pub-card .pub-meta { font-size: 0.85rem; color: var(--ink-muted); }

/* ── Upcoming Publication ── */
.pub-upcoming {
  margin-top: 32px;
  padding: 24px 32px;
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
  border-top: 2px solid var(--accent);
  border-radius: var(--r);
  text-align: center;
  box-shadow: 0 -2px 10px rgba(45, 90, 79, 0.04);
}
.pub-upcoming .pub-badge {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.pub-upcoming .pub-upcoming-title {
  color: var(--ink);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.pub-upcoming .pub-upcoming-desc {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ================================================================
   AWARDS
   ================================================================ */
#awards { background: var(--surface-warm); }
.awards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.award-card {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  text-align: center; transition: all var(--transition);
}
.award-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.award-icon { font-size: 2rem; margin-bottom: 12px; }
.award-card h3 { font-size: 1rem; margin-bottom: 6px; font-weight: 500; font-family: var(--font-body); }
.award-card p { font-size: 0.84rem; color: var(--ink-muted); }
.award-card .aw-year {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--accent); margin-top: 10px; display: block;
}

/* ================================================================
   RESEARCH VISION
   ================================================================ */
#vision {
  background: #254a42;
  color: #fff;
  padding: 96px 0;
}
#vision .label { color: rgba(255,255,255,0.65); }
#vision h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 640px; margin-bottom: 24px; }
#vision p { color: rgba(255,255,255,0.95); max-width: 600px; font-size: 1.05rem; line-height: 1.8; margin-bottom: 16px; }
#vision .divider { background: rgba(255,255,255,0.4); }

/* ================================================================
   WHY KAVYA (CANDIDATE PROFILE)
   ================================================================ */
#why { background: var(--surface); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px;
}
.why-card {
  padding: 28px 24px; border: 1px solid var(--border);
  border-radius: var(--r-lg); background: var(--surface-card);
  transition: all var(--transition);
}
.why-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 400;
  color: var(--accent); opacity: 0.4; line-height: 1; margin-bottom: 16px;
}
.why-card h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 500; font-family: var(--font-body); }
.why-card p { font-size: 0.84rem; color: var(--ink-muted); }

/* ================================================================
   CONTACT
   ================================================================ */
#contact { background: var(--surface-warm); padding-top: 140px; }
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.contact-info h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.contact-info p { margin-bottom: 28px; font-size: 1rem; line-height: 1.75; }
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-link {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--surface-card);
  border: 1px solid var(--border); border-radius: var(--r);
  transition: all var(--transition);
  color: var(--ink);
}
.contact-link:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-link .cl-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--accent-pale); display: grid; place-items: center;
  color: var(--accent); font-size: 1.1rem; flex-shrink: 0;
}
.contact-link .cl-label { font-size: 0.75rem; color: var(--ink-faint); display: block; margin-bottom: 2px; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-link .cl-val { font-size: 0.9rem; color: var(--ink); font-weight: 500; }

/* ── Contact Form ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  background: var(--surface-card); border: 1px solid var(--border-strong);
  border-radius: var(--r); font-family: var(--font-body); font-size: 0.92rem;
  color: var(--ink); transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--ink-soft);
  color: rgba(255,255,255,0.65);
  padding: 48px 0; text-align: center; font-size: 0.85rem;
  line-height: 1.8;
}
[data-theme="dark"] footer { background: #0a0a09; }
footer a { color: rgba(255,255,255,0.8); }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ================================================================
   RESPONSIVE — TABLET (≤900px)
   ================================================================ */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .hero-text { padding: 20px 20px 40px; text-align: center; animation: none; opacity: 1; }
  .hero-summary { margin: 0 auto 20px; }
  .hero-bg-decor::before { display: none; }
  .hero-photo-wrap { padding-top: 0; }
  .hero-photo-inner { width: min(380px, 85%); }
  .hero-focus { justify-content: center; }
  .hero-actions { justify-content: center; }
  #snapshot { margin-top: 0; padding-top: 64px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-left { max-width: 380px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; }
  .about-portrait { max-width: 100%; aspect-ratio: 1/1; margin: 0 auto; display: block; }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .timeline::before { left: 80px; }
  .tl-item { grid-template-columns: 80px 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤600px)
   ================================================================ */
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  #hero { padding-top: var(--nav-h); }
  .hero-stats { grid-template-columns: 1fr; }
  .stat-item { padding: 20px; }
  .timeline::before { left: 0; display: none; }
  .tl-item { grid-template-columns: 1fr; }
  .tl-year { text-align: left; margin-bottom: 4px; }
  .about-highlights { grid-template-columns: 1fr; }
  .exp-card { padding: 24px 20px; }
}
