:root {
  color-scheme: light;
  --paper: #f4f6f5;
  --surface: #ffffff;
  --ink: #18201d;
  --muted: #65716c;
  --line: #d6dedb;
  --green: #0d6b50;
  --coral: #c45a42;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
.topbar, main, footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 750; text-decoration: none; }
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover { color: var(--green); }
.lead {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 64px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.lead img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; border-radius: 6px; }
.eyebrow { margin: 0 0 12px; color: var(--coral); font-size: 12px; font-weight: 700; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.16; letter-spacing: 0; }
h1 { max-width: 680px; margin-bottom: 24px; font-family: Georgia, serif; font-size: 48px; font-weight: 500; }
h2 { font-size: 28px; }
h3 { margin-bottom: 10px; font-size: 21px; }
.intro { max-width: 620px; margin: 0; color: var(--muted); font-size: 18px; }
.index { padding: 72px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.filter-label { color: var(--muted); font-size: 13px; }
select { margin-left: 8px; padding: 9px 32px 9px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); }
.note-list { border-top: 1px solid var(--line); }
.note-list article { display: grid; grid-template-columns: 170px minmax(220px, 1fr) 2fr auto; gap: 28px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.note-list article[hidden] { display: none; }
.note-list p { margin: 0; color: var(--muted); }
.note-list article > a { color: var(--green); white-space: nowrap; }
.meta { display: flex; flex-direction: column; color: var(--muted); font-size: 12px; }
.meta span { color: var(--coral); font-weight: 700; text-transform: uppercase; }
.empty { padding: 24px 0; color: var(--muted); }
.about { padding: 56px 0 72px; border-top: 1px solid var(--line); }
.about p:last-child { max-width: 680px; color: var(--muted); }
footer { min-height: 72px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 820px) {
  .lead { min-height: auto; grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  h1 { font-size: 38px; }
  .lead img { max-height: 380px; }
  .note-list article { grid-template-columns: 1fr; gap: 8px; }
  .meta { flex-direction: row; gap: 12px; }
}
@media (max-width: 540px) {
  .topbar, main, footer { width: min(100% - 28px, 1120px); }
  nav { gap: 14px; }
  h1 { font-size: 32px; }
  .section-head { align-items: start; flex-direction: column; }
  .filter-label { width: 100%; }
  select { width: 100%; margin: 8px 0 0; }
}

