:root {
  --bg: #f7f2e9;
  --surface: #fffdf8;
  --ink: #23201b;
  --muted: #6b6357;
  --line: #e4dccd;
  --green: #2f5d3a;
  --green-ink: #f4f1e8;
  --wine: #6e2135;
  --gold: #a8842c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(35, 32, 27, .06), 0 8px 24px rgba(35, 32, 27, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171512;
    --surface: #211e1a;
    --ink: #eee8dc;
    --muted: #a99f8f;
    --line: #363129;
    --green: #7fb08a;
    --green-ink: #12140f;
    --wine: #d98a9c;
    --gold: #d4b25e;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--green); }
img { max-width: 100%; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: "Fraunces", Georgia, serif; font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: .2px; }
.brand span { color: var(--wine); }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover, nav a[aria-current] { color: var(--ink); }

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(34px, 6vw, 54px); margin: 0 0 12px; letter-spacing: -.5px; }
h2 { font-size: 26px; margin: 40px 0 12px; }
h3 { font-size: 20px; margin: 0 0 6px; }
.lede { font-size: 19px; color: var(--muted); max-width: 40em; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.6px; font-size: 12px; color: var(--gold); font-weight: 600; margin: 0 0 10px; }

.hero { padding: 56px 0 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 18px 0 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); margin: 0 0 16px; }
.card .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { height: 120px; border-radius: 10px; margin-bottom: 16px; background:
  radial-gradient(circle at 30% 40%, #3f7a4b 0 18%, transparent 19%),
  radial-gradient(circle at 62% 58%, #2f5d3a 0 14%, transparent 15%),
  radial-gradient(circle at 48% 30%, #6e2135 0 7%, transparent 8%),
  radial-gradient(circle at 75% 35%, #c9a04a 0 6%, transparent 7%),
  linear-gradient(135deg, #5b3a1e, #2b1f12); }
.card.soon { opacity: .6; }

.btn { display: inline-block; border: 1px solid var(--green); background: var(--green); color: var(--green-ink); padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer; font-family: inherit; }
.btn.ghost { background: transparent; color: var(--green); }
.btn:disabled { opacity: .6; cursor: default; }

.recipe-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; margin: 6px 0 24px; }
.recipe-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .recipe-grid { grid-template-columns: 5fr 7fr; gap: 36px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.panel h2 { margin-top: 0; font-size: 22px; }
ul.ingredients { list-style: none; padding: 0; margin: 0; }
ul.ingredients li { padding: 9px 0; border-bottom: 1px dashed var(--line); }
ul.ingredients li:last-child { border-bottom: 0; }
ul.ingredients .qty { font-weight: 600; }
ol.method { padding-left: 20px; margin: 0; }
ol.method li { margin-bottom: 12px; }
.notes { color: var(--muted); font-size: 15px; }

.price { font-family: "Fraunces", Georgia, serif; font-size: 40px; color: var(--wine); margin: 4px 0 2px; }
.price small { font-family: "Inter", system-ui, sans-serif; font-size: 15px; color: var(--muted); }
.product { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 760px) { .product { grid-template-columns: 1fr 1fr; } }

form.order { display: grid; gap: 14px; }
form.order label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
form.order input, form.order select, form.order textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%;
}
form.order textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.total { font-size: 17px; }
.total strong { color: var(--wine); }
.status { min-height: 1.4em; font-size: 15px; }
.status.ok { color: var(--green); }
.status.err { color: var(--wine); }
.fine { color: var(--muted); font-size: 14px; }

footer.site { border-top: 1px solid var(--line); margin-top: 64px; }
footer.site .wrap { padding-top: 20px; padding-bottom: 32px; color: var(--muted); font-size: 14px; }

@media print {
  header.site nav, footer.site, .no-print { display: none; }
  body { background: #fff; color: #000; }
  .panel { border: 0; padding: 0; }
}
