:root {
  --ivory: #f8f5f0;
  --deep: #1a1410;
  --wine: #7c2d3e;
  --gold: #c9a96e;
  --blush: #e8d5c4;
  --sage: #8fa89a;
  --text: #3a2e26;
  --muted: #7a6e65;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--ivory);
  color: var(--text);
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  background: var(--deep);
  padding: 70px 60px 80px 80px;
  position: relative;
}

.hero-left::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  width: 80px;
  height: 100%;
  background: var(--deep);
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  z-index: 2;
}

.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  margin-bottom: 20px;
  width: fit-content;
}

.hero-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards 0.2s;
}

.hero-name em {
  font-style: italic;
  color: var(--gold);
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 300;
  color: var(--blush);
  letter-spacing: 0.5px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.4s;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.5s;
}

.hero-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 380px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.6s;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.8s;
}

.stat-item {
  text-align: center;
}
.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}

.hero-right {
  background: var(--blush);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0px 80px 80px 100px;
  position: relative;
}

.hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a96e' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.affiliation-card {
  background: white;
  padding: 20px;
  top: -90px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.5s;
}

.affil-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 16px;
}

.affil-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--deep);
  line-height: 1.3;
  margin-bottom: 8px;
}

.affil-dept {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.affil-badge {
  display: inline-block;
  margin-top: 20px;
  background: var(--wine);
  color: white;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.2s;
  z-index: 10;
}
.scroll-hint span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 60px;
  display: flex;
  background-color: transparent;
  justify-content: space-between;
  align-items: center;
  transition:
    background 0.4s,
    padding 0.4s;
}
nav.scrolled {
  background: rgba(248, 245, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1px;
}
nav.scrolled .nav-logo {
  color: var(--wine);
}
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  transition: color 0.3s;
}
nav.scrolled .nav-links a {
  color: var(--muted);
}
.nav-links a:hover {
  color: var(--gold) !important;
}

/* ── SECTIONS ── */
section {
  padding: 100px 80px;
}

.section-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::after {
  content: "";
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--wine);
  opacity: 0.4;
}

.section-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 60px;
}

/* ── ABOUT ── */
.about-section {
  background: white;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.about-sidebar {
  position: sticky;
  top: 100px;
}

.about-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 24px;
}

.memberships {
  margin-top: 40px;
}
.membership-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--blush);
}
.membership-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}
.membership-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── EXPERIENCE ── */
.experience-section {
  background: var(--ivory);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 180px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding-bottom: 60px;
  position: relative;
}
.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-date {
  text-align: right;
  padding-right: 40px;
  padding-top: 4px;
}
.timeline-year {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--wine);
}
.timeline-period {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 4px;
}

.timeline-dot {
  position: absolute;
  left: 174px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--ivory);
  z-index: 1;
}

.timeline-content {
  padding-left: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--blush);
}
.timeline-item:last-child .timeline-content {
  border-bottom: none;
}

.timeline-role {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 4px;
}
.timeline-org {
  font-size: 13px;
  color: var(--wine);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  font-weight: 500;
}
.timeline-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}
.timeline-desc li {
  list-style: none;
  padding: 4px 0;
  display: flex;
  gap: 10px;
}
.timeline-desc li::before {
  content: "—";
  color: var(--gold);
}

/* ── EXPERTISE ── */
.expertise-section {
  background: var(--deep);
  color: white;
}
.expertise-section .section-label {
  color: var(--gold);
}
.expertise-section .section-heading {
  color: white;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.expertise-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 44px 36px;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.expertise-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.expertise-card:hover {
  background: rgba(255, 255, 255, 0.08);
}
.expertise-card:hover::before {
  transform: scaleX(1);
}

.expertise-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}
.expertise-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: white;
  margin-bottom: 12px;
}
.expertise-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  font-weight: 300;
}

/* ── RESEARCH ── */
.research-section {
  background: var(--blush);
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.research-card {
  background: white;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.research-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.1);
}
.research-type {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 16px;
}
.research-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--deep);
  line-height: 1.5;
  margin-bottom: 16px;
}
.research-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}
.research-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--wine);
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: 500;
  transition: gap 0.3s;
}
.research-link:hover {
  gap: 14px;
}

/* ── BOOKS ── */
.books-section {
  background: white;
}
.book-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.book-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 30px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--blush);
}
.book-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--blush);
  line-height: 1;
  text-align: right;
}
.book-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 8px;
  line-height: 1.5;
}
.book-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}
.book-year {
  display: inline-block;
  background: var(--blush);
  padding: 3px 10px;
  font-size: 11px;
  color: var(--wine);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ── CONTACT ── */
.contact-section {
  background: var(--deep);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.contact-section .section-label {
  color: var(--gold);
}
.contact-section .section-heading {
  color: white;
  margin-bottom: 40px;
}

.contact-intro {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.9;
  font-weight: 300;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-info-value {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-weight: 300;
}

.contact-info-value a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-info-value a:hover {
  color: var(--gold);
}

/* ── FOOTER ── */
footer {
  background: #100d0a;
  padding: 30px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 1px;
}
.footer-reg {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

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

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 70px 40px 60px;
  }
  .hero-left::after {
    display: none;
  }
  .hero-right {
    padding: 60px 40px;
  }
  .about-section,
  .research-grid,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 0;
  }
  .timeline-item {
    grid-template-columns: 1fr;
  }
  .timeline-date {
    text-align: left;
    padding-right: 0;
    padding-left: 30px;
  }
  .timeline-dot {
    left: -6px;
  }
  .timeline-content {
    padding-left: 30px;
  }
  section {
    padding: 60px 40px;
  }
  nav {
    padding: 10px 20px;
  }
  footer {
    flex-direction: column;
    gap: 10px;
    padding: 24px 40px;
  }
}
