:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #6b6f76;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d9d5ca;
  --accent: #2f6f5e;
  --accent-strong: #1f4d42;
  --warm: #b46d38;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  font-family: ui-serif, Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  text-decoration: none;
}

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

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.home {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 48px;
  min-height: calc(100vh - 162px);
  align-items: center;
  padding: 56px 0;
}

.kicker {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: ui-serif, Georgia, serif;
  line-height: 1.12;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 92px);
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 22px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.home-panel {
  display: grid;
  gap: 12px;
}

.home-panel a,
.list-item a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
  text-decoration: none;
}

.home-panel span {
  display: block;
  color: var(--accent-strong);
  font-weight: 800;
}

.home-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.page-heading,
.article {
  max-width: 760px;
  padding: 56px 0 28px;
}

.page-heading h1,
.article h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.intro,
.article-body {
  color: var(--ink);
}

.article header {
  margin-bottom: 32px;
}

time {
  color: var(--muted);
  font-size: 15px;
}

.list {
  display: grid;
  max-width: 820px;
  gap: 14px;
  padding-bottom: 64px;
}

.list-item h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.list-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding-bottom: 64px;
}

.photo-grid figure {
  margin: 0;
}

.photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: #e7e1d5;
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.empty {
  color: var(--muted);
}

.article-body h2 {
  margin-top: 36px;
}

.article-body p,
.article-body li {
  max-width: 68ch;
}

.site-footer {
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .home {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 0 56px;
  }

  .lede {
    font-size: 19px;
  }
}
