:root {
  --bg: #f7f4ef;
  --bg-deep: #efe8dd;
  --text: #1c1917;
  --muted: #78716c;
  --border: #e7e5e4;
  --accent: #9a3412;
  --accent-soft: rgba(154, 52, 18, 0.28);
  --max: 36rem;
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(
    165deg,
    var(--bg) 0%,
    color-mix(in srgb, var(--bg) 88%, var(--bg-deep)) 45%,
    var(--bg-deep) 100%
  );
  background-attachment: fixed;
}

::selection {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.75rem 1.5rem 3.25rem;
}

.header {
  position: relative;
  padding-bottom: 2.85rem;
  border-bottom: 1px solid var(--border);
}

.header::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.35rem;
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent) 55%, transparent),
    transparent
  );
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
}

.name {
  margin: 0 0 0.85rem;
  font-size: clamp(1.95rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.tagline {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.section {
  padding-top: 2.6rem;
}

.section--tight {
  padding-top: 2.15rem;
}

.section-title {
  margin: 0 0 1.05rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
}

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

.post + .post {
  margin-top: 0.1rem;
}

.post-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.68rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.post-link:hover,
.post-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent-soft);
  outline: none;
}

.post-title {
  flex: 1 1 12rem;
}

.post-date {
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-family: system-ui, -apple-system, sans-serif;
}

.post-link:hover .post-date,
.post-link:focus-visible .post-date {
  color: color-mix(in srgb, var(--accent) 55%, var(--muted));
}

.about {
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.72;
}

.about p {
  margin: 0 0 1.1em;
}

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

.about-lede {
  color: var(--text);
  font-size: 1.04rem;
}

.footer {
  margin-top: 3.75rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.footer-dot {
  opacity: 0.45;
  user-select: none;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 42%, transparent);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
  border-bottom-color: var(--text);
  outline: none;
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
  body {
    background: var(--bg);
  }

  .post-link:hover,
  .post-link:focus-visible {
    border-bottom-color: var(--accent-soft);
  }

  .post-link:hover .post-date,
  .post-link:focus-visible .post-date {
    color: #8b7355;
  }

  .footer-link {
    border-bottom-color: #d6d3d1;
  }

  ::selection {
    background: rgba(154, 52, 18, 0.2);
  }
}
