/* The Lazy Wok — single stylesheet (warm kitchen palette) */
:root {
  --ink: #2a1a12;
  --muted: #7a6a5f;
  --bg: #fffaf3;
  --bg-soft: #f7efe3;
  --line: #e8dcc9;
  --red: #b3402a;
  --red-dark: #8f3320;
  --red-soft: #fbe9e3;
  --green: #4d7c43;
  --green-soft: #e7f0e4;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 26, 18, .05), 0 10px 28px rgba(42, 26, 18, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 2.1rem; margin: .2em 0 .4em; }
h2 { font-size: 1.45rem; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 243, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.nav-links a:hover { color: var(--red); }

/* buttons */
.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: all .15s ease; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--red); border-color: var(--red); }
.btn-ghost:hover { background: var(--red-soft); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }

/* hero */
.hero { background: linear-gradient(140deg, #3a1c12 0%, #6e2f1c 55%, var(--red) 110%); color: #fff; padding: 80px 0 64px; }
.kicker { color: #f3c9ae; margin: 0 0 14px; font-size: .95rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 18px; font-weight: 800; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.hero .lead { color: #f2ddcc; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* rules strip */
.rules-strip { background: var(--ink); color: #f6ede2; padding: 20px 0; }
.rules-inner { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; }
.rule { display: flex; align-items: baseline; gap: 8px; font-size: .95rem; font-weight: 600; }
.rule-num { font-size: 1.5rem; font-weight: 800; color: #f0a58a; }

/* sections & cards */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-soft); }
.section-title { font-size: 1.6rem; margin: 0 0 28px; font-weight: 800; }
.cards { display: grid; gap: 20px; margin-bottom: 30px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: block; text-decoration: none; color: var(--ink); }
.card h3 { margin: 8px 0; font-size: 1.1rem; }
.card p { margin: 6px 0 10px; color: var(--muted); font-size: .93rem; }
a.card:hover { border-color: var(--red); transform: translateY(-2px); transition: all .15s ease; }

.bucket-time { font-size: 2rem; font-weight: 800; color: var(--red); }
.bucket-time span { font-size: .9rem; color: var(--muted); font-weight: 600; margin-left: 4px; }
.bucket-count { color: var(--red); font-weight: 700; font-size: .9rem; }

.recipe-meta-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.time-chip { background: var(--red); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: .8rem; font-weight: 700; }
.region { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.read-more { color: var(--red); font-weight: 700; font-size: .9rem; }

/* recipe page */
.recipe-wrap { max-width: 860px; }
.facts-strip { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 30px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; text-align: center; }
.fact strong { display: block; font-size: 1.3rem; color: var(--red); }
.fact span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.recipe-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.ingredient-list { list-style: none; padding: 0; margin: 0 0 10px; }
.ingredient-list li { padding: 9px 0 9px 26px; border-bottom: 1px dashed var(--line); position: relative; }
.ingredient-list li::before { content: "•"; position: absolute; left: 8px; color: var(--red); font-weight: 800; }
.steps-list { padding-left: 22px; }
.steps-list li { margin-bottom: 12px; }
.recipe-aside .card { margin-bottom: 18px; }
.recipe-aside h3 { margin-top: 0; }
.tip-card { background: var(--green-soft); border-color: #cfe0ca; }
.rules-card .check-list { list-style: none; padding: 0; margin: 0; }
.rules-card .check-list li { margin-bottom: 6px; font-size: .92rem; }
.kit-card { border-style: dashed; }

.group-title { margin: 30px 0 14px; font-size: 1.25rem; }
.group-title a { color: var(--ink); text-decoration: none; }
.group-title a:hover { color: var(--red); }

/* prose */
.prose p { color: #4a382d; }
.pantry-list li { margin-bottom: 10px; }
.post-cta { background: var(--red-soft); border-radius: var(--radius); padding: 24px 28px; margin-top: 36px; }
.post-cta h3 { margin-top: 0; }

/* footer */
.footer { background: #241209; color: #cdb8a6; padding: 44px 0 24px; font-size: .92rem; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.footer a { color: #ecdccb; text-decoration: none; display: block; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.footer-logo { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 18px; font-size: .8rem; }

.error-wrap { text-align: center; padding: 60px 0; }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--red); }

@media (max-width: 860px) {
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .recipe-layout { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 44px; }
  .section { padding: 44px 0; }
  .rules-inner { gap: 18px; }
}
