:root {
  color-scheme: light;
  --paper: #f5f6ef;
  --ink: #1b3229;
  --body: #43534a;
  --muted: #546658;
  --accent: #49664e;
  --rule: #d5dbce;
  --display: Georgia, 'Times New Roman', serif;
  --sans: system-ui, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  font-family: var(--sans);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure, h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid #667b60; outline-offset: 5px; }
[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - clamp(2.25rem, 9vw, 9rem), 76rem); margin-inline: auto; }
.skip-link { position: fixed; inset: 1rem auto auto 1rem; z-index: 3; padding: .5rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header {
  min-height: 5rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font: bold 1.37rem/1 var(--display);
  letter-spacing: -.045em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding-bottom: .18rem;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font: italic bold 1.48rem/1 var(--display);
}
.site-header nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.55rem); }
.site-header nav a { position: relative; padding-block: .55rem; color: var(--body); font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
.site-header nav a:hover::after, .site-header nav a[aria-current]::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  padding-block: clamp(2.25rem, 5.4vw, 5.5rem) clamp(3.25rem, 6.6vw, 6rem);
}
.hero-copy { padding-right: 1.5rem; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 650; letter-spacing: .115em; }
.hero .eyebrow { display: flex; align-items: center; gap: .65rem; }
.hero .eyebrow::before { content: ''; width: 1.35rem; height: 1px; background: currentColor; }
.hero h1 {
  margin-block: .22em .23em;
  font: normal clamp(4rem, 8vw, 7.55rem)/.94 var(--display);
  letter-spacing: -.085em;
}
.hero h1 span { color: #718465; }
.hero-intro { color: var(--body); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.85; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  margin-top: 1.85rem;
  padding-inline: 1.4rem;
  border-radius: .25rem;
  color: #fcfcf8;
  background: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: .9375rem;
}
.button:hover { background: #325242; }
.hero-cover { overflow: hidden; aspect-ratio: 1.39; border-radius: .25rem; background: #abbcb3; }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }

.notes { padding-bottom: clamp(3rem, 6.4vw, 5.75rem); }
.notes h2, .about h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.3; }
.notes h2 { margin-bottom: 1.45rem; }
.note-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.note-list li { border-bottom: 1px solid var(--rule); }
.note-link {
  display: grid;
  grid-template-columns: 7.25rem minmax(12rem, .85fr) minmax(12rem, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 5.55rem;
  padding-block: .95rem;
  text-decoration: none;
}
.note-link:hover .note-title, .note-link:hover .note-action { text-decoration: underline; text-underline-offset: .24em; }
.note-link time { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.note-title { font-size: 1.125rem; font-weight: 650; }
.note-summary { color: var(--body); }
.note-action { color: var(--accent); font-size: .875rem; white-space: nowrap; }

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(1.65rem, 5vw, 4rem);
  border-radius: .3rem;
  color: #f5f6ef;
  background: #20392f;
}
.about .eyebrow { margin-bottom: .55rem; color: #d4dfcd; }
.about-copy { max-width: 29rem; }
.about-copy p { color: #e6eee2; line-height: 1.85; }
.about-link, .text-link { display: inline-block; margin-top: 1rem; text-underline-offset: .3em; }
.about-link:hover { color: #cfdfc8; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 6.35rem; color: var(--muted); }
.site-footer a, .site-footer small { font-size: .875rem; }
.site-footer a { text-underline-offset: .2em; }

.article { width: min(100%, 43rem); min-height: 67vh; margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 5rem); }
.article header { margin-bottom: 2rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--rule); }
.article h1 { margin-block: .5em .35em; font-size: clamp(2.15rem, 5.25vw, 4rem); line-height: 1.18; font-weight: 650; letter-spacing: -.055em; }
.article h2 { margin: 1.4em 0 .35em; font-size: 1.5rem; line-height: 1.35; }
.article p + p { margin-top: 1rem; }
.article header .article-lede { color: var(--muted); font-size: clamp(1.125rem, 2vw, 1.35rem); }
.article > p { color: var(--body); line-height: 1.9; font-size: 1.0625rem; }
.article + .site-footer { border-top: 1px solid var(--rule); }
.text-link { color: var(--accent); font-weight: 650; }

@media (max-width: 62rem) {
  .hero { grid-template-columns: 45% 55%; }
  .hero h1 { font-size: clamp(3.65rem, 8.4vw, 6rem); }
  .note-link { grid-template-columns: 6rem minmax(10rem, .85fr) minmax(10rem, 1fr) auto; }
}

@media (max-width: 45rem) {
  .site-header { min-height: 4.2rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero-copy { padding-right: 0; }
  .hero h1 { font-size: clamp(3.65rem, 12vw, 6rem); }
  .hero-cover { aspect-ratio: 1.29; }
  .button { margin-top: 1.3rem; }
  .desktop-break { display: none; }
  .note-link { grid-template-columns: minmax(0, 1fr) auto; gap: .16rem .85rem; }
  .note-link time { grid-row: 1; grid-column: 1; }
  .note-title { grid-row: 2; grid-column: 1; }
  .note-summary { grid-row: 3; grid-column: 1; }
  .note-action { grid-row: 2; grid-column: 2; }
  .about { grid-template-columns: 1fr; gap: 1rem; }
  .site-footer { min-height: 5rem; }
}

@media (max-width: 24rem) {
  .wordmark { gap: .45rem; font-size: 1.2rem; }
  .brand-mark { width: 1.7rem; height: 1.7rem; }
  .site-header { gap: .6rem; }
  .site-header nav { gap: .85rem; }
}

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