@font-face {
  font-family: Atkinson;
  src: url('/assets/atkinson.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url('/assets/cormorant.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #151e1b;
  --ink: #ebdeb3;
  --text: #dedfd0;
  --muted: #afb9aa;
  --line: #526257;
  --saffron: #efbd4b;
  --blush: #21332a;
  --measure: 89rem;
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font: 1.075rem/1.55 Atkinson, system-ui, sans-serif;
}
.frame { width: min(100% - clamp(2.25rem, 8vw, 9rem), var(--measure)); margin-inline: auto; }
a { color: var(--ink); text-decoration-thickness: .09em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #a74420; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; top: .6rem; left: 1rem; transform: translateY(-180%); z-index: 2; background: white; padding: .5rem; }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid var(--ink); }
.mast-inner, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.mast-inner { min-height: 5.7rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; font-size: 1.13rem; line-height: .95; font-weight: 760; letter-spacing: -.035em; text-decoration: none; }
.mark { position: relative; width: 2.1rem; height: 2.4rem; display: inline-block; }
.mark i { position: absolute; height: 1.95rem; width: 1rem; top: .3rem; left: .75rem; transform-origin: 35% 95%; border-radius: 100% 100% .08em .08em; }
.mark i:nth-child(1) { transform: rotate(-36deg); background: #b74f30; }
.mark i:nth-child(2) { transform: rotate(-6deg); background: #d59d26; }
.mark i:nth-child(3) { transform: rotate(22deg); background: #295840; }
nav { display: flex; }
.mast nav { gap: clamp(1rem, 3vw, 3.3rem); }
.mast nav a, footer nav a { font-size: 1rem; font-weight: 570; text-decoration: none; }
.mast nav a:hover, footer nav a:hover, .mast nav [aria-current] { text-decoration: underline; text-underline-offset: .38em; }
.hero { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap: clamp(2rem, 4.5vw, 5rem); align-items: center; padding-block: clamp(2rem, 4.7vw, 5.1rem); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); }
.hero h1, .intro h1, .feature h2, .home-guides h2, .print-promo h2 { font-family: Cormorant, Georgia, serif; letter-spacing: -.055em; line-height: .91; font-weight: 700; }
.hero h1 { font-size: clamp(4.2rem, 6.9vw, 7.5rem); max-width: 9.4ch; }
.hero-copy p { max-width: 37ch; margin-top: 1.7rem; font-size: clamp(1.1rem, 1.46vw, 1.4rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.85rem; margin-top: 1.65rem; }
.button, .text-link { display: inline-block; font: 650 1rem/1.3 Atkinson, sans-serif; }
.button { color: var(--paper); padding: .9rem 1.32rem; background: var(--ink); border: 1px solid var(--ink); text-decoration: none; cursor: pointer; }
.button:hover { background: #ffe69a; }
.text-link { text-underline-offset: .28em; }
.hero-art { border: 1px solid var(--ink); background: var(--blush); position: relative; }
.hero-art img { display: block; width: 100%; height: auto; }
.band { background: #243c2e; color: #e5ead8; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(2.6rem, 5vw, 5rem); align-items: center; }
.feature h2 { color: #f3cc6d; max-width: 12ch; font-size: clamp(3rem, 4.6vw, 5.1rem); }
.feature p { max-width: 49ch; font-size: 1.16rem; }
.button.light { background: #f1c663; color: #1f2a21; margin-top: 1.2rem; }
.button.light:hover { background: #fada84; }
.home-guides { padding-block: clamp(3rem, 6vw, 6rem); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding-bottom: 1.2rem; }
.home-guides h2, .print-promo h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); }
.guide-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--ink); }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list li > a { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.2rem .25rem; text-decoration: none; }
.guide-list li > a:hover { background: #2c3a30; }
.guide-list h3 { font-size: 1.38rem; line-height: 1.25; letter-spacing: -.015em; }
.guide-list p { color: var(--muted); max-width: 65ch; margin-top: .3rem; }
.arrow { font-size: 1.55rem; }
.toolkit li > a > span { font-size: .92rem; white-space: nowrap; }
footer { background: var(--blush); border-top: 1px solid var(--ink); }
.foot { padding-block: 2rem; }
.foot strong { font: 700 1.65rem/1 Cormorant, Georgia, serif; color: var(--ink); }
footer nav { flex-wrap: wrap; gap: .6rem 1.5rem; }
.intro { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.8rem, 4vw, 3.5rem); }
.intro h1 { font-size: clamp(3.4rem, 6.4vw, 6.3rem); max-width: 17ch; margin-bottom: 1.15rem; }
.lead { font-size: clamp(1.18rem, 1.8vw, 1.56rem); line-height: 1.5; max-width: 59ch; }
.crumb { display: inline-block; font-size: .96rem; margin-bottom: 1.2rem; }
.reading { display: grid; grid-template-columns: minmax(11rem, 16rem) minmax(0, 47rem); gap: clamp(2rem, 7vw, 7.5rem); padding-block: 2.5rem 5rem; border-top: 1px solid var(--ink); }
aside nav { display: block; }
aside h2 { font-size: 1.03rem; margin-bottom: .7rem; }
aside ol { list-style: none; margin: 0; padding: 0; }
aside li { margin-block: .48rem; }
aside a { text-decoration: none; color: var(--muted); }
aside a:hover { text-decoration: underline; }
aside nav a { font-size: .99rem; }
.aside-link { display: inline-block; border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: .8rem; font-size: .94rem; text-decoration: underline; }
.prose { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.62; overflow-wrap: anywhere; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre { margin: 0 0 1.15rem; }
.prose h2 { font: 700 clamp(2.1rem, 3.4vw, 3.2rem)/1.04 Cormorant, Georgia, serif; letter-spacing: -.035em; margin: 2.45rem 0 .8rem; scroll-margin-top: 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.3rem 0 .45rem; }
.prose li { margin-block: .4rem; }
.prose ul,.prose ol { padding-left: 1.4rem; }
.prose blockquote, .prose pre { border-left: .25rem solid #a64824; padding: 1.05rem 1.3rem; background: #25342c; }
.prose blockquote p:last-child { margin: 0; }
.prose pre { white-space: pre-wrap; }
.prose code { font-size: .91em; }
.copy-prompt { font: 600 .9rem Atkinson, sans-serif; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); padding: .35rem .7rem; margin: 0 0 .35rem; cursor: pointer; }
.prose .onward { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.2rem; }
.directory, .print-book { padding-bottom: 4rem; }
.directory .intro, .directory .guide-list, .directory .filter, .print-promo { max-width: 66rem; }
.filter { display: grid; grid-template-columns: minmax(15rem, 28rem) auto; gap: .3rem 1rem; align-items: center; margin: 0 0 1.4rem; }
.filter label { grid-column: 1/-1; font-weight: 650; }
.filter input { padding: .67rem .85rem; min-width: 0; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: #19281f; font: inherit; }
.filter p { font-size: .95rem; color: var(--muted); }
.print-promo { border: 1px solid var(--ink); padding: clamp(1.4rem,4vw,3rem); margin-top: 2rem; background: var(--blush); }
.print-promo p { margin-top: 1rem; }
.print-book .prose { max-width: 46rem; }
.print-guide { border-top: 1px solid var(--ink); padding: 2rem 0 1rem; }

@media(max-width: 849px) {
  .hero { grid-template-columns: 1fr; gap: 1.7rem; }
  .hero h1 { max-width: 12ch; font-size: clamp(4rem, 11vw, 6rem); }
  .hero-copy p { max-width: 52ch; }
  .hero-art { max-width: 48rem; }
  .reading { grid-template-columns: minmax(0,1fr); gap: 1.6rem; }
  aside { max-width: 40rem; border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
  aside ol { display: flex; flex-wrap: wrap; gap: .2rem 1.05rem; }
  aside nav a { text-decoration: underline; }
  .aside-link { border: 0; margin-top: .45rem; }
}
@media(max-width: 580px) {
  .mast-inner { align-items: flex-start; flex-direction: column; gap: .9rem; padding-block: .95rem .75rem; }
  .mast nav { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: .45rem .8rem; }
  .mast nav a { font-size: .96rem; padding-block: .22rem; }
  .hero { padding-top: 2.25rem; }
  .feature { grid-template-columns: 1fr; gap: 1rem; }
  .feature h2 { max-width: 15ch; }
  .foot { align-items: flex-start; flex-direction: column; }
  .section-title { flex-direction: column; gap: .6rem; }
  .filter { grid-template-columns: minmax(0,1fr); }
  .guide-list li > a { align-items: flex-start; }
  .toolkit li > a { flex-direction: column; gap: .55rem; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { --paper: #fff; --ink: #111; --text: #111; }
  body { background: white; color: black; font-size: 10.5pt; }
  .frame { width: 100%; }
  .mast, footer, aside, .skip, .crumb, .actions, .copy-prompt, .onward { display: none; }
  .reading, .prose { display: block; font-size: 10.5pt; }
  .intro { padding: .5rem 0; }
  .intro h1 { font-size: 29pt; }
  .print-guide { break-before: page; border: 0; padding: 0; }
  .print-guide:first-child { break-before: auto; }
  h2, h3 { break-after: avoid; }
  .prose h2 { font-size: 21pt; }
  a { color: black; }
  @page { margin: 1.6cm; }
}


@media screen{.mast{background:#1a2820}.hero-art{background:#1f3228}.button,.text-link,nav a{transition:background-color .2s ease,transform .2s ease}.button:hover{transform:translateY(-2px)}}
@media(prefers-reduced-motion:no-preference){@view-transition{navigation:auto}.hero{background:radial-gradient(ellipse at 80% 30%,#29402b70,transparent 56%);background-size:120% 120%;animation:society-light 20s ease-in-out infinite alternate}@keyframes society-light{to{background-position:100% 65%}}}
