/* Breakfastness — warm editorial breakfast journal */
:root {
  --cream: #fffaf2;
  --cream-2: #fff4e6;
  --ink: #2b211a;
  --ink-soft: #6b5d50;
  --amber: #e8732b;
  --amber-deep: #c95a16;
  --berry: #b3325a;
  --line: #efe3d3;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(43, 33, 26, 0.04), 0 8px 24px rgba(43, 33, 26, 0.06);
  --shadow-lift: 0 4px 8px rgba(43, 33, 26, 0.06), 0 18px 40px rgba(43, 33, 26, 0.12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--amber-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 1.6em 0 0.5em; }
h3 { font-size: 1.25rem; margin: 1.2em 0 0.4em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 250, 242, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--amber), var(--berry));
  display: grid; place-items: center; font-size: 1.1rem;
}
.nav { display: flex; gap: 1.4rem; font-size: 0.95rem; font-weight: 500; }
.nav a { color: var(--ink-soft); }
.nav a:hover { color: var(--amber-deep); text-decoration: none; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; text-align: center; }
.hero .kicker { color: var(--amber-deep); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; }
.hero h1 { margin-top: 0.4em; }
.hero p.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 620px; margin: 0.6em auto 0; }

/* Recipe grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; margin: 2rem 0; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); text-decoration: none; }
.card .thumb { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.card .body { padding: 1.1rem 1.2rem 1.3rem; }
.card .cat { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-deep); }
.card h3 { margin: 0.35em 0 0.3em; font-size: 1.3rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.card .meta { margin-top: 0.9rem; font-size: 0.84rem; color: var(--ink-soft); display: flex; gap: 1rem; }

/* Recipe page */
.recipe-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; padding: 2.2rem 0 1rem; }
.recipe-hero img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.recipe-hero .cat { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-deep); }
.recipe-hero p.excerpt { font-size: 1.15rem; color: var(--ink-soft); }
.statbar { display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 1.6rem 0; }
.stat { display: flex; flex-direction: column; }
.stat .k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.stat .v { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.layout-2col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.4rem; align-items: start; }
.ingredients ul { list-style: none; padding: 0; margin: 0; }
.ingredients li { padding: 0.55rem 0 0.55rem 1.8rem; border-bottom: 1px dashed var(--line); position: relative; }
.ingredients li::before { content: "🍳"; position: absolute; left: 0; font-size: 0.85rem; opacity: 0.5; }
.ingredients .box { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; position: sticky; top: 88px; }
.steps ol { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 0 0 1.3rem 3rem; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--berry)); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600;
}
.tips { background: var(--cream-2); border-left: 4px solid var(--amber); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.5rem; margin: 2rem 0; }
.tips h3 { margin-top: 0; }
.tips ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.tips li { margin: 0.4rem 0; }

/* Ad slots */
.ad-slot {
  margin: 2.2rem auto; max-width: 760px; min-height: 100px;
  display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(135deg, #fbf2e6, #fbf2e6 12px, #f7ead8 12px, #f7ead8 24px);
  border: 1px dashed #e3cfb4; border-radius: 12px; color: #b39777; font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.ad-slot ins { display: block; }

/* Prose pages */
.prose { padding: 1rem 0 2rem; }
.prose p, .prose ul { color: var(--ink); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.4rem 0; }

/* Footer */
.site-footer { margin-top: 4rem; background: var(--ink); color: #e9ddd0; }
.site-footer .wrap { padding: 2.6rem 0 2rem; display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.site-footer a { color: #f3cfa6; }
.site-footer .brand { color: #fff; font-size: 1.2rem; }
.site-footer .cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.site-footer h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; color: #b9a692; margin: 0 0 0.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; font-size: 0.95rem; }
.copyright { width: 100%; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.2rem; font-size: 0.85rem; color: #9c8b79; }

/* Breadcrumb */
.crumb { font-size: 0.85rem; color: var(--ink-soft); padding-top: 1.4rem; }
.crumb a { color: var(--ink-soft); }

@media (max-width: 760px) {
  .recipe-hero, .layout-2col { grid-template-columns: 1fr; }
  .ingredients .box { position: static; }
  .nav { gap: 1rem; font-size: 0.9rem; }
  .nav .hide-sm { display: none; }
}
