:root {
  --ink: #1C1A17;
  --paper: #F6F1E7;
  --accent: #B4552D;
  --slate: #5B7A82;
  --spruce: #22302B;
  --measure: 42rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #E8E2D6;
    --paper: #22302B;
    --slate: #8FAab2;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
  max-width: var(--measure);
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Charter", "Source Serif 4", Georgia, serif;
  font-size: 1.075rem;
  line-height: 1.6;
}
h1, h2, h3, nav, .meta, .wordmark, footer {
  font-family: "Inter Tight", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.masthead {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  align-items: baseline; justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.75rem; margin-bottom: 2rem;
}
.wordmark { font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
nav { display: flex; gap: 1rem; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.meta { color: var(--slate); font-size: 0.85rem; }
.tagline { font-size: 1.35rem; margin: 0.25rem 0 0; }
.app-icon {
  width: 64px !important; height: 64px !important;
  border-radius: 14px; vertical-align: -0.7em; margin-right: 0.5rem;
}
.recipe-search { margin: 1.5rem 0; }
.recipe-search input {
  width: 100%; padding: 0.55rem 0.8rem;
  font: inherit; color: var(--ink);
  background: transparent; border: 1.5px solid var(--slate); border-radius: 4px;
}
.recipe-search input:focus { outline: none; border-color: var(--accent); }
.page-list { list-style: none; padding: 0; }
.page-list li { margin: 0.4rem 0; }
main img, .placeholder { max-width: 100%; height: auto; }
.home-portrait { margin: 2rem 0; }
.home-portrait img { max-width: min(22rem, 100%); border-radius: 4px; }
.placeholder-figure { margin: 2rem 0; }
.recipe-photo { margin: 1.5rem 0; }
.recipe-photo img { border-radius: 4px; }
.placeholder-figure figcaption { color: var(--slate); font-size: 0.85rem; }
/* The About page's topo background quietly contours J-J-P — an easter egg. */
body.about {
  background: var(--paper) url('/assets/about-contour.jpg') center / cover no-repeat fixed;
}
@media (prefers-color-scheme: dark) {
  body.about { background-image: none; }
}
footer {
  margin-top: 4rem; border-top: 1px solid var(--slate);
  padding-top: 1rem; font-size: 0.85rem; color: var(--slate);
}
footer a { color: var(--slate); }
.colophon { opacity: 0.8; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; }
pre { background: rgba(91,122,130,0.12); padding: 0.75rem 1rem; overflow-x: auto; border-radius: 4px; }
blockquote { border-left: 3px solid var(--accent); margin-left: 0; padding-left: 1rem; }
hr { border: none; border-top: 1px solid var(--slate); margin: 2.5rem auto; width: 40%; }