/* Core layout */
:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-alt: #f5f2ed;
  --text: #1a1410;
  --text-muted: #5d5247;
  --accent: #d4941f;
  --accent-soft: rgba(212, 148, 31, 0.08);
  --shell-width: 1140px;
  --shadow: 0 12px 28px -12px rgba(212, 148, 31, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  background: radial-gradient(circle at top left, rgba(212, 148, 31, 0.04), transparent 50%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.shell {
  width: min(100%, var(--shell-width));
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 20, 16, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  transition: color 0.3s ease;
}

.nav__links a:hover,
.nav__links a:focus {
  color: var(--accent);
}

/* Hero */
.hero {
  padding-bottom: 72px;
  background: linear-gradient(135deg, rgba(245, 242, 237, 0.95), rgba(255, 250, 240, 0.85));
  border-bottom: 1px solid rgba(26, 20, 16, 0.08);
}

.hero__content {
  display: grid;
  gap: 56px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  padding: 96px 24px 0;
}

.hero__badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 28px 0 16px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.1;
}

.hero p {
  margin: 0 0 24px;
  color: var(--text-muted);
  max-width: 48ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.btn--primary:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid rgba(26, 20, 16, 0.2);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero__media {
  display: flex;
  justify-content: center;
}

.portrait {
  width: min(280px, 80%);
  border-radius: 50%;
  overflow: hidden;
  border: none;
  box-shadow: 0 18px 40px -22px rgba(26, 20, 16, 0.35);
  background: var(--surface);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Sections */
.section {
  padding: clamp(64px, 10vw, 92px) 0;
}

.section--muted {
  background: rgba(245, 242, 237, 0.6);
  border-top: 1px solid rgba(26, 20, 16, 0.06);
  border-bottom: 1px solid rgba(26, 20, 16, 0.06);
}

.section__inner {
  display: grid;
  gap: 32px;
}

.section__header {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.section__header h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.section__header p {
  margin: 0;
  color: var(--text-muted);
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.split {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  color: var(--text-muted);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(26, 20, 16, 0.1);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 20px -12px rgba(26, 20, 16, 0.08);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.timeline li {
  display: grid;
  gap: 10px;
  grid-template-columns: 92px 1fr;
  align-items: start;
  background: var(--surface);
  border-radius: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(26, 20, 16, 0.1);
}

.timeline__date {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.timeline a {
  color: var(--text);
  font-weight: 600;
}

.timeline a:hover {
  color: var(--accent);
}

.timeline em {
  font-style: normal;
  color: var(--text-muted);
}

/* Research spotlights */
.spotlight-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.spotlight {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid rgba(26, 20, 16, 0.1);
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding-bottom: 24px;
  transition: transform 0.25s ease;
}

.spotlight img {
  height: 240px;
  width: 100%;
  object-fit: contain;
  background: rgba(245, 242, 237, 0.5);
}

.spotlight h3 {
  margin: 0 24px;
  font-size: 1.2rem;
}

.spotlight p {
  margin: 0 24px;
  color: var(--text-muted);
}

.spotlight:hover {
  transform: translateY(-6px);
}

/* Publications */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pub {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid rgba(26, 20, 16, 0.1);
  padding: 26px;
  display: grid;
  gap: 12px;
}

.pub h3 {
  margin: 0;
  font-size: 1.15rem;
}

.pub__link {
  color: var(--text);
  transition: color 0.2s ease;
}

.pub__link:hover,
.pub__link:focus {
  color: var(--accent);
}

.pub p {
  margin: 0;
  color: var(--text-muted);
}

/* Media */
.media-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.media-list li {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid rgba(26, 20, 16, 0.1);
}

.media-list a {
  font-weight: 600;
}

.media-list a em {
  font-style: normal;
  color: var(--text-muted);
}

/* Contact */
.contact {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid rgba(26, 20, 16, 0.1);
  padding: 32px;
}

.contact p {
  color: var(--text-muted);
  margin: 12px 0 0;
}

.contact__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact__links a {
  font-weight: 600;
  color: var(--accent);
}

.contact__links a:hover {
  opacity: 0.85;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  background: rgba(245, 242, 237, 0.8);
  border-top: 1px solid rgba(26, 20, 16, 0.1);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__inner a {
  color: var(--accent);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 820px) {
  .nav__links {
    display: none;
  }

  .hero__content {
    padding-top: 72px;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .hero__meta {
    font-size: 0.9rem;
  }

  .card,
  .spotlight,
  .pub,
  .media-list li,
  .contact {
    padding: 24px;
  }
}
