/* itsrecipe — styles derived from "itsrecipe Web v3" (Brisko design system, tint 75 / pop 32). */
:root {
  --ink: #1a120c;
  --ink-2: #4a3d34;
  --body: #6b5d53;
  --muted: #8a7a6e;
  --chip: #f4f0ed;
  --soft: #f7f3f0;
  --line: rgba(26, 18, 12, .08);
  --bg: #fff;
  --link: oklch(0.5 0.17 32);
  --pop: oklch(0.82 0.15 32);
  --gloss: radial-gradient(120% 70% at 30% 0%, rgba(255,255,255,.55), rgba(255,255,255,0) 45%), linear-gradient(180deg, oklch(0.76 0.17 45), oklch(0.62 0.2 32));
  --dark: radial-gradient(45% 80% at 4% 0%, oklch(0.62 0.19 35 / .85), transparent 70%), radial-gradient(40% 70% at 96% 10%, oklch(0.78 0.15 70 / .5), transparent 70%), radial-gradient(45% 80% at 60% 120%, oklch(0.5 0.17 350 / .65), transparent 70%), #0e0a09;
  --shadow-card: 0 1px 2px rgba(26,18,12,.05), 0 16px 38px rgba(60,25,10,.1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, "Segoe UI", Roboto, sans-serif;
  --gutter: 28px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--ink); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: pretty; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
main.wrap { padding-top: 20px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 56px; }
.muted { color: var(--muted); font-size: 14px; }

/* type */
.display { font-size: clamp(40px, 5.6vw, 72px); font-weight: 200; line-height: .96; letter-spacing: -.035em; }
.h-xl { font-size: clamp(36px, 4.6vw, 56px); font-weight: 200; line-height: 1; letter-spacing: -.03em; }
.h-l { font-size: clamp(30px, 3.4vw, 40px); font-weight: 200; line-height: 1; letter-spacing: -.03em; }
.h-m { font-size: 32px; font-weight: 200; line-height: 1; letter-spacing: -.03em; }
.h-s { font-size: 22px; font-weight: 300; line-height: 1.1; letter-spacing: -.02em; }
.h-s a { color: inherit; }
.h-xs { font-size: 13px; font-weight: 600; color: var(--muted); }
.lede { font-size: 17px; line-height: 1.45; color: var(--body); max-width: 620px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.82); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(26,18,12,.06); }
.hdr-in { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { position: relative; width: 46px; height: 46px; flex: none; }
.brand-bg { position: absolute; left: 14%; top: 13%; right: 14%; bottom: 14%; border-radius: 28%; background: linear-gradient(160deg, #ff8a3d, #e8452c); box-shadow: 0 6px 16px #e8452c55; }
.brand-mark img { position: relative; width: 100%; height: 100%; }
.brand-name { font-size: 24px; font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.nav { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--ink); padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.nav a:hover, .nav a[aria-current] { background: var(--chip); }
.hdr-search { display: flex; align-items: center; background: var(--chip); border-radius: 999px; padding: 4px 4px 4px 16px; width: 240px; }
.hdr-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.hdr-search button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; }

/* buttons, chips */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; border: 0; font-size: 15px; font-weight: 500; white-space: nowrap; transition: transform .4s var(--spring); }
.btn:active { transform: scale(.95); }
.btn-gloss { background: var(--gloss); color: #fff; border: 1px solid rgba(255,255,255,.5); box-shadow: inset 0 1px 1px rgba(255,255,255,.8), 0 8px 20px oklch(0.6 0.19 32 / .35); text-shadow: 0 1px 2px rgba(80,20,0,.3); }
.btn-ink { background: var(--ink); color: #fff; height: 40px; font-size: 14px; }
.btn-soft { background: var(--chip); color: var(--ink); height: 40px; padding: 0 16px; font-size: 14px; }
.link-btn { border: 0; background: none; color: var(--link); font-size: 14px; font-weight: 500; padding: 6px 0; }
.chip, .pill, .ghost { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 14px; font-weight: 500; height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--chip); color: var(--ink); transition: background .2s, transform .35s var(--spring); }
.chip:hover, .pill:hover { background: #ebe4df; color: var(--ink); }
.chip:active, .pill:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pill small { font-size: 12px; color: var(--muted); }
.ghost { background: transparent; border: 1px solid rgba(26,18,12,.12); color: var(--ink-2); }
.ghost:hover { background: var(--chip); color: var(--ink); }
.pills, .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 500; padding: 7px 10px; border-radius: 999px; white-space: nowrap; }
.tag-pop { background: var(--pop); color: #1a0d08; }
.seg { display: inline-flex; background: var(--chip); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: 999px; white-space: nowrap; transition: background .25s; }
.seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(26,18,12,.12); }

/* breadcrumbs */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(26,18,12,.25); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs + * { margin-top: -40px; }

/* hero / search */
.hero { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 48px 0 0; text-align: center; }
.hero .lede { max-width: 520px; }
.hero-card { width: 100%; max-width: 860px; background: #fff; border-radius: 30px; border: 1px solid rgba(26,18,12,.1); box-shadow: 0 1px 0 rgba(26,18,12,.04), 0 24px 60px rgba(60,25,10,.1); padding: 12px; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.sbox { display: flex; align-items: center; gap: 10px; }
.sbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 19px; padding: 12px; }
.sbox-big input::-webkit-search-cancel-button { display: none; }
.page-head .sbox { max-width: 760px; background: #fff; border-radius: 999px; border: 1px solid rgba(26,18,12,.1); padding: 6px; box-shadow: 0 12px 30px rgba(60,25,10,.08); }
.gear-row { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 10px 2px 4px; border-top: 1px solid rgba(26,18,12,.07); scrollbar-width: none; }
.gear-row .muted { flex: none; padding: 0 6px 0 10px; font-size: 13px; font-weight: 500; }
.gear-row .chip { flex: none; }
.examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 860px; }

/* sections */
.sec { display: flex; flex-direction: column; gap: 18px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.page-head { display: flex; flex-direction: column; gap: 14px; }
.by-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.by-grid > div { display: flex; flex-direction: column; gap: 12px; }
.explore { display: flex; flex-wrap: wrap; gap: 6px; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.tile { position: relative; height: 200px; border-radius: 26px; overflow: hidden; background: var(--chip); box-shadow: 0 14px 34px rgba(60,25,10,.1); color: #fff; transition: transform .45s var(--spring); }
.tile:hover { color: #fff; transform: translateY(-3px); }
.tile:active { transform: scale(.97); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,10,9,0) 35%, rgba(14,10,9,.82)); }
.tile-body { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.tile-label { font-size: 22px; font-weight: 300; line-height: 1.05; letter-spacing: -.02em; }
.tile-count { font-size: 13px; font-weight: 500; white-space: nowrap; color: rgba(255,255,255,.85); }

/* recipe cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.card { position: relative; height: 340px; border-radius: 28px; overflow: hidden; background: var(--chip); box-shadow: var(--shadow-card); transition: transform .45s var(--spring), box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(26,18,12,.05), 0 26px 52px rgba(60,25,10,.16); }
.card:active { transform: scale(.97); }
.card:focus-within { outline: 2px solid var(--link); outline-offset: 3px; }
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,10,9,0) 38%, rgba(14,10,9,.86) 92%); pointer-events: none; }
.card-tags { position: absolute; z-index: 1; left: 14px; top: 14px; display: flex; gap: 6px; }
.card-body { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.card-kicker { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.82); }
.card-title { font-size: 22px; font-weight: 400; line-height: 1.12; letter-spacing: -.015em; }
.card-title a { color: #fff; }
.card-title a::before { content: ""; position: absolute; inset: -1000px; z-index: 2; } /* whole card clickable via one link; .card clips it */
.card-title a:focus-visible { outline: none; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: rgba(255,255,255,.78); }
.card-time { white-space: nowrap; font-size: 30px; font-weight: 200; line-height: .9; letter-spacing: -.03em; color: #fff; }
.card-time small { font-size: 13px; font-weight: 400; letter-spacing: 0; }

/* browse */
.browse { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.filters { flex: 1 1 240px; max-width: 300px; position: sticky; top: 88px; display: flex; flex-direction: column; }
.filters-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; }
.fgroup { border: 0; margin: 0; padding: 18px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fgroup legend { float: left; width: 100%; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: rgba(26,18,12,.6); }
.browse-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.browse-solo .browse-main { flex-basis: 100%; }
.browse-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.browse-head > div:first-child { display: flex; flex-direction: column; gap: 6px; }
.active { display: flex; gap: 6px; flex-wrap: wrap; }
.active button { display: inline-flex; align-items: center; gap: 8px; border: 0; font-size: 13px; font-weight: 500; padding: 8px 8px 8px 13px; border-radius: 999px; background: var(--ink); color: #fff; }
.active button span { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 12px; line-height: 1; }
.empty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 17px; color: rgba(26,18,12,.72); }

/* recipe */
.recipe { display: flex; flex-direction: column; gap: 48px; }
.r-hero { border-radius: 40px; color: #fff; background: var(--dark); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 30px 80px rgba(60,25,10,.18); padding: 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.r-hero-text { display: flex; flex-direction: column; gap: 24px; padding: 4px 0 8px 12px; }
.r-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.glass-btn { height: 44px; padding: 0 16px 0 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); box-shadow: inset 0 1px 1px rgba(255,255,255,.45); background: rgba(255,255,255,.1); display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: 14px; font-weight: 500; }
.glass-btn:hover { color: #fff; background: rgba(255,255,255,.18); }
.r-kicker { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.78); }
.r-kicker a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.r-title { font-size: clamp(40px, 5.4vw, 76px); font-weight: 200; line-height: .94; letter-spacing: -.035em; }
.r-desc { font-size: 17px; line-height: 1.45; color: rgba(255,255,255,.82); max-width: 560px; }
.r-stats { display: flex; flex-wrap: wrap; gap: 20px 36px; margin: auto 0 0; }
.r-stats > div { display: flex; flex-direction: column-reverse; gap: 8px; }
.r-stats dd { margin: 0; white-space: nowrap; font-size: 44px; font-weight: 200; line-height: .9; letter-spacing: -.03em; }
.r-stats dd small { font-size: 16px; font-weight: 300; letter-spacing: 0; }
.r-stats dt { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.75); }
.r-tabs { display: flex; align-self: flex-start; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); border-radius: 999px; padding: 4px; gap: 2px; }
.r-tabs button { border: 0; background: transparent; color: #fff; font-size: 15px; font-weight: 500; padding: 11px 18px; border-radius: 999px; transition: background .3s; }
.r-tabs button[aria-selected="true"] { background: rgba(255,255,255,.94); color: var(--ink); }
.r-photo { margin: 0; border-radius: 28px; overflow: hidden; min-height: 280px; background: rgba(255,255,255,.06); }
.r-photo img { width: 100%; height: 100%; object-fit: cover; }
.r-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.r-main { flex: 999 1 560px; min-width: 0; }
.r-main > div { display: flex; flex-direction: column; gap: 48px; }
.r-sec { display: flex; flex-direction: column; gap: 14px; }
.r-sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.r-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--chip); border-radius: 999px; padding: 4px; }
.stepper button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(60,25,10,.1); font-size: 18px; transition: transform .3s var(--spring); }
.stepper button:active { transform: scale(.9); }
.stepper output { min-width: 104px; white-space: nowrap; text-align: center; font-size: 15px; font-weight: 500; }
.ings { list-style: none; margin: 0; padding: 0; }
.ing label { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); cursor: pointer; }
.ing input { width: 20px; height: 20px; flex: none; accent-color: var(--ink); margin: 0; }
.ing-q { width: 110px; flex: none; font-size: 18px; font-weight: 500; }
.ing-n { flex: 1; min-width: 0; font-size: 17px; line-height: 1.35; color: rgba(26,18,12,.82); }
.ing-note { color: rgba(26,18,12,.55); }
.ing input:checked ~ span { opacity: .4; text-decoration: line-through; }
.ing-sec { padding: 18px 0 6px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.step:target { background: linear-gradient(90deg, var(--soft), transparent); border-radius: 12px; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 500; background: var(--gloss); color: #fff; box-shadow: inset 0 1px 1px rgba(255,255,255,.7), 0 6px 14px oklch(0.6 0.19 32 / .3); }
.step > div { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.step-t { font-size: 18px; font-weight: 500; }
.step p { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 680px; }
.tips { margin: 0; padding: 18px 22px 18px 40px; background: var(--soft); border-radius: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.faq { border-top: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-size: 17px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 0 16px; color: var(--ink-2); line-height: 1.55; }
.info { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-card); }
.r-aside { flex: 1 1 300px; max-width: 380px; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--soft); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.facts { margin: 0; display: flex; flex-direction: column; }
.fact { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.fact dt { flex: none; width: 96px; color: var(--muted); font-weight: 500; }
.fact dd { margin: 0; flex: 1; min-width: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.jump a { display: block; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 500; }
.jump a:hover { color: var(--link); }

/* html sitemap */
.sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.sm section { display: flex; flex-direction: column; gap: 10px; }
.sm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.sm-list small { color: var(--muted); }

/* footer */
.ft { background: var(--soft); margin-top: 24px; }
.ft-in { display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(5, minmax(120px, 1fr)); gap: 28px; padding-block: 48px 28px; }
.ft-brand { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--body); max-width: 340px; }
.ft-small a { color: var(--ink-2); }
.ft-col h2 { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.ft-col h2 a { color: var(--ink); }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.ft-col a { color: var(--ink-2); }
.ft-col a:hover { color: var(--link); }
.ft-base { padding-block: 16px 28px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* responsive */
@media (max-width: 1080px) {
  .ft-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hdr-in { flex-wrap: wrap; gap: 8px 12px; }
  .nav { order: 3; flex-basis: 100%; margin-inline: -8px; }
  .hdr-search { margin-left: auto; width: auto; flex: 0 1 220px; }
  .r-hero { grid-template-columns: 1fr; padding: 20px; border-radius: 32px; }
  .r-hero-text { padding: 4px; }
  .r-photo { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .filters, .r-aside { position: static; max-width: none; }
  .crumbs + * { margin-top: -44px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  main.wrap { gap: 44px; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 40px; height: 40px; }
  .hdr-search { padding-left: 12px; }
  .hero { padding-top: 24px; }
  .sbox-big { flex-wrap: wrap; }
  .sbox-big input { font-size: 17px; flex-basis: 100%; }
  .sbox-big .btn { width: 100%; justify-content: center; }
  .page-head .sbox { border-radius: 26px; }
  .r-stats dd { font-size: 36px; }
  .ing-q { width: 84px; font-size: 16px; }
  .ing-n { font-size: 16px; }
  .ft-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browse-head .seg { max-width: 100%; overflow-x: auto; }
  .card { height: 300px; }
  .filters { display: block; }
}

/* print: just the recipe */
@media print {
  .hdr, .ft, .crumbs, .r-aside, #related, .r-controls, .r-tabs, .glass-btn, .skip, .ing input { display: none !important; }
  .r-hero { background: none; color: #000; box-shadow: none; padding: 0; display: block; }
  .r-desc, .r-stats dt, .r-kicker { color: #444; }
  .r-photo { display: none; }
  .r-title { font-size: 34px; }
  .r-stats dd { font-size: 22px; }
  .step-n { background: none; color: #000; border: 1px solid #000; box-shadow: none; }
  main.wrap { gap: 20px; padding: 0; }
  a { color: inherit; }
}

/* photo placeholder (recipes without a photo yet) */
.ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(60% 70% at 20% 10%, oklch(0.78 0.14 calc(var(--ph) + 20) / .9), transparent 70%), radial-gradient(60% 70% at 90% 80%, oklch(0.6 0.17 var(--ph) / .9), transparent 70%), oklch(0.45 0.09 var(--ph)); }
.ph span { font-size: 120px; font-weight: 200; line-height: 1; color: rgba(255,255,255,.35); transform: translateY(-30px); }
.r-hero-solo { grid-template-columns: 1fr; }
.r-hero-solo .r-hero-text { min-height: 300px; }
