:root {
  color-scheme: light;
  --paper: #faf4eb;
  --cream: #f8efdf;
  --ink: #161a15;
  --willow: #29461e;
  --dark: #172a14;
  --muted: #4f5949;
  --line: #d9cbb5;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.11rem/1.55 var(--serif); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--willow); text-underline-offset: .17em; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 3px solid #895518; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 5; top: .5rem; left: .5rem; background: white; padding: .5rem 1rem; }
.shell { width: min(100% - clamp(2rem, 12vw, 9rem), 1140px); margin-inline: auto; }
h1, h2, h3, p, ul { margin-top: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
h1 { font-size: clamp(2.65rem, 6vw, 5.2rem); margin-bottom: .32em; }
h2 { font-size: clamp(2rem, 3.75vw, 3.5rem); margin-bottom: .3em; }
h3 { font-size: clamp(1.38rem, 2.5vw, 1.9rem); margin-bottom: .35em; }
.site-header { background: #fdf5ec; }
.header-inner { min-height: 94px; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: clamp(190px, 24vw, 320px); }
#site-nav { display: flex; align-items: center; gap: clamp(.7rem, 2.2vw, 2rem); }
#site-nav a { color: var(--ink); text-decoration: none; white-space: nowrap; padding-block: .45rem; border-bottom: 2px solid transparent; }
#site-nav a:hover, #site-nav [aria-current] { border-color: var(--willow); }
.search-link { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.search-link svg { width: 25px; }
.menu-button { display: none; min-height: 44px; background: transparent; border: 1px solid var(--willow); border-radius: .35rem; padding: .4rem .8rem; }
.hero { position: relative; isolation: isolate; background: #f5e7d4; overflow: hidden; }
.hero-art { z-index: -1; position: absolute; inset: 0 0 0 39%; }
.hero-art picture, .hero-art img { width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: center 72%; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f5e7d4 0%, #f5e7d4a0 12%, transparent 31%); }
.hero-inner { min-height: clamp(385px, 36vw, 516px); display: flex; align-items: center; }
.hero-copy { max-width: 34rem; padding-block: 2.6rem; }
.hero h1 { font-size: clamp(3.1rem, 6.1vw, 5.55rem); line-height: .96; }
.hero p { max-width: 25rem; font-size: clamp(1.27rem, 2.1vw, 1.7rem); font-style: italic; line-height: 1.2; margin-bottom: 1.25rem; }
.willow-rule { width: 10.2rem; height: .88rem; margin: 0 0 1.2rem 1.2rem; border-top: 4px solid #496137; border-radius: 62% 45% 30% 0; transform: rotate(-2deg); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .58em 1.15em; font-size: 1em; line-height: 1.2; border: 1px solid var(--willow); border-radius: .6rem; background: var(--willow); color: #fffaf1; text-decoration: none; transition: background-color .18s, color .18s, transform .18s; }
.button span[aria-hidden="true"] { transition: transform .18s; }
.button:hover span[aria-hidden="true"] { transform: translateX(3px); }
.button:hover { background: #193315; }
.button.outline { background: #f9f2e5; color: #182a16; }
.button.outline:hover { background: #e9e9d8; }
.button.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button.light:hover { background: #efe4cf; }
.category-band { background: var(--paper); }
.categories { list-style: none; padding: 2rem 0 2.35rem; margin-block: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); width: min(100% - 3rem, 1230px); }
.categories li + li { border-left: 1px solid var(--line); }
.categories a { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: .2rem .7rem .4rem; }
.categories a:hover strong { text-decoration: underline; }
.categories svg { color: var(--willow); width: 3.65rem; height: 3.65rem; margin-bottom: .65rem; transition: transform .22s ease; }
.categories a:hover svg, .categories a:focus-visible svg { transform: translateY(-3px); }
.categories strong { font-size: clamp(1.07rem, 2vw, 1.6rem); line-height: 1.14; letter-spacing: -.045em; }
.categories span { max-width: 12rem; font-style: italic; line-height: 1.2; margin-top: .45rem; }
.journal-band { color: #fff8e8; background: radial-gradient(ellipse at 87% 100%, #40552b 0%, transparent 47%), repeating-linear-gradient(137deg,#142712 0%,#203719 19%,#182c15 34%,#233718 48%); padding-block: clamp(2rem, 4.6vw, 4rem); }
.journal-inner { display: grid; grid-template-columns: minmax(15rem, 1fr) minmax(0, 2fr); gap: 2rem; align-items: center; }
.journal-intro { border-left: 2px solid #decb99; padding-left: clamp(.9rem, 2vw, 1.6rem); }
.journal-intro h2 { font-size: clamp(2.25rem, 3.65vw, 3.4rem); font-style: italic; }
.journal-intro h2 span { display: block; font-size: .67em; }
.journal-intro p { font-style: italic; max-width: 18rem; line-height: 1.25; margin-bottom: 1rem; }
.journal-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.journal-photos a { display: flex; flex-direction: column; justify-content: space-between; background: #fff5e6; color: var(--ink); text-align: center; text-decoration: none; padding: .58rem .58rem .7rem; border-radius: 5px; box-shadow: 0 6px 12px #080c0680; transform: rotate(-5deg); transition: transform .18s; }
.journal-photos a:nth-child(2) { transform: rotate(3deg); }
.journal-photos a:nth-child(3) { transform: rotate(7deg); }
.journal-photos a:hover, .journal-photos a:focus-visible { z-index: 1; transform: translateY(-4px); }
.journal-photos img { width: 100%; height: auto; aspect-ratio: 1.27; object-fit: cover; }
.journal-photos span { font-style: italic; line-height: 1.2; padding-top: .6rem; font-size: clamp(.9rem,1.5vw,1.18rem); }
.newsletter-band { background: var(--paper); }
.newsletter-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; padding-block: 2.6rem; align-items: center; }
.newsletter-inner svg { width: clamp(3rem, 7vw, 5.7rem); color: var(--willow); }
.newsletter-inner div { border-left: 1px solid #829070; padding-left: 1.45rem; }
.newsletter-inner h2 { margin-bottom: .08em; }
.newsletter-inner p { margin-bottom: 0; font-style: italic; }
.site-footer { border-top: 1px solid var(--line); background: #f1e6d6; margin-top: auto; }
.footer-inner, .footer-inner nav { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; }
.footer-inner { justify-content: space-between; padding-block: 1.1rem; font-size: .94rem; }
body { min-height: 100vh; display: flex; flex-direction: column; }
.internal { padding-block: clamp(2rem, 5vw, 4.5rem); }
.heading { margin-bottom: clamp(1.6rem, 4vw, 3.3rem); }
.heading p:last-child { margin-bottom: 0; }
.lede { font-size: 1.22em; color: var(--muted); max-width: 39rem; }
.eyebrow { font: 650 .76rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .105em; color: var(--willow); margin-bottom: .6rem; }
.prose { width: min(100% - 2rem, 46rem); margin-inline: auto; }
.prose h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); }
.prose > h2 { margin-top: 1.4em; }
.prose > a:first-child + .heading { margin-top: 1rem; }
.prose .button + .button { margin-left: .4rem; }
.article-image { width: 100%; aspect-ratio: 1.8; object-fit: cover; margin-bottom: 1.65rem; border-radius: .65rem; }
.tile-grid, .book-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1rem, 3vw, 2rem); }
.tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .65rem; overflow: hidden; background: #fffaf2; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px #29241b14; border-color: #c7b59a; }
.tile > img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.tile-body { flex: 1; display: flex; flex-direction: column; padding: 1.15rem; }
.tile-body h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.tile-body h2 a, .book h3 a { color: inherit; text-decoration: none; }
.tile-body h2 a:hover, .book h3 a:hover { text-decoration: underline; color: var(--willow); }
.tile-body p { margin-bottom: .8rem; }
.tile-actions { margin-top: auto; padding-top: .35rem; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.4rem; }
.filters a { border: 1px solid var(--line); padding: .42rem .78rem; text-decoration: none; border-radius: 2rem; transition: border-color .18s, background-color .18s, color .18s; }
.filters a:hover { border-color: var(--willow); }
.filters a[aria-current] { background: var(--willow); color: white; border-color: var(--willow); }
.catalogue-section { margin-bottom: 2.8rem; }
.series { width: 100%; max-height: 530px; object-fit: contain; background: #f2ebe0; border: 1px solid var(--line); margin: 1.2rem 0 1.6rem; border-radius: .6rem; }
.book { display: flex; flex-direction: column; }
.book-image { aspect-ratio: 1; display: grid; place-items: center; background: #eae4d8; border-radius: .55rem; margin-bottom: .9rem; padding: 1.15rem; transition: background-color .2s ease; }
.book:hover .book-image { background: #e3dbcc; }
.book-image img { max-height: clamp(9rem, 23vw, 17rem); width: auto; object-fit: contain; box-shadow: 5px 7px 10px #29241b37; transition: transform .22s ease; }
.book:hover .book-image img { transform: translateY(-3px); }
.book p { color: var(--muted); margin-bottom: .65rem; }
.book-actions { margin-top: auto; padding-top: .4rem; display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.book-detail { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.2rem); align-items: start; margin-top: 1.5rem; margin-bottom: 2.8rem; }
.book-detail-cover { display: grid; place-items: center; background: #eae4d8; border: 1px solid var(--line); border-radius: .65rem; padding: clamp(1.2rem, 3vw, 2rem); }
.book-detail-cover img { max-height: 24rem; width: auto; object-fit: contain; box-shadow: 7px 10px 16px #29241b40; }
.book-detail-body .heading { margin-bottom: 1.5rem; }
.book-detail-body h1 { font-size: clamp(2.1rem, 4.2vw, 3.35rem); }
.book-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .9rem 1.4rem; margin: 0 0 1.6rem; padding-block: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book-meta dt { font: 650 .74rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .09em; color: var(--willow); }
.book-meta dd { margin: .15rem 0 0; font-weight: 500; }
.story-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .4rem; }
.story-header h2, .story-header .eyebrow { margin-bottom: 0; }
.story-controls { align-items: center; }
.search-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .85rem; }
.search-suggestions span { color: var(--muted); font-size: .95rem; }
.chip { background: #fffaf2; border: 1px solid var(--line); border-radius: 2rem; padding: .28rem .75rem; font-size: .92rem; transition: border-color .18s, background-color .18s; }
.chip:hover { border-color: var(--willow); background: #f4ead9; }
.status-note { font-size: .96rem; color: var(--muted); }
.status-note[data-state="ok"] { color: var(--willow); font-weight: bold; }
.status-note[data-state="error"] { color: #7a261d; font-weight: bold; }
.text-link { font-weight: bold; }
.callout, .form { background: #fffaf3; border: 1px solid var(--line); border-radius: .65rem; padding: clamp(1rem, 3vw, 1.8rem); margin-block: 1.5rem; }
.resource-list { list-style: none; padding: 0; }
.resource-list li { border-bottom: 1px solid var(--line); padding: .85rem 0; }
.resource-list li p { margin-bottom: .2rem; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form label, .search-form label { display: block; font-weight: bold; margin-bottom: .65rem; }
.form input, .form select, .form textarea, .search-form input { display: block; width: 100%; padding: .5rem .68rem; background: #fffbf5; border: 1px solid #797e69; border-radius: .3rem; font-weight: normal; }
.form input, .form select, .form textarea { margin-top: .2rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form p { margin: .75rem 0; }
#contact-challenge { margin-block: .6rem; min-height: .5rem; }
.form textarea { resize: vertical; }
.search-form > div { display: flex; flex-wrap: wrap; gap: .55rem; }
.search-form input { flex: 1 1 13rem; width: auto; }
#search-status { margin: 1rem 0 0; }
.newsletter-embed { width: 100%; height: 540px; border: 1px solid var(--line); border-radius: .65rem; background: #fffaf3; }
@media (max-width: 960px) {
  .header-inner { width: min(100% - 2.5rem, 1140px); gap: .8rem; }
  .brand img { width: clamp(160px, 21vw, 240px); }
  #site-nav { font-size: .96rem; gap: .7rem; }
  .shell { width: min(100% - 3rem, 1140px); }
  .categories { width: calc(100% - 2rem); }
  .categories span { font-size: .95rem; }
}
@media (max-width: 745px) {
  .header-inner { flex-wrap: wrap; min-height: 68px; padding-block: .45rem; gap: .35rem 1rem; }
  .menu-ready .menu-button { display: block; }
  #site-nav { flex-wrap: wrap; width: 100%; gap: .25rem 1rem; padding-bottom: .3rem; }
  .menu-ready #site-nav:not(.open) { display: none; }
  .hero-art { left: 25%; }
  .hero-art::after { background: linear-gradient(90deg, #f5e7d4, #f5e7d4d4 34%, transparent 85%); }
  .hero-inner { min-height: 350px; }
  .journal-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .journal-intro h2 span { display: inline; font-size: 1em; }
  .journal-intro p { max-width: 27rem; }
  .journal-photos { margin: .3rem .5rem; }
  .tile-grid, .book-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .book-detail { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 2rem); }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-art { position: relative; inset: auto; height: clamp(165px, 47vw, 268px); }
  .hero-art img { object-position: center 68%; }
  .hero-art::after { background: linear-gradient(#f5e7d4 0%, transparent 27%); }
  .hero-inner { min-height: 0; }
  .hero-copy { padding: 1.7rem 0 .4rem; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 4.1rem); }
  .hero p { font-size: 1.15rem; }
  .willow-rule { margin-bottom: .75rem; }
  .categories { grid-template-columns: repeat(2, minmax(0,1fr)); padding: .8rem 0 1.05rem; }
  .categories li + li { border-left: 0; }
  .categories li:nth-child(even) { border-left: 1px solid var(--line); }
  .categories li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .categories li:last-child { grid-column: 1 / -1; }
  .categories a { padding: .65rem .25rem; }
  .categories span { max-width: 9.5rem; }
  .categories svg { width: 2.5rem; height: 2.5rem; margin-bottom: .35rem; }
  .newsletter-inner { gap: .8rem; padding-block: 1.4rem; }
  .newsletter-inner div { padding-left: .7rem; }
  .newsletter-inner .button { grid-column: 2; justify-self: start; }
}
@media (max-width: 420px) {
  .actions { gap: .45rem; }
  .actions .button { font-size: .91rem; padding-inline: .7rem; }
  .journal-photos a { padding: .28rem .28rem .4rem; }
  .journal-photos span { font-size: .76rem; }
  .tile-grid, .field-pair { grid-template-columns: 1fr; }
  .book-image { padding: .65rem; }
  .book-image img { max-height: 7.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
