:root {
  color-scheme: light;
  --ink: #172027;
  --muted: #65727a;
  --paper: #f4f1e9;
  --panel: #fffdf8;
  --line: #d7d1c3;
  --accent: #d05f38;
  --accent-dark: #9f3f22;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0 auto;
  max-width: 1120px;
  min-height: 100vh;
  padding: 0 40px;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 4%, rgba(208, 95, 56, .12), transparent 27rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}

a { color: inherit; text-underline-offset: .22em; }

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

.brand { display: flex; align-items: center; gap: 11px; font-weight: 750; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--accent); font-family: Georgia, serif; font-weight: 700; }
nav { display: flex; flex-wrap: wrap; gap: 22px; }
nav a { color: var(--muted); font-size: .94rem; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

main { padding: 84px 0 90px; }
.hero { max-width: 820px; }
.eyebrow { margin: 0 0 13px; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
h1 { margin: 0; max-width: 900px; font-size: clamp(3rem, 8vw, 6.5rem); line-height: .98; }
.lead { max-width: 720px; margin: 32px 0 0; color: #455159; font-size: clamp(1.1rem, 2.2vw, 1.42rem); }

.notes { margin-top: 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: 2rem; }
.section-heading span { color: var(--muted); font-size: .85rem; }
article { display: grid; grid-template-columns: 180px minmax(180px, 270px) 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }
article time { color: var(--muted); font-size: .85rem; }
article h3 { margin: -.2em 0 0; font-size: 1.55rem; line-height: 1.25; }
article p { margin: 0; color: #46535b; }

.page { max-width: 850px; }
.page h1 { font-size: clamp(2.7rem, 7vw, 5rem); }
.page-card { margin-top: 58px; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 253, 248, .72); }
.page-card h2 { margin: 0 0 10px; font-size: 1.8rem; }
.page-card p { margin: 0; color: #46535b; }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.not-found { display: grid; justify-items: start; align-content: center; min-height: 92vh; padding: 40px 0; }
.not-found h1 { margin: 4px 0 18px; font-size: clamp(2.7rem, 7vw, 5.6rem); }
.not-found p:not(.eyebrow) { color: var(--muted); }
.not-found .brand-mark { margin-bottom: 55px; }
.button { display: inline-block; margin-top: 18px; padding: 11px 18px; border-radius: 999px; color: #fff; background: var(--ink); text-decoration: none; }

@media (max-width: 760px) {
  body { padding: 0 22px; }
  .site-header { align-items: flex-start; flex-direction: column; }
  main { padding-top: 58px; }
  .notes { margin-top: 76px; }
  article { grid-template-columns: 1fr; gap: 8px; }
  article h3 { margin-top: 0; }
  footer { flex-direction: column; }
}
