/* SpreadsOnBreads public styles. No external fonts or files. */
:root {
  --paper: #fbf6ec;
  --card: #fffdf8;
  --ink: #2a2019;
  --muted: #6a5b4e;
  --line: #e4d8c4;
  --berry: #9c2f47;
  --berry-dark: #7a2337;
  --honey: #c9881a;
  --crust: #7b4a22;
  --leaf: #4c6b3c;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--berry); text-underline-offset: 3px; }
a:hover { color: var(--berry-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--honey); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin: 1.2rem 0 .6rem; }
h2 { font-size: clamp(1.35rem, 3.5vw, 1.75rem); margin: 2.4rem 0 .8rem; }
h3 { font-size: 1.2rem; margin: .2rem 0 .4rem; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
.brand-on { color: var(--berry); font-style: italic; font-weight: 400; padding: 0 .12em; }
.mark-loaf { fill: var(--crust); }
.mark-spread { fill: var(--berry); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-right: auto; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; font-weight: 600; }
.site-nav a:hover { color: var(--berry); text-decoration: underline; }
.count { background: var(--berry); color: #fff; border-radius: 99px; padding: 1px 8px; font-size: .78rem; }
.search { display: flex; gap: 6px; }
.search input { width: 9.5rem; }

input, select, textarea, button { font: inherit; color: inherit; }
input[type="search"], input[type="text"], input[type="email"], input[type="password"], input[type="date"],
input[type="datetime-local"], input[type="url"], select, textarea {
  background: #fff; border: 1px solid #bfae95; border-radius: 10px; padding: 9px 11px; min-height: 44px; max-width: 100%;
}
.btn, .search button {
  display: inline-block; background: var(--berry); color: #fff; border: 1px solid var(--berry); border-radius: 10px;
  padding: 9px 16px; min-height: 44px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover, .search button:hover { background: var(--berry-dark); color: #fff; }
.btn-quiet { background: transparent; color: var(--berry); }
.btn-quiet:hover { background: #f3e3e6; color: var(--berry-dark); }
.btn[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: #fff; }

main { padding: 8px 0 56px; min-height: 60vh; }
.hero { padding: 26px 0 6px; max-width: 46rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 44rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; font-weight: 700; color: var(--crust); margin: 0 0 4px; }
.small, .link-note { font-size: .9rem; color: var(--muted); }
.link-note { border-left: 3px solid var(--honey); padding-left: 12px; max-width: 46rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.notice { background: #fff7e3; border: 1px solid #ecd9a8; border-radius: var(--radius); padding: 14px 16px; max-width: 46rem; }
.notice.ok { background: #eef5ea; border-color: #c4d8b8; }
.notice.bad { background: #fbeaec; border-color: #e7b9c1; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 8px; }
.chips a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; }
.chips a:hover, .chips a[aria-current="page"] { border-color: var(--berry); color: var(--berry); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; border-top: 5px solid var(--honey); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--berry); text-decoration: underline; }
.card p { margin: .35rem 0; }
.article-card.type-recipe { border-top-color: var(--berry); }
.article-card.type-pairing { border-top-color: var(--leaf); }
.collection-card { border-top-color: var(--crust); }
.card-img, .product-img { border-radius: 10px; display: block; margin-bottom: 10px; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 14px 0 22px; }
.filters label, .stack label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; }
.stack { display: grid; gap: 14px; max-width: 30rem; }
.stack .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.stack .check input { margin-top: .35rem; width: 20px; height: 20px; }
.hp { position: absolute; left: -9999px; }

.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; }
.prose li { margin: .3rem 0; }
.prose ol, .prose ul { padding-left: 1.3rem; }
.shortlist { list-style: none; padding: 0; display: grid; gap: 10px; max-width: 46rem; }
.shortlist li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.shortlist .actions { margin: 0; }

.site-footer { background: #2a2019; color: #eadfce; padding: 26px 0 34px; font-size: .95rem; }
.site-footer a { color: #f3c98b; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0; }
.site-footer .small { color: #c9b9a3; }
.disclosure { max-width: 48rem; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .search { width: 100%; }
  .search input { flex: 1; width: auto; }
  .filters label { width: 100%; }
  .filters select, .filters input { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .card { transition: transform .12s ease, box-shadow .12s ease; }
  .card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(60, 40, 20, .09); }
}
