﻿/* ═══════════════════════════════════════════════════════════
   ACADEMIC PORTFOLIO — Navy & Gold Theme
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  --navy-950: #030D1C;
  --navy-900: #0B1F3A;
  --navy-800: #102844;
  --navy-700: #1B3A5C;
  --navy-600: #214A72;
  --navy-500: #2E6199;
  --navy-200: #8AAFD0;
  --navy-100: #D0E1F2;
  --gold-600: #A07800;
  --gold-500: #C9A84C;
  --gold-400: #D4B96A;
  --gold-300: #E8D49A;
  --gold-100: #FBF5E6;
  --white:    #FFFFFF;
  --gray-50:  #F7FAFD;
  --gray-100: #EDF2FA;
  --gray-200: #D5E1EF;
  --gray-400: #7A99BB;
  --gray-600: #3D5A7A;
  --text-dark: #0B1F3A;
  --text-mid:  #3D5A7A;
  --text-light: #7A99BB;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11,31,58,0.08);
  --shadow-md: 0 8px 32px rgba(11,31,58,0.12);
  --shadow-lg: 0 20px 60px rgba(11,31,58,0.18);
  --shadow-gold: 0 0 30px rgba(201,168,76,0.15);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-h: 72px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; font-family: 'Inter', sans-serif; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-mid); line-height: 1.8; }
.gold-text    { color: var(--gold-500); }
.navy-text    { color: var(--navy-700); }
.section-tag  {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}
.section-tag::before { content: '─── '; }
.section-tag::after  { content: ' ───'; }

/* ─── LAYOUT ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 100px 0; }
.section-dark { background: var(--navy-900); }
.section-gray { background: var(--gray-50); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
  cursor: pointer; border: none;
}
.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy-700);
  border: 1.5px solid var(--navy-200);
}
.btn-outline-navy:hover {
  border-color: var(--navy-600);
  background: var(--gray-100);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  transition: var(--transition);
  padding: 0;
}
.navbar.transparent { background: transparent; }
.navbar.scrolled {
  background: rgba(11,31,58,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.nav-container {
  max-width: 1160px; margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
}
.logo-initials {
  width: 40px; height: 40px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-text {
  font-size: 0.95rem; font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem; font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-400);
  background: rgba(201,168,76,0.1);
}
.nav-link.active::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-500);
}
.nav-cta { margin-left: 1rem; }
.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--white); font-size: 1.5rem;
  cursor: pointer;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--navy-950);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(46,97,153,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(27,58,92,0.4) 0%, transparent 60%);
  animation: heroBgShift 12s ease-in-out infinite alternate;
}
@keyframes heroBgShift {
  0%   { opacity: 1; }
  50%  { opacity: 0.85; }
  100% { opacity: 1; }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem; align-items: center;
}
.hero-text { max-width: 720px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.eyebrow-line {
  width: 40px; height: 1.5px;
  background: var(--gold-500);
}
.eyebrow-text {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-400);
}
.hero-name {
  color: var(--white);
  margin-bottom: 0.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.35s forwards;
}
.hero-name .placeholder-tag {
  color: rgba(255,255,255,0.3);
  font-size: 0.4em;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  vertical-align: middle;
  border: 1px dashed rgba(255,255,255,0.2);
  padding: 2px 8px; border-radius: 4px;
}
.hero-title {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.5s forwards;
}
.hero-affil {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; color: var(--navy-200);
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.affil-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-500); flex-shrink: 0;
}
.hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  line-height: 1.8; margin-bottom: 2.5rem; max-width: 600px;
  opacity: 0; animation: fadeUp 0.8s 0.7s forwards;
}
.hero-keywords {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.keyword-chip {
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 500;
  color: var(--gold-300);
  background: rgba(201,168,76,0.06);
  transition: var(--transition);
}
.keyword-chip:hover {
  border-color: var(--gold-400);
  background: rgba(201,168,76,0.12);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  opacity: 0; animation: fadeUp 0.8s 0.9s forwards;
}
.hero-socials {
  display: flex; gap: 0.75rem; margin-top: 2rem;
  opacity: 0; animation: fadeUp 0.8s 1.0s forwards;
}
.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
  background: rgba(201,168,76,0.1);
  transform: translateY(-2px);
}
.hero-photo-wrap {
  opacity: 0; animation: fadeIn 1s 0.4s forwards;
  flex-shrink: 0;
}
.hero-photo {
  width: 320px; height: 320px; border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 5px rgba(201,168,76,0.3), 0 24px 64px rgba(0,0,0,0.55);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  }
.photo-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--gold-500), transparent 60%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: rotateBorder 8s linear infinite;
}
@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.photo-placeholder {
  width: 240px; height: 240px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 100%);
  border: 3px solid rgba(201,168,76,0.3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
}
.photo-placeholder .initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}
.photo-placeholder .photo-hint {
  font-size: 0.65rem; color: rgba(255,255,255,0.3);
  text-align: center;
}
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeIn 1s 1.5s forwards;
}
.scroll-text {
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--navy-200);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; height: 40px; }
  50% { opacity: 0.4; height: 30px; }
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--navy-800);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center; padding: 1rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem; font-weight: 500;
  color: var(--navy-200);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-bio h2 { color: var(--navy-900); margin-bottom: 1.5rem; }
.about-bio p  { margin-bottom: 1.2rem; }
.about-bio p:last-child { margin-bottom: 0; }
.about-highlight {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--gold-100);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.about-highlight-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.about-highlight p { margin: 0; font-size: 0.9rem; color: var(--navy-700); }
.about-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.about-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex; gap: 1.2rem; align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.about-card:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.about-card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.about-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--navy-800); margin-bottom: 0.25rem; }
.about-card p  { font-size: 0.83rem; color: var(--text-light); margin: 0; line-height: 1.5; }

/* ─── RESEARCH CARDS ─── */
.research-grid { display: flex; flex-direction: column; gap: 3rem; }
.research-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: grid; grid-template-columns: 1fr 1.2fr;
}
.research-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-300);
  transform: translateY(-4px);
}
.research-card-visual {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: 3rem 2.5rem;
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative; overflow: hidden;
  min-height: 360px;
}
.research-card-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.paper-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 700;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  position: relative; z-index: 1;
}
.journal-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 0.05em;
  position: relative; z-index: 1;
}
.journal-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.status-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 500;
  color: rgba(255,255,255,0.5);
  position: relative; z-index: 1;
  margin-top: 0.75rem;
}
.status-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #4CAF50;
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.research-card-body { padding: 3rem; }
.research-card-body h3 {
  color: var(--navy-900);
  margin-bottom: 1rem; line-height: 1.35;
}
.research-card-body > p {
  font-size: 0.92rem; margin-bottom: 1.5rem;
}
.method-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.method-chip {
  padding: 0.25rem 0.75rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--navy-700);
}
.highlights-list { margin-bottom: 2rem; }
.highlights-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.88rem; color: var(--text-mid);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.6;
}
.highlights-list li:last-child { border-bottom: none; }
.highlight-bullet {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0; margin-top: 0.45rem;
}

