@font-face { font-family: "Kitchen serif"; src: local("Georgia"); font-display: swap; }
:root { color-scheme: light dark; --bg:#f8f5ed; --paper:#fffdf8; --ink:#263f32; --muted:#667065; --accent:#315943; --soft:#e8eddf; --line:#daddd0; --clay:#9a5034; --serif:"Kitchen serif",Georgia,"Times New Roman",serif; --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.55 var(--sans); }
button,input,select { font:inherit; }
button,a,input,select { -webkit-tap-highlight-color:transparent; }
button { color:inherit; cursor:pointer; }
a { color:inherit; text-underline-offset:4px; }
a,button,input,select { touch-action:manipulation; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid var(--clay); outline-offset:5px; }
button:disabled { opacity:.4; cursor:default; }
[hidden] { display:none!important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.skip-link { position:fixed; left:20px; top:-100px; padding:12px; background:var(--paper); z-index:30; }
.skip-link:focus { top:12px; }
h1,h2,h3,p { margin:0; }
h1,h2 { font-family:var(--serif); font-weight:400; line-height:1.12; letter-spacing:-.035em; text-wrap:balance; }
.site-header { max-width:1240px; margin:auto; display:flex; align-items:center; gap:24px; min-height:112px; padding:26px 48px; border-bottom:1px solid var(--line); }
.wordmark { display:flex; align-items:center; gap:10px; text-decoration:none; font:34px/1 var(--serif); letter-spacing:-2px; }
.wordmark-dot { margin-left:-10px; color:var(--clay); }
.brand-mark { font:26px/1 var(--serif); letter-spacing:-3px; color:var(--bg); background:var(--accent); width:40px; height:44px; display:grid; place-items:center; border-radius:15px 15px 15px 2px; padding-right:4px; margin-right:3px; }
.header-note { color:var(--muted); font-size:13px; border-left:1px solid var(--line); padding-left:24px; }
.header-link { margin-left:auto; text-decoration:none; font-size:13px; display:flex; gap:20px; align-items:center; min-height:44px; }
main { max-width:1240px; margin:auto; padding:0 48px 72px; outline:none; min-height:calc(100vh - 240px); }
.library-heading { padding:66px 0 44px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.eyebrow { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:2px; line-height:1.6; color:var(--muted); }
.library-heading h1 { font-size:clamp(44px,5.4vw,70px); margin:12px 0 18px; }
.serif-dot { color:var(--clay); }
.intro { color:var(--muted); font-size:17px; max-width:650px; line-height:1.7; }
.collection-stamp { width:118px; height:118px; border:1px solid var(--line); border-radius:50%; display:flex; flex-direction:column; justify-content:center; align-items:center; flex-shrink:0; transform:rotate(9deg); color:var(--muted); }
.collection-stamp .recipe-icon { width:38px; height:38px; margin-bottom:8px; }
.collection-stamp span { font-size:8px; text-align:center; letter-spacing:2px; line-height:1.6; }
.library-tools { display:flex; align-items:center; justify-content:space-between; gap:24px; border-bottom:1px solid var(--line); padding-bottom:22px; }
.search { display:flex; align-items:center; gap:12px; width:450px; max-width:100%; color:var(--muted); }
.search svg { flex-shrink:0; }
.search input { border:0; outline-offset:4px; background:transparent; width:100%; height:48px; color:var(--ink); font-size:15px; }
input::placeholder { color:var(--muted); opacity:1; }
.filter-tabs { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.filter-tabs button { border:0; padding:10px 16px; min-height:44px; border-radius:30px; background:transparent; color:var(--muted); font-size:13px; }
.filter-tabs button[aria-pressed="true"] { background:var(--accent); color:var(--bg); }
.filter-tabs span { margin-right:5px; font-size:19px; vertical-align:-1px; }
.result-count { font-size:11px; text-transform:uppercase; letter-spacing:1.5px; color:var(--muted); padding:24px 0 18px; }
.recipe-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.recipe-card { position:relative; background:var(--paper); border:1px solid var(--line); border-radius:4px 4px 24px 4px; overflow:hidden; transition:box-shadow .2s,border-color .2s; }
.recipe-card:hover { border-color:var(--muted); box-shadow:0 9px 30px #263f3209; }
.card-top { position:absolute; inset:18px 22px auto; display:flex; justify-content:space-between; align-items:center; pointer-events:none; }
.card-number { font:14px var(--serif); color:var(--muted); }
.favorite { min-width:44px; height:44px; border:0; background:transparent; border-radius:50%; font:28px/1 var(--sans); color:var(--accent); pointer-events:auto; }
.favorite:hover { background:var(--soft); }
.card-link { display:block; text-decoration:none; padding:28px 30px 24px; height:100%; }
.card-illustration { height:132px; display:grid; place-items:center; margin:4px 0 25px; position:relative; }
.card-illustration::before { content:""; position:absolute; width:114px; height:114px; border-radius:54% 46% 47% 53%; background:#ecede0; transform:rotate(-12deg); }
.course-drink .card-illustration::before { background:#f4e2d1; transform:rotate(12deg); }
.course-breakfast .card-illustration::before { background:#eee3cb; }
.course-sauce .card-illustration::before { background:#e9e1d6; }
.card-illustration .recipe-icon { width:74px; height:74px; z-index:1; }
.card-link h2 { font-size:29px; margin:10px 0 13px; max-width:400px; }
.card-description { font-size:14px; color:var(--muted); line-height:1.65; min-height:48px; max-width:440px; }
.card-bottom { margin-top:24px; padding-top:18px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; font-size:12px; }
.card-bottom span:last-child { font-size:20px; }
.site-footer { max-width:1144px; padding:24px 0 34px; margin:0 auto; border-top:1px solid var(--line); font-size:12px; color:var(--muted); display:flex; justify-content:space-between; gap:20px; }
.site-footer span:first-child { font:italic 17px var(--serif); color:var(--ink); }
.notice { background:var(--soft); color:var(--ink); max-width:1144px; margin:18px auto 0; padding:12px 18px; font-size:14px; border-left:3px solid var(--accent); }
.loading,.empty { padding:80px 0; color:var(--muted); }
.empty { grid-column:1/-1; }
.empty h1,.empty h2 { color:var(--ink); font-size:36px; margin-bottom:15px; }
.detail-nav { display:flex; justify-content:space-between; align-items:center; margin:26px 0 24px; }
.back-link { text-decoration:none; font-size:13px; display:flex; gap:13px; align-items:center; min-height:44px; }
.back-link span { font-size:22px; }
.detail-heading { max-width:820px; margin-bottom:34px; }
.detail-heading h1 { font-size:clamp(38px,4.3vw,58px); margin:14px 0 20px; max-width:790px; }
.detail-heading .intro { font-size:16px; max-width:670px; }
.is-cooking .detail-heading .intro { display:none; }
.is-cooking .detail-heading { margin-bottom:16px; }
.is-cooking .detail-heading h1 { font-size:32px; margin-bottom:16px; }
.mode-tabs { border-bottom:1px solid var(--line); display:flex; gap:34px; margin-bottom:38px; }
.mode-tabs a { padding:12px 0 15px; text-decoration:none; color:var(--muted); font-size:14px; border-bottom:2px solid transparent; }
.mode-tabs a[aria-current] { color:var(--ink); border-bottom-color:var(--accent); font-weight:600; }
.mode-tabs span { margin-left:12px; }
.detail-columns,.cook-layout { display:grid; grid-template-columns:minmax(235px,320px) minmax(0,1fr); gap:clamp(36px,6vw,86px); align-items:start; }
.recipe-aside,.cook-aside { position:sticky; top:28px; }
.portion-panel { border:1px solid var(--line); border-radius:4px 4px 18px 4px; padding:24px; background:var(--soft); }
.portion-panel label { display:block; }
.portion-row { margin-top:14px; }
select { border:1px solid var(--line); color:var(--ink); background:var(--paper); border-radius:8px; min-height:50px; width:100%; padding:12px 35px 12px 12px; font-weight:500; cursor:pointer; text-overflow:ellipsis; }
.portion-note { font-size:12px; color:var(--muted); margin-top:16px; line-height:1.7; }
.yield { display:block; margin-top:12px; font-size:14px; }
.primary-button,.secondary-button { display:flex; justify-content:space-between; align-items:center; gap:20px; min-height:52px; padding:15px 20px; text-decoration:none; border:1px solid transparent; border-radius:10px; font-weight:500; font-size:15px; line-height:1.4; }
.primary-button { background:var(--accent); color:var(--bg); }
.primary-button:hover { filter:brightness(1.12); }
.primary-button span { font-size:22px; }
.secondary-button { background:var(--soft); color:var(--ink); }
.start-cooking { margin-top:20px; }
.quiet-text { font-size:12px; color:var(--muted); line-height:1.7; margin-top:14px; }
.section-heading { display:flex; justify-content:space-between; align-items:baseline; gap:15px; }
.section-heading h2 { font-size:30px; }
.ingredient-total { font-size:11px; color:var(--muted); white-space:nowrap; }
.check-summary { color:var(--muted); font-size:13px; margin:10px 0 12px; }
progress { height:4px; width:100%; appearance:none; border:0; background:var(--line); border-radius:10px; display:block; }
progress::-webkit-progress-bar { background:var(--line); border-radius:10px; }
progress::-webkit-progress-value { background:var(--accent); border-radius:10px; }
progress::-moz-progress-bar { background:var(--accent); border-radius:10px; }
.ingredient-list { margin-top:18px; }
.ingredient-row { display:flex; align-items:flex-start; gap:14px; padding:21px 0; border-bottom:1px solid var(--line); cursor:pointer; min-height:70px; }
.ingredient-row input { appearance:none; width:22px; height:22px; border:1.5px solid var(--muted); border-radius:50%; flex-shrink:0; margin:2px 0 0; display:grid; place-content:center; background:transparent; cursor:pointer; }
.ingredient-row input:checked { background:var(--accent); border-color:var(--accent); }
.ingredient-row input:checked::after { content:"✓"; color:var(--bg); font-size:14px; }
.ingredient-body { display:flex; flex-direction:column; flex:1; min-width:0; }
.ingredient-name { font-size:15px; font-weight:500; }
.ingredient-name::first-letter { text-transform:uppercase; }
.ingredient-prep,.optional-label { font-size:12px; color:var(--muted); margin-top:4px; }
.ingredient-amount { font-size:14px; font-weight:600; color:var(--accent); max-width:42%; text-align:right; }
.ingredient-row:has(input:checked) .ingredient-name { color:var(--muted); text-decoration:line-through; }
.ingredient-row:has(input:checked) .ingredient-amount { opacity:.65; }
.ingredient-group { font-size:16px; padding-top:24px; }
.note-panel { margin-top:32px; padding:24px; border-radius:14px; background:var(--soft); font-size:14px; color:var(--muted); }
.note-panel h2 { font-size:25px; color:var(--ink); margin-bottom:15px; }
.note-panel ul { margin:0; padding-left:17px; }
.note-panel li+li { margin-top:12px; }
.source { font-size:12px; color:var(--muted); margin-top:25px; }
.cook-batch { font:26px var(--serif); margin:10px 0 24px; }
.cook-aside .secondary-button { width:100%; margin-top:15px; justify-content:center; }
.awake-control { display:flex; align-items:center; gap:9px; margin-top:24px; font-size:13px; cursor:pointer; }
.awake-control input { width:18px; height:18px; accent-color:var(--accent); }
.step-meta { display:flex; justify-content:space-between; gap:16px; align-items:baseline; margin-bottom:14px; }
.step-meta>span:last-child { font-size:12px; color:var(--muted); }
.step-card { padding:32px; border:1px solid var(--line); border-radius:4px 4px 24px 4px; background:var(--paper); margin-top:26px; outline:none; }
.step-card,.completion { scroll-margin-top:24px; }
.step-card[data-current="true"] { border:2px solid var(--accent); }
.step-card-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:22px; }
.current-step-badge { color:var(--accent); background:var(--soft); border-radius:20px; padding:6px 12px; font-size:12px; font-weight:600; }
.step-number { font:40px var(--serif); color:var(--clay); display:block; margin-bottom:22px; }
.step-card h2 { font-size:34px; margin-bottom:24px; }
.step-instruction { font-size:20px; line-height:1.85; white-space:pre-line; }
.step-instruction strong { color:var(--accent); font-weight:650; }
.up-next { color:var(--muted); font-size:14px; margin-top:24px; }
.up-next .eyebrow { display:block; margin-bottom:6px; }
.cook-controls { margin-top:28px; padding:12px 0; background:var(--bg); position:sticky; bottom:0; z-index:2; }
.cook-navigation { display:flex; gap:14px; }
.current-step-link { border:0; background:transparent; color:var(--accent); display:flex; justify-content:center; align-items:center; gap:12px; min-height:44px; width:100%; padding:8px; font-size:13px; }
.cook-controls .primary-button { flex:1; }
.completion { max-width:560px; margin:50px auto; text-align:center; outline:none; }
.completion-mark { display:grid; place-items:center; margin:0 auto 24px; width:75px; height:75px; border:1px solid var(--accent); border-radius:50%; font:38px var(--serif); }
.completion h2 { font-size:52px; margin:15px 0 20px; }
.completion p { color:var(--muted); }
.completion .primary-button { margin:30px auto 15px; min-width:220px; }
.text-button { display:inline-block; padding:12px; font-size:14px; }
dialog { background:var(--bg); color:var(--ink); border:1px solid var(--line); border-radius:20px; width:min(580px,calc(100% - 32px)); max-height:85dvh; padding:28px; }
dialog::backdrop { background:#18291fc0; backdrop-filter:blur(3px); }
.dialog-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:15px; }
.dialog-heading h2 { font-size:30px; margin-top:7px; }
.icon-button { width:44px; height:44px; border:0; background:var(--soft); border-radius:50%; font-size:26px; flex-shrink:0; }
@media(min-width:1350px) { .recipe-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; } .card-link { padding:24px 22px 20px; } .card-link h2 { font-size:27px; min-height:92px; } .card-description { min-height:118px; } .card-illustration { height:136px; margin-bottom:24px; } }
@media(max-width:800px) { .site-header { padding:22px 28px; } main { padding:0 28px 55px; } .site-footer { margin:0 28px; } .library-heading { padding-top:46px; } .collection-stamp { width:100px; height:100px; } .detail-columns,.cook-layout { grid-template-columns:230px minmax(0,1fr); gap:28px; } .portion-panel { padding:18px; } .step-card { padding:24px; } .step-instruction { font-size:18px; } .ingredient-amount { font-size:13px; } .section-heading { display:block; } .ingredient-total { display:block; margin-top:8px; } .notice { margin-left:28px; margin-right:28px; } }
@media(max-width:620px) { .site-header { min-height:88px; padding:18px 22px; gap:15px; } .wordmark { font-size:30px; } .brand-mark { width:34px; height:38px; } .header-note { margin-left:auto; border:0; padding:0; font-size:12px; } .header-link { display:none; } main { padding:0 22px 42px; } .library-heading { padding:38px 0 30px; } .library-heading h1 { font-size:43px; } .library-heading .intro { font-size:14px; max-width:260px; } .collection-stamp { display:none; } .eyebrow { font-size:10px; letter-spacing:1.8px; } .library-tools { flex-direction:column; align-items:stretch; gap:14px; padding-bottom:18px; } .search { width:100%; border-bottom:1px solid var(--line); } .filter-tabs { gap:8px; } .filter-tabs button { font-size:12px; } .recipe-grid { gap:18px; grid-template-columns:1fr; } .card-link { padding:24px; } .card-link h2 { font-size:30px; } .card-illustration { height:108px; margin-bottom:22px; } .card-illustration::before { height:102px; width:102px; } .card-illustration .recipe-icon { width:66px; height:66px; } .card-description { min-height:0; } .card-bottom { margin-top:20px; } .site-footer { margin:0 22px; flex-direction:column; gap:8px; padding:22px 0; font-size:11px; } .detail-nav { margin:16px 0 18px; } .detail-heading h1 { font-size:40px; } .detail-heading .intro { font-size:14px; } .detail-heading { margin-bottom:25px; } .mode-tabs { margin-bottom:26px; } .detail-columns,.cook-layout { grid-template-columns:minmax(0,1fr); gap:30px; } .recipe-aside,.cook-aside { position:static; } .portion-panel { padding:20px; } .portion-note { font-size:13px; } .recipe-aside .quiet-text { display:none; } .recipe-aside .quiet-text:last-child:not(:first-of-type) { display:block; } .section-heading { display:flex; } .section-heading h2 { font-size:28px; } .ingredient-total { margin:0; } .ingredient-row { gap:12px; } .ingredient-name { font-size:15px; } .ingredient-amount { font-size:14px; } .ingredient-row input { width:24px; height:24px; } .cook-aside { display:grid; grid-template-columns:1fr 1fr; gap:12px; align-items:center; } .cook-aside>.eyebrow,.cook-batch { display:none; } .cook-aside .secondary-button { margin:0; font-size:13px; min-height:50px; padding:12px; } .cook-aside select { font-size:13px; } .awake-control { margin:0; grid-column:1/-1; } .cook-aside .quiet-text { grid-column:1/-1; margin-top:-7px; } .step-card { margin-top:20px; padding:26px 22px; } .step-card h2 { font-size:31px; } .step-instruction { font-size:20px; line-height:1.8; } .step-number { font-size:35px; margin-bottom:18px; } .cook-controls { bottom:0; padding:12px 0 max(12px,env(safe-area-inset-bottom)); margin-bottom:-14px; } .cook-controls button { font-size:14px; gap:10px; padding:14px; } .cook-controls .secondary-button { justify-content:center; } .notice { margin-left:22px; margin-right:22px; font-size:12px; } .completion h2 { font-size:46px; } }
@media(prefers-color-scheme:dark) { :root { --bg:#171d19; --paper:#222b24; --ink:#f1f2e8; --muted:#b2bcaf; --accent:#a4d3ae; --soft:#303f32; --line:#3c493e; --clay:#e7aa83; } .card-illustration::before { background:#354334; } .course-drink .card-illustration::before { background:#4b392d; } .course-breakfast .card-illustration::before { background:#453e2f; } .course-sauce .card-illustration::before { background:#3f3a34; } }
@media(prefers-reduced-motion:reduce) { * { transition:none!important; scroll-behavior:auto!important; } }
