:root {
  color-scheme: light;
  --bg: #f6f3ed;
  --paper: #fffaf1;
  --ink: #181611;
  --muted: #6d675d;
  --line: #ddd3c2;
  --accent: #ae2f2d;
  --accent-2: #255f69;
  --shadow: 0 24px 80px rgba(24, 22, 17, 0.12);
  font-family:
    ui-serif, Georgia, Cambria, "Times New Roman", "Noto Serif SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(174, 47, 45, 0.08), transparent 360px),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand,
.nav,
.footer {
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle at 50% 50%, var(--paper) 0 3px, transparent 4px),
    conic-gradient(from 18deg, var(--accent), var(--accent-2), var(--ink), var(--accent));
  clip-path: polygon(50% 0, 61% 36%, 98% 36%, 68% 58%, 79% 95%, 50% 72%, 21% 95%, 32% 58%, 2% 36%, 39% 36%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.footer a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
}

.nav a:hover,
.footer a:hover {
  border-color: var(--line);
  background: rgba(255, 250, 241, 0.65);
  color: var(--ink);
}

.hero {
  min-height: 58vh;
  display: grid;
  align-content: center;
  padding: 88px 0 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(46px, 9vw, 108px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.section {
  padding: 72px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.post-card {
  min-height: 260px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(174, 47, 45, 0.35);
  box-shadow: 0 28px 90px rgba(24, 22, 17, 0.16);
}

.post-card a {
  display: grid;
  align-content: end;
  height: 100%;
  padding: 28px;
}

.post-card time {
  color: var(--accent-2);
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-size: 13px;
}

.post-card h3 {
  margin: 18px 0 10px;
  font-size: 30px;
  line-height: 1.1;
}

.post-card p,
.about p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.post-card.muted {
  box-shadow: none;
  background: rgba(255, 250, 241, 0.46);
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  border-top: 1px solid var(--line);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .site-header,
  main,
  .footer {
    width: min(100% - 28px, 1080px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 54vh;
    padding: 62px 0 58px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 68px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .section {
    padding: 52px 0;
  }

  .post-list,
  .about {
    grid-template-columns: 1fr;
  }

  .about {
    gap: 22px;
  }

  .post-card {
    min-height: 230px;
  }
}
