:root {
  --bg: #f3f2ee;
  --panel: #ffffff;
  --text: #1f0909;
  --muted: #68625b;
  --line: #ded9d1;
  --accent: #236c5a;
  --accent-strong: #174d42;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--text);
  background: var(--bg);
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.5em;
}

body {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header,
.site-main,
.site-footer {
  width: min(100% - 2rem, 960px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.site-title {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.site-main {
}

.intro {
  max-width: 760px;
  padding: 1rem 0;
}

.page-header h1 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.intro p,
.page-header p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.eyebrow,
.meta {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.section-heading {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.list {
  display: grid;
  gap: 1.4rem;
}

.list-item {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.list-item h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.list-item h3 a {
  color: var(--text);
  text-decoration: none;
}

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

.page-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.content {
  max-width: 720px;
}

.content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  line-height: 1.25;
}

.content img {
  max-width: 100%;
  height: auto;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: flex-end;
  max-width: 18rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.inline-tags {
  justify-content: flex-start;
  margin-top: 0.7rem;
}

.tags li {
  padding: 0.05rem 0.45rem;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--panel);
  font-size: 0.8rem;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  html {
    font-size: 16px;
  }

  .site-header,
  .section-grid {
    display: block;
  }

  .intro {
    padding: 0 0 1rem 0;
  }

  .section-grid > * + * {
    margin-top: 2.5rem;
  }

}
