@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/playfair-display.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/playfair-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --ink: #212b28;
  --muted: #4b5953;
  --line: #d2d4ca;
  --carbon: #111819;
  --slate: #192426;
  --copper: #e7a87d;
  --cream: #f7f0e4;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --gutter: clamp(1.125rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
}

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font: 500 1em/1.12 var(--serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: .15rem solid currentColor;
  outline-offset: .24rem;
}

::selection { background: var(--copper); color: var(--carbon); }

.shell {
  width: min(calc(100% - 2 * var(--gutter)), 82rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: .65rem;
  left: var(--gutter);
  transform: translateY(-180%);
  padding: .65rem 1rem;
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner, .footer-inner {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  flex: none;
  font: 500 clamp(1.15rem, 2.2vw, 1.6rem)/1.1 var(--serif);
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav, .site-footer nav {
  display: flex;
  align-items: center;
  column-gap: clamp(.9rem, 3.2vw, 2.75rem);
  row-gap: .2rem;
}

.site-nav a, .site-footer nav a {
  display: inline-block;
  padding-block: .65rem;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover, .site-footer nav a:hover,
.site-nav a[aria-current="page"] { text-decoration: underline; }

.kicker {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 3.12rem;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .18rem;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

button.button { cursor: pointer; }
.button-ink { background: #263d34; color: var(--cream); }
.button-ink:hover { background: #395349; }
.button-ink:focus-visible { outline-color: var(--ink); }
.button-copper { background: var(--copper); color: #221b18; }
.button-copper:hover { background: #f1c29f; }

.text-link {
  display: inline-block;
  padding-block: .22rem;
  font-size: .9375rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }

.site-footer { background: #e9e9e1; border-top: 1px solid var(--line); }
.footer-inner { min-height: 6rem; }
.site-footer .wordmark { font-size: 1.35rem; }
.site-footer nav { flex-wrap: wrap; }

.article-page, .legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.article-page main, .legal-page main { flex: 1; }

.article-main {
  padding-block: 1.5rem clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(180deg, #e3e7e1, transparent 33rem);
}

.article-shell { max-width: 68rem; }
.breadcrumb { margin-bottom: 1.9rem; color: var(--muted); font-size: .9375rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .3rem .65rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; display: inline-block; margin-right: .65rem; }
.article-heading { max-width: 51rem; margin: 0 auto 1.9rem; }
.article-heading h1, .legal-main h1 {
  margin-block: .5rem .85rem;
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  text-wrap: initial;
}
.article-deck { color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.38rem); line-height: 1.55; }

.article-image {
  width: 100%;
  height: auto;
  max-height: 30rem;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 49%;
  border-radius: .2rem;
  background: #dedfd8;
}

.article-copy, .legal-main { max-width: 48rem; margin-inline: auto; }
.article-copy { margin-top: clamp(2rem, 5vw, 3.65rem); }
.article-copy h2, .legal-main h2, .chapter-content h2 {
  margin: 1.75rem 0 .65rem;
  font-size: clamp(1.75rem, 3.8vw, 3.05rem);
  text-wrap: initial;
}
.article-copy h2:first-child { margin-top: 0; }
.article-copy p, .article-copy li, .legal-main p, .legal-main li { max-width: 68ch; color: var(--muted); }
.article-copy p + p, .legal-main p + p { margin-top: .8rem; }
.article-copy ul, .legal-main ul { padding-left: 1.45rem; }
.article-copy li + li, .legal-main li + li { margin-top: .35rem; }
.article-copy .text-link, .legal-main .text-link { margin-top: .9rem; }
.legal-main { padding-block: clamp(2.5rem, 6vw, 5rem); }
.legal-address { color: var(--muted); font-style: normal; }
.legal-address + p { margin-top: .8rem; }
.draft-notice { margin-block: 1.25rem; padding: .9rem 1.15rem; border-left: .23rem solid #9e6f47; background: #e8e5dc; }

.home-page, .chapter-page { color-scheme: light; background: #e7ebe3; color: #28362c; }
.home-page .site-header, .chapter-page .site-header,
.home-page .site-footer, .chapter-page .site-footer {
  background: #e5e9e1;
  border-color: #bdc5b6;
}
.home-page .wordmark img, .chapter-page .wordmark img { border-radius: 50%; outline: 1px solid #5d7169; }
.chapter-page .kicker { color: #415644; }

.chapter-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(25rem, 50vw, 43rem);
  overflow: clip;
  background: var(--slate);
  color: #dfcfb1;
}
.chapter-page .chapter-hero .kicker { color: #e7ae87; }
.chapter-hero-image, .chapter-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.chapter-hero-image { z-index: -2; object-fit: cover; object-position: 70% center; }
.chapter-hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #111819 3%, #111819a8 44%, #11181905 85%),
    linear-gradient(0deg, #111819, transparent 55%);
}
.chapter-pack .chapter-hero { background: #1d2c2b; }
.chapter-pack .chapter-hero-image { width: min(60%, 58rem); left: auto; object-position: center 42%; }
.chapter-pack .chapter-hero::after { background: linear-gradient(90deg, #111819 37%, #11181915 80%), linear-gradient(0deg, #111819, transparent 62%); }
.chapter-hero-inner { padding-block: clamp(3rem, 7vw, 7rem) clamp(2.6rem, 6vw, 5rem); }
.chapter-hero h1 { margin-block: .65rem .9rem; font-size: clamp(2.9rem, 7vw, 6.25rem); max-width: 12ch; text-wrap: initial; }
.chapter-deck { max-width: 33rem; color: #ead8ba; font-size: clamp(1.02rem, 2vw, 1.28rem); line-height: 1.58; }
.chapter-content { padding-block: clamp(2.3rem, 5.5vw, 5rem); border-top: 1px solid #bcc8bc; }
.chapter-content h2 { margin-top: .5rem; }
.chapter-content > p:not(.kicker) { max-width: 64ch; color: #405446; }
.chapter-content > p + p:not(.kicker) { margin-top: .7rem; }
.chapter-content > .text-link { margin-top: 1rem; }
.chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 1.5rem .6rem; }
.chapter-card { border-block-start: 1px solid #9bad9e; padding: 1.15rem; background: #dce5da; }
.chapter-card h3 { margin-bottom: .65rem; font-size: clamp(1.45rem, 2.7vw, 2.2rem); text-wrap: initial; }
.chapter-card p { color: #405446; }
.chapter-card-photo { width: 100%; height: auto; aspect-ratio: 1.58; object-fit: cover; object-position: center 38%; margin-bottom: .9rem; }
.chapter-card .text-link { margin-top: .65rem; color: #253d2b; }
.chapter-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .7rem 1.5rem; padding-block: 1.2rem 3.5rem; }
.chapter-page .button-ink { background: var(--copper); color: #221b18; }
.chapter-page .button-ink:hover { background: #f1c29f; }

.checklist { max-width: 58rem; margin-top: 1.55rem; border: 1px solid #a9baab; padding: clamp(.95rem, 3vw, 2rem); background: #dce5da; }
.checklist-status { font-weight: 700; }
.checklist progress { display: block; width: min(100%, 22rem); margin-block: .55rem 1.35rem; accent-color: #47634f; }
.checklist-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 1.25rem; min-width: 0; margin: .85rem 0 1.15rem; padding: 0; border: 0; }
.checklist-items legend { margin-bottom: .5rem; font-weight: 600; }
.checklist-items label { display: flex; align-items: baseline; gap: .68rem; padding-block: .52rem; cursor: pointer; }
.checklist-items input { flex: none; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: #47634f; }
.checklist-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: .7rem; }

@media (max-width: 49rem) {
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter-hero::after { background: linear-gradient(0deg, #111819 2%, #111819bf 30%, transparent 88%); }
  .chapter-pack .chapter-hero-image { width: 100%; }
  .chapter-pack .chapter-hero::after { background: linear-gradient(0deg, #111819, #111819ae 35%, transparent 84%); }
  .chapter-hero-inner { padding-top: 10rem; }
  .article-image { aspect-ratio: 1.45; }
}

@media (max-width: 34rem) {
  .header-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: .17rem; padding: .66rem 0 .25rem; }
  .wordmark { font-size: 1.34rem; }
  .wordmark img { width: 2rem; height: 2rem; }
  .site-nav { gap: 1.15rem; }
  .site-nav a { padding-block: .45rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: .3rem; padding-block: 1.3rem; }
  .checklist-items { grid-template-columns: minmax(0, 1fr); }
  .chapter-hero-image { object-position: 79% center; }
  .chapter-fire .chapter-hero-image { object-position: 69% center; }
}

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