/* einbissenlecker.de: shared styles */

:root {
  /* Petrol from the logo, on white */
  --paper: #f6f1e8;
  --surface: #fff;
  --sunk: #efe7d9;
  --ink: #1d2626;
  --ink-soft: #586160;
  --rule: #e0d7c6;
  --teal: #035c63;
  --teal-ink: #02464c;
  --teal-soft: #d7e8e6;
  --teal-mid: #7fb3af;
  --tomato: #c4532f;
  --focus: #035c63;

  --font-display: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.4vw, 2.5rem);
  --step-4: clamp(2.4rem, 5.6vw, 4.4rem);

  --gutter: clamp(16px, 4vw, 48px);
  --measure: 68ch;
  --max: 1180px;
  --recipe-max: 900px;  /* recipe pages: one width for photo, text and ingredients */
  --radius: 14px;
  --shadow: 0 1px 2px rgba(40, 30, 10, .06), 0 8px 24px -12px rgba(40, 30, 10, .18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--teal-ink); text-decoration-thickness: 2.5px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: calc(var(--step-4) - 6pt); letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.005em; }

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 52ch; }
.small { font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- Buttons and chips ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 var(--step--1)/1 var(--font-body); letter-spacing: .01em;
  padding: 13px 20px; border-radius: 999px; border: 1.5px solid var(--teal);
  background: var(--teal); color: #fff; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal-soft); color: var(--teal-ink); }
.btn svg { width: 18px; height: 18px; }
.btn svg .fill { fill: currentColor; }

.chip {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal-ink);
  font-size: var(--step--1); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.chip:hover { background: var(--teal); color: #fff; text-decoration: none; }
.chip[aria-pressed="true"] { background: var(--teal); color: #fff; }

/* ---------- Header ---------- */

.site-header { background: var(--surface); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 12px 36px; min-height: 92px; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand img { width: 66px; height: auto; }
.brand-text { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .78rem; letter-spacing: 0; color: var(--ink-soft); margin-top: 3px; }

.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-weight: 600; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--teal); border-bottom-color: var(--teal-mid); }
.site-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }

.header-search { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 2px 4px 2px 16px; }
.header-search input { border: 0; background: transparent; font: inherit; font-size: var(--step--1); width: 11rem; padding: 8px 0; color: var(--ink); }
.header-search input:focus { outline: none; }
.header-search:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.header-search button { border: 0; background: transparent; padding: 8px; cursor: pointer; color: var(--teal); display: grid; }
.header-search svg, .big-search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 1020px) {
  .site-header .wrap { padding-block: 14px; }
  .site-nav { order: 3; width: 100%; }
  .header-search { order: 2; }
}

@media (max-width: 640px) {
  .brand img { width: 52px; }
  .brand-text { font-size: 1.25rem; }
  .brand-text small { display: none; }
  .site-nav ul { gap: 2px 20px; }
  .header-search input { width: 7.5rem; }
}

@media (max-width: 420px) {
  .header-search { order: 3; width: 100%; }
  .header-search input { width: 100%; }
  .site-nav { order: 4; }
}

/* ---------- Sections ---------- */

main { display: block; }
.section { padding-block: clamp(40px, 6vw, 80px); }
.section.follow { padding-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; }
.page-head { padding-bottom: clamp(24px, 3vw, 40px); }
.page-head h1 { max-width: 20ch; }

.crumbs { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }
.crumbs span { margin-inline: 6px; color: var(--rule); }

/* ---------- Home ---------- */

.hero { padding-block: clamp(32px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.kicker { font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tomato); margin-bottom: 14px; }
.hero h1 { font-weight: 500; font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.04; margin-bottom: .45em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--teal); }
.hero h1 .ch, .footer-brand .ch { font-size: .55em; vertical-align: .35em; letter-spacing: 0; }

.big-search { display: flex; gap: 8px; max-width: 560px; margin-top: 28px; background: var(--surface); border: 1.5px solid var(--rule); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.big-search:focus-within { border-color: var(--teal); }
.big-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 8px 6px 8px 18px; color: var(--ink); }
.big-search input:focus { outline: none; }