/* ─── PUBLICATIONS PAGE ─── */
.pub-list { display: flex; flex-direction: column; gap: 1.5rem; }
.pub-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  padding-left: 2.5rem;
}
.pub-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; border-radius: 4px 0 0 4px;
  background: var(--gold-500);
}
.pub-item.second-author::before { background: var(--navy-500); }
.pub-item:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.pub-meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  align-items: center; margin-bottom: 0.6rem;
}
.pub-type {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--gold-100);
  color: var(--gold-600);
}
.pub-type.second { background: var(--navy-100); color: var(--navy-700); }
.pub-journal { font-size: 0.8rem; color: var(--text-light); font-style: italic; }
.pub-year {
  font-size: 0.78rem; font-weight: 600;
  color: var(--gold-500);
  margin-left: auto;
}
.pub-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 600;
  color: var(--navy-900); line-height: 1.4;
  margin-bottom: 0.5rem;
}
.pub-authors {
  font-size: 0.83rem; color: var(--text-light);
  margin-bottom: 0.75rem;
}
.pub-authors .you { color: var(--navy-600); font-weight: 600; }
.pub-actions {
  display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.75rem;
}
.pub-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.8rem;
  border-radius: 100px; font-size: 0.72rem; font-weight: 600;
  border: 1px solid;
  transition: var(--transition);
}
.pub-tag-green {
  color: #2E7D32; border-color: #A5D6A7;
  background: #F1F8E9;
}
.pub-tag-blue {
  color: var(--navy-600); border-color: var(--navy-200);
  background: var(--gray-50);
}
.pub-tag-gold {
  color: var(--navy-900); border-color: var(--gold-400);
  background: var(--gold-500);
  font-weight: 700;
}
.pub-tag-gold:hover { background: var(--gold-400); }
.pub-tag:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.abstract-toggle {
  background: none; border: none; cursor: pointer;
  font-size: 0.8rem; font-weight: 600; color: var(--navy-500);
  display: flex; align-items: center; gap: 0.3rem;
  transition: var(--transition);
}
.abstract-toggle:hover { color: var(--gold-600); }
.abstract-body {
  display: none; margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.85rem; color: var(--text-mid);
  line-height: 1.8;
  border-left: 3px solid var(--gold-300);
}
.abstract-body.open { display: block; animation: fadeUp 0.3s ease; }

