:root {
  --paper: #f9f6ed;
  --ink: #242f27;
  --muted: #526055;
  --green: #254936;
  --red: #9d3c2c;
  --line: #cecdbd;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
.wrap { max-width: 1304px; padding: 0 clamp(24px, 5.5vw, 82px); margin: auto; }
.skip { position: absolute; top: 0; left: 20px; z-index: 2; background: white; padding: 10px; transform: translateY(-120%); }
.skip:focus { transform: none; }
header, footer, nav, .brand, .primary, .section-head, figcaption, .kicker { display: flex; align-items: center; }
header, footer { justify-content: space-between; }
header { min-height: 86px; border-bottom: 1px solid var(--line); gap: 16px; }
header a, footer a, .primary { text-decoration: none; }
.brand { gap: 12px; font: bold 25px/1 var(--serif); letter-spacing: .07em; white-space: nowrap; }
.seal { color: var(--paper); background: var(--red); border: 2px solid var(--red); box-shadow: inset 0 0 0 1px var(--paper); border-radius: 4px 3px 5px 2px; font: bold 25px/32px var(--serif); width: 35px; height: 36px; text-align: center; letter-spacing: 0; transform: rotate(-3deg); }
nav { gap: clamp(16px, 3vw, 42px); }
nav a, footer a { padding: 8px 0; color: var(--muted); font-size: 14px; }
nav a:hover, footer a:hover, .sources a:hover { color: var(--red); text-decoration: underline; }
.hero { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(32px, 5vw, 78px); align-items: center; padding: clamp(35px, 5vw, 72px) 0 clamp(38px, 5vw, 70px); }
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3, .signature { font-family: var(--serif); }
.kicker { gap: 11px; color: var(--red); font-size: 13px; font-weight: 650; letter-spacing: .13em; }
.kicker span { display: inline-block; height: 2px; width: 24px; background: currentColor; }
h1 { margin: 18px 0 19px; font-size: clamp(52px, 5.4vw, 81px); line-height: 1.12; font-weight: 650; letter-spacing: -.045em; }
h1 em { color: var(--green); font-style: normal; }
.intro { max-width: 27em; font-size: 16px; line-height: 1.95; color: var(--muted); }
.primary { display: inline-flex; gap: 22px; background: var(--green); color: white; margin-top: 23px; padding: 10px 20px; font-weight: 600; font-size: 14px; border-radius: 3px; }
.primary:hover { background: #33694a; }
.hero figure { min-width: 0; }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; border-radius: 3px; }
figcaption { gap: 12px; margin-top: 9px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
figcaption span { border-right: 1px solid var(--line); padding-right: 12px; color: var(--red); }
.menu { padding: 28px 0 0; border-top: 2px solid var(--green); }
.section-head { justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
h2 { font-size: clamp(30px, 3.1vw, 46px); line-height: 1.3; font-weight: 650; letter-spacing: -.035em; }
.section-head p { color: var(--muted); font-size: 13px; }
summary { cursor: pointer; }
.meal-type { color: var(--red); font-weight: 650; font-size: 15px; letter-spacing: .13em; }
.porridge { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; margin: clamp(42px, 6vw, 78px) 0; background: #e9eddf; padding: clamp(24px, 4.1vw, 58px); border-radius: 3px; }
.porridge-title h2 { margin: 13px 0 12px; color: var(--green); }
.porridge-title > p:last-child, .porridge-tips p { color: #465747; }
.porridge-tips { padding: 0; list-style: none; }
.porridge-tips li + li { border-top: 1px solid #c4cdba; margin-top: 12px; padding-top: 12px; }
.porridge-tips b { color: var(--green); }
.porridge-tips p { margin-top: 3px; font-size: 15px; }
.health { border-top: 2px solid var(--green); padding-top: 26px; }
.health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 5vw, 75px); margin: 25px 0 24px; }
h3 { font-size: 24px; font-weight: 650; margin-bottom: 7px; }
.health-grid p, .urgent p { color: var(--muted); line-height: 1.9; }
.urgent { border-left: 3px solid var(--red); padding: 13px 20px; background: #f3eae1; }
.urgent b { color: var(--red); }
.urgent p { font-size: 15px; }
.sources { margin: 20px 0 43px; color: var(--muted); font-size: 14px; }
.sources summary { padding: 7px 0; }
.sources ul { padding: 7px 0 8px 1.5em; }
.sources li { margin: 4px 0; }
footer { border-top: 1px solid var(--line); padding: 16px 0 27px; }
.signature { font-size: 18px; color: var(--green); }
@media (max-width: 740px) {
  header { min-height: 68px; }
  .wrap { padding: 0 22px; }
  .brand { font-size: 20px; gap: 7px; }
  .seal { width: 29px; height: 31px; line-height: 27px; font-size: 21px; }
  nav { gap: 13px; } nav a { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding: 31px 0 28px; }
  .hero-copy h1 { font-size: clamp(43px, 8.7vw, 62px); margin: 9px 0 12px; }
  .hero-copy h1 br { display: none; }
  .primary { margin-top: 15px; }
  .hero img { aspect-ratio: 1.78; }
  .intro { font-size: 15px; }
  .menu { padding-top: 20px; } .section-head { margin-bottom: 14px; }
  .porridge { grid-template-columns: 1fr; gap: 20px; margin: 36px 0; }
  .porridge-title > p:last-child br { display: none; }
  .health-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  nav { gap: 9px; } nav a { font-size: 12px; }
  .section-head { align-items: baseline; }
  .hero-copy h1 { font-size: clamp(34px, 10vw, 40px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.menu .kicker { font-size: 13px; color: var(--red); margin-bottom: 7px; }
.shuffle { background: var(--green); color: white; border: 0; border-radius: 3px; padding: 11px 19px; cursor: pointer; font: 600 15px/1.5 var(--sans); }
.shuffle:hover { background: #33694a; }
.shuffle span { font: 22px/1 Georgia, serif; margin-right: 5px; vertical-align: -1px; }
.menu-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 15px 0 8px; border-top: 1px solid var(--line); }
.menu-controls > label, .portions { color: var(--muted); font-size: 14px; }
.menu-controls select { margin-left: 5px; padding: 6px 8px; font: inherit; color: var(--green); background: transparent; border: 1px solid var(--line); border-radius: 3px; }
.portions { display: flex; gap: 0; margin: 0; padding: 0; border: 0; }
.portions legend { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.portions label { position: relative; cursor: pointer; }
.portions input { position: absolute; opacity: 0; }
.portions span { display: block; border: 1px solid var(--line); padding: 5px 12px; }
.portions label + label span { border-left: 0; }
.portions input:checked + span { background: var(--green); color: white; }
.portions input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.portion-note, .groceries > p { font-size: 14px; color: var(--muted); margin: 7px 0 18px; }
.meal-cards, .kitchen-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 34px); }
.meal-card { background: #fffdf6; border-top: 2px solid #a8b49b; border-bottom: 1px solid var(--line); padding: 16px clamp(12px, 1.6vw, 22px); }
.meal-card h3 { margin: 6px 0 1px; font-size: clamp(21px, 2.05vw, 29px); line-height: 1.4; }
.meal-card .side { color: var(--muted); font-size: 14px; min-height: 2em; }
.meal-card h4 { margin: 14px 0 5px; font-size: 14px; color: var(--green); }
.ingredients { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; margin: 0 0 13px; font-size: 15px; }
.ingredients dt, .ingredients dd { margin: 0; padding: 2px 0; border-bottom: 1px dotted #e4e1d4; }
.ingredients dd { color: var(--green); text-align: right; font-variant-numeric: tabular-nums; }
.directions summary, .groceries summary { font-weight: 600; color: var(--green); padding: 8px 0; }
.directions ol { margin: 5px 0 10px; padding-left: 1.45em; }
.directions li + li { margin-top: 6px; }
.directions, .directions p { font-size: 15px; }
.directions p { color: var(--muted); }
.groceries { margin-top: 16px; background: #eeeede; padding: 8px 18px; border-radius: 3px; }
.groceries summary span { font-size: 12px; color: var(--muted); margin-left: 6px; font-weight: 400; }
.groceries ul { columns: 3 190px; padding-left: 1.4em; margin-bottom: 12px; font-size: 15px; }
.groceries li { break-inside: avoid; padding: 2px 0; }
.kitchen { border-top: 2px solid var(--green); padding: 24px 0 36px; }
.kitchen-notes { margin-top: 23px; }
.kitchen h3 { font-size: 22px; }
.kitchen p { font-size: 15px; line-height: 1.9; color: var(--muted); }
@media (max-width: 740px) {
  .meal-cards, .kitchen-notes { grid-template-columns: 1fr; }
  .meal-cards { gap: 14px; }
  .meal-card { padding: 14px 17px; }
  .shuffle { padding: 10px 12px; font-size: 14px; }
  .menu-controls { gap: 8px; }
  .menu-controls > label, .portions { font-size: 13px; }
  .portions span { padding: 6px 8px; }
  .kitchen-notes { gap: 16px; }
}
