:root {
  --cream: #f2ede8;
  --ivory: #ede8e0;
  --blush: #c9a898;
  --rose: #8b5e52;
  --deep: #3a2820;
  --warm: #7a5c4e;
  --soft: #b8a09a;
  --white: #fdfaf7;
  --bg-logo: #e8e0d8;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--cream);
  color: var(--deep);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(242, 237, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58, 40, 32, 0.06);
}
.nav-logo img {
  height: 52px;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--deep);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 4rem 6rem;
  position: relative;
  z-index: 2;
}
.hero-tag {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}
.hero-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--deep);
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-name em {
  font-style: italic;
  color: var(--rose);
}
.hero-sub {
  margin-top: 2rem;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--warm);
  max-width: 360px;
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}
.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--deep);
  display: block;
}
.stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}
.hero-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--deep);
  color: var(--cream);
  padding: 0.85rem 2rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--rose);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--blush);
  color: var(--warm);
  padding: 0.85rem 2rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--deep);
  color: var(--deep);
}

/* HERO RIGHT — foto */
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--ivory);
  top: 5rem;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0;
  animation: fadeIn 1.2s 0.6s forwards;
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cream) 0%, transparent 18%);
  pointer-events: none;
}
.hero-photo-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--cream) 0%, transparent 100%);
  pointer-events: none;
}

/* ABOUT */
.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
}
.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: flex-start;
  margin-top: 0.5rem;
  padding-right: 2rem;
}
.about-content {
  border-left: 1px solid var(--ivory);
  padding-left: 4rem;
}
.about-content h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.about-content h2 em {
  font-style: italic;
  color: var(--rose);
}
.about-bio {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--warm);
  max-width: 580px;
}
.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.highlight-card {
  border-top: 2px solid var(--blush);
  padding-top: 1.5rem;
}
.highlight-icon {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  display: block;
}
.highlight-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: var(--deep);
}
.highlight-desc {
  font-size: 0.76rem;
  color: var(--warm);
  line-height: 1.6;
}

/* EXPERTISE */
.expertise {
  background: var(--deep);
  color: var(--cream);
  padding: 8rem 4rem;
  position: relative;
  overflow: hidden;
}

.expertise-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.expertise-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
}
.expertise-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
}
.expertise-header h2 em {
  font-style: italic;
  color: var(--blush);
}
.expertise-header p {
  max-width: 280px;
  font-size: 0.82rem;
  color: var(--soft);
  line-height: 1.7;
  text-align: right;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.expertise-item {
  background: var(--deep);
  padding: 2.5rem;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
  width: 24rem;
}
.expertise-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}
.expertise-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
.expertise-item:hover::after {
  transform: scaleX(1);
}
.expertise-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.75rem;
  color: var(--rose);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  display: block;
}
.expertise-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
}
.expertise-desc {
  font-size: 0.78rem;
  color: var(--soft);
  line-height: 1.7;
}

/* RESEARCH */
.research {
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.research-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: end;
}
.research-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
}
.research-header h2 em {
  font-style: italic;
  color: var(--rose);
}
.research-header p {
  font-size: 0.88rem;
  color: var(--warm);
  line-height: 1.8;
}
.research-featured {
  background: var(--ivory);
  padding: 3rem;
  border-left: 3px solid var(--rose);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.research-tag {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  background: rgba(139, 94, 82, 0.1);
  display: inline-block;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.5rem;
}
.research-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1rem;
  max-width: 600px;
}
.research-desc {
  font-size: 0.84rem;
  color: var(--warm);
  line-height: 1.8;
  max-width: 580px;
}
.research-meta {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd5cc;
  flex-wrap: wrap;
}
.meta-item {
  font-size: 0.7rem;
  color: var(--soft);
  letter-spacing: 0.05em;
}
.meta-item strong {
  display: block;
  color: var(--warm);
  font-weight: 400;
  margin-bottom: 0.15rem;
}
.publications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.pub-card {
  border: 1px solid var(--ivory);
  padding: 1.8rem;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.pub-card:hover {
  border-color: var(--blush);
  transform: translateY(-3px);
}
.pub-year {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--rose);
  margin-bottom: 0.8rem;
}
.pub-title {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--deep);
  margin-bottom: 0.5rem;
}
.pub-journal {
  font-size: 0.74rem;
  color: var(--soft);
  font-style: italic;
}

