:root {
  --bg: #faf6ef;
  --paper: #ffffff;
  --ink: #221c15;
  --ink-2: #4d4439;
  --muted: #8a7e6f;
  --line: #ebe3d6;
  --accent: #5b8a17;
  --accent-2: #c2611f;
  --accent-ink: #ffffff;
  --tag: #eef4e1;
  --shadow: 0 1px 2px rgba(60, 40, 10, .05), 0 6px 20px rgba(60, 40, 10, .07);
  --shadow-lift: 0 2px 4px rgba(60, 40, 10, .06), 0 14px 34px rgba(60, 40, 10, .12);
  --t-lime: #e3efc9;
  --t-apple: #f8dcd3;
  --t-pumpkin: #fbe0c2;
  --t-pecan: #ecdcc8;
  --t-cherry: #f6d2d8;
  --t-banana: #fbefb8;
  --t-fall: #f5e1c6;
  --t-crust: #f3e6cf;
  --t-lemon: #fcf3c4;
  --t-blueberry: #dcdff3;
  --t-sweetpotato: #f8d9c4;
  --t-peach: #fde0cf;
  --t-chocolate: #e6d6cc;
  --t-rhubarb: #f6d6e0;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14120e;
    --paper: #1d1a15;
    --ink: #f4eee5;
    --ink-2: #d2c9bb;
    --muted: #9d9282;
    --line: #2f2a22;
    --accent: #a8d15e;
    --accent-2: #f0a062;
    --accent-ink: #14120e;
    --tag: #252d18;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 34px rgba(0, 0, 0, .4);
    --t-lime: #2a3518;
    --t-apple: #3a221d;
    --t-pumpkin: #3b2a17;
    --t-pecan: #33281c;
    --t-cherry: #3a1d23;
    --t-banana: #39331a;
    --t-fall: #362a1a;
    --t-crust: #332a1c;
    --t-lemon: #38331a;
    --t-blueberry: #20233a;
    --t-sweetpotato: #3b2419;
    --t-peach: #3c271d;
    --t-chocolate: #2e221d;
    --t-rhubarb: #3a1e2a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.72 "Source Serif 4", Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: .18em; }
img { max-width: 100%; }
::selection { background: var(--t-lime); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Header */
.masthead {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: .85rem; padding-bottom: .85rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font: 800 1.45rem/1 "Fraunces", Georgia, serif; color: var(--ink); text-decoration: none; letter-spacing: -.015em; }
.brand::before { content: "🥧"; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; font-size: 1.15rem; border-radius: 50%; background: var(--t-crust); }
.brand span { color: var(--accent); }
.nav { display: flex; gap: .3rem; font: 600 .82rem/1 system-ui, sans-serif; letter-spacing: .02em; }
.nav a { color: var(--ink-2); text-decoration: none; padding: .55rem .85rem; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--tag); color: var(--ink); }

.kicker { display: inline-block; font: 700 .7rem/1 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.meta { font: 500 .85rem/1.4 system-ui, sans-serif; color: var(--muted); }

/* Home: hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; padding: 3rem 0 2.5rem; }
.hero h1 { font: 800 clamp(2.1rem, 5vw, 3.4rem)/1.05 "Fraunces", Georgia, serif; margin: .7rem 0 1rem; letter-spacing: -.025em; }
.hero h1 a { color: var(--ink); text-decoration: none; }
.hero h1 a:hover { color: var(--accent); }
.hero p { font-size: 1.15rem; color: var(--ink-2); margin: 0 0 1.4rem; max-width: 34rem; }
.btn { display: inline-flex; align-items: center; gap: .4rem; font: 700 .9rem/1 system-ui, sans-serif; color: var(--accent-ink); background: var(--accent); padding: .85rem 1.25rem; border-radius: 999px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.hero-art { aspect-ratio: 1 / 1; border-radius: 28px; background: radial-gradient(circle at 30% 25%, var(--t-banana), var(--t-crust) 55%, var(--t-pumpkin)); display: grid; place-items: center; font-size: clamp(6rem, 18vw, 10rem); box-shadow: var(--shadow); position: relative; overflow: hidden; text-decoration: none; }
.hero-art::after { content: ""; position: absolute; inset: 14px; border: 2px dashed color-mix(in srgb, var(--accent-2) 35%, transparent); border-radius: 20px; }

/* Home: sections and cards */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 2.2rem 0 1.1rem; }
.section-head h2 { font: 800 1.6rem/1.1 "Fraunces", Georgia, serif; margin: 0; letter-spacing: -.01em; }
.section-head p { margin: 0; font: 500 .9rem/1.4 system-ui, sans-serif; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; padding-bottom: 1rem; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; font-size: 3.4rem; background: var(--tint, var(--t-crust)); }
.card-body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card h3 { font: 700 1.2rem/1.25 "Fraunces", Georgia, serif; margin: .1rem 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.card .meta { margin-top: auto; padding-top: .5rem; }
.t-lime { --tint: var(--t-lime); } .t-apple { --tint: var(--t-apple); } .t-pumpkin { --tint: var(--t-pumpkin); }
.t-pecan { --tint: var(--t-pecan); } .t-cherry { --tint: var(--t-cherry); } .t-banana { --tint: var(--t-banana); }
.t-fall { --tint: var(--t-fall); } .t-crust { --tint: var(--t-crust); }
.t-lemon { --tint: var(--t-lemon); } .t-blueberry { --tint: var(--t-blueberry); } .t-sweetpotato { --tint: var(--t-sweetpotato); } .t-peach { --tint: var(--t-peach); } .t-chocolate { --tint: var(--t-chocolate); } .t-rhubarb { --tint: var(--t-rhubarb); }

/* Article */
article { padding: 2.8rem 0 3rem; }
article h1 { font: 800 clamp(2rem, 5.5vw, 3rem)/1.08 "Fraunces", Georgia, serif; margin: .7rem 0 .9rem; letter-spacing: -.025em; }
article .dek { font-size: 1.22rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 1.1rem; }
article > .meta { padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.8rem; }
article h2 { font: 700 1.5rem/1.25 "Fraunces", Georgia, serif; margin: 2.4rem 0 .6rem; letter-spacing: -.01em; }
article blockquote { margin: 1.8rem 0; padding: 1rem 1.3rem; border-left: 4px solid var(--accent-2); background: var(--paper); border-radius: 0 12px 12px 0; color: var(--ink-2); font-style: italic; }
.box { background: var(--tag); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.8rem 0; font-size: 1rem; }
.box h3 { margin: 0 0 .5rem; font: 700 .75rem/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.box ul { margin: 0; padding-left: 1.2rem; }
.box li { margin: .2rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; }
th, td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-family: system-ui, sans-serif; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg); }
.table-scroll { overflow-x: auto; margin: 1.4rem 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }

/* Recipes */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin: 0 0 2rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { background: var(--paper); padding: .9rem 1rem; }
.facts dt { font: 700 .68rem/1.2 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: .25rem 0 0; font: 600 .95rem/1.35 system-ui, sans-serif; }
article h3.sub { font: 700 .78rem/1.2 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-2); margin: 1.4rem 0 .4rem; }
.ingredients { list-style: none; padding: 0; margin: 0 0 .5rem; }
.ingredients li { position: relative; padding: .4rem 0 .4rem 1.6rem; border-bottom: 1px dashed var(--line); }
.ingredients li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: .55rem; height: .55rem; border-radius: 50%; border: 2px solid var(--accent); }
.steps { list-style: none; counter-reset: step; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.2rem 3.2rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .05rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 .9rem/1 system-ui, sans-serif; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.03rem; top: 2.4rem; bottom: .3rem; width: 2px; background: var(--line); }

.more { border-top: 1px solid var(--line); padding: 1.6rem 0 0; margin-top: 2.6rem; }
.more h3 { font: 700 .75rem/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .8rem; }
.more ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.more a { display: block; padding: .75rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .15s, transform .15s; }
.more a:hover { border-color: var(--accent); transform: translateX(3px); }

/* Footer */
footer { margin-top: 3rem; border-top: 1px solid var(--line); background: var(--paper); padding: 2rem 0; font: 500 .85rem/1.6 system-ui, sans-serif; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
footer a { color: var(--ink-2); margin-right: 1.1rem; text-decoration: none; }
footer a:hover { color: var(--accent); }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2rem; }
  .hero-art { aspect-ratio: 16 / 9; order: -1; font-size: 5.5rem; }
  .thumb { aspect-ratio: 5 / 2; font-size: 2.8rem; }
  .nav a { padding: .5rem .6rem; }
  .section-head { flex-direction: column; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
