
:root {
  --bg: #f7f2ea;
  --paper: #fffdf8;
  --ink: #2f241d;
  --muted: #6f6257;
  --accent: #8c5a3c;
  --accent-2: #d7b899;
  --line: #e6d7c8;
  --shadow: 0 18px 50px rgba(47, 36, 29, 0.08);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215,184,153,0.25), transparent 30%),
    linear-gradient(180deg, #fbf7f1 0%, #f5efe6 100%);
}
a { color: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(251, 247, 241, 0.9);
  border-bottom: 1px solid rgba(140, 90, 60, 0.12);
}
.topbar-inner, .container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0;
}
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand strong { font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.brand span { color: var(--muted); font-size: 0.92rem; }
.nav { display: flex; flex-wrap: wrap; gap: 10px; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: 180ms ease; }
.nav a:hover { background: rgba(140, 90, 60, 0.08); color: var(--ink); }
.hero { padding: 54px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: stretch; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-copy { padding: 36px; position: relative; overflow: hidden; }
.hero-copy::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215,184,153,0.45), transparent 70%);
}
.eyebrow { color: var(--accent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 10px; display: block; }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 5vw, 4.7rem); max-width: 12ch; }
p, li { line-height: 1.7; }
.hero-copy p, .section-head p, .muted { color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  text-decoration: none; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; font-weight: 600; letter-spacing: 0.02em;
}
.btn.secondary { background: transparent; color: var(--accent); border-color: rgba(140, 90, 60, 0.28); }
.hero-side { padding: 18px; display: grid; gap: 16px; }
.cover-art {
  min-height: 360px; border-radius: 18px; border: 1px solid var(--line); display: grid; place-items: center;
  background: linear-gradient(180deg, #f8f2ea 0%, #efe3d5 100%); text-align: center; padding: 24px;
}
.cover-art .cover-title { font-size: clamp(2rem, 5vw, 3.7rem); letter-spacing: 0.09em; text-transform: uppercase; }
.cover-art .cover-subtitle { margin-top: 14px; color: var(--muted); font-size: 1.1rem; letter-spacing: 0.06em; }
.cover-art .cover-script { margin-top: 8px; font-style: italic; font-size: 1.25rem; color: var(--accent); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fffcf8; }
.stat strong { display: block; font-size: 1.35rem; margin-bottom: 4px; }
.stat span { color: var(--muted); font-size: 0.9rem; }
section, .page { padding: 26px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.story, .utility-grid, .recipe-grid, .link-grid { display: grid; gap: 18px; }
.story, .utility-grid { grid-template-columns: 1fr 1fr; }
.link-grid { grid-template-columns: repeat(3, 1fr); }
.panel, .utility-card, .recipe-card { padding: 24px; }
.utility-card table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.utility-card td { border-top: 1px solid var(--line); padding: 10px 0; vertical-align: top; }
.utility-card tr:first-child td { border-top: none; }
.utility-card td:last-child { color: var(--muted); }
.recipe-controls { display: grid; grid-template-columns: 1.1fr 0.7fr 0.7fr; gap: 12px; margin-bottom: 18px; }
.control { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font: inherit; color: var(--ink); width: 100%; }
.recipe-grid { grid-template-columns: repeat(3, 1fr); }
.recipe-card { display: flex; flex-direction: column; gap: 10px; min-height: 100%; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 0.92rem; }
.pill { border-radius: 999px; padding: 6px 10px; background: rgba(140, 90, 60, 0.08); color: var(--accent); font-size: 0.8rem; letter-spacing: 0.03em; }
.note-banner {
  padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(140, 90, 60, 0.08), rgba(215, 184, 153, 0.18));
  border: 1px solid rgba(140, 90, 60, 0.16); color: var(--ink); margin-top: 10px;
}
.footer { padding: 36px 0 54px; color: var(--muted); }
.empty-state { display: none; padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; background: rgba(255,255,255,0.65); }
.list-clean { margin: 0; padding-left: 20px; }
.kv { display: grid; gap: 8px; }
.kv div { border-top: 1px solid var(--line); padding-top: 8px; }
.breadcrumbs { color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--accent); text-decoration: none; }
@media (max-width: 980px) {
  .hero-grid, .story, .utility-grid, .recipe-grid, .recipe-controls, .link-grid { grid-template-columns: 1fr; }
}

.list-clean li { margin-bottom: 0.45rem; }

.notes-block {
  white-space: normal;
}
.note-line {
  margin-bottom: 0.6rem;
  white-space: pre-wrap;
}
