:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #fffdf7;
  --surface-strong: #ffffff;
  --ink: #1e2528;
  --muted: #627071;
  --line: rgba(30, 37, 40, 0.14);
  --teal: #0f766e;
  --teal-dark: #0b4f49;
  --wine: #8b2f3c;
  --gold: #b98520;
  --blue: #275b8c;
  --shadow: 0 24px 80px rgba(30, 37, 40, 0.13);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.08), transparent 28rem),
    linear-gradient(320deg, rgba(139, 47, 60, 0.08), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 5vw;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 245, 239, 0.86);
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(30, 37, 40, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 720;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, 0.26);
  border-radius: 50%;
  background: #f2fbf8;
  color: var(--teal-dark);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.brand-name {
  font-size: 0.98rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  border-color: currentColor;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.82);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.18rem 0;
  background: var(--ink);
}

.section-shell {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(17rem, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(92vh - var(--header-height));
  padding: clamp(3.5rem, 8vw, 6rem) 0 4rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 10vw, 7.2rem);
  font-weight: 500;
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.05;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-lede {
  max-width: 40rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 690;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  color: #fffdf7;
  border-color: var(--ink);
}

.button.secondary {
  background: rgba(255, 253, 247, 0.72);
}

.button.light {
  background: #fffdf7;
  color: var(--ink);
  border-color: rgba(255, 253, 247, 0.24);
}

.hero-visual {
  margin: 0;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual.profile-photo {
  justify-self: end;
  width: min(100%, 27rem);
  aspect-ratio: 4 / 5;
}

.hero-visual.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.writing-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.writing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.writing-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.interest-list {
  display: grid;
  gap: 0.9rem;
}

.interest-card,
.publication-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
}

.interest-card {
  padding: 1.1rem;
}

.interest-card p,
.publication-item p {
  margin: 0;
  color: var(--muted);
}

.publication-authors {
  margin-bottom: 0.45rem !important;
}

.publication-authors strong {
  color: var(--ink);
  font-weight: 780;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.publication-links a {
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 720;
  border-bottom: 1px solid currentColor;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  padding: 0 0 clamp(4rem, 8vw, 6rem);
}

.contact-section h2 span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 650;
}

.contact-list {
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}

.contact-list a {
  color: var(--teal-dark);
  font-weight: 720;
  border-bottom: 1px solid currentColor;
}

.publications {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.text-link {
  color: var(--teal-dark);
  font-weight: 720;
  border-bottom: 1px solid currentColor;
}

.publication-list {
  display: grid;
}

.publication-item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
  padding: 1.1rem;
}

.publication-year {
  color: var(--wine) !important;
  font-weight: 780;
}

.writing-band {
  background: var(--teal-dark);
  color: #fffdf7;
}

.writing-band .section-kicker,
.writing-band p {
  color: rgba(255, 253, 247, 0.78);
}

.writing-grid {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr) auto;
  align-items: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 1rem;
}

.site-footer a {
  border-bottom: 1px solid transparent;
}

.site-footer a:hover {
  border-color: currentColor;
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 5vw;
    display: none;
    width: min(20rem, 90vw);
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 247, 0.98);
    box-shadow: 0 20px 60px rgba(30, 37, 40, 0.12);
  }

  .site-nav.is-open {
    display: grid;
    gap: 0.35rem;
  }

  .site-nav a {
    padding: 0.7rem;
  }

  .hero,
  .split-section,
  .contact-section,
  .writing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-visual {
    max-width: 30rem;
  }

  .writing-grid {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 1rem;
  }

  .section-shell,
  .site-footer {
    width: min(100% - 2rem, 1120px);
  }

  .brand-name {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.4rem);
  }

  .hero-actions,
  .section-heading-row,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .publication-item {
    grid-template-columns: 1fr;
  }
}
