/* The Dough Clock (murrieta.top) — "Baker's Timeline" visual.
   Warm wheat background (#faf3e6) + baked-crust accent (#b5651d) + roast-brown ink (#3a2a1a).
   Motif: fermentation-timeline tick strips, a hydration gauge, and a dough cross-section.
   Squared corners only (no rounding). Serif headings, humanist sans body. */

:root {
  --bg: #faf3e6;
  --panel: #fffdf7;
  --ink: #3a2a1a;
  --muted: #8a7a63;
  --line: #e6d9c2;
  --accent: #b5651d;
  --accent-d: #8a4a12;
  --tick: rgba(181, 101, 29, .22);
  --wheat: rgba(58, 42, 26, .05);
  --db: #8a5a2b;
  --fe: #c68a1f;
  --sh: #a8522e;
  --bk: #6f3f1f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-d); text-decoration: underline; }
h1, h2, .brand-name, .tile-title { font-family: Georgia, "Times New Roman", "Songti SC", serif; }

/* ---- header: cream bar over a fermentation-timeline tick band ---- */
.bake-header { background: var(--panel); border-bottom: 2px solid var(--line); }
.bake-header::before {
  content: ""; display: block; height: 10px;
  background:
    repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 14px),
    linear-gradient(var(--wheat), var(--wheat));
  background-position: 0 0, 0 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.bake-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.bake-mark { display: inline-flex; color: var(--accent); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; letter-spacing: .2px; font-size: 18px; }
.brand-tag { font-size: 11px; color: var(--muted); letter-spacing: .6px; }
.bake-nav { display: flex; gap: 22px; }
.bake-nav a {
  color: var(--ink); font-size: 14px; font-weight: 600; padding: 3px 0;
  border-bottom: 2px solid transparent;
}
.bake-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }

/* ---- hero: subtle wheat-grain paper + tick baseline ---- */
.bake-hero {
  background:
    linear-gradient(var(--wheat) 1px, transparent 1px) 0 0 / 100% 26px,
    var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 46px 0 40px;
}
.bake-hero .wrap { position: relative; padding-bottom: 18px; }
.bake-hero .wrap::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--tick) 0 2px, transparent 2px 12px);
}
.hero-tag {
  color: var(--accent); font-size: 12px; letter-spacing: 2.4px; font-weight: 700; margin-bottom: 12px;
}
.bake-hero h1 { font-size: 35px; line-height: 1.14; font-weight: 700; margin-bottom: 14px; max-width: 780px; }
.hero-lede { max-width: 700px; color: var(--muted); font-size: 17px; }

/* ---- sections ---- */
section { padding: 26px 0; }
.shelf { }
.rail-label {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
  font-weight: 700; margin-bottom: 14px;
}
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.shelf-head h2 { font-size: 23px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.tick { display: inline-block; width: 16px; height: 16px; background: var(--accent); }
.tick.c-db { background: var(--db); }
.tick.c-fe { background: var(--fe); }
.tick.c-sh { background: var(--sh); }
.tick.c-bk { background: var(--bk); }
.shelf-more { font-size: 13px; font-weight: 600; }

/* ---- shelf rail (category cards) ---- */
.rail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shelf-card {
  display: flex; flex-direction: column; gap: 4px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--accent);
  padding: 14px 16px;
}
.shelf-card:hover { text-decoration: none; border-color: var(--accent); }
.shelf-card .slot-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.shelf-card .slot-name { font-weight: 700; font-size: 16px; font-family: Georgia, serif; }
.shelf-card.c-db { border-top-color: var(--db); }
.shelf-card.c-fe { border-top-color: var(--fe); }
.shelf-card.c-sh { border-top-color: var(--sh); }
.shelf-card.c-bk { border-top-color: var(--bk); }
.rail-inline { padding-top: 4px; }

