/* One visible page, beginning with the user's original illustrated cover. */
.about-recipes{padding:0 0 clamp(3rem,5vw,4.5rem);color:#4f2b1f;font-family:var(--glacial)}
.about-recipes-shell{width:min(1180px,calc(100% - 80px));margin-inline:auto;border-top:1px solid rgba(215,143,177,.3);padding-top:clamp(1.75rem,3vw,2.5rem)}
.about-recipes-heading{text-align:center;margin-bottom:clamp(1.25rem,2.5vw,1.75rem)}
.about-recipes-kicker{margin:0 0 1.2rem;color:var(--rose);font-size:.72rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.about-experience .about-recipes h2{margin:0;padding-inline:.07em;font:400 clamp(3.8rem,6.4vw,6.4rem)/1.15 var(--sloop-script);letter-spacing:0;color:#4f2b1f;text-wrap:balance}
.about-recipes-description{margin:1rem 0 0;color:#74594a;font-size:1rem;line-height:1.6}
.recipe-library{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:start;gap:32px;width:min(100%,692px);margin-inline:auto}
.recipe-index{position:sticky;top:8.5rem;padding-top:1rem}
.recipe-index-label{display:flex;justify-content:space-between;align-items:center;margin:0 0 1.15rem;padding-bottom:.8rem;border-bottom:1px solid rgba(79,43,31,.15);font-size:.65rem;letter-spacing:.14em;text-transform:uppercase;color:#805b48}
.recipe-index-label span{color:var(--rose);letter-spacing:0}
.recipe-index ol{list-style:none;margin:0;padding:0}
.recipe-index li{margin:0}
.recipe-index-button{display:grid;grid-template-columns:20px minmax(0,1fr);gap:.55rem;width:100%;min-height:48px;padding:.65rem .25rem;border:0;border-bottom:1px solid rgba(79,43,31,.07);background:transparent;color:#785c4d;font:400 .86rem/1.4 var(--glacial);text-align:left;cursor:pointer;transition:color .2s ease}
.recipe-index-number{padding-top:.1rem;color:#bda390;font-size:.68rem}
.recipe-index-button.is-active{color:#4f2b1f}
.recipe-index-button.is-active .recipe-index-number{color:var(--rose)}
.recipe-index-button[aria-current="page"]{font-weight:700}
.recipe-reader{min-width:0}
.recipe-mobile-index{display:none}
.recipe-book{position:relative;isolation:isolate;padding:7px 8px 0;border:1px solid #6b4635;border-radius:5px 12px 12px 5px;background:#795441;box-shadow:0 20px 45px rgba(79,43,31,.13),0 4px 9px rgba(79,43,31,.06);perspective:1800px;touch-action:pan-y pinch-zoom}
.recipe-book::before{content:"";position:absolute;z-index:-1;inset:7px -5px 0 auto;width:8px;border:1px solid #c6b499;border-radius:0 11px 11px 0;background:#f0e7d5;box-shadow:2px 0 0 #e6dbc7,3px 0 0 #b7a083,4px 0 0 #f2e8d7}
.recipe-spread{position:relative;display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;border:1px solid rgba(79,43,31,.15);border-radius:2px 7px 7px 2px;background:#f5efdf;transform-origin:left center}
.recipe-spread::after{content:"";position:absolute;z-index:3;top:0;bottom:0;left:0;width:14px;background:linear-gradient(90deg,rgba(79,43,31,.16),transparent);pointer-events:none}
.recipe-page{position:relative;min-width:0;margin:0;background:#f5efdf}
.recipe-sheet{position:relative;display:block;width:100%;aspect-ratio:5 / 8;background:#f5efdf;cursor:zoom-in;overflow:hidden;text-decoration:none}
.recipe-sheet img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill}
.recipe-page-cover{background:#f5efdf}
/* Extend only the cover's blank paper between the label and baking illustration. */
.recipe-cover-art{display:block;width:100%;aspect-ratio:5 / 8;overflow:hidden;background:#f4efe1;text-decoration:none;cursor:pointer}
.recipe-cover-window{position:relative;container-type:inline-size;display:block;width:100%;height:100%;overflow:hidden;background:#f4efe1}
.recipe-cover-top,.recipe-cover-middle,.recipe-cover-bottom{position:absolute;left:0;right:0;display:block;overflow:hidden}
.recipe-cover-top{top:0;height:44%}
.recipe-cover-middle{top:44%;height:14%}
.recipe-cover-bottom{bottom:0;height:42%}
.recipe-cover-image{position:absolute;left:-1.5311cqw;display:block;width:103.3493cqw!important;max-width:none;height:auto}
.recipe-cover-top .recipe-cover-image{top:-28.4211cqw}
.recipe-cover-middle .recipe-cover-image{top:-1000%;height:1920%;object-fit:fill}
.recipe-cover-bottom .recipe-cover-image{bottom:-19.5215cqw}
.recipe-controls{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;margin-top:.75rem}
.recipe-controls button{display:inline-flex;align-items:center;gap:.6rem;min-height:44px;padding:.5rem 0;border:0;background:transparent;color:#4f2b1f;font:400 .9rem/1.4 var(--glacial);cursor:pointer}
.recipe-controls button:first-child{justify-self:start}
.recipe-controls button:last-child{justify-self:end}
.recipe-controls button:disabled{opacity:.3;cursor:default}
.recipe-controls svg{width:20px;height:20px;flex-shrink:0}
.recipe-page-count{color:#8b6b58;font-size:.76rem;letter-spacing:.1em;white-space:nowrap;font-variant-numeric:tabular-nums}
.recipe-reader-hint{margin:.2rem 0 0;text-align:center;color:#8d7567;font-size:.75rem;line-height:1.6}
.recipe-collection-download{display:flex;justify-content:center;margin-top:1.25rem}
.recipe-collection-download a{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;min-height:46px;padding:.7rem 1.25rem;border:1px solid rgba(79,43,31,.2);border-radius:30px;color:#4f2b1f;font-size:.85rem;line-height:1.4;text-decoration:none;background:rgba(255,255,255,.3);transition:background .2s ease,border-color .2s ease}
.recipe-collection-download svg{width:17px;height:17px}
.recipe-dialog{width:min(1140px,calc(100% - 28px));max-width:none;max-height:92dvh;margin:auto;padding:0;border:1px solid rgba(79,43,31,.15);border-radius:10px;background:#fffaf5;color:#4f2b1f;box-shadow:0 24px 80px rgba(40,25,16,.22)}
.recipe-dialog::backdrop{background:rgba(37,24,19,.66);backdrop-filter:blur(4px)}
.recipe-dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.65rem 1rem;border-bottom:1px solid rgba(79,43,31,.1);font-family:var(--glacial)}
.recipe-dialog-title{margin:0;font-size:1rem;font-weight:400;line-height:1.4}
.recipe-dialog-tools{display:flex;align-items:center;gap:.5rem}
.recipe-dialog-zoom{min-height:44px;padding:.4rem .7rem;border:0;background:transparent;font:400 .82rem/1.4 var(--glacial);white-space:nowrap;color:#4f2b1f;cursor:pointer}
.recipe-dialog-close{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(79,43,31,.15);border-radius:50%;background:transparent;color:#4f2b1f;cursor:pointer}
.recipe-dialog-close svg{width:20px;height:20px}
.recipe-dialog-viewport{max-height:calc(92dvh - 75px);overflow:auto;overscroll-behavior:contain;background:#f5efdf}
.recipe-dialog-image{display:block;width:100%;max-width:1080px;height:auto;margin:auto}
.recipe-dialog-viewport.is-zoomed .recipe-dialog-image{width:1080px;max-width:none}
html:has(.recipe-dialog[open]){overflow:hidden}
.about-recipes :is(a,button,select,[tabindex]):focus-visible{outline:2px solid var(--rose);outline-offset:4px}
.about-recipes [hidden]{display:none}
@media(hover:hover) and (pointer:fine){
  .recipe-index-button:hover{color:var(--rose)}
  .recipe-controls button:enabled:hover{color:#b77894}
  .recipe-collection-download a:hover{border-color:var(--rose);background:rgba(255,255,255,.7)}
}
@media(max-width:1000px){
  .about-recipes-shell{width:min(850px,calc(100% - 56px))}
  .recipe-library{display:block;width:min(100%,480px)}
  .recipe-index{display:none}
  .recipe-mobile-index{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
  .recipe-mobile-index label{color:#8c6a56;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase}
  .recipe-mobile-index select{max-width:65%;min-height:44px;padding:.6rem 2rem .6rem .8rem;border:1px solid rgba(79,43,31,.16);border-radius:3px;background:rgba(255,255,255,.45);color:#4f2b1f;font:400 .9rem/1.3 var(--glacial)}
}
@media(max-width:760px){
  .about-recipes-shell{width:min(480px,calc(100% - 40px))}
  .recipe-library{width:min(100%,380px)}
  .about-experience .about-recipes h2{font-size:clamp(3.4rem,12vw,4.4rem)}
  .about-recipes-kicker{font-size:.66rem}
  .about-recipes-description{max-width:300px;margin:1rem auto 0;font-size:.95rem}
  .recipe-spread{grid-template-columns:minmax(0,1fr)}
  .recipe-spread::after{display:none}
  .recipe-book{padding:5px 6px 0}
  .recipe-mobile-index{gap:.6rem}
  .recipe-mobile-index select{font-size:.85rem}
  .recipe-dialog-bar{padding:.5rem .65rem;gap:.5rem}
  .recipe-dialog-title{font-size:.9rem}
  .recipe-dialog-tools{gap:.2rem}
  .recipe-dialog-zoom{font-size:.75rem;padding-inline:.3rem}
  .recipe-controls{gap:.5rem}
  .recipe-controls button{font-size:.85rem}
  .recipe-reader-hint{margin-top:.5rem;font-size:.72rem}
}
@media(prefers-reduced-motion:reduce){
  .about-recipes *{scroll-behavior:auto!important}
  .recipe-index-button,.recipe-collection-download a{transition:none}
}
