:root {
  --bg: #f4f1ea;
  --surface: #fffdf8;
  --ink: #1e2926;
  --muted: #66736e;
  --accent: #c8623d;
  --accent-deep: #91402d;
  --olive: #68745a;
  --warning: #b47722;
  --danger: #aa3d37;
  --line: #d8d4c9;
  --shadow: 0 18px 45px rgba(49, 54, 47, .11);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --sans: "Noto Sans TC", "Noto Sans CJK TC", system-ui, sans-serif;
  --serif: "Noto Serif TC", "Noto Serif CJK TC", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.75; }
body::selection { background: #e5b8a4; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.site-header { min-height: 72px; padding: 14px max(16px, calc((100% - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(216, 212, 201, .8); background: rgba(244, 241, 234, .92); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--bg); font: 700 12px/1 var(--sans); letter-spacing: .06em; }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { font-size: 14px; letter-spacing: .02em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.header-link { color: var(--accent-deep); font-size: 13px; font-weight: 700; white-space: nowrap; }

.hero { display: grid; grid-template-columns: .94fr 1.06fr; gap: 48px; align-items: center; padding-block: clamp(48px, 8vw, 104px) 72px; }
.eyebrow { margin: 0 0 10px; color: var(--accent-deep); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: var(--serif); letter-spacing: -.035em; }
h1 { max-width: 580px; margin-bottom: 22px; font-size: clamp(42px, 6vw, 76px); line-height: 1.08; }
h1 em { color: var(--accent); font-style: normal; }
h2 { margin-bottom: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; }
h3 { margin-bottom: 9px; line-height: 1.3; }
.hero-lede { max-width: 470px; margin-bottom: 28px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .header-link:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #e5a083; outline-offset: 3px; }
.button-primary { background: var(--accent); color: #fffaf4; }
.button-primary:hover { background: var(--accent-deep); }
.button-quiet { background: transparent; border: 1px solid var(--line); color: var(--ink); }

.hero-scene { min-height: 400px; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #d5d8cc; box-shadow: var(--shadow); isolation: isolate; }
.hero-scene::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255, 253, 248, .25), transparent 42%), linear-gradient(0deg, rgba(60, 69, 57, .26), transparent 45%); z-index: -1; }
.scene-glow { position: absolute; width: 360px; height: 360px; top: -130px; right: -90px; border-radius: 50%; background: rgba(255, 246, 213, .7); filter: blur(10px); }
.scene-toolbar { position: absolute; top: 18px; left: 20px; right: 20px; display: flex; align-items: center; gap: 9px; color: rgba(30, 41, 38, .72); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.scene-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(200, 98, 61, .14); }
.scene-time { margin-left: auto; color: rgba(30, 41, 38, .46); }
.scene-counter { position: absolute; inset: 28% -10% -12%; transform: rotate(-7deg); border-radius: 42% 42% 0 0; background: #a9886a; box-shadow: inset 0 14px 28px rgba(71, 47, 30, .18); }
.scene-counter::before { content: ""; position: absolute; inset: 21% 11% 17%; border-radius: 36%; background: #d8b78f; box-shadow: inset 0 0 32px rgba(130, 88, 55, .2); }
.scene-bowl { position: absolute; z-index: 2; top: 21%; left: 31%; width: 40%; aspect-ratio: 1.55; border-radius: 50% 50% 44% 44%; background: linear-gradient(160deg, #f7ede0, #baa58a); box-shadow: inset 0 -22px 18px rgba(91, 68, 46, .18), 0 12px 16px rgba(58, 43, 29, .2); }
.scene-bowl::after { content: ""; position: absolute; inset: 16% 8%; border-radius: 50%; background: #c69a6a; box-shadow: inset 0 8px 12px rgba(97, 64, 37, .22); }
.scene-bowl span { position: absolute; z-index: 3; width: 42%; height: 20%; left: 27%; top: 27%; border-radius: 50%; background: #e6be86; transform: rotate(-14deg); }
.scene-hand { position: absolute; z-index: 3; width: 20%; height: 11%; border-radius: 48% 52% 34% 66%; background: #c58c69; box-shadow: 0 8px 10px rgba(68, 41, 29, .16); }
.hand-left { top: 33%; left: 11%; transform: rotate(26deg); }
.hand-right { top: 32%; right: 13%; transform: rotate(-32deg); }
.scene-note { position: absolute; z-index: 4; right: 10%; bottom: 19%; width: min(250px, 38%); padding: 13px 15px; border: 1px solid rgba(30, 41, 38, .12); border-radius: 12px; background: rgba(255, 253, 248, .88); box-shadow: 0 10px 25px rgba(53, 48, 38, .12); font-size: 12px; line-height: 1.55; }
.scene-note strong { color: var(--accent-deep); }

.section-block, .recipe-section { padding-block: 62px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-index { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.today-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.focus-card { min-height: 240px; display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 9px 25px rgba(50, 53, 45, .06); }
.focus-card h3 { margin-top: 24px; font-size: 22px; }
.focus-card p { color: var(--muted); font-size: 14px; }
.focus-card a, .card-arrow { margin-top: auto; color: var(--accent-deep); font-size: 13px; font-weight: 800; }
.muted-card { background: #eae8df; box-shadow: none; }
.theory-card-mini { background: #e6eadf; box-shadow: none; }
.focus-card-top, .card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-dot.active { background: var(--accent); }
.status-dot.next { background: var(--warning); }
.status-dot.theory { background: var(--olive); }
.source-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.source-badge.class { background: #f4ddd4; color: var(--accent-deep); }
.source-badge.reported { background: #dce8f0; color: #315a73; }
.source-badge.pending { background: #f1e4c9; color: #805617; }
.source-badge.theory { background: #dce7d5; color: #4f6548; }
.source-badge.inferred { background: #dce7d5; color: #4f6548; }
.source-badge.ai { background: #e5e1ef; color: #66537a; }
.source-badge.external { background: #e5e1ef; color: #66537a; }
.disabled-link { color: #89908c !important; cursor: default; }

.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.search-box { min-width: min(100%, 350px); display: flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 248, .65); color: var(--muted); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-pill { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; }
.filter-pill.is-active, .filter-pill:hover { border-color: var(--accent); background: var(--accent); color: white; }
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.recipe-card { overflow: hidden; border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 9px 25px rgba(50, 53, 45, .06); }
.recipe-card:hover { box-shadow: var(--shadow); }
.recipe-image { height: 210px; overflow: hidden; background: #d6d8ca; }
.recipe-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 33%; transition: transform .4s ease; }
.recipe-card:hover .recipe-image img { transform: scale(1.035); }
.recipe-body { padding: 19px; }
.recipe-body h3 { margin-top: 15px; font-size: 24px; font-family: var(--serif); }
.recipe-body p { min-height: 51px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.card-arrow { display: flex; justify-content: space-between; }
.card-arrow b { font-size: 17px; }
.placeholder { min-height: 320px; display: flex; flex-direction: column; background: #ebe8df; box-shadow: none; }
.placeholder-number { padding: 20px 20px 0; color: rgba(30, 41, 38, .18); font: 700 74px/1 var(--serif); }
.empty-state { padding: 20px; border: 1px dashed var(--line); border-radius: var(--radius-md); color: var(--muted); text-align: center; }
.recipe-card[hidden] { display: none; }

.exam-block { padding-bottom: 40px; }
.exam-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px; border-radius: var(--radius-lg); background: var(--ink); color: #f8f3e9; }
.exam-panel h3 { max-width: 520px; margin: 12px 0 8px; color: #fff9ed; font: 400 clamp(24px, 3vw, 38px)/1.25 var(--serif); }
.exam-panel p { max-width: 560px; margin-bottom: 0; color: #c5cec5; }
.exam-kicker { color: #e3aa8e; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.exam-stats { display: flex; gap: 24px; flex-shrink: 0; }
.exam-stats div { min-width: 56px; }
.exam-stats strong, .exam-stats span { display: block; }
.exam-stats strong { color: #fff6dd; font: 34px/1 var(--serif); }
.exam-stats span { margin-top: 8px; color: #a6b3a8; font-size: 11px; }
.source-note { display: flex; gap: 12px; align-items: flex-start; padding: 18px 0 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.source-note p { margin-bottom: 0; }
.source-note-icon { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--olive); color: white; font: 700 12px/1 var(--serif); }
.site-footer { display: flex; justify-content: space-between; gap: 14px; padding-block: 24px 34px; color: var(--muted); font-size: 11px; }

/* Recipe page */
.recipe-hero { display: grid; grid-template-columns: .88fr 1.12fr; gap: 42px; align-items: center; padding-block: 58px 42px; }
.title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.title-row h1 { margin-bottom: 0; font-size: clamp(44px, 7vw, 78px); }
.recipe-lede { max-width: 530px; margin: 22px 0; color: var(--muted); font-size: 17px; }
.hero-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.hero-tags span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; }
.recipe-hero-image { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #ddd4c2; box-shadow: var(--shadow); }
.recipe-hero-image img { width: 100%; max-height: 520px; object-fit: cover; object-position: center 24%; }
.image-caption { position: absolute; right: 12px; bottom: 12px; padding: 5px 8px; border-radius: 7px; background: rgba(255, 253, 248, .88); color: var(--muted); font-size: 10px; }
.quick-nav { position: sticky; top: 72px; z-index: 10; display: flex; gap: 4px; overflow-x: auto; padding-block: 10px; border-block: 1px solid var(--line); background: rgba(244, 241, 234, .94); scrollbar-width: none; }
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav a { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 800; }
.quick-nav a:hover { background: var(--accent); color: white; }
.recipe-section { border-bottom: 1px solid var(--line); }
.section-intro { max-width: 620px; margin-bottom: 22px; color: var(--muted); }
.outline-flow { display: flex; align-items: stretch; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.outline-node { min-width: 140px; display: flex; flex-direction: column; gap: 5px; padding: 15px; border-radius: var(--radius-sm); background: var(--surface); }
.outline-node span { color: var(--accent); font: 700 12px/1 var(--serif); }
.outline-node strong { font-size: 14px; }
.outline-node small { color: var(--muted); font-size: 11px; }
.outline-line { width: 20px; flex: 0 0 20px; align-self: center; height: 1px; background: var(--line); }
.memory-line { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--accent); background: #f9e9df; color: #784333; }
.memory-line p { margin: 0; font-size: 13px; }
.memory-icon { font-size: 19px; line-height: 1.3; }
.split-section { display: grid; grid-template-columns: 1fr .85fr; gap: 48px; align-items: start; }
.ingredient-list { border-top: 1px solid var(--line); }
.ingredient-list > div { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ingredient-list strong { font-size: 13px; }
.ingredient-list em { font-size: 10px; font-style: normal; font-weight: 800; }
.confirmed-mark { color: var(--olive); }
.pending-mark { color: var(--warning); }
.formula-photo { margin: 0; padding: 12px; border-radius: var(--radius-md); background: var(--surface); }
.formula-photo img { max-height: 620px; width: 100%; object-fit: contain; border-radius: 10px; background: #eee8db; }
figcaption { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.first-person-step { display: grid; grid-template-columns: 48px 1fr 280px; gap: 22px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); }
.step-number { color: var(--accent); font: 700 23px/1 var(--serif); }
.step-label { color: var(--accent-deep); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.step-copy h3 { margin: 8px 0; font: 400 25px/1.25 var(--serif); }
.step-copy p { color: var(--muted); font-size: 14px; }
.cue-box { display: flex; gap: 9px; padding: 10px 12px; border-radius: 8px; background: #e8eee2; color: #506149; font-size: 12px; line-height: 1.5; }
.cue-box strong { flex: 0 0 auto; }
.step-visual { min-height: 165px; position: relative; overflow: hidden; border-radius: var(--radius-md); background: #d7ded0; }
.visual-label { position: absolute; z-index: 2; top: 11px; left: 12px; color: rgba(30, 41, 38, .54); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.visual-scale { background: linear-gradient(145deg, #e2e5d9, #b9c5b5); }
.mini-scale { position: absolute; width: 100px; height: 56px; bottom: 27px; left: 92px; border-radius: 14px 14px 21px 21px; background: #f5f1e7; box-shadow: 0 13px 14px rgba(30, 41, 38, .13); }
.mini-scale::after { content: "000 g"; position: absolute; top: 10px; left: 27px; color: var(--olive); font: 700 11px monospace; }
.ingredient-dot { position: absolute; width: 35px; height: 19px; border-radius: 50%; background: #dfb77e; transform: rotate(-18deg); }
.dot-one { left: 50px; bottom: 62px; }.dot-two { right: 54px; bottom: 76px; background: #f2e1ba; }
.visual-dough { background: linear-gradient(145deg, #e8dcc7, #bc946a); }
.dough-shape { position: absolute; width: 170px; height: 82px; left: 53px; bottom: 35px; border-radius: 49% 54% 43% 46%; background: #d6a571; transform: rotate(-8deg); box-shadow: inset 0 -12px 11px rgba(111, 68, 33, .16); }
.film-line { position: absolute; right: 26px; top: 58px; width: 75px; height: 30px; border: 2px solid rgba(255, 249, 226, .8); border-left: 0; border-radius: 0 70% 70% 0; transform: rotate(-12deg); }
.visual-bowl { background: linear-gradient(145deg, #dce4d9, #9ead95); }
.bowl-shape { position: absolute; width: 175px; height: 92px; left: 52px; bottom: 22px; border-radius: 20% 20% 45% 45%; background: linear-gradient(160deg, #f2eadb, #ad9a7a); box-shadow: inset 0 -14px 12px rgba(86, 63, 41, .18), 0 13px 15px rgba(50, 62, 47, .15); }
.bowl-shape::after { content: ""; position: absolute; inset: 15% 8%; border-radius: 50%; background: #d1a371; }
.steam { position: absolute; bottom: 101px; width: 2px; height: 29px; border-radius: 50%; background: rgba(255, 253, 248, .72); transform: rotate(12deg); }.steam-a { left: 112px; }.steam-b { left: 160px; height: 22px; transform: rotate(-11deg); }
.fermentation-section { background: #e8eee2; }
.fermentation-section .section-heading { margin-bottom: 22px; }
.theory-image { padding: 16px; border-radius: var(--radius-md); background: var(--surface); }.theory-image img { width: 100%; }.theory-image span { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.fermentation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.fermentation-grid article { padding: 18px; border: 1px solid rgba(104, 116, 90, .19); border-radius: var(--radius-sm); background: rgba(255, 253, 248, .58); }.phase-num { color: var(--olive); font: 700 18px/1 var(--serif); }.fermentation-grid h3 { margin: 13px 0 4px; font-size: 18px; }.fermentation-grid p { min-height: 48px; color: var(--muted); font-size: 13px; }.fermentation-grid strong { color: #53624b; font-size: 12px; }
.theory-explain { display: flex; align-items: center; gap: 24px; padding: 24px; border-radius: var(--radius-md); background: var(--surface); }.theory-explain p { max-width: 700px; margin-bottom: 13px; color: var(--muted); }.theory-icon { position: relative; flex: 0 0 130px; height: 110px; border-radius: 20px; background: #e1ead9; }.salt-dot, .yeast-dot { position: absolute; width: 33px; height: 33px; border-radius: 50%; }.salt-dot { left: 25px; top: 35px; background: #f6f0e0; border: 2px solid #d0c9b9; }.yeast-dot { right: 25px; top: 35px; background: #e3b078; }.cross-line { position: absolute; left: 59px; top: 48px; width: 14px; height: 3px; background: var(--danger); transform: rotate(-45deg); }
.quiz-list { display: grid; gap: 9px; }.quiz-list details { padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }.quiz-list summary { cursor: pointer; font-weight: 800; }.quiz-list details p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.source-list { border-top: 1px solid var(--line); }.source-list > div { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }.source-list p { margin: 0; color: var(--muted); font-size: 13px; }.source-list a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }.open-question { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 15px; border-radius: var(--radius-sm); background: #f9e9df; color: #784333; font-size: 13px; }.open-question strong { flex: 0 0 auto; }.open-question span { flex: 1; }.progress-toggle { padding: 8px 12px; border: 1px solid #d9987f; border-radius: 999px; background: transparent; color: var(--accent-deep); font-size: 11px; font-weight: 800; white-space: nowrap; }.progress-toggle.is-done { background: var(--accent); color: white; }

@media (max-width: 900px) {
  .hero, .recipe-hero { grid-template-columns: 1fr; gap: 30px; }
  .hero-scene { min-height: 350px; }
  .split-section { grid-template-columns: 1fr; gap: 28px; }
  .first-person-step { grid-template-columns: 42px 1fr; }
  .step-visual { grid-column: 2; width: min(100%, 380px); }
  .exam-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1120px); }
  .site-header { padding-inline: 12px; }
  .brand small { display: none; }
  .hero { padding-block: 42px 48px; }
  h1 { font-size: clamp(40px, 13vw, 61px); }
  .hero-lede, .recipe-lede { font-size: 16px; }
  .hero-scene { min-height: 315px; border-radius: 22px; }
  .scene-note { right: 5%; width: 52%; font-size: 11px; }
  .today-grid, .recipe-grid, .fermentation-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: 200px; }
  .catalog-tools { align-items: stretch; flex-direction: column; }
  .search-box { min-width: 0; }
  .recipe-image { height: 220px; }
  .exam-panel { padding: 23px; border-radius: 22px; }
  .exam-stats { width: 100%; justify-content: space-between; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .recipe-hero { padding-block: 40px 30px; }
  .recipe-hero-image img { max-height: 410px; }
  .quick-nav { top: 63px; margin-inline: 0; padding-inline: 12px; }
  .recipe-section { padding-block: 48px; }
  .section-heading { align-items: flex-start; }
  .section-index { padding-top: 10px; }
  .outline-node { min-width: 132px; }
  .ingredient-list > div { grid-template-columns: 1fr auto; }.ingredient-list em { grid-column: 1 / -1; }
  .first-person-step { grid-template-columns: 34px 1fr; gap: 13px; }.step-copy h3 { font-size: 22px; }.step-visual { grid-column: 2; min-height: 150px; width: 100%; }.mini-scale { left: 28%; }.dough-shape { left: 17%; }.bowl-shape { left: 17%; }
  .theory-explain { align-items: flex-start; flex-direction: column; padding: 18px; }.theory-icon { flex-basis: 95px; width: 112px; height: 95px; }.salt-dot, .yeast-dot { top: 28px; }.cross-line { top: 41px; }
  .source-list > div { align-items: flex-start; flex-direction: column; gap: 6px; }.open-question { align-items: flex-start; flex-direction: column; }.open-question span { flex: auto; }.progress-toggle { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Compact product-first home */
.home-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-block: 42px 30px; border-bottom: 1px solid var(--line); }
.home-head h1 { margin: 0 0 7px; font-size: clamp(42px, 7vw, 70px); }
.home-head p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; }
.home-count { color: var(--accent-deep); font: 700 24px/1 var(--serif); white-space: nowrap; }
.catalog-section { padding-block: 34px 72px; }
.catalog-list { display: grid; gap: 9px; }
.catalog-item { display: grid; grid-template-columns: 108px minmax(0, 1fr) 34px; gap: 16px; align-items: center; min-height: 118px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: transform .18s ease, box-shadow .18s ease; }
.catalog-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.catalog-thumb { width: 108px; height: 98px; overflow: hidden; border-radius: 8px; background: #d9dfd3; }
.catalog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.catalog-placeholder { display: grid; place-items: center; background: #e9e6dc; color: rgba(30, 41, 38, .25); font: 700 38px/1 var(--serif); }
.catalog-copy h3 { margin: 8px 0 5px; font: 400 25px/1.2 var(--serif); }
.catalog-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.catalog-arrow { color: var(--accent); font: 700 25px/1 var(--serif); text-align: center; }
.catalog-item:not(.is-ready) { box-shadow: none; }
.catalog-item[hidden] { display: none; }

@media (max-width: 620px) {
  .home-head { align-items: flex-start; flex-direction: column; padding-block: 28px 22px; }
  .home-head h1 { font-size: 45px; }
  .home-count { font-size: 18px; }
  .catalog-section { padding-top: 25px; }
  .catalog-item { grid-template-columns: 72px minmax(0, 1fr) 20px; gap: 10px; min-height: 92px; padding: 7px; }
  .catalog-thumb { width: 72px; height: 78px; }
  .catalog-copy h3 { margin-top: 5px; font-size: 20px; }
  .catalog-copy p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.45; }
  .catalog-arrow { font-size: 20px; }
}


.lesson-body { background: #f1eee6; }
.lesson-body .site-header { position: sticky; }
.lesson-shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: calc(100vh - 72px); transition: grid-template-columns .2s ease; }
.lesson-shell.is-collapsed { grid-template-columns: 70px minmax(0, 1fr); }
.lesson-sidebar { position: sticky; top: 72px; height: calc(100vh - 72px); display: flex; flex-direction: column; gap: 12px; padding: 22px 14px; border-right: 1px solid var(--line); background: #ebe8df; overflow: hidden; z-index: 12; }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 7px; white-space: nowrap; }
.sidebar-heading strong { font-family: var(--serif); font-size: 22px; }
.sidebar-collapse { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; }
.sidebar-meta { padding: 0 8px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; white-space: nowrap; }
.sidebar-nav { display: grid; gap: 3px; }
.sidebar-nav a { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 8px 9px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 800; white-space: nowrap; }
.sidebar-nav a:hover, .sidebar-nav a:focus-visible { background: var(--surface); color: var(--accent-deep); }
.sidebar-nav span { width: 24px; color: var(--accent); font: 700 12px/1 var(--serif); }
.sidebar-back { margin-top: auto; padding: 10px 9px; color: var(--accent-deep); font-size: 12px; font-weight: 800; white-space: nowrap; }
.lesson-shell.is-collapsed .sidebar-heading strong, .lesson-shell.is-collapsed .sidebar-meta, .lesson-shell.is-collapsed .sidebar-nav b, .lesson-shell.is-collapsed .sidebar-back { display: none; }
.lesson-shell.is-collapsed .sidebar-heading { justify-content: center; }
.lesson-shell.is-collapsed .sidebar-nav a { justify-content: center; padding-inline: 0; }
.lesson-shell.is-collapsed .sidebar-nav span { text-align: center; }
.lesson-content { min-width: 0; max-width: 1220px; width: 100%; padding: 34px clamp(18px, 4vw, 54px) 90px; }
.mobile-nav-toggle { display: none; margin-bottom: 16px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 800; }
.lesson-hero-compact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: end; padding: 12px 0 28px; border-bottom: 1px solid var(--line); }
.lesson-kicker { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 14px; color: var(--muted); font-size: 11px; }
.lesson-hero-compact h1 { margin: 0 0 8px; font-size: clamp(42px, 6vw, 72px); }
.lesson-hero-compact p { max-width: 580px; margin: 0; color: var(--muted); font-size: 15px; }
.focus-metrics { display: grid; grid-template-columns: repeat(2, minmax(108px, 1fr)); gap: 7px; min-width: 280px; }
.focus-metrics div { padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.focus-metrics strong, .focus-metrics span { display: block; }
.focus-metrics strong { color: var(--accent-deep); font: 700 20px/1.15 var(--serif); }
.focus-metrics span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.lesson-panel { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 253, 248, .72); }
.panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.panel-heading > div { display: flex; align-items: baseline; gap: 11px; }
.panel-index { color: var(--accent); font: 700 14px/1 var(--serif); }
.panel-heading h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.panel-note { color: var(--muted); font-size: 11px; }
.recipe-controls { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.recipe-controls label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 800; }
.recipe-controls input { min-height: 38px; width: 120px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.recipe-controls .version-name-label input { width: 190px; }
.compact-button { min-height: 38px; padding: 7px 13px; border: 0; }
.formula-note, .version-help, .bake-note { margin: 0 0 15px; color: var(--muted); font-size: 12px; }
.table-scroll { overflow-x: auto; }
.ingredient-table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 13px; }
.ingredient-table th, .ingredient-table td { padding: 10px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.ingredient-table thead th { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.ingredient-table tbody th { font-weight: 800; }
.ingredient-table .ingredient-group th { padding-top: 18px; padding-bottom: 7px; border-bottom: 2px solid #c8c1b3; color: var(--accent-deep); font-size: 11px; letter-spacing: .08em; }
.ingredient-table .ingredient-base { width: 86px; padding: 6px 7px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font: 700 13px var(--sans); }
.ingredient-table output { color: var(--accent-deep); font-weight: 800; }
.ingredient-table small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.ingredient-uncertain td, .ingredient-uncertain th { background: #fbf5e9; }
.process-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.process-list article { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.fruit-walnut-sequence { grid-template-columns: 1fr; gap: 8px; margin-bottom: 16px; }
.fruit-walnut-sequence article { grid-template-columns: 38px minmax(0, 1fr); align-items: start; }
.fruit-walnut-sequence article > span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #cbd2c3; border-radius: 50%; background: #f5f7f1; color: var(--accent-deep); }
.fruit-walnut-sequence article h3 { margin-bottom: 5px; }
.fruit-walnut-sequence article p { margin-bottom: 7px; }
.fruit-walnut-sequence .process-gap { border-style: dashed; border-color: #d9c8a9; background: #fbf7ee; }
.fruit-walnut-sequence .process-gap > span { border-color: #d7b773; background: #f7ecd4; color: #805617; }
.fruit-walnut-sequence .source-badge { display: inline-flex; margin-top: 2px; }
.fruit-walnut-key-step { margin: 14px 0; }
.process-after-key-step { margin-top: 16px; margin-bottom: 0; }
.fruit-walnut-ingredients { min-width: 570px; }
.fruit-walnut-ingredients td:nth-child(2) { width: 112px; color: var(--accent-deep); font-weight: 800; white-space: nowrap; }
.formula-gaps { display: grid; gap: 7px; margin: 0; padding-left: 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.process-list article > span { color: var(--accent); font: 700 16px/1 var(--serif); }
.process-list h3 { margin: 0 0 5px; font-size: 17px; }
.process-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.bake-panel { background: #27312e; border-color: #27312e; color: #f6f0e4; }
.bake-panel .panel-heading h2, .bake-panel .panel-index { color: #fff8ea; }
.bake-panel .panel-index { color: #e4a182; }
.bake-panel .panel-note, .bake-panel .bake-note { color: #bdc9c0; }
.bake-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.bake-grid div { padding: 18px; border-radius: 10px; background: rgba(255,255,255,.08); }
.bake-grid strong, .bake-grid span { display: block; }
.bake-grid strong { color: #fff0d5; font: 700 clamp(25px, 4vw, 42px)/1 var(--serif); }
.bake-grid span { margin-top: 7px; color: #bdc9c0; font-size: 11px; }
.bake-note { margin-top: 15px; margin-bottom: 0; }
.version-list { display: grid; gap: 7px; }
.version-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.version-item strong, .version-item small { display: block; }
.version-item strong { font-size: 13px; }
.version-item small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.version-load { padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--accent-deep); font-size: 11px; font-weight: 800; }
.empty-version { margin: 0; color: var(--muted); font-size: 12px; }
.evidence-panel { padding-block: 14px; }
.evidence-panel details { color: var(--muted); font-size: 12px; }
.evidence-panel summary { cursor: pointer; color: var(--accent-deep); font-weight: 800; }
.evidence-panel figure { max-width: 520px; margin: 18px 0 0; padding: 10px; background: #eee8db; }
.evidence-panel img { width: 100%; }
.evidence-panel figcaption { margin-bottom: 0; }
.visual-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 18px; }
.visual-strip figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.visual-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.visual-strip figcaption { min-height: 48px; margin: 0; padding: 9px 10px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.ai-quick-preview .visual-strip { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ai-quick-preview .visual-strip figcaption { min-height: 0; }
.section-jump { display: inline-flex; min-height: 44px; align-items: center; margin-top: 12px; color: var(--accent-deep); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.ai-gallery > figure { margin: 0; padding: 10px; border-radius: 10px; background: var(--surface); }
.ai-gallery > figure img { width: 100%; }
.process-group-title { grid-column: 1 / -1; margin: 8px 0 -2px; color: var(--accent-deep); font-size: 15px; }
.process-disclaimer { grid-column: 1 / -1; margin: -3px 0 2px; color: var(--muted); font-size: 12px; }

.sop-panel { padding-bottom: 30px; }
.sop-sequence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.sop-sequence li { min-width: 0; display: grid; gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.sop-sequence li b { color: var(--accent); font: 700 15px/1 var(--serif); }
.sop-sequence li span { font-size: 12px; font-weight: 800; }
.sop-sequence li small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.sop-sequence li.is-inferred { background: #f4f5ef; }
.sop-steps { display: grid; gap: 16px; }
.sop-step { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(16px, 2.5vw, 28px); padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.sop-step.is-inferred { background: #fafaf6; border-color: #d7ddcf; }
.sop-step-media { align-self: start; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #eee9df; }
.sop-step-media img { display: block; width: 100%; max-height: 570px; object-fit: contain; background: #eee9df; }
.sop-step-media figcaption { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 0; padding: 9px 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.5; }
.sop-image-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: start; gap: 7px; min-width: 0; }
.sop-image-pair .sop-step-media img { height: 250px; object-fit: cover; }
.sop-image-placeholder { min-height: 190px; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 22px; border: 1px dashed #c5bcae; border-radius: 10px; background: linear-gradient(145deg, #f1eee6, #e9e5da); color: var(--accent-deep); text-align: center; }
.sop-image-placeholder b { font: 700 20px/1.3 var(--serif); }
.sop-image-placeholder span { color: var(--muted); font-size: 10px; }
.sop-source-gallery { display: grid; gap: 10px; margin-top: 22px; padding-top: 14px; border-top: 1px dashed #bbc3b2; }
.sop-source-gallery .sop-inferred-heading { padding: 0; border: 0; }
.sop-step-copy { min-width: 0; }
.sop-step-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 8px; }
.sop-step-number { color: var(--accent); font: 700 16px/1 var(--serif); }
.sop-step-copy h3 { margin: 0 0 8px; font-size: clamp(19px, 2vw, 24px); }
.sop-step-copy h4 { margin: 14px 0 8px; color: var(--accent-deep); font-size: 12px; }
.sop-step-copy > p { margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.sop-materials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.sop-materials li { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; padding: 8px 9px; border: 1px solid #e5dfd4; border-radius: 8px; background: #fffdfa; font-size: 11px; line-height: 1.4; }
.sop-materials li b { color: var(--accent-deep); font-size: 12px; white-space: nowrap; }
.sop-materials li small { flex-basis: 100%; color: var(--muted); font-size: 9px; }
.pending-copy { color: #805617 !important; }
.sop-note { margin-top: 9px !important; font-size: 10px !important; }
.flow-order { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 6px; color: var(--accent-deep); }
.flow-order span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fffdfa; font-size: 10px; font-weight: 800; text-align: center; }
.flow-order svg { display: block; width: 44px; flex: 0 0 auto; color: var(--accent); }
.ingredient-mix-map { display: grid; justify-items: center; gap: 10px; margin: 10px 0; }
.mix-ingredient-list { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.mix-ingredient-list li { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; align-items: center; gap: 5px; padding: 8px 9px; border: 1px solid #e5dfd4; border-radius: 8px; background: #fffdfa; font-size: 10px; line-height: 1.35; }
.mix-ingredient-list li b { color: var(--accent-deep); font-size: 10px; white-space: nowrap; }
.mix-ingredient-list li small { grid-column: 1 / -1; color: var(--muted); font-size: 9px; }
.mix-ingredient-list .mix-arrow { color: var(--accent); font-size: 13px; font-weight: 900; text-align: center; }
.flow-bowl { min-width: 110px; min-height: 58px; display: grid; align-content: center; justify-items: center; gap: 4px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 12px 12px 24px 24px; background: #e8edf0; color: var(--accent-deep); text-align: center; }
.flow-bowl b { font-size: 11px; line-height: 1.4; }
.flow-bowl span { color: var(--accent); font-size: 25px; line-height: .7; transform: scaleX(1.5); }
.completion-check { display: grid; gap: 4px; margin-top: 12px; padding: 10px 11px; border-left: 3px solid var(--olive); border-radius: 0 8px 8px 0; background: #f1f4ed; font-size: 11px; line-height: 1.5; }
.completion-check > b { color: #4f6548; font-size: 10px; }
.completion-check strong { color: var(--accent-deep); white-space: nowrap; }
.pending-check { border-color: #bf9652; background: #fbf5e9; }
.pending-check > b { color: #805617; }
.sop-inferred-heading { display: flex; align-items: center; gap: 10px; padding: 9px 2px 0; border-top: 1px dashed #bbc3b2; }
.sop-inferred-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

@media (max-width: 900px) {
  .lesson-shell, .lesson-shell.is-collapsed { display: block; }
  .lesson-sidebar { position: fixed; top: 72px; left: 0; width: min(286px, 84vw); transform: translateX(-105%); box-shadow: 14px 0 30px rgba(30, 41, 38, .14); transition: transform .2s ease; }
  .lesson-sidebar.is-open { transform: translateX(0); }
  .lesson-shell.is-collapsed .lesson-sidebar { width: min(286px, 84vw); }
  .lesson-shell.is-collapsed .sidebar-heading strong, .lesson-shell.is-collapsed .sidebar-meta, .lesson-shell.is-collapsed .sidebar-nav b, .lesson-shell.is-collapsed .sidebar-back { display: block; }
  .lesson-shell.is-collapsed .sidebar-heading { justify-content: space-between; }
  .lesson-shell.is-collapsed .sidebar-nav a { justify-content: flex-start; padding-inline: 9px; }
  .lesson-shell.is-collapsed .sidebar-nav span { text-align: left; }
  .lesson-content { padding: 18px 12px 60px; }
  .mobile-nav-toggle { display: block; }
  .lesson-hero-compact { grid-template-columns: 1fr; align-items: start; }
  .focus-metrics { min-width: 0; width: 100%; }
  .sop-sequence { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .lesson-panel { margin-top: 16px; padding: 16px; border-radius: 11px; }
  .panel-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .panel-heading h2 { font-size: 26px; }
  .process-list { grid-template-columns: 1fr; }
  .sop-sequence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sop-step { grid-template-columns: 1fr; gap: 14px; padding: 12px; }
  .sop-step-media img { max-height: 440px; }
  .sop-image-pair { grid-template-columns: 1fr; }
  .sop-image-pair .sop-step-media img { height: auto; max-height: 370px; object-fit: contain; }
  .sop-image-placeholder { min-height: 145px; }
  .sop-materials { grid-template-columns: 1fr; }
  .flow-order { gap: 5px; }
  .flow-order span { padding: 7px 8px; }
  .flow-order svg { width: 34px; }
  .mix-ingredient-list { grid-template-columns: 1fr; }
  .mix-ingredient-list li { grid-template-columns: minmax(0, 1fr) auto 18px; }
  .flow-bowl { min-height: 60px; }
  .sop-inferred-heading { align-items: flex-start; flex-direction: column; }
  .bake-grid { gap: 6px; }
  .bake-grid div { padding: 13px 10px; }
  .bake-grid strong { font-size: 26px; }
  .recipe-controls { align-items: stretch; flex-direction: column; }
  .recipe-controls input, .recipe-controls .version-name-label input { width: 100%; }
  .compact-button { width: 100%; }
  .visual-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Follow-along recipe pages: procedure and ingredient amounts stay together. */
.follow-page { min-height: 100vh; background: #f4f1ea; color: #222a26; }
.follow-header { display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(16px, 4vw, 42px); border-bottom: 1px solid #dfd9ce; background: rgba(250, 248, 243, .94); }
.follow-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.follow-brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #35483f; color: #fff; font: 700 12px/1 var(--serif); }
.follow-brand strong, .follow-brand small { display: block; }
.follow-brand strong { font: 700 15px/1.2 var(--serif); }
.follow-brand small { margin-top: 3px; color: #77796f; font-size: 10px; }
.follow-header-link { color: #43584a; font-size: 12px; font-weight: 700; text-decoration: none; }
.follow-main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 70px; }
.follow-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; padding: 0 0 24px; border-bottom: 1px solid #d8d2c7; }
.follow-kicker { margin-bottom: 10px; color: #72766c; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.follow-hero h1 { margin: 0; color: #26372f; font: 700 clamp(34px, 5vw, 58px)/1.04 var(--serif); letter-spacing: -.035em; }
.follow-hero p { max-width: 600px; margin: 12px 0 0; color: #5f655d; font-size: 14px; line-height: 1.7; }
.follow-timings { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 400px; }
.follow-timing { min-width: 100px; padding: 10px 12px; border: 1px solid #d9d5ca; border-radius: 10px; background: #fbfaf6; }
.follow-timing strong, .follow-timing span { display: block; }
.follow-timing strong { color: #32493b; font: 700 17px/1.1 var(--serif); white-space: nowrap; }
.follow-timing span { margin-top: 5px; color: #7b7c73; font-size: 10px; }
.follow-basis { margin: 16px 0 0; padding: 10px 12px; border-left: 3px solid #b0905c; background: #faf5e9; color: #665539; font-size: 11px; line-height: 1.55; }
.follow-section { margin-top: 24px; }
.follow-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.follow-section-title h2 { margin: 0; color: #293c32; font: 700 25px/1.15 var(--serif); }
.follow-section-title p { margin: 0; color: #818177; font-size: 10px; }
.follow-ingredient-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.follow-ingredient-group { padding: 13px 15px; border: 1px solid #ded9ce; border-radius: 12px; background: #fbfaf7; }
.follow-ingredient-group h3 { margin: 0 0 8px; color: #596550; font-size: 11px; }
.follow-ingredient-group ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.follow-ingredient-group li { padding: 6px 8px; border-radius: 7px; background: #f0eee7; color: #52564e; font-size: 10px; line-height: 1.35; }
.follow-ingredient-group li strong { color: #33493b; font-size: 11px; }
.follow-ingredient-group li small { display: block; margin-top: 3px; color: #847352; font-size: 9px; }
.follow-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: follow-step; }
.follow-step { counter-increment: follow-step; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 17px; border: 1px solid #ded9ce; border-radius: 13px; background: #fbfaf7; box-shadow: 0 4px 14px rgba(43, 50, 43, .035); }
.follow-step-number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #34483e; color: #fff; font: 700 14px/1 var(--serif); }
.follow-step-number::before { content: counter(follow-step, decimal-leading-zero); }
.follow-step h3 { margin: 0; color: #283c32; font: 700 20px/1.25 var(--serif); }
.follow-step-tag { display: inline-block; margin: 0 0 7px; color: #82734f; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.follow-step p { margin: 7px 0 0; color: #515950; font-size: 12px; line-height: 1.65; }
.follow-step-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 11px; }
.follow-step-detail div { padding: 8px 10px; border-radius: 8px; background: #f1efe8; }
.follow-step-detail dt { margin-bottom: 3px; color: #74776d; font-size: 9px; font-weight: 800; }
.follow-step-detail dd { margin: 0; color: #3d473e; font-size: 11px; line-height: 1.5; }
.follow-step-detail .wide-detail { grid-column: 1 / -1; }
.follow-step-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr); grid-template-areas: "copy media"; align-items: center; gap: 18px; }
.follow-step-layout > div { grid-area: copy; }
.follow-step-media { margin: 0; overflow: hidden; border-radius: 10px; background: #e8e3d8; }
.follow-step-layout > .follow-step-media { grid-area: media; }
.follow-step-media img { display: block; width: 100%; max-height: 440px; object-fit: cover; }
.follow-step-media figcaption { padding: 9px 11px; color: #485348; font-size: 11px; font-weight: 600; line-height: 1.5; }
.follow-proof-summary { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.follow-proof-summary span { padding: 7px 9px; border: 1px solid #dcd7cb; border-radius: 8px; background: #f8f6f0; color: #596052; font-size: 10px; }
.follow-proof-summary strong { color: #344a3c; }
.follow-footer-note { margin-top: 24px; padding-top: 12px; border-top: 1px solid #d8d2c7; color: #76786f; font-size: 10px; line-height: 1.6; }
@media (max-width: 720px) {
  .follow-main { width: min(100% - 22px, 600px); padding-top: 24px; }
  .follow-hero { grid-template-columns: 1fr; align-items: start; }
  .follow-timings { justify-content: flex-start; max-width: none; }
  .follow-timing { min-width: 88px; }
  .follow-ingredient-groups { grid-template-columns: 1fr; }
  .follow-step { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 13px 11px; }
  .follow-step-number { width: 31px; height: 31px; font-size: 12px; }
  .follow-step h3 { font-size: 18px; }
  .follow-step-layout { grid-template-columns: 1fr; grid-template-areas: "media" "copy"; }
  .follow-step-media img { max-height: 360px; object-fit: cover; }
  .follow-step-detail { grid-template-columns: 1fr; }
  .follow-step-detail .wide-detail { grid-column: auto; }
  .follow-section-title { align-items: flex-start; flex-direction: column; }
}