/* ─── CV PAGE ─── */
.cv-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.cv-sidebar {}
.cv-sidebar .profile-card {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center; margin-bottom: 2rem;
}
.cv-sidebar .profile-photo {
  width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  border: 3px solid rgba(201,168,76,0.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 700; color: var(--gold-400);
  overflow: hidden;
  transform: translateZ(0);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.cv-sidebar h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.3rem; }
.cv-sidebar .cv-title { color: var(--gold-300); font-size: 0.85rem; margin-bottom: 1.2rem; }
.cv-contact-items { display: flex; flex-direction: column; gap: 0.75rem; text-align: left; }
.cv-contact-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.83rem; color: var(--navy-200);
}
.cv-contact-item i { color: var(--gold-400); width: 16px; flex-shrink: 0; }
.cv-skills-section { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 1.8rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.cv-skills-section h4 { color: var(--navy-800); margin-bottom: 1.2rem; font-size: 0.95rem; display: flex; align-items: center; gap: 0.5rem; }
.skill-group { margin-bottom: 1rem; }
.skill-group:last-child { margin-bottom: 0; }
.skill-group-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 0.5rem; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.skill-tag {
  padding: 0.22rem 0.65rem;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 100px; font-size: 0.73rem; font-weight: 500;
  color: var(--navy-700);
  transition: var(--transition);
}
.skill-tag:hover { background: var(--navy-100); border-color: var(--navy-200); }
.skill-tag.primary { background: var(--navy-900); color: var(--gold-300); border-color: rgba(201,168,76,0.3); }
.cv-download-btn {
  width: 100%; padding: 0.85rem;
  background: var(--gold-500); border: none; border-radius: var(--radius-sm);
  color: var(--navy-900); font-weight: 700; font-size: 0.9rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: var(--transition);
}
.cv-download-btn:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 16px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--gold-500), var(--navy-200));
}
.timeline-item { position: relative; padding-left: 52px; margin-bottom: 2.5rem; }
.timeline-dot {
  position: absolute; left: 8px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.timeline-item:first-child .timeline-dot { background: var(--gold-500); }
.timeline-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.timeline-card:hover { border-color: var(--gold-300); box-shadow: var(--shadow-md); }
.timeline-period {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-500); margin-bottom: 0.3rem;
}
.timeline-card h4 { color: var(--navy-800); margin-bottom: 0.15rem; font-size: 1rem; }
.timeline-institution {
  font-size: 0.85rem; color: var(--navy-500); font-weight: 500; margin-bottom: 0.75rem;
}
.timeline-details { font-size: 0.83rem; color: var(--text-mid); line-height: 1.7; }
.timeline-details li { padding: 0.15rem 0; padding-left: 1rem; position: relative; }
.timeline-details li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--gold-500); font-size: 0.75rem;
}

