:root {
  --bg: #f3efe6;
  --bg-elevated: #faf7f0;
  --ink: #1c1a16;
  --muted: #5e594f;
  --line: #d9d2c4;
  --accent: #2f4a3c;
  --accent-hover: #24382e;
  --max: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

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

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

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

.brand {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

main {
  flex: 1;
  padding: 3.25rem 0 4rem;
}

h1,
h2,
h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.5rem;
}

h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.2rem;
}

.lede {
  margin: 0 0 2.5rem;
  font-size: 1.25rem;
  color: var(--muted);
}

p {
  margin: 0 0 1rem;
}

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

.meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.card {
  padding: 1.25rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}

.card h2 {
  margin-top: 0;
}

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

.status {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li + li {
  margin-top: 0.35rem;
}

.site-footer {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

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

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

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

@media (max-width: 40rem) {
  main {
    padding-top: 2.25rem;
  }

  .site-header nav,
  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
