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

/* ── Design Tokens ──────────────────────────────── */
:root {
  --navy:       #2C2825;
  --navy-deep:  #1A1714;
  --gold:       #D4623E;
  --gold-light: #F0977A;
  --cream:      #F6F1EB;
  --warm-white: #FAF8F5;
  --text:       #1E1B18;
  --muted:      #7A726B;
  --border:     #DDD5CC;
  --alt-bg:     #EDE8E0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ── Nav ────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  height: 62px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: 0.3px;
}

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

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.28s ease;
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after { width: 100%; }

/* ── Hero ───────────────────────────────────────── */
#home {
  background: var(--cream);
  padding: 6rem 2.5rem 5rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: center;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.55rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.hero-affil {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-bio {
  font-size: 1.03rem;
  color: var(--text);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-solid {
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.8rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
}
.btn-solid:hover { background: var(--gold); transform: translateY(-2px); }

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 0.75rem 1.8rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 3px;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.hero-photo { display: flex; justify-content: center; }

.photo-frame {
  position: relative;
  width: 300px;
  height: 300px;
}

.photo-frame::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  right: 12px; bottom: 12px;
  border: 3px solid var(--gold);
  border-radius: 4px;
  z-index: 0;
}

.photo-frame img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  position: relative;
  z-index: 1;
  display: block;
}

/* ── Shared Section Styles ──────────────────────── */
section {
  padding: 5.5rem 2.5rem;
  background: var(--alt-bg);
}

.sec-inner { max-width: 1000px; margin: 0 auto; }

.sec-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.sec-rule {
  width: 44px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 2.75rem;
}

/* ── Research ───────────────────────────────────── */
.interests-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.interest-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.interest-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

.research-sub { margin-top: 2.75rem; }

.research-sub-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.4rem;
}

.bib-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bib-list li {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.8;
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
}

.bib-list a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.bib-list a:hover { color: var(--gold); text-decoration: underline; }

.bib-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ── Public Philosophy ──────────────────────────── */
.public-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.public-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.public-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(44,40,37,0.12);
}

.public-card-band {
  height: 6px;
  background: var(--gold);
}

.public-card-body { padding: 1.75rem 1.8rem 2rem; }

.public-card-icon { font-size: 2rem; margin-bottom: 0.9rem; }

.public-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.public-card .public-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.public-card p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── CV ─────────────────────────────────────────── */
.cv-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.cv-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.4rem;
}

.cv-entry {
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  margin-bottom: 1.6rem;
}

.cv-year {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.cv-role {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
}

.cv-org { font-size: 0.88rem; color: var(--muted); margin-top: 0.15rem; }

.cv-desc {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.65;
}

.cv-download-row { margin-top: 3rem; text-align: center; }

/* ── Contact ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.4rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.93rem;
}

.contact-detail svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.contact-detail a { color: var(--navy); text-decoration: none; }
.contact-detail a:hover { color: var(--gold); text-decoration: underline; }

.social-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.75rem; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 1rem;
  border: 1.5px solid var(--navy);
  border-radius: 3px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: all 0.2s;
}

.social-btn:hover { background: var(--navy); color: white; }

.contact-form {
  background: white;
  padding: 2.25rem 2rem;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.form-row { margin-bottom: 1.15rem; }

.form-row label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.68rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--warm-white);
  outline: none;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row textarea:focus { border-color: var(--gold); }

.form-row textarea { min-height: 130px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--gold); }

/* ── Footer ─────────────────────────────────────── */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2.25rem 2rem;
  font-size: 0.84rem;
}

footer em { color: var(--gold); font-style: normal; }

/* ── Hamburger Button ───────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Responsive ──────────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  nav { position: relative; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    z-index: 100;
  }

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

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
  }

  .nav-links a::after { display: none; }

  /* Hero */
  #home {
    padding: 3rem 1.5rem 3.5rem;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-photo {
    order: -1;
  }

  .photo-frame {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .photo-frame::before {
    top: -8px; left: -8px;
    right: 8px; bottom: 8px;
  }

  .photo-frame img {
    width: 200px;
    height: 200px;
  }

  .hero-bio { max-width: 100%; }

  .hero-btns { justify-content: center; }

  /* Sections */
  section { padding: 3.5rem 1.5rem; }

  .sec-title { font-size: 1.8rem; }

  .hero-subtitle { font-size: 1.3rem; }

  /* Research */
  .interests-row { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Public Philosophy */
  .public-grid { grid-template-columns: 1fr; }

  /* CV */
  .cv-columns { grid-template-columns: 1fr; gap: 2rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
