:root {
  --paper: #ffffff;
  --ink: #171713;
  --body: #505048;
  --olive: #69734a;
  --olive-dark: #59613d;
  --olive-soft: #eef0e4;
  --sand: #f3eee5;
  --line: #e8e7df;
  --body-text-size: 1.05rem;
  --page-width: 66rem;
  --content-width: 60rem;
  --font: "Google Sans Flex", "Google Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font);
  font-size: var(--body-text-size);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 1rem;
  left: 1rem;
  padding: 0.55rem 0.8rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(var(--page-width), calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 4.75rem;
  padding-block: 0.9rem;
  align-items: center;
  border-bottom: 1px solid rgb(232 231 223 / 70%);
  background: rgb(255 255 255 / 92%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  justify-content: center;
}

nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul {
  justify-content: center;
  gap: clamp(1.35rem, 3vw, 3.25rem);
  white-space: nowrap;
}

nav a {
  padding-bottom: 0.16rem;
  color: var(--olive);
  font-size: 1.05em;
  font-weight: 650;
  text-decoration: none;
  text-transform: lowercase;
}

nav a:hover {
  color: var(--olive-dark);
}

nav a.active {
  color: var(--olive);
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.35em;
}

main {
  width: min(var(--content-width), 100%);
  margin-inline: auto;
}

main section {
  margin-bottom: 3rem;
  scroll-margin-top: 5.5rem;
}

.introduction {
  margin-bottom: 2.25rem;
  padding-top: 2.25rem;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 480;
}

h1 {
  max-width: 16ch;
  margin: 0 0 2.75rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.introduction h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
}

p {
  margin: 0 0 1.4rem;
}

.intro-copy {
  display: grid;
  align-items: start;
  font-size: inherit;
  grid-template-columns: minmax(0, 1fr) clamp(14rem, 24vw, 15.5rem);
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

.intro-text {
  min-width: 0;
}

.intro-text a {
  white-space: nowrap;
}

.intro-photo-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
}

.intro-photo {
  display: block;
  width: 185%;
  max-width: none;
  height: auto;
  filter: brightness(1.22);
  transform: translateX(-14%);
}

.intro-links {
  display: flex;
  margin-bottom: 1.5rem;
  padding: 0;
  flex-wrap: wrap;
  font-size: inherit;
  gap: 0.5rem 0;
  list-style: none;
}

.intro-links li {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.intro-links li + li::before {
  margin-inline: 0.7rem;
  color: var(--body);
  content: "|";
}

main a {
  color: var(--olive-dark);
  font-weight: 540;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

main a:hover {
  color: var(--ink);
}

.publications-section {
  padding-top: 0;
}

.section-note {
  margin-bottom: 1rem;
  color: #68685f;
  font-size: 0.9rem;
  font-style: italic;
}

.publication {
  padding: 1.6rem 0 1.9rem;
  border-top: 1px solid var(--line);
}

.publication:last-child {
  border-bottom: 1px solid var(--line);
}

.publication p {
  margin-bottom: 1rem;
}

.publication > p:first-child {
  line-height: 1.55;
}

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

.publication sup {
  position: relative;
  top: -0.15em;
  font-size: 0.7em;
  line-height: 0;
}

.publication ul {
  margin: 0 0 0 1.35rem;
  padding: 0;
}

.publication li {
  margin-bottom: 0.35rem;
  padding-left: 0.2rem;
}

.resource-links {
  margin: 0.65rem 0 0 1.55rem;
  color: var(--olive-dark);
}

.resource-links a + a {
  margin-left: 0.35rem;
}

.site-footer {
  width: min(var(--content-width), 100%);
  padding: 2rem 0 3rem;
  margin-inline: auto;
  color: #68685f;
  font-size: inherit;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .page-shell {
    width: calc(100% - 2.5rem);
  }

  .site-header {
    min-height: auto;
    padding: 0.85rem 0;
  }

  nav ul {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .intro-copy {
    grid-template-columns: 1fr;
  }

  .intro-photo-frame {
    width: min(100%, 20rem);
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .page-shell {
    width: calc(100% - 1.5rem);
  }

  .site-header {
    padding: 0.75rem 0;
  }

  nav ul {
    justify-content: center;
    gap: 0.7rem;
  }

  main section {
    margin-bottom: 2.5rem;
  }

  .intro-links {
    gap: 0.45rem 1rem;
  }

  .intro-links li + li::before {
    content: none;
  }

  .introduction {
    padding-top: 1.25rem;
  }

  .publication {
    padding-block: 1.5rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