/* ---- the recipe wall + tiles ---- */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.recipe-tile {
  display: flex; flex-direction: column; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line);
}
.recipe-tile:hover { border-color: var(--accent); text-decoration: none; }
.tile-strip {
  display: block; height: 8px;
  background: repeating-linear-gradient(90deg, var(--tick) 0 2px, transparent 2px 12px), var(--wheat);
}
.tile-top { display: block; padding: 10px 14px 0; }
.tile-tag { font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; font-family: inherit; }
.c-db { color: var(--db); }
.c-fe { color: var(--fe); }
.c-sh { color: var(--sh); }
.c-bk { color: var(--bk); }
.tile-body { display: flex; flex-direction: column; gap: 10px; padding: 8px 14px 14px; }
.tile-title { font-weight: 700; font-size: 16px; line-height: 1.3; }
.gauge { display: block; height: 7px; background: var(--wheat); border: 1px solid var(--line); position: relative; }
.gauge-fill { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--accent) 0 5px, var(--accent-d) 5px 6px); }
.tile-facts {
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px dashed var(--line); padding-top: 10px;
}
.srow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; }
.srow .sk {
  flex: 0 0 auto; font-size: 10px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--muted);
}
.srow .sv { text-align: right; color: var(--ink); }
.tile-note { font-size: 13px; color: var(--muted); }

/* ---- page head ---- */
.page-head { padding: 34px 0 10px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumb a { color: var(--muted); }
.page-head h1 { font-size: 30px; line-height: 1.2; font-weight: 700; }
.lede { color: var(--muted); margin-top: 8px; }

/* ---- entry layout: recipe card + bake notes ---- */
.bench { display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding-top: 22px; padding-bottom: 40px; }
.recipe-card { align-self: start; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.card-kind { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.crumb-cut { display: flex; justify-content: center; padding: 16px 0 10px; color: var(--accent); }
.spec-list { font-variant-numeric: tabular-nums; }
.spec-row { display: flex; border-top: 1px solid var(--line); font-size: 14px; }
.spec-key {
  flex: 0 0 42%; padding: 9px 14px; color: var(--muted); border-right: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.spec-val { flex: 1; padding: 9px 14px; }
.spec-row.is-legend { background: rgba(181, 101, 29, .08); box-shadow: inset 4px 0 0 var(--accent); }
.spec-row.is-legend .spec-val { font-weight: 600; }

.bake-notes { background: var(--panel); border: 1px solid var(--line); padding: 26px 30px; }
.bake-notes-legal h2 { font-size: 18px; font-weight: 700; margin: 18px 0 8px; font-family: Georgia, serif; }
.bake-notes-legal p { margin-bottom: 12px; }
.note { margin-bottom: 24px; }
.note:last-child { margin-bottom: 0; }
.note h2 { display: flex; align-items: baseline; gap: 10px; font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.note-num {
  font-size: 12px; font-weight: 700; color: var(--accent);
  border-bottom: 2px solid var(--accent); padding: 0 4px 1px; font-variant-numeric: tabular-nums;
  font-family: "Segoe UI", Arial, sans-serif;
}
.bake-notes p { margin-bottom: 12px; color: #4a3a2a; }
.bake-notes p:last-child { margin-bottom: 0; }
.related-list { list-style: none; }
.related-list li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.related-list li:last-child { border-bottom: 0; }

/* ---- footer ---- */
.bake-footer { background: var(--panel); border-top: 2px solid var(--line); margin-top: 24px; }
.bake-footer::before {
  content: ""; display: block; height: 10px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 14px), var(--wheat);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding: 28px 20px; }
.footer-brand { flex: 1 1 340px; }
.footer-brand .brand-name { font-size: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { color: var(--ink); font-size: 14px; font-weight: 600; }
.copyright { flex: 1 1 100%; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .wall { grid-template-columns: repeat(2, 1fr); }
  .rail-grid { grid-template-columns: repeat(2, 1fr); }
  .bench { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wall, .rail-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 10px; align-items: flex-start; }
  .bake-nav { gap: 14px; }
  .bake-hero h1 { font-size: 27px; }
  .bake-notes { padding: 20px 18px; }
}
