:root {
  --bg: #FBF4F1; --surface: #FFFAF7; --surface-2: #F4E9E3; --border: #EEDED6;
  --ink: #332A2E; --body: #524750; --muted: #7C6C74;
  --primary: #A8466A; --primary-deep: #8C3756; --accent: #E09951; --dark: #36232E;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: 'Lora', serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { font-family: 'Playfair Display', serif; }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(251,244,241,.86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(168,70,106,.16); }
.nav-inner { max-width: 960px; margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.back { font-size: 14.5px; color: var(--muted); text-decoration: none; font-weight: 500; }
.back:hover { color: var(--primary); }

.wrap { max-width: 960px; margin: 36px auto 72px; padding: 0 24px; }

.hero { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.hero .photo { flex: 1 1 320px; min-width: 280px; width: 100%; max-height: 380px; object-fit: cover; border-radius: 22px; box-shadow: 0 16px 40px rgba(59,36,24,.18); }
.hero .head { flex: 1 1 320px; min-width: 280px; }
.hero h1 { font-weight: 800; font-size: clamp(30px, 5vw, 44px); line-height: 1.08; letter-spacing: -.02em; margin: 4px 0 10px; }
.meta { font-family: 'Space Mono', monospace; font-size: 12.5px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.dl { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 8px; background: var(--primary); color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 13px 22px; border-radius: 14px; box-shadow: 0 10px 26px rgba(168,70,106,.28); transition: transform .2s ease, filter .2s ease; }
.dl:hover { transform: translateY(-2px); filter: brightness(1.06); }
.dl-alt { display: inline-block; margin: 4px 0 0; font-size: 14px; color: var(--primary); text-decoration: underline; }
.dl-alt:hover { color: var(--primary-deep); }
.dl-note { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; max-width: 440px; }
.dl-note strong { color: var(--body); }

.cols { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px; }
.ingredients { flex: 1 1 280px; min-width: 260px; }
.steps { flex: 2 1 360px; min-width: 300px; }
h2 { font-weight: 700; font-size: 24px; margin: 0 0 14px; color: var(--ink); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; box-shadow: 0 6px 18px rgba(59,36,24,.05); }
.ingredients ul { list-style: none; margin: 0; padding: 0; }
.ingredients li { padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--body); font-size: 15.5px; }
.ingredients li:last-child { border-bottom: 0; }
.ingredients li .amt { color: var(--primary-deep); font-weight: 600; }
.sub { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 18px 0 6px; }
.sub:first-child { margin-top: 0; }
.steps ol { margin: 0; padding-left: 1.2em; color: var(--body); }
.steps li { margin: 0 0 12px; padding-left: 6px; font-size: 16px; }

.attribution { margin-top: 40px; font-size: 13.5px; color: var(--muted); }

.footer { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 80%, var(--border)); }
.footer-inner { max-width: 960px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--primary); }

@media (max-width: 640px) {
  .wrap { margin-top: 22px; padding: 0 18px; }
  .cols { gap: 28px; }
}
