:root {
  --bg: #fdf6e9;
  --panel: #fceed4;
  --card: #fffaf1;
  --ink: #45210f;
  --muted: #8a5a3c;
  --brown: #7d2d0d;
  --mustard: #e3a72f;
  --mustard-ink: #6b4300;
  --sage: #5f7f5b;
  --line: #f0dcb9;
  --round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); }
h1, h2, h3, .brand, .btn, .pill, .chip { font-family: var(--round); }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; margin: 0 0 .4em; color: var(--brown); }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); color: var(--brown); margin: 0 0 .6em; }
h3 { font-size: 1.1rem; margin: 0 0 .2em; color: var(--brown); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(253, 246, 233, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--brown); text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.site-header nav { display: flex; gap: 16px; }
.site-header nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.btn { display: inline-block; padding: .65em 1.15em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--brown); color: var(--brown); background: transparent; cursor: pointer; font-size: 1rem; }
.btn.primary { background: var(--brown); color: #fff; }
.btn.small { padding: .4em .9em; font-size: .9rem; }
@media (max-width: 620px) { .site-header nav { display: none; } }

/* hero */
.hero { background: var(--panel); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding-top: 36px; padding-bottom: 0; }
.hero .eyebrow { font-family: var(--round); font-weight: 700; color: var(--sage); letter-spacing: .02em; margin: 0 0 .5em; }
.hero p.lead { font-size: 1.15rem; max-width: 34em; margin: 0 0 1.2em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero .chefs { display: flex; justify-content: center; align-items: flex-end; gap: 14px; padding-bottom: 28px; }
.hero .chefs img { width: 100%; max-width: 300px; min-width: 0; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 26px 26px; border: 4px solid #fff; box-shadow: 0 10px 26px rgba(125, 45, 13, .14); }
.hero .chefs img + img { margin-bottom: 26px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0 0 28px; margin: 0; list-style: none; font-family: var(--round); }
.stats b { color: var(--brown); font-size: 1.25rem; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 26px; } .hero .chefs img { max-width: 210px; } .stats { padding-bottom: 8px; } }

/* recipe grid */
section { padding: 40px 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; align-items: center; }
.chip { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: .38em .95em; font-weight: 600; font-size: .92rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: #fff; }
.sort { margin-left: auto; font: inherit; font-size: .92rem; padding: .35em .6em; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(125, 45, 13, .13); }
.card .thumb { position: relative; aspect-ratio: 4 / 5; background: var(--panel); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pill { display: inline-block; background: var(--mustard); color: #fff; font-weight: 700; border-radius: 999px; padding: .28em .8em; font-size: .95rem; text-shadow: 0 1px 0 rgba(107, 67, 0, .35); }
.card .pill { position: absolute; left: 10px; bottom: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.card .body { padding: 12px 14px 15px; }
.card .meta { font-size: .86rem; color: var(--muted); }
.empty { display: none; padding: 20px; text-align: center; color: var(--muted); }
@media (max-width: 480px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .card .body { padding: 10px 11px 12px; } h3 { font-size: 1rem; } }

/* chefs */
.chef-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.chef { background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-align: center; padding-bottom: 20px; }
.chef img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%; margin-bottom: 14px; }
.chef h3, .chef p { padding: 0 18px; }
.chef .role { font-family: var(--round); color: var(--sage); font-weight: 700; margin: 0 0 .4em; }
.chef p { margin: 0; }

/* recipe page */
.crumb { display: inline-block; margin: 22px 0 8px; font-weight: 600; text-decoration: none; }
.recipe { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 34px; align-items: start; padding-bottom: 30px; }
.media { position: sticky; top: 78px; }
.video, .poster { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; border: 0; padding: 0; background: var(--panel); cursor: pointer; }
.poster { cursor: default; }
.video img, .poster img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: rgba(125, 45, 13, .88); color: #fff; font-size: 30px; display: grid; place-items: center; padding-left: 5px; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.media .under { text-align: center; font-size: .9rem; margin: 10px 0 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 0 0 22px; padding: 0; list-style: none; }
.facts li:not(.price) { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .25em .85em; font-size: .93rem; }
.facts .pill { font-size: 1.1rem; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; margin: 0 0 20px; }
.box h2 { font-size: 1.3rem; margin-bottom: .5em; }
table.cost { width: 100%; border-collapse: collapse; }
table.cost td { padding: .42em 0; border-bottom: 1px dashed var(--line); }
table.cost td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.cost tr.total td { border-bottom: 0; font-weight: 700; color: var(--brown); padding-top: .7em; }
.note { font-size: .86rem; color: var(--muted); margin: .7em 0 0; }
.box ul, .box ol { margin: 0; padding-left: 1.25em; }
.box li { margin: .38em 0; }
ol.steps { counter-reset: step; list-style: none; padding: 0; }
ol.steps li { counter-increment: step; position: relative; padding-left: 2.6em; margin: .8em 0; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: -.05em; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--brown); color: #fff; font-family: var(--round); font-weight: 700; display: grid; place-items: center; font-size: .92rem; }
.tips { background: var(--panel); border-color: var(--panel); }
.together { border-radius: 22px; margin: 0 0 20px; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 62%; width: 100%; }
@media (max-width: 820px) { .recipe { grid-template-columns: 1fr; gap: 22px; } .media { position: static; max-width: 340px; margin: 0 auto; width: 100%; } }

/* misc */
.prose { max-width: 720px; padding-top: 30px; padding-bottom: 40px; }
.prose h2 { margin-top: 1.4em; }
.signup { background: var(--panel); border-radius: 26px; padding: 26px; text-align: center; }
.signup form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.signup input[type=email] { font: inherit; padding: .6em 1em; border-radius: 999px; border: 2px solid var(--line); min-width: 250px; }
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.site-footer a { color: var(--muted); }
.site-footer .links { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