.feature { position: relative; display: block; text-decoration: none; color: var(--ink); }
.feature figure { margin: 0; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.feature img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }  /* photos are 3:2, so the logo in the corner stays visible */
.feature-label { position: relative; margin: 18px 0 0 clamp(12px, 3vw, 32px); width: min(88%, 420px); background: var(--surface); border-radius: var(--radius); padding: 18px 22px 20px; box-shadow: var(--shadow); display: grid; gap: 4px; }  /* below the photo, not over it: the logo can sit in any corner */
.badge { justify-self: start; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--tomato); padding: 3px 10px; border-radius: 999px; }
.feature-title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; margin-top: 4px; }
.feature-desc { font-size: var(--step--1); color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature:hover .feature-title { color: var(--teal); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feature figure { transform: none; }
}

.cats-section { background: var(--surface); border-block: 1px solid var(--rule); }

/* category icons: line art from Dagmar's icons, coloured via mask */
.cat-icon { display: block; background: var(--teal); border-radius: 50%; position: relative; aspect-ratio: 1; }
.cat-icon::after { content: ""; position: absolute; inset: 18%; background: #fff; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

.cat-strip { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(92px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.cat-strip li { scroll-snap-align: start; }
.cat-strip a { display: grid; justify-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--ink); }
.cat-strip .cat-icon { width: min(100%, 96px); transition: transform .2s ease, background .2s ease; }
.cat-strip a:hover .cat-icon { transform: translateY(-4px) rotate(-4deg); background: var(--teal-ink); }
.cat-strip .cat-name { font-weight: 600; font-size: var(--step--1); line-height: 1.25; }
.cat-strip .cat-count { display: none; }

.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.cat-tiles a { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; align-content: center; padding: 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%; }
.cat-tiles a:hover { border-color: var(--teal-mid); box-shadow: var(--shadow); }
.cat-tiles .cat-icon { grid-row: span 2; width: 76px; }
.cat-tiles .cat-name { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.15; align-self: end; }
.cat-tiles .cat-count { font-size: var(--step--1); color: var(--ink-soft); align-self: start; }
.cat-tiles a:hover .cat-name { color: var(--teal); }

.about-teaser { background: var(--teal); color: #f1f6f5; }
.about-teaser h2 { color: #fff; }
.about-teaser .btn-ghost { color: #fff; border-color: #fff; }
.about-teaser .btn-ghost:hover { background: #fff; color: var(--teal-ink); }
.teaser-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.teaser-grid img { transform: rotate(-1.5deg); box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .45); }
.teaser-grid p { max-width: 48ch; }
@media (max-width: 760px) { .teaser-grid { grid-template-columns: 1fr; } }

/* ---------- Recipe cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 28px); }
.card a { display: block; text-decoration: none; color: var(--ink); }
.card-img { background: var(--sunk); margin-bottom: 14px; }
.card-img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-cat { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin: 0 0 4px; }
.card-title { font-family: var(--font-display); font-size: 18pt; font-weight: 500; line-height: 1.2; margin: 0; }
.card-desc { font-size: var(--step--1); color: var(--ink-soft); margin: 6px 0 0; }
.cards-desc .card-desc { margin-top: calc(6px + 2pt); }
.card a:hover .card-title { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.card[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.filters[hidden] { display: none; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.sort { font-size: var(--step--1); color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.sort select { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 6px 10px; }
.result-count { color: var(--ink-soft); font-size: var(--step--1); margin: 16px 0 0; min-height: 1.6em; }

.cat-title { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }
.cat-title .cat-icon { width: clamp(84px, 11vw, 132px); flex: none; }
.cat-title h1 { margin-bottom: .2em; }
.cat-title .lead { margin: 0; }
.hash { color: var(--teal-mid); margin-right: .05em; }

/* ---------- Recipe page ---------- */

.recipe .wrap { max-width: calc(var(--recipe-max) + 2 * var(--gutter)); }
.recipe-head { padding-top: clamp(28px, 4vw, 56px); }
.recipe-head h1 { max-width: 22ch; margin-bottom: .35em; }
.recipe-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--ink-soft); font-size: var(--step--1); }

.recipe-hero { margin-top: clamp(20px, 3vw, 32px); margin-bottom: 0; }
.recipe-hero img { width: 100%; }  /* full photo, not cropped, so the logo stays visible */

.recipe-intro { padding-block: clamp(24px, 4vw, 44px) 8px; }
.recipe-intro > p:first-child { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 400; line-height: 1.4; letter-spacing: -0.01em; }

.recipe-body { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: 24px clamp(32px, 5vw, 56px); }

.ingredients-box { position: sticky; top: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 26px 18px; box-shadow: var(--shadow); }
.ingredients-box h2 { font-size: var(--step-2); margin-bottom: .2em; }
.ingredients-box h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin: 22px 0 6px; }
.yield { font-style: italic; color: var(--ink-soft); margin-bottom: 8px; }
.ingredients { list-style: none; margin: 0; padding: 0; }
.ingredients li { border-bottom: 1px dashed var(--rule); }
.ingredients li:last-child { border-bottom: 0; }
.ingredients + .ingredients { margin-top: 22px; }  /* blank line between lists in the recipe */
.ingredients label { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; cursor: pointer; line-height: 1.4; }
.ingredients input { appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--teal-mid); border-radius: 6px; background: var(--surface); display: grid; place-content: center; cursor: pointer; }
.ingredients input::after { content: ""; width: 11px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.ingredients input:checked { background: var(--teal); border-color: var(--teal); }
.ingredients input:checked::after { opacity: 1; }
.ingredients input:checked + span { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--teal-mid); }
.hint { font-size: .8rem; color: var(--ink-soft); margin: 14px 0 0; }

.method h2 { font-size: var(--step-2); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 64px; min-height: 48px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; border-left: 2px dotted var(--teal-mid); }

.actions { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0 0 0 64px; }
.actions .btn svg { fill: none; }

.recipe-after { padding-bottom: clamp(32px, 5vw, 56px); }
.recipe-after > h2 { font-size: var(--step-2); margin-top: 1.2em; }

.photo { margin: 0 0 24px; }
.print-brand { display: none; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; gap: 16px; margin-bottom: 24px; }
.gallery .photo { margin: 0; }
.gallery .wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: auto; }

.tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 28px; font-size: var(--step--1); }
.tags a { color: var(--ink-soft); text-decoration: none; }
.tags a:hover { color: var(--teal); text-decoration: underline; }

