/* ============ RESET & ROOT ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f2a4a;
  --navy-soft: #1c3d63;
  --gold: #c9a227;
  --gold-light: #e6c458;
  --ivory: #f8f6f1;
  --white: #ffffff;
  --text: #1c1c1c;
  --muted: #5b6472;
  --border: #e6e1d6;
  --shadow: 0 12px 30px rgba(15, 42, 74, 0.08);
  --radius: 16px;
  --transition: 0.35s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 92%; max-width: 1180px; margin: 0 auto; }

.gold { color: var(--gold); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 1.5rem; color: var(--navy);
  letter-spacing: 0.5px;
}
.logo span { color: var(--gold); }

.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 0.94rem; font-weight: 500; color: var(--navy);
  position: relative; padding: 6px 0;
  transition: var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span {
  width: 26px; height: 2.5px; background: var(--navy);
  border-radius: 2px; transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px 0 80px;
  background:
    radial-gradient(circle at 85% 15%, rgba(201,162,39,0.12), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(15,42,74,0.06), transparent 45%),
    var(--ivory);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px; align-items: center;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: 3px;
  font-size: 0.78rem; font-weight: 600; color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; color: var(--navy);
  margin-bottom: 22px;
}

.tagline {
  font-size: 1.06rem; color: var(--muted);
  max-width: 540px; margin-bottom: 34px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
  padding: 13px 30px; border-radius: 50px;
  font-weight: 600; font-size: 0.92rem;
  transition: var(--transition); display: inline-block;
  cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); }

.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }

.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; color: var(--navy); font-weight: 900;
}
.hero-stats span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ============ ENHANCED HERO PHOTO ============ */
.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-wrap {
  position: relative;
  width: 360px;
  height: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Decorative gold ring */
.photo-ring {
  position: absolute;
  inset: -22px;
  border-radius: 200px 200px 30px 30px;
  border: 2px dashed rgba(201, 162, 39, 0.45);
  animation: rotateRing 30s linear infinite;
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Soft glow */
.photo-glow {
  position: absolute;
  inset: 10px;
  border-radius: 200px 200px 30px 30px;
  background: radial-gradient(circle at 50% 30%, rgba(201,162,39,0.35), transparent 65%);
  filter: blur(30px);
  z-index: 0;
}

/* Frame */
.photo-frame {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 420px;
  border-radius: 180px 180px 24px 24px;
  overflow: hidden;
  border: 8px solid #ffffff;
  box-shadow:
    0 30px 60px rgba(15, 42, 74, 0.25),
    0 10px 20px rgba(15, 42, 74, 0.12),
    inset 0 0 0 1px rgba(201, 162, 39, 0.25);
  background: #f8f6f1;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.photo-frame:hover { transform: translateY(-8px) scale(1.02); }

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05) contrast(1.03) brightness(1.02);
}

/* Shine overlay */
.photo-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 45%,
    transparent 60%
  );
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Floating badges */
.photo-badge {
  position: absolute;
  background: #ffffff;
  padding: 11px 20px;
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(15, 42, 74, 0.15);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid rgba(201, 162, 39, 0.35);
  z-index: 2;
  animation: floatBadge 4s ease-in-out infinite;
}

.photo-badge i { color: var(--gold); font-size: 0.95rem; }

.badge-top {
  top: 30px;
  right: -20px;
  animation-delay: 0s;
}
.badge-bottom {
  bottom: 40px;
  left: -30px;
  animation-delay: 2s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .photo-wrap { width: 300px; height: 380px; }
  .photo-frame { width: 260px; height: 340px; }
  .photo-ring { inset: -14px; }
  .badge-top { right: -8px; top: 10px; font-size: 0.75rem; padding: 8px 14px; }
  .badge-bottom { left: -8px; bottom: 20px; font-size: 0.75rem; padding: 8px 14px; }
}
.scroll-down {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--navy); font-size: 1.2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ============ SECTION ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--white); }

.section-head { margin-bottom: 60px; position: relative; }
.section-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--gold); letter-spacing: 3px;
  display: block; margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900; color: var(--navy);
}
.section-head::after {
  content: ''; display: block; width: 70px; height: 4px;
  background: var(--gold); margin-top: 18px; border-radius: 2px;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 60px; align-items: start;
}
.about-text p { color: var(--muted); margin-bottom: 20px; font-size: 1.02rem; }
.about-text strong { color: var(--navy); }