/* ─── CONTACT PAGE ─── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-info h2 { color: var(--white); margin-bottom: 1rem; }
.contact-info > p { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.5rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.contact-item:hover { border-color: rgba(201,168,76,0.3); background: rgba(201,168,76,0.05); }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: rgba(201,168,76,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold-400);
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-400); margin-bottom: 0.2rem;
}
.contact-item-value { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.contact-item-value a { color: var(--navy-200); transition: var(--transition); }
.contact-item-value a:hover { color: var(--gold-300); }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 { color: var(--navy-900); margin-bottom: 0.5rem; }
.contact-form-card > p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--navy-700); margin-bottom: 0.4rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  color: var(--text-dark); background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(46,97,153,0.1);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%; padding: 0.9rem;
  background: var(--navy-800); border: none;
  border-radius: var(--radius-sm);
  color: var(--gold-300); font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.05em;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.form-submit:hover {
  background: var(--navy-700);
  color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,31,58,0.3);
}
.note-box {
  padding: 1rem 1.2rem;
  background: var(--gold-100);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem; color: var(--navy-700);
  margin-top: 1rem;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--navy-900);
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--white); font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 0.75rem;
}
.page-hero p { color: var(--navy-200); font-size: 1rem; max-width: 580px; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--navy-200);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--gold-400); }
.breadcrumb-sep { color: var(--navy-500); }

/* ─── FOOTER ─── */
.footer {
  background: var(--navy-950);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(201,168,76,0.1);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-left .footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-left p { font-size: 0.8rem; color: var(--navy-200); margin: 0; }
.footer-links {
  display: flex; gap: 1.5rem;
}
.footer-links a {
  font-size: 0.82rem; color: var(--navy-200);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom {
  text-align: center; margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.75rem; color: var(--navy-400, #4A6080);
}
.footer-bottom span { color: var(--gold-600); }

/* ─── PLACEHOLDER STYLING ─── */
.placeholder {
  background: rgba(201,168,76,0.1);
  border: 1px dashed rgba(201,168,76,0.4);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.75em;
  color: var(--gold-500) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  white-space: nowrap;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── DIVIDER ─── */
.gold-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px; margin-bottom: 2.5rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: -1; text-align: center; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .research-card { grid-template-columns: 1fr; }
  .research-card-visual { min-height: 200px; }
  .cv-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--navy-900);
    padding: 1.5rem;
    border-top: 1px solid rgba(201,168,76,0.15);
    gap: 0.5rem;
  }
  .nav-links.mobile-open + .nav-cta { display: none; }
  h1 { font-size: 2.5rem; }
  .section { padding: 70px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid-cards { grid-template-columns: 1fr 1fr; }
}

/* ─── CONTACT GRID CARDS ─── */
.contact-card-link { text-decoration: none; color: inherit; display: block; }
.contact-grid-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem;
  min-height: 160px;
}
.contact-grid-card:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.contact-grid-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--gold-400);
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}
.contact-grid-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-600);
}
.contact-grid-value {
  font-size: 0.82rem; color: var(--text-mid);
  line-height: 1.5; text-align: center;
  word-break: break-all;
}
.contact-card-link:hover .contact-grid-value {
  color: var(--navy-700);
}




