:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #647069;
  --paper: #f5f3ec;
  --line: #d9ddd5;
  --accent: #2e644a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 680;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark {
  width: 19px;
  height: 19px;
  border: 2px solid var(--accent);
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-18deg);
}

nav { display: flex; gap: 26px; }
nav a { color: var(--muted); font-size: 0.92rem; text-decoration: none; }
nav a:hover { color: var(--ink); }

.hero { padding: 110px 0 96px; }

.eyebrow,
.date {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { max-width: 720px; }

h1 {
  margin: 0;
  max-width: 840px;
  font-family: ui-serif, Georgia, serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.notes { border-top: 1px solid var(--line); }

.section-heading,
.notes article {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 3fr;
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.section-heading span { margin: 0; font-size: 0.9rem; }
.section-heading span { color: var(--muted); }

.notes article .date { margin-top: 7px; }
.notes article h3 { margin: 0; font-family: ui-serif, Georgia, serif; font-size: 1.55rem; font-weight: 520; }
.notes article p:last-child { grid-column: 2; margin: -22px 0 0; color: var(--muted); }

.about { padding: 120px 0; }
.about h2 { margin: 0; font-family: ui-serif, Georgia, serif; font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.about p:last-child { margin: 28px 0 0; color: var(--muted); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 640px) {
  .site-header, main, footer { width: min(100% - 28px, 1040px); }
  .hero { padding: 78px 0 70px; }
  nav { gap: 16px; }
  .section-heading, .notes article { grid-template-columns: 1fr; gap: 10px; }
  .notes article p:last-child { grid-column: 1; margin: 0; }
  .about { padding: 80px 0; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
