:root {
  color-scheme: light;
  --paper: #f9f6ee;
  --surface: #fffdf8;
  --sand: #f0eadb;
  --line: #ddd6c7;
  --ink: #282e24;
  --muted: #51574b;
  --olive: #394730;
  --olive-deep: #2c3825;
  --olive-soft: #e7eadc;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
main { min-height: 52vh; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid #6c5d38; outline-offset: 4px; }
button, select { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; overflow-wrap: anywhere; }
h1, h2 { font-family: var(--serif); letter-spacing: -.049em; font-weight: 500; }
h2 { font-size: clamp(2rem, 4.3vw, 3.3rem); }
.wrap { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.skip, .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip:focus { z-index: 9; left: 1rem; top: 1rem; width: auto; height: auto; margin: 0; clip: auto; padding: .75rem 1rem; background: var(--surface); }
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); position: relative; z-index: 2; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.75rem; align-items: center; min-height: 75px; }
.brand { display: inline-flex; gap: .65rem; align-items: center; justify-self: start; text-decoration: none; font-size: .98rem; font-weight: 450; line-height: 1.1; }
.brand strong { display: block; font-weight: 700; }
.mark { width: 34px; height: 34px; background: var(--olive-deep); border-radius: 9px; display: grid; grid-template: repeat(2, 1fr) / repeat(2, 1fr); gap: 2px; padding: 8px; flex: none; }
.mark i { background: #f6eed7; border-radius: 1.5px; }
.mark i:nth-child(2) { background: #b7c295; }
.primary-nav, .header-tools, .switch { display: flex; align-items: center; }
.primary-nav { gap: clamp(.7rem, 2.2vw, 2.05rem); font-weight: 590; font-size: .91rem; white-space: nowrap; }
.primary-nav > a, .nav-drop summary { padding-block: .65rem; text-decoration: none; }
.primary-nav > a:hover, .nav-drop summary:hover { text-decoration: underline; }
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .4rem; cursor: pointer; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: ''; width: .36rem; height: .36rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-25%) rotate(45deg); }
.nav-drop[open] summary::after { transform: translateY(25%) rotate(225deg); }
.nav-panel { position: absolute; top: calc(100% + .25rem); left: -.65rem; z-index: 3; width: 19rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: .55rem; max-height: min(65vh, 30rem); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 13px 36px #252a221b; }
.nav-panel a { display: block; padding: .55rem; border-radius: 6px; text-decoration: none; white-space: normal; }
.nav-panel a:hover { background: var(--olive-soft); text-decoration: underline; }
.nav-all { grid-column: 1/-1; border-bottom: 1px solid var(--line); }
.header-tools { justify-content: flex-end; gap: 1rem; }
.switch { gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.switch a { min-width: 2.15rem; min-height: 2.15rem; display: grid; place-items: center; font-size: .8rem; font-weight: 650; border-radius: 999px; color: var(--muted); text-decoration: none; }
.switch a[aria-current] { background: var(--olive-soft); color: var(--olive-deep); }
.switch a:hover { text-decoration: underline; }
.button { min-height: 45px; display: inline-flex; gap: .5rem; align-items: center; justify-content: center; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: 8px; font: 650 .9rem/1.25 var(--sans); text-decoration: none; text-align: center; }
.button--primary, .button--small { background: var(--olive); color: #fffdf6; }
.button--primary:hover, .button--small:hover { background: var(--olive-deep); }
.button--small { min-height: 41px; padding: .55rem .85rem; white-space: nowrap; }
.button--outline { background: transparent; border-color: #b4b8a6; }
.button--outline:hover { background: var(--olive-soft); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); align-items: stretch; margin-block: 38px 51px; min-height: 470px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--sand); }
.hero-copy { align-self: center; padding: clamp(1.6rem, 5vw, 4.35rem) clamp(1.35rem, 4.7vw, 4rem); }
.kicker { font-size: .82rem; font-weight: 720; color: var(--olive-deep); margin-bottom: 1.08rem; display: flex; align-items: baseline; gap: .55rem; }
.kicker::before { content: ''; display: inline-block; align-self: center; flex: none; width: .47rem; height: .47rem; border-radius: 50%; background: #74835a; }
.hero h1 { font-size: clamp(3.15rem, 7.2vw, 6.65rem); line-height: .91; letter-spacing: -.079em; }
.hero h1 em { color: var(--olive); font-weight: 500; font-size: .88em; }
.hero-intro { margin: 1.65rem 0 1.6rem; color: #41483b; line-height: 1.64; max-width: 37ch; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-photo { position: relative; min-height: 375px; background: #e2d5bc; }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.block { margin: 0 auto 3.6rem; scroll-margin-top: 1.25rem; }
.section-band { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin: 0 0 1.2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.section-band div > p { margin-top: .5rem; color: var(--muted); }
.quiet-link, .count { font-size: .87rem; color: var(--muted); font-weight: 650; white-space: nowrap; }
.category-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: clamp(.8rem, 3vw, 1.55rem); }
.category-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.25rem; }
.category-top p { color: var(--muted); }
.picker { display: flex; gap: .4rem; flex-wrap: wrap; }
.picker select { max-width: 100%; border: 1px solid #bdb7a8; border-radius: 8px; padding: .55rem .7rem; min-height: 45px; background: var(--surface); color: var(--ink); }
.shop-links { display: grid; gap: .45rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr)); }
.shop-links a { display: grid; min-height: 45px; place-items: center; text-align: center; padding: .4rem; font-size: .84rem; font-weight: 650; overflow-wrap: anywhere; color: var(--olive-deep); text-decoration: none; border-radius: 7px; background: #f0eee4; }
.shop-links a:hover { background: var(--olive-soft); text-decoration: underline; }
.topic-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: .1rem 0 1.25rem; }
.topic-chip { box-shadow: inset 0 0 0 1px #cdd1bf; color: var(--olive-deep); display: inline-flex; align-items: center; min-height: 41px; padding: .35rem .8rem; border-radius: 99px; font-size: .85rem; text-decoration: none; font-weight: 650; }
.topic-chip:hover { background: var(--olive-soft); text-decoration: underline; }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 2vw, 1.4rem); }
.journal-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.journal-card > a { display: block; height: 100%; text-decoration: none; }
.journal-card > a:hover h3 { text-decoration: underline; }
.journal-card > a:focus-visible { outline-offset: -4px; }
.journal-card img { width: 100%; aspect-ratio: 38 / 25; object-fit: cover; background: var(--sand); }
.card-copy { padding: .95rem 1.02rem 1.18rem; }
.card-topic { color: var(--olive); font-size: .83rem; font-weight: 720; margin-bottom: .4rem; }
.journal-card h3 { font: 500 clamp(1.25rem, 2.25vw, 1.65rem)/1.15 var(--serif); letter-spacing: -.026em; }
.card-summary { color: var(--muted); margin-top: .55rem; font-size: .93rem; line-height: 1.5; }
.guides-block { border-radius: 16px; padding: clamp(1rem, 3vw, 2.15rem); background: var(--olive-soft); }
.guides-block .section-band { border-color: #cbd0bf; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.guide-group { padding: 1rem 1.05rem; background: var(--surface); border-radius: 9px; }
.guide-group h3 a { text-decoration: none; }
.guide-group h3 a:hover { text-decoration: underline; }
.guide-list { margin: .6rem 0 0; padding: 0; list-style: none; }
.guide-list a { display: block; padding: .42rem 0; font-size: .96rem; }
.guide-list li + li { border-top: 1px solid var(--line); }
.page-block { padding-block: clamp(1.2rem, 4vw, 3.4rem) 4rem; }
.page-block h1 { font-size: clamp(2.4rem, 6.2vw, 4.75rem); margin: .4rem 0 .85rem; }
.page-block > #shop { margin-top: 1.3rem; }
.page-block .block { padding-top: 1.6rem; margin-bottom: 1.65rem; }
.lede { font-size: clamp(1.12rem, 2vw, 1.3rem); max-width: 58ch; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; gap: .4rem .65rem; flex-wrap: wrap; font-size: .86rem; color: var(--muted); }
.breadcrumbs li:not(:first-child)::before { content: '/'; margin-right: .55rem; color: #786e5d; }
.reading { max-width: 850px; }
.reading figure { margin: 1.6rem 0 2.2rem; }
.reading figure img { width: 100%; aspect-ratio: 38 / 25; object-fit: cover; border-radius: 14px; background: var(--sand); }
.reading figcaption { color: var(--muted); font-size: .85rem; margin-top: .45rem; }
.prose section + section { margin-top: 1.65rem; }
.prose h2, .related h2 { font-size: clamp(1.55rem, 3.5vw, 2.25rem); margin-bottom: .55rem; }
.prose { max-width: 69ch; }
.prose p + p { margin-top: .7rem; }
.checklist { background: var(--olive-soft); padding: 1.2rem 1.35rem; border-radius: 12px; }
.checklist ul { padding-left: 1.15rem; margin: .3rem 0 0; }
.checklist li + li { margin-top: .3rem; }
.related { margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.site-footer { background: var(--sand); border-top: 1px solid var(--line); color: var(--olive-deep); }
.footer-row { display: flex; align-items: baseline; justify-content: space-between; gap: .85rem 1.8rem; padding-block: 1.5rem; flex-wrap: wrap; }
.footer-row p { font-size: .89rem; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .89rem; }
@media (max-width: 1050px) {
  .header-row { gap: 1rem; }
  .header-tools { gap: .55rem; }
  .hero { min-height: 430px; }
  .hero-copy { padding-inline: 2rem; }
}
@media (max-width: 790px) {
  .wrap { width: calc(100% - 38px); }
  .header-row { grid-template-columns: 1fr auto; padding-block: .7rem .15rem; gap: .15rem .65rem; }
  .primary-nav { grid-row: 2; grid-column: 1/-1; gap: 1rem; border-top: 1px solid var(--line); margin-top: .32rem; flex-wrap: wrap; }
  .hero { margin-top: 23px; min-height: 0; }
  .hero-copy { padding: 1.55rem; }
  .hero-photo { min-height: 0; }
  .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 670px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 250px; aspect-ratio: 1.65; }
}
@media (max-width: 565px) {
  .wrap { width: calc(100% - 32px); }
  .hero { grid-template-columns: 1fr; border-radius: 15px; margin-bottom: 2.9rem; }
  .hero-copy { padding: 1.6rem 1.2rem; }
  .hero h1 { font-size: clamp(3.1rem, 13.9vw, 4.8rem); }
  .hero-intro { margin-block: 1.1rem; }
  .hero-photo { min-height: 235px; aspect-ratio: 1.56; }
  .primary-nav { justify-content: space-between; gap: .1rem .55rem; font-size: .82rem; }
  .nav-panel { left: -3.25rem; width: min(17.5rem, calc(100vw - 35px)); }
  .header-catalog { display: none; }
  .shop-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: 1fr; }
  .block { margin-bottom: 2.6rem; }
}
@media (max-width: 420px) {
  .journal-grid { grid-template-columns: 1fr; }
  .section-band .count { align-self: flex-start; padding-top: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
