/* =========================================================
   Base & Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0f2744;
  --gold:   #c9962a;
  --gold-light: #e8b84b;
  --cream:  #fdf8f2;
  --white:  #ffffff;
  --text:   #1a1a2e;
  --muted:  #5a6073;
  --border: #e2d9ce;
  --card-bg: #ffffff;
  --alt-bg: #f5f0ea;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(15,39,68,.10);
  --shadow-lg: 0 8px 40px rgba(15,39,68,.15);
  --transition: 0.25s ease;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* =========================================================
   Navigation
   ========================================================= */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: .25rem;
}

.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  font-weight: 500;
  padding: .4rem .7rem;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(201,150,42,.18);
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1b3a6b 60%, #2b4f8a 100%);
  color: white;
  padding: 5rem 1.5rem 4.5rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.hero-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 5px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(201,150,42,.2), var(--shadow-lg);
  flex-shrink: 0;
  margin-top: 1.5rem;
}

.hero-text { flex: 1; min-width: 280px; }

.hero-label {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .5rem;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-links { display: flex; gap: .75rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: .6rem 1.4rem;
  border-radius: 40px;
  font-size: .9rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  border: 2px solid rgba(255,255,255,.5);
  color: white;
}

.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--alt-bg); }

.container { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: .5rem;
  position: relative;
  padding-bottom: .75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 52px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 2.5rem;
  margin-top: 1rem;
}

.section-subtitle a { color: var(--gold); text-decoration: underline; }

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}

.about-text p { margin-bottom: 1.1rem; font-size: 1.02rem; color: #2a2a3e; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  line-height: 1.3;
}

/* =========================================================
   Timeline
   ========================================================= */
.timeline {
  margin-top: 2.5rem;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: .5rem;
  top: .5rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.2rem;
  padding-left: 1.5rem;
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: .45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}

.section-alt .timeline-dot { border-color: var(--alt-bg); }

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: .15rem;
}

.timeline-org {
  font-weight: 600;
  color: var(--gold);
  font-size: .93rem;
  margin-bottom: .1rem;
}

.timeline-date {
  font-size: .83rem;
  color: var(--muted);
  margin-bottom: .3rem;
}

.timeline-content p { font-size: .95rem; color: #3a3a50; }

/* =========================================================
   Books
   ========================================================= */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.book-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--gold);
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.book-year {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
  margin-bottom: .4rem;
}

.book-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.4;
}

.book-publisher {
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
}

.book-note {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .25rem;
}

.edition {
  font-size: .75rem;
  background: var(--gold);
  color: var(--navy);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 700;
  vertical-align: middle;
}

/* =========================================================
   Publications
   ========================================================= */
.pub-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.pub-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.pub-item:hover { background: rgba(201,150,42,.07); }

.pub-year {
  font-weight: 700;
  font-size: .88rem;
  color: var(--gold);
  min-width: 44px;
  padding-top: .15rem;
}

.pub-details h4 {
  font-size: .97rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .15rem;
  line-height: 1.45;
}

.pub-details p {
  font-size: .85rem;
  color: var(--muted);
}

.research-project {
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2.5rem;
}

.research-project h3 {
  font-family: var(--font-serif);
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.research-project p { margin-bottom: .6rem; font-size: .95rem; opacity: .9; }

/* =========================================================
   Awards
   ========================================================= */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.award-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.award-icon { font-size: 2rem; margin-bottom: .75rem; }

.award-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.4;
}

.award-card p { font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* =========================================================
   Contact
   ========================================================= */
.contact-container { text-align: center; }
.contact-container .section-title::after { left: 50%; transform: translateX(-50%); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  text-align: left;
}

.contact-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.contact-icon { font-size: 2rem; margin-bottom: .75rem; }

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: .3rem;
}

.contact-card p { font-size: .88rem; color: var(--muted); }

/* =========================================================
   Footer
   ========================================================= */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 1.75rem 1rem;
  font-size: .88rem;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 62px;
    left: 0; right: 0;
    background: var(--navy);
    padding: 1rem 1.5rem 1.5rem;
    gap: .1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero-inner { flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
  .hero-links { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }

  .timeline { padding-left: 1.5rem; }
}

@media (max-width: 520px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-photo { width: 150px; height: 150px; }
}
