
:root {
  --paper: #f7f1e3;
  --card: #fffaf0;
  --ink: #3a2c1e;
  --accent: #8c2d19;
  --accent-dark: #6e2113;
  --rule: #d8c9a8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.65;
}
main { max-width: 960px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-weight: normal; letter-spacing: .02em; }
h1 { font-size: 2rem; margin: .5rem 0 1rem; }

.site-header {
  background: var(--accent-dark);
  color: #f4e9d4;
  padding: .8rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline;
}
.site-header a { color: #f4e9d4; text-decoration: none; }
.site-header a:hover { text-decoration: underline; }
.site-name { font-size: 1.15rem; font-variant: small-caps; letter-spacing: .06em; }
.site-header nav { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: .95rem; }

.hero { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.hero img {
  width: 300px; max-width: 100%; border: 6px solid #fff;
  box-shadow: 0 3px 14px rgba(58,44,30,.35); transform: rotate(-1deg);
}
.hero-text { flex: 1 1 320px; }
.hero-text h1 { font-size: 2.4rem; margin: 0; }
.subtitle { font-style: italic; color: #6b573f; margin-top: .2rem; }
.button {
  display: inline-block; background: var(--accent); color: #fff8ec !important;
  padding: .45rem 1rem; border-radius: 3px; text-decoration: none; margin-right: .6rem;
}
.button.ghost { background: transparent; color: var(--accent) !important; border: 1px solid var(--accent); }
.button:hover { background: var(--accent-dark); }
.button.ghost:hover { background: rgba(140,45,25,.08); }

.section-title { border-bottom: 2px solid var(--rule); padding-bottom: .3rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.cat-card {
  background: var(--card); border: 1px solid var(--rule); border-radius: 4px;
  padding: 1rem 1.1rem; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: box-shadow .15s, transform .15s;
}
.cat-card:hover { box-shadow: 0 3px 10px rgba(58,44,30,.2); transform: translateY(-2px); }
.cat-card h3 { margin: 0 0 .4rem; color: var(--accent); }
.cat-card p { margin: 0 0 .6rem; font-size: .92rem; }
.cat-card .count { margin-top: auto; font-size: .82rem; color: #8a7457; font-variant: small-caps; }

.crumbs { font-size: .9rem; color: #8a7457; margin-bottom: .5rem; }
.blurb { font-style: italic; color: #6b573f; }

.recipe-list { list-style: none; padding: 0; }
.recipe-list li { padding: .45rem 0; border-bottom: 1px dotted var(--rule); }
.recipe-list a { text-decoration: none; }
.recipe-list a:hover { text-decoration: underline; }
.pageno, .cat-tag { font-size: .8rem; color: #8a7457; margin-left: .4rem; }
.attr { color: #6b573f; font-style: italic; font-size: .92rem; }

.recipe {
  background: var(--card); border: 1px solid var(--rule); border-radius: 4px;
  padding: 1.6rem 2rem; box-shadow: 0 2px 8px rgba(58,44,30,.08);
}
.recipe h1 { margin-top: 0; }
.attribution { color: #6b573f; font-style: italic; margin-top: -0.6rem; }
.signature { text-align: right; }
.note {
  border-left: 3px solid var(--rule); padding: .3rem .9rem; font-style: italic;
  color: #5d4a33; background: rgba(216,201,168,.18);
}
.source-line { font-size: .85rem; color: #8a7457; }

details.scans { margin-top: 1.2rem; }
details.scans summary { cursor: pointer; color: var(--accent); }
details.scans figure { margin: 1rem 0; text-align: center; }
details.scans img, .title-page img {
  max-width: 100%; border: 1px solid var(--rule); box-shadow: 0 2px 8px rgba(58,44,30,.18);
}
.prevnext { display: flex; justify-content: space-between; margin-top: 1.2rem; gap: 1rem; }
.prevnext .next { margin-left: auto; }
.prevnext a { text-decoration: none; }

.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; }
.art-item { margin: 0; background: var(--card); border: 1px solid var(--rule); padding: .8rem; }
.art-item a { position: relative; display: block; overflow: hidden; }
.art-item img { width: 100%; display: block; }
.art-item figcaption { font-size: .85rem; margin-top: .5rem; }

.content-note {
  border-left: 3px solid var(--rule); padding: .5rem 1rem; font-size: .92rem;
  color: #5d4a33; background: rgba(216,201,168,.18);
}
.art-item.sensitive img { filter: blur(20px); transform: scale(1.08); }
.veil { display: none; }
.art-item.sensitive .veil {
  display: flex; flex-direction: column; justify-content: center; gap: .45rem;
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding: 1rem;
  text-align: center; font-size: .82rem; line-height: 1.5; color: var(--ink);
  background: rgba(247,241,227,.6); cursor: pointer;
}
.art-item.sensitive .veil strong { font-variant: small-caps; letter-spacing: .06em; font-size: .95rem; }
.reblur { display: none; }
.art-item.revealed .reblur {
  display: inline-block; margin-top: .4rem; font: inherit; font-size: .78rem;
  color: #8a7457; background: none; border: 1px solid var(--rule); border-radius: 3px;
  padding: .1rem .55rem; cursor: pointer;
}
.art-item.revealed .reblur:hover { color: var(--accent); border-color: var(--accent); }

.title-page { margin: 1rem auto; max-width: 420px; text-align: center; }
.title-page figcaption { font-size: .85rem; color: #8a7457; }
.about-section { margin-top: 2rem; }
.about-section h2 { border-bottom: 2px solid var(--rule); padding-bottom: .25rem; }

#filter {
  width: 100%; padding: .55rem .8rem; font: inherit; margin: .6rem 0 1rem;
  border: 1px solid var(--rule); border-radius: 3px; background: var(--card); color: inherit;
}

.site-footer {
  border-top: 2px solid var(--rule); margin-top: 2rem; padding: 1rem 1.25rem 2rem;
  font-size: .85rem; color: #8a7457; text-align: center;
}
@media (max-width: 640px) {
  .recipe { padding: 1.1rem 1.2rem; }
  .hero-text h1 { font-size: 1.8rem; }
}




/* global-footer format (2026-07-24 footer one-pass) */
.book-sites-global-footer{text-align:center;max-width:760px;margin:24px auto 0;padding:6px 20px 32px;font-size:13px;line-height:1.7}
.book-sites-global-footer nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:center}
.book-sites-global-footer nav a{padding:2px 11px;text-decoration:none;border-right:1px solid rgba(0,0,0,.25);line-height:1.2}
.book-sites-global-footer nav a:last-child{border-right:none}
.book-sites-global-footer p{margin:8px 0 0;opacity:.82}
/* /global-footer format */
