:root {
  color-scheme: light dark;
  --background: #f6f4ef;
  --text: #292b28;
  --muted: #62685b;
  --accent: #65734f;
  --line: #dedfd6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: 'Merienda', cursive;
  font-size: 16px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

::selection {
  background: var(--accent);
  color: var(--background);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 8px 14px;
  background: var(--background);
}

.skip-link:focus {
  top: 12px;
}

.page-shell {
  max-width: 1080px;
  padding: 0 56px;
  margin: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font: italic 700 34px Georgia, serif;
  letter-spacing: -3px;
  text-decoration: none;
}

.wordmark span,
h2 span {
  color: var(--accent);
}

nav {
  font-size: 13px;
}

nav a {
  text-decoration: none;
}

nav a span {
  color: var(--accent);
  margin-left: 8px;
}

.introduction {
  padding-top: 40px;
}

.section-number {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  color: var(--muted);
}

h1 {
  font: 400 clamp(88px, 12vw, 154px)/.94 Georgia, 'Times New Roman', serif;
  letter-spacing: -.065em;
  margin: 0 0 38px;
}

h1 em {
  color: var(--accent);
}

.intro-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.role,
.location {
  margin: 0;
  font-size: 13px;
}

.location {
  font-size: 12px;
  color: var(--muted);
}

.about-copy {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 36px;
  padding: 52px 0 44px;
}

.section-number {
  display: block;
  padding-top: 7px;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 25px;
}

.about-copy .lead {
  font-size: 19px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 27px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  border-top: 1px solid var(--line);
  padding: 38px 0 54px;
}

h2 {
  font: 400 45px/1.1 Georgia, serif;
  letter-spacing: -.04em;
  margin: 24px 0 20px;
}

.email {
  font-size: 13px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.email span {
  color: var(--accent);
  display: inline-block;
  margin-left: 8px;
}

.social-links {
  padding-top: 23px;
}

.social-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 14px;
  text-decoration: none;
}

.social-links a > span:last-child {
  color: var(--accent);
}

footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
  font-size: 11px;
  color: var(--muted);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #1b1e1b;
    --text: #e9e8df;
    --muted: #b0b6aa;
    --accent: #bac799;
    --line: #393e35;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 0 24px;
  }

  .site-header {
    padding: 23px 0;
  }

  .introduction {
    padding-top: 30px;
  }

  .intro-bottom {
    flex-wrap: wrap;
    gap: 6px 20px;
    padding-bottom: 28px;
  }

  .about-copy {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 0 22px;
  }

  .about-copy .lead {
    font-size: 18px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 30px 0 36px;
  }

  .social-links {
    padding-top: 4px;
  }
}

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