:root {
  --ink: #111316;
  --ink-2: #1f2429;
  --paper: #faf7f1;
  --paper-2: #efe8dd;
  --line: #ded5c7;
  --gold: #a87922;
  --gold-2: #d1a74d;
  --muted: #68625a;
  --soft: #f4efe6;
  --steel: #50606a;
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--paper);
  transition: background 200ms ease, padding 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  background: rgba(17, 19, 22, 0.94);
  border-bottom: 1px solid rgba(209, 167, 77, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  z-index: 22;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(209, 167, 77, 0.55);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}

.site-nav a,
.footer-links a,
.link-row a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  color: rgba(250, 247, 241, 0.76);
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--gold-2);
}

.nav-toggle {
  position: relative;
  z-index: 22;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(209, 167, 77, 0.45);
  background: transparent;
  color: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
  opacity: 0.72;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 19, 22, 0.95) 0%, rgba(17, 19, 22, 0.78) 37%, rgba(17, 19, 22, 0.25) 74%),
    linear-gradient(0deg, rgba(17, 19, 22, 0.72) 0%, rgba(17, 19, 22, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 72px;
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dark-section .eyebrow,
.hero .eyebrow {
  color: var(--gold-2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.05;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(54px, 8vw, 108px);
  font-weight: 600;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 600;
}

h3 {
  margin-bottom: 10px;
  font-size: 27px;
  font-weight: 600;
}

.hero-copy {
  max-width: 650px;
  color: rgba(250, 247, 241, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #fffaf0;
}

.button.secondary {
  border-color: rgba(250, 247, 241, 0.45);
  color: var(--paper);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.metric {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 64px);
}

.section > * {
  max-width: var(--max);
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 20px;
  color: rgba(250, 247, 241, 0.68);
  font-size: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: clamp(32px, 6vw, 82px);
}

.lead-panel {
  align-self: start;
  padding: 34px;
  border-left: 4px solid var(--gold);
  background: #fffbf4;
  box-shadow: 0 18px 50px rgba(63, 52, 34, 0.08);
}

.lead-panel p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 37px);
  line-height: 1.18;
}

.body-copy {
  color: var(--muted);
  font-size: 17px;
}

.body-copy p {
  margin-bottom: 20px;
}

.expertise-section {
  background: var(--paper-2);
}

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

.feature-card {
  min-height: 270px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid rgba(168, 121, 34, 0.18);
}

.feature-card h3,
.research-item h3 {
  font-size: 25px;
}

.feature-card p,
.research-item p,
.timeline-item p,
.publication p,
.certifications p {
  color: var(--muted);
}

.dark-section {
  background:
    radial-gradient(circle at top right, rgba(168, 121, 34, 0.16), transparent 34rem),
    var(--ink);
  color: var(--paper);
}

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

.research-item {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(209, 167, 77, 0.2);
  background: rgba(250, 247, 241, 0.035);
}

.research-item span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.research-item p,
.publication p {
  color: rgba(250, 247, 241, 0.62);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.link-row a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 11px 18px;
  border: 1px solid rgba(209, 167, 77, 0.35);
  color: var(--paper);
}

.timeline {
  max-width: 900px;
}

.timeline-item,
.publication {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item time,
.publication time {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}

.timeline-item h3,
.publication h3 {
  margin-bottom: 4px;
  font-size: 25px;
}

.org {
  margin-bottom: 8px;
  color: var(--gold) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.certifications {
  max-width: 900px;
  margin-top: 42px;
  padding: 30px;
  border: 1px solid rgba(168, 121, 34, 0.24);
  background: #fffbf4;
}

.certifications p:last-child {
  margin-bottom: 0;
}

.publications-section .publication-list {
  max-width: 960px;
}

.books-section {
  background: var(--paper-2);
}

.books-panel {
  max-width: 960px;
  padding: 34px;
  border-left: 4px solid var(--gold);
  background: #fffbf4;
  box-shadow: 0 18px 50px rgba(63, 52, 34, 0.08);
}

.books-panel p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.publication {
  border-bottom-color: rgba(209, 167, 77, 0.18);
}

.publication h3 {
  color: var(--paper);
}

.footer {
  padding: 64px 20px 48px;
  background: var(--paper);
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 54px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  margin-bottom: 26px;
}

.footer-links a {
  color: var(--muted);
}

.footer p {
  color: #898176;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .intro-band,
  .expertise-grid,
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 21;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 24px;
    background: rgba(17, 19, 22, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin-inline: 20px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(17, 19, 22, 0.94), rgba(17, 19, 22, 0.63)),
      linear-gradient(0deg, rgba(17, 19, 22, 0.76), rgba(17, 19, 22, 0.05));
  }

  .intro-band,
  .expertise-grid,
  .research-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline-item,
  .publication {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .link-row {
    display: grid;
  }

  .button,
  .link-row a {
    width: 100%;
  }

  .lead-panel,
  .feature-card,
  .research-item,
  .certifications {
    padding: 24px;
  }
}
