:root {
  --navy: #0B1F3A;
  --slate: #4A5568;
  --slate-light: #59677A;
  --gold: #75591F;
  --gold-hover: #5D4618;
  --bg: #F7F5F1;
  --bg-card: #FFFFFF;
  --border: #D8D4CC;
  --border-light: #EAE7E0;
  --text: #1A1A1A;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus, .skip-link:focus-visible { transform: translateY(0); }

:focus-visible {
  outline: 3px solid #1769AA;
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active {
  color: var(--navy);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
}

/* HERO */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}
.hero-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.8rem;
}
.hero-bio {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.hero-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-links a:hover { color: var(--gold); border-color: var(--gold-hover); }

/* PHOTO */
.hero-photo {
  width: 175px;
  height: 215px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PULL QUOTE — full width, below hero grid */
.hero-pull-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 2rem 3.5rem;
  border-bottom: 1px solid var(--border);
}
.hero-pull {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: 0.01em;
  opacity: 0.85;
}
.hero-pull-accent {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 1.4rem;
}

/* PAGE HEADER (inner pages) */
.page-header {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 1rem;
}
.page-header .hero-eyebrow { color: var(--gold); }
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.page-header p {
  font-size: 16px;
  color: var(--slate);
  max-width: 620px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* SECTION STRUCTURE */
.section {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.section-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  display: block;
  font-family: 'Inter', sans-serif;
}
.flush-top { padding-top: 0; }
.home-expertise { padding-top: 3rem; }

/* EXPERTISE GRID */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}
.expertise-item {
  background: var(--bg-card);
  padding: 1.5rem;
}
.expertise-item h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.expertise-item p { font-size: 14px; color: var(--slate); line-height: 1.6; }

/* CAREER TIMELINE */
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border-light);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-date {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-light);
  letter-spacing: 0.04em;
  padding-top: 2px;
  line-height: 1.5;
}
.timeline-date strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.timeline-content h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.timeline-content .org { font-size: 13px; color: var(--gold); font-weight: 500; margin-bottom: 0.7rem; }
.timeline-content p, .timeline-content li { font-size: 14px; color: var(--slate); line-height: 1.65; }
.timeline-content ul { margin-top: 0.5rem; padding-left: 1.1rem; }
.timeline-content li { margin-bottom: 0.3rem; }

/* PUBLICATIONS */
.pub-group { margin-bottom: 3rem; }
.pub-group-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
.pub-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}
.pub-item:last-child { border-bottom: none; }
.pub-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
  line-height: 1.5;
  text-decoration: none;
  display: block;
}
a.pub-title:hover { color: var(--gold); }
.pub-authors { font-size: 13px; color: var(--slate-light); margin-bottom: 0.2rem; }
.pub-venue { font-size: 13px; color: var(--slate); font-style: italic; }
.pub-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--border);
  color: var(--slate-light);
  white-space: nowrap;
  align-self: start;
}
.pub-badge.forthcoming { border-color: var(--gold); color: var(--gold); }
.pub-badge.revision { border-color: #2d6a9f; color: #2d6a9f; }
.referee-note { border-top: 1px solid var(--border-light); padding-top: 1.5rem; }
.referee-note p { font-size: 13px; color: var(--slate-light); }

/* POLICY CARDS */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.policy-card { border: 1px solid var(--border); background: var(--bg-card); padding: 1.5rem; }
.policy-card-type { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.policy-card h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 0.6rem; line-height: 1.4; }
.policy-card p { font-size: 13px; color: var(--slate); line-height: 1.6; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-block h2, .contact-block h3 { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-bottom: 1rem; }
.contact-subheading { margin-top: 2rem; }
.contact-block a { font-size: 15px; color: var(--slate); line-height: 1.8; display: block; text-decoration: none; }
.contact-block a:hover { color: var(--navy); }
.contact-block p { font-size: 14px; color: var(--slate); line-height: 2.1; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 13px;
  color: var(--slate-light);
  letter-spacing: 0.06em;
}
.footer-link { color: var(--gold); text-decoration: none; }
.footer-link:hover { color: var(--gold-hover); text-decoration: underline; }
.footer-disclaimer { margin-top: 0.5rem; font-size: 12px; opacity: 0.9; }
.error-page { min-height: 55vh; padding-top: 4rem; }
.error-page p { max-width: 560px; margin-bottom: 1.5rem; color: var(--slate); }
.text-link { color: var(--navy); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.text-link:hover { color: var(--gold-hover); }

/* RESPONSIVE */
@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-inner {
    height: auto;
    min-height: 56px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.65rem 0 0.55rem;
  }
  .nav-name { text-align: center; font-size: 15px; white-space: nowrap; }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 0.25rem;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.15rem;
    font-size: 10px;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-align: center;
  }
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem 1.5rem; }
  .hero-photo { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 0 1.5rem 3rem; }
  .home-expertise { padding-top: 3rem; }
  .expertise-grid { grid-template-columns: 1fr; }
  .hero-pull { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
