:root {
  color-scheme: light;
  --ink: #20302b;
  --muted: #66736e;
  --paper: #f5f1e8;
  --card: #fffdf8;
  --line: #d9d2c4;
  --accent: #9a4f34;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.65 ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

a { color: inherit; }

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

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 18px/1 ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  letter-spacing: .02em;
}

nav { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--accent); }

.hero { padding: 110px 0 90px; max-width: 820px; }
.eyebrow, .date {
  color: var(--accent);
  font: 700 13px/1.2 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.1; }
h1 { margin: 14px 0 20px; font-size: clamp(48px, 8vw, 86px); letter-spacing: -.045em; }
h2 { margin: 0 0 28px; font-size: 32px; }
h3 { margin: 10px 0 14px; font-size: 24px; }
.lede { max-width: 650px; color: var(--muted); font-size: 21px; }

.notes { padding: 70px 0; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
article {
  min-height: 270px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgb(32 48 43 / 5%);
}
article p:last-child, .about p { color: var(--muted); }

.about { max-width: 720px; padding: 70px 0 100px; }
footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font: 14px/1.5 ui-sans-serif, system-ui, sans-serif;
}

@media (max-width: 760px) {
  .hero { padding: 76px 0 60px; }
  .grid { grid-template-columns: 1fr; }
  article { min-height: auto; }
}
