:root {
  color-scheme: light;
  --paper: #fffaf7;
  --ink: #2c2028;
  --muted: #75656d;
  --berry: #ac3755;
  --rose: #c75470;
  --rule: #d9c9c9;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--berry); outline-offset: 5px; border-radius: 2px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2; padding: 10px 14px; background: white; }
.skip-link:focus { top: 12px; }

.site-header, .site-footer {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { min-height: 100px; }
.wordmark { font: italic 700 38px/1 Georgia, "Times New Roman", serif; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.site-header nav a, .site-footer nav a { transition: color 160ms ease; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--berry); }

.hero {
  width: min(1240px, calc(100% - 64px));
  margin: 35px auto 0;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  padding-bottom: 52px;
}
.hero-copy h1 { max-width: 560px; margin: 0 0 24px; font: 400 clamp(54px, 6vw, 82px)/0.99 Georgia, "Times New Roman", serif; }
.hero-copy p { max-width: 490px; margin: 0; color: #443740; font-size: 19px; line-height: 1.65; }
.primary-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 29px; padding: 15px 22px; border-radius: 999px; background: var(--berry); color: white; font-size: 15px; font-weight: 600; transition: background 160ms ease, transform 160ms ease; }
.primary-link:hover { background: #8f2945; transform: translateY(-1px); }
.primary-link span { font-size: 20px; line-height: 1; }
.hero-art { margin: 0; text-align: center; }
.hero-art img { display: block; width: 100%; aspect-ratio: 1.22; object-fit: cover; object-position: center; border-radius: 46% 46% 4px 4px / 36% 36% 4px 4px; }
.hero-art figcaption { margin-top: 11px; color: var(--muted); font: italic 13px Georgia, "Times New Roman", serif; }

.chapters {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 6vw, 82px);
}
.chapter-number { color: var(--rose); font: 700 35px/1 Georgia, "Times New Roman", serif; }
.chapters h2 { margin: 8px 0 12px; font: italic 400 clamp(23px, 2.4vw, 31px)/1.15 Georgia, "Times New Roman", serif; }
.chapters p { max-width: 340px; margin: 0; color: #4e4149; font-size: 15px; line-height: 1.7; }
.site-footer { min-height: 86px; border-top: 1px solid var(--rule); }
.site-footer .wordmark { font-size: 31px; }
.site-footer nav { gap: 26px; font-size: 13px; }
.site-footer nav span { color: var(--muted); }

@media (max-width: 760px) {
  .site-header, .site-footer, .hero, .chapters { width: min(100% - 40px, 540px); }
  .site-header { min-height: 78px; }
  .wordmark { font-size: 32px; }
  .site-header nav { gap: 16px; font-size: 12px; }
  .site-header nav a:nth-child(2) { display: none; }
  .hero { margin-top: 24px; grid-template-columns: 1fr; gap: 34px; padding-bottom: 37px; }
  .hero-copy h1 { max-width: 520px; font-size: clamp(53px, 13vw, 72px); }
  .hero-copy p { font-size: 17px; }
  .hero-art img { aspect-ratio: 1.12; border-radius: 44% 44% 3px 3px / 30% 30% 3px 3px; }
  .chapters { grid-template-columns: 1fr; gap: 25px; padding-top: 24px; }
  .chapter-number { font-size: 29px; }
  .chapters h2 { margin-top: 5px; font-size: 26px; }
  .chapters p { max-width: 440px; }
  .site-footer { min-height: 76px; }
  .site-footer nav { gap: 14px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