.comments { margin-top: 36px; }
.comments h2 { font-size: var(--step-2); }
.comments blockquote { margin: 0 0 14px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.comments blockquote p { margin: 0; }

.ask { margin-top: 32px; padding: 18px 22px; border-left: 4px solid var(--tomato); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.ask p { margin: 0; }

.related { background: var(--surface); border-top: 1px solid var(--rule); }
.related .more { margin: 32px 0 0; }

@media (max-width: 860px) {
  .recipe-body { grid-template-columns: 1fr; }
  .ingredients-box { position: static; }
}
@media (max-width: 480px) {
  .steps li { padding-left: 52px; }
  .steps li::before { width: 38px; height: 38px; font-size: 1.1rem; }
  .steps li:not(:last-child)::after { left: 18px; top: 40px; }
  .actions { padding-left: 0; }
}

/* ---------- Static pages ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-2); margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.legal h2 { font-size: var(--step-1); }
.source { font-size: var(--step--1); color: var(--ink-soft); margin-top: 2em; }

.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-photo img { transform: rotate(-1.2deg); box-shadow: var(--shadow); }
.about .lead { max-width: none; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; margin-bottom: 24px; }
.contact-card { display: grid; gap: 4px; padding: 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.contact-card:hover { border-color: var(--teal-mid); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.contact-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.contact-value { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; overflow-wrap: anywhere; }

.not-found { min-height: 50vh; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #cfd6d5; padding-block: clamp(40px, 5vw, 64px) 28px; font-size: var(--step--1); }
.site-footer .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px clamp(24px, 4vw, 56px); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-logo { width: clamp(84px, 9vw, 120px); filter: brightness(0) invert(1); opacity: .9; }  /* white, like the logo on the photos */
.footer-name { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; color: #fff; margin-bottom: .3em; }
.footer-brand p { max-width: 36ch; }
.footer-head { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; color: var(--teal-mid); margin-bottom: 12px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 18px; }
.social a { display: inline-flex; align-items: center; gap: 8px; }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.social svg .fill { fill: currentColor; stroke: none; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; margin: 8px 0 0; color: #9aa5a4; }
.stand { font-size: inherit; }
.stand::before { content: "· "; }

@media (max-width: 860px) {
  .site-footer .wrap { grid-template-columns: auto minmax(0, 1fr); }
  .footer-nav { grid-column: 2; }
}
@media (max-width: 480px) {
  .footer-nav { grid-column: 1 / -1; }
}

/* ---------- Print: just the recipe ---------- */

/* margins come from the page itself, so they stay even when the print dialog is set to no margins */
@page { size: A4; margin: 0; }

@media print {
  body { background: #fff; font-size: 10.5pt; padding-block: 15mm; -webkit-box-decoration-break: clone; box-decoration-break: clone; }  /* clone: on every page */
  .site-header, .site-footer, .related, .actions, .hint, .crumbs, .tags, .ask, .comments, .recipe-after .photo, .recipe-after .gallery, .recipe-intro .photo, .recipe-intro .gallery, .skip { display: none !important; }
  .wrap, .recipe .wrap { padding: 0 15mm; max-width: none; }
  .recipe-head { padding-top: 0; }
  h1 { font-size: 22pt; max-width: none; }
  .recipe-hero { margin-top: 3mm; }
  .recipe-hero img { width: auto; max-height: 5cm; }
  .recipe-intro { padding-block: 5mm 0; }
  .recipe-intro > p:first-child { font-size: 12.5pt; line-height: 1.4; }
  .recipe-body { grid-template-columns: 6cm 1fr; gap: 8mm; padding-block: 4mm 0; }
  .ingredients-box { position: static; box-shadow: none; border: 0; padding: 0; background: none; }
  .ingredients-box h2, .method h2 { font-size: 15pt; break-after: avoid; }
  .ingredients-box h3 { margin-top: 10px; break-after: avoid; }
  .ingredients input { display: none; }
  .ingredients li { break-inside: avoid; }
  .ingredients label { padding: 3px 0; }
  .ingredients + .ingredients { margin-top: 10px; }
  .steps li { padding: 0 0 8px 36px; min-height: 0; break-inside: avoid; }
  .steps li::before { top: 0; width: 24px; height: 24px; font-size: 11pt; background: none; border: 1px solid #999; }
  .steps li::after { display: none; }
  .recipe-after { padding-block: 4mm 0; }
  .recipe-head { position: relative; }
  .recipe-head h1, .recipe-meta { margin-right: 25mm; }  /* room for the logo */
  .print-brand { display: block; position: absolute; top: 0; right: 15mm; width: 16mm; height: auto; }
  .chip { background: none; padding: 0; }
  a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
