/* Princess Tofu — "Label Lab". Layout concept: bold ink-outlined label cards on white, a yellow band
   for each page's question, mono type for anything that reads like a food label. */
:root {
  --bg: #FFFFFF;
  --ink: #1B1A17;
  --card: #FFFFFF;
  --line: #E4E1D8;
  --muted: #5A564C;
  --border: #1B1A17;
  --shadow: #1B1A17;
  --yellow: #FFC93C;
  --on-yellow: #1B1A17;
  --green: #1F7A4A;
  --green-soft: #E7F3EC;
  --red: #C8381F;
  --red-soft: #FFE9EC;
  --amber: #8A5A00;
  --amber-soft: #FFF4D1;
  --blue-soft: #E3F1FF;
  --on-strong: #FFFFFF;
  --footer-bg: #1B1A17;
  --footer-ink: #F3F0E6;
  --footer-muted: #C9C4B6;
  --focus: #2457C5;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 18px;
  --wrap: 1240px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161512; --ink: #F3F0E6; --card: #201F1B; --line: #3A3830; --muted: #B9B4A6;
    --border: #F3F0E6; --shadow: #000000; --green-soft: #183326; --red-soft: #3A2226;
    --amber: #F0C060; --amber-soft: #352C14; --blue-soft: #1C2A3A; --footer-bg: #0E0D0B;
    --focus: #8FB3FF; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161512; --ink: #F3F0E6; --card: #201F1B; --line: #3A3830; --muted: #B9B4A6;
  --border: #F3F0E6; --shadow: #000000; --green-soft: #183326; --red-soft: #3A2226;
  --amber: #F0C060; --amber-soft: #352C14; --blue-soft: #1C2A3A; --footer-bg: #0E0D0B;
  --focus: #8FB3FF; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 18px; line-height: 1.6; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.mono { font-family: var(--font-mono); }
.eyebrow { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--on-yellow); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- header ---------- */
.site-header { border-bottom: 2px solid var(--border); background: var(--bg); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { flex: 0 0 auto; }
.brand span { font-family: var(--font-display); font-size: 25px; font-weight: 800; letter-spacing: -0.02em; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; font-weight: 600; font-size: 16px; }
.nav a { padding: 10px 12px; text-decoration: none; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--amber-soft); color: var(--ink); }

/* ---------- buttons, pills, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 2.5px solid var(--border);
  border-radius: 12px; background: var(--ink); color: var(--bg); font-family: var(--font-display); font-weight: 800; font-size: 17px;
  text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--shadow); }
.btn:hover { color: var(--bg); transform: translate(-1px, -1px); }
.btn.alt { background: var(--card); color: var(--ink); }
.btn.go { background: var(--green); color: var(--on-strong); }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 2px solid var(--border); border-radius: 999px;
  background: var(--card); text-decoration: none; font-weight: 600; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 7px; font-weight: 800; font-size: 14px; line-height: 1.4; white-space: nowrap; }
.pill-yes { background: var(--green); color: var(--on-strong); }
.pill-no { background: var(--red); color: var(--on-strong); }
.pill-maybe, .pill-some, .pill-depends { background: var(--yellow); color: var(--on-yellow); }

/* ---------- search ---------- */
.search { display: flex; flex-wrap: wrap; max-width: 640px; border: 2.5px solid var(--border); border-radius: 16px; background: var(--card);
  box-shadow: 6px 6px 0 var(--shadow); overflow: hidden; position: relative; }
.search input { flex: 1 1 240px; min-width: 0; border: 0; padding: 18px 20px; font-size: 19px; font-family: var(--font-body); color: var(--ink); background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.search button { flex: 0 0 auto; border: 0; border-left: 2.5px solid var(--border); background: var(--ink); color: var(--bg); padding: 0 26px;
  min-height: 60px; font-size: 17px; font-weight: 800; font-family: var(--font-display); cursor: pointer; }
.search.small { box-shadow: none; border-radius: 12px; }
.search.small input { padding: 12px 14px; font-size: 16px; flex-basis: 120px; }
.search.small button { min-height: 48px; padding: 0 16px; font-size: 15px; }
.suggest { list-style: none; margin: 8px 0 0; padding: 6px; max-width: 640px; border: 2px solid var(--border); border-radius: 14px; background: var(--card); }
.suggest a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.suggest a:hover { background: var(--amber-soft); color: var(--ink); }

/* ---------- home ---------- */
.hero { background: var(--yellow); color: var(--on-yellow); border-bottom: 2px solid var(--border); }
.hero a { color: var(--on-yellow); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; padding-block: 64px 72px; }
.hero-copy { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(56px, 9vw, 124px); line-height: 0.9; font-weight: 800; letter-spacing: -0.045em; }
.hero .lede { font-size: 21px; line-height: 1.45; max-width: 560px; }
.hero .search { --card: #FFFFFF; --ink: #1B1A17; --border: #1B1A17; --shadow: #1B1A17; color: #1B1A17; }
.hero .search button { color: #FFFFFF; }
.hero .chip { --card: #FFFFFF; --border: #1B1A17; color: #1B1A17; }
.hero .suggest { --card: #FFFFFF; --border: #1B1A17; --ink: #1B1A17; --amber-soft: #FFF4D1; color: #1B1A17; }
.hero-cards { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.label-card { background: #FFFFFF; color: #1B1A17; border: 2.5px solid #1B1A17; border-radius: 20px; padding: 22px 24px; box-shadow: 8px 8px 0 #1B1A17;
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.label-card:hover { color: #1B1A17; }
.label-card:nth-child(1) { transform: rotate(-2deg); }
.label-card:nth-child(2) { transform: rotate(1.5deg); }
.label-card .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.label-card .name { font-family: var(--font-display); font-size: 25px; font-weight: 800; line-height: 1.1; }
.label-card .stamp { font-weight: 800; padding: 6px 14px; border-radius: 8px; font-size: 18px; color: #FFFFFF; transform: rotate(4deg); }
.stamp.yes { background: #1F7A4A; } .stamp.no { background: #C8381F; } .stamp.maybe { background: #1B1A17; }
.label-card .ings { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--font-mono); font-size: 13px; }
.label-card .ings span { padding: 4px 8px; background: #E7F3EC; border-radius: 6px; }
.label-card .meta { font-family: var(--font-mono); font-size: 13px; color: #4A4740; }
.ticker { background: var(--footer-bg); color: var(--footer-ink); overflow: hidden; }
.ticker .track { display: flex; gap: 36px; padding-block: 16px; white-space: nowrap; font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.04em;
  text-transform: uppercase; width: max-content; animation: tick 60s linear infinite; padding-left: var(--gutter-l); }
.ticker .track span.dot { color: var(--yellow); }
@keyframes tick { to { transform: translateX(-50%); } }
.section { padding-block: 80px 24px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { max-width: 440px; font-size: 18px; line-height: 1.45; }
.aisles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.aisle { border: 2.5px solid var(--border); border-radius: 20px; padding: 26px; min-height: 190px; display: flex; flex-direction: column;
  justify-content: space-between; gap: 24px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.aisle:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--shadow); color: var(--ink); }
.aisle .name { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1.05; }
.aisle .sub { font-size: 16px; }
.tone-pink { background: var(--red-soft); } .tone-cream { background: var(--amber-soft); } .tone-blue { background: var(--blue-soft); } .tone-mint { background: var(--green-soft); }
.split { display: flex; flex-wrap: wrap; gap: 28px; }
.split > .main { flex: 999 1 560px; min-width: 0; }
.split > .side { flex: 1 1 320px; min-width: 0; }
.box { border: 2.5px solid var(--border); border-radius: 24px; overflow: hidden; background: var(--card); }
.box-head { padding: 22px 26px; border-bottom: 2.5px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.box-head h2 { font-size: 30px; font-weight: 800; }
.rows a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 26px; border-bottom: 1.5px solid var(--line);
  text-decoration: none; min-height: 56px; }
.rows a:last-child { border-bottom: 0; }
.rows a:hover { background: var(--amber-soft); color: var(--ink); }
.rows .t { font-size: 19px; font-weight: 600; line-height: 1.3; }
.rows .d { font-family: var(--font-mono); font-size: 13px; color: var(--muted); display: block; font-weight: 400; margin-top: 2px; }
.promo { background: var(--red); color: var(--on-strong); border: 2.5px solid var(--border); border-radius: 24px; padding: 30px; display: flex; flex-direction: column;
  gap: 16px; justify-content: space-between; height: 100%; }
.promo h2 { font-size: 38px; font-weight: 800; line-height: 1.02; }
.promo .btn { align-self: flex-start; background: #FFFFFF; color: #1B1A17; border-color: #1B1A17; box-shadow: 4px 4px 0 #1B1A17; }
.band-mint { background: var(--green-soft); border-block: 2px solid var(--border); margin-top: 72px; }
.band-mint .section { padding-block: 80px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.rcard { background: var(--card); border: 2.5px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.rcard:hover { color: var(--ink); box-shadow: 6px 6px 0 var(--shadow); transform: translate(-2px, -2px); }
.rcard .img { aspect-ratio: 4 / 3; width: 100%; max-width: 100%; border-bottom: 2.5px solid var(--border); object-fit: cover; }
.rcard .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.rcard .name { font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 1.15; }
.rcard .cat { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.img-fallback { aspect-ratio: 4 / 3; width: 100%; max-width: 100%; display: grid; place-items: center; border-bottom: 2.5px solid var(--border); }
.img-fallback.f0 { background: #F2A93B; } .img-fallback.f1 { background: #E58F6B; } .img-fallback.f2 { background: #9CCB86; } .img-fallback.f3 { background: #FFC93C; }
.img-fallback svg { width: 34%; height: auto; }
.newsletter .wrap { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; padding-block: 88px; }
.newsletter h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; }
.newsletter .copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.nl-form { flex: 1 1 360px; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nl-form label { width: 100%; font-weight: 700; font-size: 16px; }
.nl-form input { flex: 1 1 200px; min-width: 0; min-height: 56px; padding: 0 16px; font-size: 18px; border: 2.5px solid var(--border); border-radius: 12px;
  background: var(--card); color: var(--ink); font-family: var(--font-body); }
.nl-form .msg { width: 100%; font-family: var(--font-mono); font-size: 14px; }

/* ---------- article ---------- */
.q-band { background: var(--yellow); color: var(--on-yellow); border-bottom: 2px solid var(--border); }
.q-band a { color: var(--on-yellow); }
.q-band .wrap { padding-block: 36px 46px; display: flex; flex-direction: column; gap: 18px; }
.crumbs { font-family: var(--font-mono); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.q-band h1 { font-size: clamp(42px, 6.4vw, 86px); line-height: 0.94; font-weight: 800; letter-spacing: -0.04em; max-width: 18ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 16px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: #FFFFFF; border: 2px solid #1B1A17; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #1B1A17; flex: 0 0 auto; }
.byline .who { display: flex; flex-direction: column; line-height: 1.3; }
.byline .who b { font-weight: 700; }
.byline .who span { font-family: var(--font-mono); font-size: 13px; }
.checked { margin-left: auto; background: #FFFFFF; color: #1B1A17; border: 2px solid #1B1A17; border-radius: 999px; padding: 7px 14px; font-family: var(--font-mono); font-size: 13px; }
.article-wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-block: 44px 88px; }
.article { flex: 999 1 640px; min-width: 0; max-width: 780px; display: flex; flex-direction: column; gap: 36px; }
.aside { flex: 1 1 336px; min-width: min(100%, 320px); display: flex; flex-direction: column; gap: 22px; }
.decoder-inline { display: flex; flex-direction: column; gap: 10px; background: var(--red-soft); border: 2px solid var(--border); border-radius: 16px; padding: 18px 20px; }
.verdict { border: 2.5px solid var(--border); border-radius: 22px; box-shadow: 8px 8px 0 var(--shadow); overflow: hidden; background: var(--card); }
.verdict .bar { padding: 18px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; color: var(--on-strong); }
.verdict .bar.yes { background: var(--green); } .verdict .bar.no { background: var(--red); }
.verdict .bar.maybe { background: var(--yellow); color: var(--on-yellow); }
.verdict .bar .lbl { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em; }
.verdict .bar .v { font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1.1; }
.verdict .txt { padding: 22px 26px; font-size: 20px; line-height: 1.5; display: flex; flex-direction: column; gap: 10px; }
.verdict .note { font-size: 15px; color: var(--muted); font-family: var(--font-mono); }
.otp { display: flex; flex-wrap: wrap; gap: 8px; }
.otp a { font-size: 14px; min-height: 36px; }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 19px; }
.prose h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; margin-top: 22px; scroll-margin-top: 20px; }
.prose h3 { font-size: 24px; font-weight: 800; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { font-weight: 800; }
.prose blockquote { margin: 0; background: var(--amber-soft); border: 2px solid var(--border); border-radius: 16px; padding: 18px 22px; font-size: 17px; }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--amber-soft); padding: 1px 6px; border-radius: 5px; }
.table-wrap { overflow-x: auto; border: 2px solid var(--border); border-radius: 16px; background: var(--card); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.table-wrap th { text-align: left; background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 500; padding: 12px 16px; }
.table-wrap td { padding: 12px 16px; border-top: 1.5px solid var(--line); vertical-align: top; }
.table-wrap tr:first-child td { border-top: 0; }
.table-wrap td:first-child { font-weight: 700; }
@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  .table-wrap table { min-width: 0; font-size: 16px; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
  .table-wrap tr { padding: 14px 16px; border-top: 1.5px solid var(--line); }
  .table-wrap tr:first-child { border-top: 0; }
  .table-wrap td { padding: 3px 0; border-top: 0; }
  .table-wrap td[data-empty] { display: none; }
  .table-wrap td:first-child { font-size: 17px; padding-bottom: 6px; }
  .table-wrap td:not(:first-child)[data-label]:not([data-label=""])::before {
    content: attr(data-label); display: block; font-family: var(--font-mono); font-size: 11.5px;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted, #6b675e); margin-bottom: 2px; }
  .table-wrap td + td { margin-top: 6px; }
}
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 2px solid var(--border); border-radius: 14px; padding: 16px 20px; background: var(--card); }
.faq summary { font-family: var(--font-display); font-weight: 800; font-size: 19px; cursor: pointer; list-style-position: outside; }
.faq details > div { margin-top: 10px; font-size: 17px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.related a { text-decoration: none; background: var(--green-soft); border: 2px solid var(--border); border-radius: 14px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px; }
.related a:hover { color: var(--ink); box-shadow: 4px 4px 0 var(--shadow); }
.related .t { font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.2; }
.sources { border-top: 2px solid var(--border); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.sources h2 { font-size: 22px; font-weight: 800; }
.sources ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }
.author-box { display: flex; gap: 16px; align-items: flex-start; border: 2px solid var(--border); border-radius: 16px; padding: 20px; background: var(--card); }
.author-box .avatar { background: var(--yellow); }
.author-box p { font-size: 16px; }
.side-card { border: 2.5px solid var(--border); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; background: var(--card); }
a.side-card:hover { color: var(--ink); box-shadow: 5px 5px 0 var(--shadow); }
.side-card .big { font-family: var(--font-display); font-size: 24px; font-weight: 800; line-height: 1.1; }
.side-card.decoder { background: var(--red); color: var(--on-strong); }
.side-card.decoder .chip { color: #1B1A17; background: #FFFFFF; border-color: #1B1A17; min-height: 34px; font-size: 14px; }
.side-card.tone-pink { background: var(--red-soft); } .side-card.tone-mint { background: var(--green-soft); }
.hub-list { columns: 2 260px; column-gap: 28px; padding: 0; list-style: none; margin: 0; }
.hub-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1.5px solid var(--line); }

/* ---------- recipe ---------- */
.recipe-hero { border: 2.5px solid var(--border); border-radius: 22px; overflow: hidden; }
.recipe-hero img, .recipe-hero .img-fallback { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0; border: 2px solid var(--border); border-radius: 16px; overflow: hidden; }
.facts div { padding: 14px 16px; border-right: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.facts div:last-child { border-right: 0; }
.facts span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.facts b { font-size: 18px; font-variant-numeric: tabular-nums; }
.recipe-card { border: 2.5px solid var(--border); border-radius: 22px; box-shadow: 8px 8px 0 var(--shadow); background: var(--card); overflow: hidden; scroll-margin-top: 20px; }
.recipe-card .head { background: var(--green); color: var(--on-strong); padding: 20px 26px; display: flex; flex-direction: column; gap: 4px; }
.recipe-card .head h2 { font-size: 30px; font-weight: 800; }
.recipe-card .inner { padding: 24px 26px; display: flex; flex-direction: column; gap: 24px; }
.recipe-card h3 { font-size: 22px; font-weight: 800; }
.recipe-card ul.ing { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; }
.recipe-card ul.ing li { padding: 9px 0; border-bottom: 1.5px dashed var(--line); font-size: 17px; }
.recipe-card ol.steps { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.recipe-card ol.steps li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; gap: 12px; font-size: 17px; }
.recipe-card ol.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow);
  display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); border: 2px solid var(--border); }
.recipe-card .notes { background: var(--amber-soft); border-radius: 14px; padding: 16px 18px; font-size: 16px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- list pages ---------- */
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.list-item { border: 2px solid var(--border); border-radius: 16px; padding: 18px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  background: var(--card); }
.list-item:hover { color: var(--ink); box-shadow: 5px 5px 0 var(--shadow); transform: translate(-2px, -2px); }
.list-item.hub { background: var(--amber-soft); }
.list-item .t { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.2; }
.list-item .d { font-size: 15px; color: var(--muted); }
.list-item .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.intro { max-width: 760px; display: flex; flex-direction: column; gap: 14px; font-size: 19px; }
.page-body { max-width: 760px; padding-block: 44px 88px; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); }
.site-footer a { color: var(--footer-ink); }
.site-footer .wrap { padding-block: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer .about { max-width: 380px; display: flex; flex-direction: column; gap: 10px; }
.site-footer .about b { font-family: var(--font-display); font-size: 28px; font-weight: 800; }
.site-footer .about p { color: var(--footer-muted); font-size: 16px; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(140px, auto)); gap: 10px 32px; font-size: 16px; align-content: start; }
.site-footer .legal { width: 100%; font-family: var(--font-mono); font-size: 13px; color: var(--footer-muted); border-top: 1px solid #3A3830; padding-top: 18px; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .prose { font-size: 18px; }
  .checked { margin-left: 0; }
  .label-card:nth-child(n) { transform: none; }
  .hero .wrap { padding-block: 44px 56px; }
  .verdict .bar .v { font-size: 24px; }
  .section { padding-block: 56px 16px; }
}