.about-facts {
  list-style: none; display: flex; gap: 26px; flex-wrap: wrap;
  margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border);
}
.about-facts li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: var(--navy); font-weight: 500;
}
.about-facts i { color: var(--gold); }

.about-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.highlight-card {
  background: var(--ivory);
  padding: 28px 22px; border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.highlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.highlight-card i {
  font-size: 1.6rem; color: var(--gold); margin-bottom: 14px;
}
.highlight-card h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.highlight-card p { font-size: 0.86rem; color: var(--muted); }

/* ============ TIMELINE ============ */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 42px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute; left: -35px; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-content {
  background: var(--white);
  padding: 24px 28px; border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.timeline-content:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.year {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  color: var(--gold); letter-spacing: 2px; margin-bottom: 6px;
}
.timeline-content h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 4px; }
.inst { font-size: 0.93rem; color: var(--muted); }
.meta { font-size: 0.85rem; color: var(--navy); font-weight: 600; margin-top: 6px; }

/* ============ EXPERIENCE ============ */
.exp-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px; margin-bottom: 60px;
}
.exp-card {
  background: var(--white);
  padding: 34px 28px; border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative; transition: var(--transition);
}
.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.exp-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.exp-card h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 8px; }
.exp-card .inst { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  color: var(--navy); background: rgba(201,162,39,0.15);
  padding: 5px 14px; border-radius: 50px; letter-spacing: 1px;
  text-transform: uppercase;
}

.teaching-area h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 18px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  background: var(--ivory); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.84rem; color: var(--navy); font-weight: 500;
  transition: var(--transition);
}
.chips span:hover {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

/* ============ PUBLICATIONS ============ */
.pub-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.pub-card {
  background: var(--ivory);
  padding: 34px 30px; border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative; transition: var(--transition);
  overflow: hidden;
}
.pub-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: var(--transition);
}
.pub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.pub-card:hover::before { transform: scaleY(1); }

.pub-journal {
  display: inline-block; font-size: 0.74rem; font-weight: 700;
  color: var(--gold); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 14px;
}
.pub-card h3 {
  font-size: 1.15rem; color: var(--navy);
  margin-bottom: 14px; line-height: 1.4;
}
.pub-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.issn { font-size: 0.8rem; color: var(--navy); font-weight: 600; }
.pub-card.coming { opacity: 0.85; border-style: dashed; }

/* ============ SKILLS ============ */
.skills-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
}
.skill-block {
  background: var(--white); padding: 32px 28px;
  border-radius: var(--radius); border: 1px solid var(--border);
  transition: var(--transition);
}
.skill-block:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.skill-block h4 {
  font-size: 1.05rem; color: var(--navy);
  margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.skill-block h4 i { color: var(--gold); }

/* ============ QUOTE ============ */
.quote-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white); text-align: center;
}
.quote-section i { font-size: 2.4rem; color: var(--gold); margin-bottom: 20px; }
.quote-section p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  font-style: italic; max-width: 800px; margin: 0 auto; line-height: 1.6;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-bottom: 60px;
}
.contact-card {
  background: var(--ivory); padding: 36px 26px;
  border-radius: var(--radius); border: 1px solid var(--border);
  text-align: center; transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow);
}
.contact-card i { font-size: 1.6rem; color: var(--gold); margin-bottom: 14px; }
.contact-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.contact-card p { font-size: 0.88rem; color: var(--muted); word-break: break-word; }

/* References */
.references { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--border); }
.references h4 { font-size: 1.15rem; color: var(--navy); margin-bottom: 24px; }
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ref-card {
  background: var(--ivory); padding: 24px; border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  display: flex; flex-direction: column; gap: 5px;
}
.ref-card strong { color: var(--navy); font-size: 0.98rem; }
.ref-card span { font-size: 0.85rem; color: var(--muted); }
.ref-card a { font-size: 0.85rem; color: var(--gold); font-weight: 600; }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.75);
  padding: 30px 0; font-size: 0.85rem;
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.quote-mini { color: var(--gold); font-style: italic; }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-cta, .hero-stats { justify-content: center; }
  .tagline { margin-left: auto; margin-right: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; gap: 0;
    padding: 20px 0; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { padding: 12px 0; }

  .about-highlights { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .photo-frame { width: 270px; height: 340px; }
  .section { padding: 70px 0; }
  .timeline { padding-left: 30px; }
  .timeline-dot { left: -26px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .btn { padding: 11px 22px; font-size: 0.86rem; }
  .footer-inner { justify-content: center; text-align: center; }
}