/* TEACHING */
.teaching {
  background: var(--ivory);
  padding: 8rem 4rem;
}
.teaching-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}
.teaching-left h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: sticky;
  top: 8rem;
}
.teaching-left h2 em {
  font-style: italic;
  color: var(--rose);
}
.teaching-left p {
  font-size: 0.84rem;
  color: var(--warm);
  line-height: 1.8;
  position: sticky;
  top: 14rem;
}
.teaching-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.teaching-item {
  background: var(--cream);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  transition: background 0.3s;
}
.teaching-item:hover {
  background: var(--white);
}
.teaching-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blush);
  flex-shrink: 0;
}
.teaching-role {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--deep);
}
.teaching-inst {
  font-size: 0.76rem;
  color: var(--warm);
  margin-top: 0.3rem;
}
.teaching-subject {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--rose);
  text-align: right;
}

/* AWARDS */
.awards {
  padding: 6rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.awards h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 3rem;
}
.awards h2 em {
  font-style: italic;
  color: var(--rose);
}
.award-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 3rem;
  align-items: center;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--ivory);
  transition: padding-left 0.3s;
}
.award-row:hover {
  padding-left: 1rem;
}
.award-year {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: var(--rose);
}
.award-title {
  font-size: 0.88rem;
  color: var(--deep);
  line-height: 1.4;
}
.award-event {
  font-size: 0.72rem;
  color: var(--soft);
  text-align: right;
  max-width: 200px;
}

/* CONTACT */
.contact {
  background: var(--deep);
  color: var(--cream);
  padding: 8rem 4rem;
  position: relative;
  overflow: hidden;
}
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
}
.contact h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 2rem;
}
.contact h2 em {
  font-style: italic;
  color: var(--blush);
}
.contact-subtitle {
  font-size: 0.88rem;
  color: var(--soft);
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 3rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.84rem;
  transition:
    color 0.3s,
    gap 0.3s;
}
.contact-link:hover {
  color: var(--blush);
  gap: 1.8rem;
}
.contact-link-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition:
    border-color 0.3s,
    background 0.3s;
  flex-shrink: 0;
}
.contact-link:hover .contact-link-icon {
  border-color: var(--blush);
  background: rgba(201, 168, 152, 0.12);
}
.contact-right {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.contact-right .affil-title {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 2rem;
}
.affil-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.affil-list li {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(253, 250, 247, 0.55);
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    color 0.3s,
    border-color 0.3s;
}
.affil-list li:hover {
  color: var(--cream);
  border-color: var(--blush);
}

/* FOOTER */
.footer-bar {
  background: var(--deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo img {
  height: 36px;
  opacity: 0.5;
  filter: invert(1) brightness(0.7);
}
.footer-copy {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1em;
}
.footer-lattes {
  font-size: 0.68rem;
  color: var(--soft);
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 160, 152, 0.3);
  padding-bottom: 2px;
  transition: color 0.3s;
}
.footer-lattes:hover {
  color: var(--blush);
}

/* 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(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav {
    padding: 1.2rem 1.5rem;
  }
  .nav-links {
    display: none;
  }
  .nav-logo img {
    height: 40px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 7rem 1.8rem 3rem;
  }
  .hero-right {
    height: 100vw;
    min-height: 280px;
  }
  .hero-photo-overlay {
    background: linear-gradient(to bottom, var(--cream) 0%, transparent 20%);
  }
  .about {
    grid-template-columns: 1fr;
    padding: 5rem 1.8rem;
  }
  .section-label {
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 1rem;
    padding-right: 0;
  }
  .about-content {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--ivory);
    padding-top: 2rem;
  }
  .about-highlights {
    grid-template-columns: 1fr;
  }
  .expertise {
    padding: 5rem 1.8rem;
  }
  .expertise-header {
    flex-direction: column;
    gap: 1rem;
  }
  .expertise-header p {
    text-align: left;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .research {
    padding: 5rem 1.8rem;
  }
  .research-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .publications-grid {
    grid-template-columns: 1fr;
  }
  .teaching {
    padding: 5rem 1.8rem;
  }
  .teaching-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .teaching-left h2,
  .teaching-left p {
    position: static;
  }
  .teaching-item {
    grid-template-columns: auto 1fr;
  }
  .teaching-subject {
    display: none;
  }
  .awards {
    padding: 4rem 1.8rem;
  }
  .award-row {
    grid-template-columns: 70px 1fr;
  }
  .award-event {
    display: none;
  }
  .contact {
    padding: 5rem 1.8rem;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bar {
    padding: 1.5rem 1.8rem;
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}
