:root {
  color-scheme: light;
  --navy: #152735;
  --ivory: #f8f4e9;
  --paper: #fffdf7;
  --olive: #4c5638;
  --gold: #d9bb78;
  --ink: #212c31;
  --muted: #4e5a5b;
  --line: #dcd4c2;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: var(--olive); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #9c661b; outline-offset: 4px; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.reading { max-width: 48rem; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; transform: translateY(-200%); padding: .5rem 1rem; background: var(--paper); }
.skip:focus { transform: none; }
.site-header, .site-footer, .hero { background: var(--navy); color: var(--ivory); }
.site-header { border-bottom: 1px solid #566150; }
.masthead, .footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-block: 1rem; }
.masthead nav, .site-footer nav, .actions { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; }
.masthead a, .site-footer a { color: var(--ivory); }
.masthead nav a { font-size: .9rem; font-weight: 650; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }
.brand { font-family: Georgia, serif; font-weight: bold; font-size: 1.4rem; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--gold); }
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.14; font-weight: 700; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.35rem, 6vw, 4.55rem); letter-spacing: -.037em; margin: 0 0 1rem; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.55rem); margin: 0 0 1rem; }
h3 { font-size: 1.3rem; margin: 0 0 .6rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.lede, .hero-copy > p { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 66ch; }
.lede { color: var(--muted); }
.hero { border-bottom: 4px solid var(--gold); }
.hero-layout { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 2.5rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero figure { min-width: 0; }
.hero figcaption { color: #e9dbbb; }
.hero-copy > p { color: #eee8da; }
.actions { margin-top: 1.65rem; }
.button { display: inline-block; padding: .62rem .92rem; border: 1px solid var(--gold); background: var(--gold); color: var(--navy); font-weight: 700; text-decoration: none; }
.button.secondary { color: var(--ivory); background: transparent; }
.button:hover { text-decoration: underline; }
.home-section { padding-block: clamp(2rem, 5vw, 3.75rem); border-bottom: 1px solid var(--line); }
.home-section:nth-of-type(even) { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card h3 a { color: var(--navy); }
.card-body { padding: 1.15rem; }
.card img { aspect-ratio: 16 / 9; object-fit: cover; }
.card figcaption { padding-inline: 1.15rem; }
figcaption { padding-block: .35rem 0; font-size: .78rem; color: var(--muted); }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.7rem; }
.feature h3 { font-size: clamp(1.35rem, 3vw, 2.2rem); }
.referral { padding: 1.35rem; background: #eae9d9; border-left: .25rem solid var(--olive); margin-block: 1.5rem; }
.referral h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.referral a { font-weight: 700; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .6rem; padding: 0; margin: 0; font-size: .88rem; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-inline-start: .6rem; }
.breadcrumbs { margin-bottom: 1.6rem; }
.reading, .collection { padding-block: 1.4rem 3.25rem; }
.page-heading { margin-bottom: 1.6rem; }
.reading section, .collection section { margin-top: 2rem; }
.reading > figure, .collection > figure { margin-bottom: 1.5rem; }
.collection > figure { max-width: 52rem; }
.related, .sources { border-top: 1px solid var(--line); padding-top: 1rem; }
.callout { font-weight: 700; }
.site-footer { border-top: 3px solid var(--gold); }
.site-footer .footer-grid { align-items: start; padding-block: 2rem; }
.site-footer .brand { margin-bottom: .35rem; }
.site-footer p { margin-bottom: .45rem; }
@media (max-width: 850px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero figure { max-width: 42rem; }
  .masthead { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 2rem); }
  .feature, .cards { grid-template-columns: 1fr; }
  .site-footer .footer-grid { flex-direction: column; }
}
