/* food.yarenty.com — warm paper, tomato accent, a serif for titles. Light and dark. */
@font-face { font-family: Fraunces; font-weight: 500; font-style: normal; src: url(/assets/fonts/fraunces-latin-500-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Fraunces; font-weight: 500; font-style: italic; src: url(/assets/fonts/fraunces-latin-500-italic.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Fraunces; font-weight: 600; font-style: normal; src: url(/assets/fonts/fraunces-latin-600-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Inter Variable"; font-weight: 100 900; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-display: swap; }
:root {
  --bg: #fbf7f0; --bg-2: #f3ece0; --card: #fffdf8; --ink: #24201b; --ink-2: #6f665c; --line: #e6dccb;
  --accent: #c8402d; --accent-2: #a2321f; --accent-ink: #fff6f2;
  --serif: Fraunces, Georgia, serif; --sans: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1040px; --measure: 720px; --gutter: clamp(16px, 4vw, 40px); --radius: 16px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) { :root { --bg: #17130f; --bg-2: #1f1a15; --card: #211c17; --ink: #efe7dc; --ink-2: #a89d90; --line: #332b24; --accent: #f08a72; --accent-2: #c8402d; --accent-ink: #2a120c; } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.06rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: .18em; } a:hover { color: var(--accent-2); }
img { max-width: 100%; height: auto; display: block; border-radius: 12px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); } h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); } h3 { font-size: 1.3rem; }
h1 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--ink-2); }
.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
/* top */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand .mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }
.brand b { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; display: block; line-height: 1.1; }
.brand small { display: block; color: var(--ink-2); font-size: .78rem; }
.top nav { display: flex; gap: 1.2rem; } .top nav a { text-decoration: none; color: var(--ink-2); font-size: .95rem; } .top nav a:hover { color: var(--accent); }
@media (max-width: 640px) { .brand small { display: none; } .top nav { gap: .8rem; font-size: .9rem; } }
/* home */
.hero-home { padding: clamp(2.5rem, 7vw, 5rem) 0 1.5rem; } .hero-home h1 { font-size: clamp(2.6rem, 7vw, 5rem); } .lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 78ch; color: var(--ink-2); }
.grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); padding-bottom: 3rem; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -18px rgb(60 30 20 / .35); }
.card .thumb { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 0; } .thumb.ph { background: var(--bg-2); }
.cbody { padding: 1rem 1.1rem 1.2rem; } .cbody time { font-size: .8rem; color: var(--ink-2); } .cbody h3 { margin: .25rem 0 .3rem; } .cbody p { color: var(--ink-2); font-size: .95rem; margin-bottom: .6rem; }
.tags span, .tags a { font-size: .78rem; color: var(--accent); margin-right: .5rem; text-decoration: none; } .tags.big a { font-size: .95rem; }
/* recipe */
.recipe { max-width: var(--measure); padding: 2rem 0 4rem; }
.crumbs { font-size: .9rem; color: var(--ink-2); } .crumbs a { text-decoration: none; }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ink-2); margin: -.2rem 0 1.4rem; }
.hero { margin: 0 0 1.4rem; } .hero img { width: 100%; } figcaption { font-size: .8rem; color: var(--ink-2); margin-top: .4rem; }
.intro { font-size: 1.1rem; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: .8rem 1rem; background: var(--bg-2); border-radius: 10px; font-size: .95rem; }
.cols { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 820px) { .recipe { max-width: var(--wrap); } .cols { grid-template-columns: 1fr 2fr; gap: 3rem; } .ingredients { position: sticky; top: 90px; align-self: start; } }
.ingredients ul { padding-left: 1.1rem; } .ingredients li { margin: .3rem 0; } .ingredients h3 { font-size: 1rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin: 1rem 0 .3rem; }
.steps ol { padding-left: 1.4rem; } .steps li { margin: 0 0 1.2rem; } .steps li img { margin: .7rem 0 .3rem; max-width: 480px; }
.steps li img + img { margin-top: .5rem; }
.tips { margin-top: 2rem; padding: 1.2rem 1.4rem; background: var(--bg-2); border-radius: var(--radius); } .tips h2 { font-size: 1.3rem; } .tips ul { margin: 0; padding-left: 1.1rem; }
.haiku { font-family: var(--serif); font-style: italic; text-align: right; color: var(--ink-2); line-height: 1.8; margin: 2.5rem 0 1rem; }
.posted { font-size: .85rem; color: var(--ink-2); }
/* foot */
.foot { border-top: 1px solid var(--line); padding: 1.8rem 0 2.4rem; font-size: .92rem; color: var(--ink-2); }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 3rem; align-items: start; }
.foot p { max-width: 72ch; }
.fnav { display: flex; gap: 1.4rem; justify-self: end; white-space: nowrap; padding-top: .2rem; }
.fnav a { text-decoration: none; color: var(--ink-2); } .fnav a:hover { color: var(--accent); }
@media (max-width: 640px) { .frow { grid-template-columns: 1fr; } .fnav { justify-self: start; } }
