/* An opened kitchen notebook: photograph, shopping margin, ruled method. */
body.recipe-notebook{--dish-paper:#eee3cf;--dish-ink:#493124;--dish-muted:#705744;--dish-accent:#96472d;--dish-line:#cdb99d;--dish-soft:#f9f0df}
.notebook-cover{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;padding-block:44px 85px}.notebook-title h1{font-size:clamp(60px,7.6vw,110px)}.notebook-title h1 em{color:#a75a35}.cook .notebook-hand{font:italic 24px/1.6 var(--serif);color:#8a4d32;margin-bottom:22px}.notebook-polaroid{padding:16px 16px 30px;background:#fff9ed;transform:rotate(3deg);box-shadow:12px 20px 35px #4f341622;position:relative}.notebook-polaroid:before{content:'';position:absolute;top:-18px;left:35%;width:120px;height:36px;background:#c8a36e88;z-index:2;transform:rotate(-8deg)}.notebook-polaroid .dish-photo{height:430px}.notebook-caption{display:block;text-align:center;padding-top:22px;font:italic 16px var(--serif)}.notebook-stamp{position:absolute;bottom:90px;right:-24px;width:112px;height:112px;display:grid;place-content:center;border:2px solid #9a563b;border-radius:50%;background:#f3e4cce8;text-align:center;font:12px/1.9 var(--mono);transform:rotate(8deg)}
.cook .notebook-paper{background:#fff9ec;box-shadow:0 5px 25px #49312410;padding:0 40px 40px;border:1px solid #d8c5a4;position:relative}.notebook-paper:before{content:'';position:absolute;inset:0 auto 0 29%;width:1px;background:#d5c4a3;pointer-events:none;opacity:.4}.notebook-spread{display:grid;grid-template-columns:.72fr 1.28fr;gap:70px;padding:55px 0}.notebook-shopping{padding-right:20px}.notebook-shopping h2{font-size:38px}.notebook-shopping>p{font-size:12px;color:var(--dish-muted)}.notebook-pencil{background:#efe0bb;padding:26px;margin-top:34px;transform:rotate(-2deg);box-shadow:3px 6px 0 #c1ab7d33}.notebook-pencil strong{font:italic 24px var(--serif)}.notebook-pencil p{font-size:13px;margin:12px 0 0}.recipe-notebook .cook-step{border:0;border-top:1px solid var(--dish-line);padding-block:28px}.notebook-bottom{border-top:2px solid #a98565;display:grid;grid-template-columns:1.4fr 1fr;gap:60px;padding-top:32px}.notebook-bottom h2{font-size:34px}.notebook-bottom p{font-size:15px}.recipe-notebook .cook-tags{padding-top:45px}
@media(max-width:1000px){.notebook-cover{gap:45px}.notebook-polaroid .dish-photo{height:370px}.notebook-spread{gap:35px}.cook .notebook-paper{padding-inline:25px}.notebook-paper:before{display:none}.notebook-stamp{right:-12px}.notebook-title h1{font-size:68px}}
@media(max-width:760px){.notebook-cover{grid-template-columns:1fr;gap:45px;padding-block:20px 55px}.notebook-title h1{font-size:76px}.notebook-polaroid{width:calc(100% - 12px);margin:auto;transform:rotate(2deg);padding:12px 12px 22px}.notebook-polaroid .dish-photo{height:330px}.notebook-stamp{width:94px;height:94px;right:-6px;font-size:10px}.notebook-caption{font-size:13px}.cook .notebook-paper{padding-inline:22px}.notebook-spread{grid-template-columns:1fr;gap:45px;padding-block:35px}.notebook-shopping{padding:0}.notebook-pencil{transform:none}.notebook-bottom{grid-template-columns:1fr;gap:24px}.cook .notebook-hand{font-size:20px}.notebook-shopping h2{font-size:34px}}
@media print{.notebook-cover,.notebook-spread,.notebook-bottom{display:block;padding:15px 0}.notebook-polaroid{display:none}.cook .notebook-paper{box-shadow:none;padding:0;border:0}.notebook-paper:before{display:none}.notebook-pencil{transform:none}}

.cook .notebook-polaroid .dish-photo figcaption{right:auto;left:12px}

.has-motion .notebook-polaroid{animation:dish-arrive .85s cubic-bezier(.2,.65,.3,1) both}
